Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
db1f62ad
提交
db1f62ad
编写于
4年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
kuaikuai 发布系统代码 [后台服务,演示应用]
上级
d82aef86
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
164 行增加
和
0 行删除
+164
-0
ibizbook_en_US_base.ts
...rc/locale/lanres/entities/ibizbook/ibizbook_en_US_base.ts
+20
-0
ibizbook_zh_CN_base.ts
...rc/locale/lanres/entities/ibizbook/ibizbook_zh_CN_base.ts
+20
-0
lnternal-func-list-list-base.vue
.../lnternal-func-list-list/lnternal-func-list-list-base.vue
+113
-0
lnternal-func-list-list.less
...book/lnternal-func-list-list/lnternal-func-list-list.less
+11
-0
未找到文件。
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US_base.ts
浏览文件 @
db1f62ad
...
@@ -1365,6 +1365,16 @@ function getLocaleResourceBase(){
...
@@ -1365,6 +1365,16 @@ function getLocaleResourceBase(){
tip
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
},
},
},
},
usr4listviewlist_batchtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Edit"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Edit {0}"
,
null
),
},
deuiaction2
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Remove"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Remove {0}"
,
null
),
},
},
usr8gridviewtoolbar_toolbar
:
{
usr8gridviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
...
@@ -1623,6 +1633,16 @@ function getLocaleResourceBase(){
...
@@ -1623,6 +1633,16 @@ function getLocaleResourceBase(){
tip
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
},
},
},
},
listviewlist_batchtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Edit"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Edit {0}"
,
null
),
},
deuiaction2
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Remove"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Remove {0}"
,
null
),
},
},
internalfuncgridviewtoolbar_toolbar
:
{
internalfuncgridviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN_base.ts
浏览文件 @
db1f62ad
...
@@ -1365,6 +1365,16 @@ function getLocaleResourceBase(){
...
@@ -1365,6 +1365,16 @@ function getLocaleResourceBase(){
tip
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
},
},
},
},
usr4listviewlist_batchtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"编辑"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"编辑"
,
null
),
},
deuiaction2
:
{
caption
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
},
},
usr8gridviewtoolbar_toolbar
:
{
usr8gridviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
...
@@ -1623,6 +1633,16 @@ function getLocaleResourceBase(){
...
@@ -1623,6 +1633,16 @@ function getLocaleResourceBase(){
tip
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
},
},
},
},
listviewlist_batchtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"编辑"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"编辑"
,
null
),
},
deuiaction2
:
{
caption
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
},
},
internalfuncgridviewtoolbar_toolbar
:
{
internalfuncgridviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list-base.vue
浏览文件 @
db1f62ad
<
#<
template
>
<
#<
template
>
<div>
<div
:class=
"['app-list',this.items.length > 0 ? '' : 'app-list-empty' ]"
>
<div
:class=
"['app-list',this.items.length > 0 ? '' : 'app-list-empty' ]"
>
<div
v-if=
"items.length > 0"
>
<div
v-if=
"items.length > 0"
>
<div
v-for =
"item in items"
:key=
"item.srfkey"
:class=
"['app-list-item', {'isSelect': item.isselected === true ? true : false}]"
@
click=
"handleClick(item)"
@
dblclick=
"handleDblClick(item)"
>
<div
v-for =
"item in items"
:key=
"item.srfkey"
:class=
"['app-list-item', {'isSelect': item.isselected === true ? true : false}]"
@
click=
"handleClick(item)"
@
dblclick=
"handleDblClick(item)"
>
...
@@ -57,6 +58,27 @@
...
@@ -57,6 +58,27 @@
</div>
</div>
<el-backtop
target=
".content-container .app-list"
></el-backtop>
<el-backtop
target=
".content-container .app-list"
></el-backtop>
</div>
</div>
<row
class=
'list-pagination'
v-if=
"selections.length > 0"
>
<span
class=
"batch-toolbar"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"usr4listviewlist_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"usr4listviewlist_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i
class=
'fa fa-edit'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.usr4listviewlist_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.usr4listviewlist_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"usr4listviewlist_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"usr4listviewlist_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i
class=
'fa fa-remove'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.usr4listviewlist_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.usr4listviewlist_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
</tooltip>
</div>
</span>
</row>
</div>
</template>
</template>
<
script
lang=
'tsx'
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
,
Inject
}
from
'vue-property-decorator'
;
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
,
Inject
}
from
'vue-property-decorator'
;
...
@@ -156,6 +178,22 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -156,6 +178,22 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
*/
public
appEntityService
:
IBIZBOOKService
=
new
IBIZBOOKService
({
$store
:
this
.
$store
});
public
appEntityService
:
IBIZBOOKService
=
new
IBIZBOOKService
({
$store
:
this
.
$store
});
/**
* list_batchtoolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LnternalFuncListBase
*/
public
list_batchtoolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
list_batchtoolbar_deuiaction1_click
(
null
,
'list_batchtoolbar'
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction2'
))
{
this
.
list_batchtoolbar_deuiaction2_click
(
null
,
'list_batchtoolbar'
,
$event2
);
}
}
/**
/**
* list_quicktoolbar 部件 click 事件
* list_quicktoolbar 部件 click 事件
*
*
...
@@ -198,6 +236,62 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -198,6 +236,62 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZBOOK"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZBOOK"
);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
list_batchtoolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZBOOK"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
list_batchtoolbar_deuiaction2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZBOOK"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -490,6 +584,19 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -490,6 +584,19 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
};
};
/**
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKUsr4ListView
*/
public
usr4listviewlist_batchtoolbarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
deuiaction2
:
{
name
:
'deuiaction2'
,
actiontarget
:
'NONE'
,
caption
:
'删除'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
}
},
};
/**
/**
* 当前页
* 当前页
...
@@ -1036,6 +1143,12 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
...
@@ -1036,6 +1143,12 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
if
(
Object
.
is
(
'New'
,
tag
))
{
if
(
Object
.
is
(
'New'
,
tag
))
{
this
.
list_quicktoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
this
.
list_quicktoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
}
}
if
(
Object
.
is
(
'Edit'
,
tag
))
{
this
.
list_batchtoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
}
if
(
Object
.
is
(
'Remove'
,
tag
))
{
this
.
list_batchtoolbar_deuiaction2_click
(
data
,
tag
,
$event
);
}
if
(
Object
.
is
(
'Edit'
,
tag
))
{
if
(
Object
.
is
(
'Edit'
,
tag
))
{
this
.
list_memo1_u693c051_click
(
data
,
tag
,
$event
);
this
.
list_memo1_u693c051_click
(
data
,
tag
,
$event
);
}
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list.less
浏览文件 @
db1f62ad
...
@@ -94,3 +94,14 @@
...
@@ -94,3 +94,14 @@
}
}
}
}
}
}
.list-pagination {
position: fixed;
background-color: #fff;
height: 50px;
bottom: 30px;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
z-index: 5;
}
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录