Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzwf
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzwf
提交
2fa7c2f1
提交
2fa7c2f1
编写于
11月 16, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhouweidong 发布系统代码 [ibz-wf,统一工作流]
上级
50982c3c
变更
10
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
63 行增加
和
103 行删除
+63
-103
wfprocess-instance_BO_CN_base.ts
...ities/wfprocess-instance/wfprocess-instance_BO_CN_base.ts
+2
-2
wfprocess-instance_en_US_base.ts
...ities/wfprocess-instance/wfprocess-instance_en_US_base.ts
+2
-2
wfprocess-instance_zh_CN_base.ts
...ities/wfprocess-instance/wfprocess-instance_zh_CN_base.ts
+2
-2
wfprocess-node_BO_CN_base.ts
...nres/entities/wfprocess-node/wfprocess-node_BO_CN_base.ts
+0
-2
wfprocess-node_en_US_base.ts
...nres/entities/wfprocess-node/wfprocess-node_en_US_base.ts
+0
-2
wfprocess-node_zh_CN_base.ts
...nres/entities/wfprocess-node/wfprocess-node_zh_CN_base.ts
+0
-2
main-grid-base.vue
app_web/src/widgets/wfgroup/main-grid/main-grid-base.vue
+22
-8
main-grid-base.vue
...c/widgets/wfprocess-instance/main-grid/main-grid-base.vue
+27
-27
main-grid-model.ts
...c/widgets/wfprocess-instance/main-grid/main-grid-model.ts
+5
-5
main-grid-base.vue
...b/src/widgets/wfprocess-node/main-grid/main-grid-base.vue
+3
-51
未找到文件。
app_web/src/locale/lanres/entities/wfprocess-instance/wfprocess-instance_BO_CN_base.ts
浏览文件 @
2fa7c2f1
...
@@ -45,10 +45,10 @@ function getLocaleResourceBase(){
...
@@ -45,10 +45,10 @@ function getLocaleResourceBase(){
},
},
main_grid
:
{
main_grid
:
{
columns
:
{
columns
:
{
definitionkey
:
commonLogic
.
appcommonhandle
(
"DefinitionKey"
,
null
),
definitionname
:
commonLogic
.
appcommonhandle
(
"流程定义名称"
,
null
),
definitionkey
:
commonLogic
.
appcommonhandle
(
"流程定义标识"
,
null
),
instancename
:
commonLogic
.
appcommonhandle
(
"实例名称"
,
null
),
instancename
:
commonLogic
.
appcommonhandle
(
"实例名称"
,
null
),
businesskey
:
commonLogic
.
appcommonhandle
(
"业务键值"
,
null
),
businesskey
:
commonLogic
.
appcommonhandle
(
"业务键值"
,
null
),
definitionname
:
commonLogic
.
appcommonhandle
(
"流程定义名称"
,
null
),
starttime
:
commonLogic
.
appcommonhandle
(
"启动时间"
,
null
),
starttime
:
commonLogic
.
appcommonhandle
(
"启动时间"
,
null
),
startuserid
:
commonLogic
.
appcommonhandle
(
"发起人标识"
,
null
),
startuserid
:
commonLogic
.
appcommonhandle
(
"发起人标识"
,
null
),
},
},
...
...
app_web/src/locale/lanres/entities/wfprocess-instance/wfprocess-instance_en_US_base.ts
浏览文件 @
2fa7c2f1
...
@@ -45,10 +45,10 @@ function getLocaleResourceBase(){
...
@@ -45,10 +45,10 @@ function getLocaleResourceBase(){
},
},
main_grid
:
{
main_grid
:
{
columns
:
{
columns
:
{
definitionkey
:
commonLogic
.
appcommonhandle
(
"DefinitionKey"
,
null
),
definitionname
:
commonLogic
.
appcommonhandle
(
"流程定义名称"
,
null
),
definitionkey
:
commonLogic
.
appcommonhandle
(
"流程定义标识"
,
null
),
instancename
:
commonLogic
.
appcommonhandle
(
"实例名称"
,
null
),
instancename
:
commonLogic
.
appcommonhandle
(
"实例名称"
,
null
),
businesskey
:
commonLogic
.
appcommonhandle
(
"业务键值"
,
null
),
businesskey
:
commonLogic
.
appcommonhandle
(
"业务键值"
,
null
),
definitionname
:
commonLogic
.
appcommonhandle
(
"流程定义名称"
,
null
),
starttime
:
commonLogic
.
appcommonhandle
(
"启动时间"
,
null
),
starttime
:
commonLogic
.
appcommonhandle
(
"启动时间"
,
null
),
startuserid
:
commonLogic
.
appcommonhandle
(
"发起人标识"
,
null
),
startuserid
:
commonLogic
.
appcommonhandle
(
"发起人标识"
,
null
),
},
},
...
...
app_web/src/locale/lanres/entities/wfprocess-instance/wfprocess-instance_zh_CN_base.ts
浏览文件 @
2fa7c2f1
...
@@ -45,10 +45,10 @@ function getLocaleResourceBase(){
...
@@ -45,10 +45,10 @@ function getLocaleResourceBase(){
},
},
main_grid
:
{
main_grid
:
{
columns
:
{
columns
:
{
definitionkey
:
commonLogic
.
appcommonhandle
(
"DefinitionKey"
,
null
),
definitionname
:
commonLogic
.
appcommonhandle
(
"流程定义名称"
,
null
),
definitionkey
:
commonLogic
.
appcommonhandle
(
"流程定义标识"
,
null
),
instancename
:
commonLogic
.
appcommonhandle
(
"实例名称"
,
null
),
instancename
:
commonLogic
.
appcommonhandle
(
"实例名称"
,
null
),
businesskey
:
commonLogic
.
appcommonhandle
(
"业务键值"
,
null
),
businesskey
:
commonLogic
.
appcommonhandle
(
"业务键值"
,
null
),
definitionname
:
commonLogic
.
appcommonhandle
(
"流程定义名称"
,
null
),
starttime
:
commonLogic
.
appcommonhandle
(
"启动时间"
,
null
),
starttime
:
commonLogic
.
appcommonhandle
(
"启动时间"
,
null
),
startuserid
:
commonLogic
.
appcommonhandle
(
"发起人标识"
,
null
),
startuserid
:
commonLogic
.
appcommonhandle
(
"发起人标识"
,
null
),
},
},
...
...
app_web/src/locale/lanres/entities/wfprocess-node/wfprocess-node_BO_CN_base.ts
浏览文件 @
2fa7c2f1
...
@@ -24,8 +24,6 @@ function getLocaleResourceBase(){
...
@@ -24,8 +24,6 @@ function getLocaleResourceBase(){
columns
:
{
columns
:
{
nodeid
:
commonLogic
.
appcommonhandle
(
"节点标识"
,
null
),
nodeid
:
commonLogic
.
appcommonhandle
(
"节点标识"
,
null
),
nodename
:
commonLogic
.
appcommonhandle
(
"节点名称"
,
null
),
nodename
:
commonLogic
.
appcommonhandle
(
"节点名称"
,
null
),
definitionkey
:
commonLogic
.
appcommonhandle
(
"DefinitionKey"
,
null
),
definitionname
:
commonLogic
.
appcommonhandle
(
"流程定义名称"
,
null
),
},
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/wfprocess-node/wfprocess-node_en_US_base.ts
浏览文件 @
2fa7c2f1
...
@@ -24,8 +24,6 @@ function getLocaleResourceBase(){
...
@@ -24,8 +24,6 @@ function getLocaleResourceBase(){
columns
:
{
columns
:
{
nodeid
:
commonLogic
.
appcommonhandle
(
"节点标识"
,
null
),
nodeid
:
commonLogic
.
appcommonhandle
(
"节点标识"
,
null
),
nodename
:
commonLogic
.
appcommonhandle
(
"节点名称"
,
null
),
nodename
:
commonLogic
.
appcommonhandle
(
"节点名称"
,
null
),
definitionkey
:
commonLogic
.
appcommonhandle
(
"DefinitionKey"
,
null
),
definitionname
:
commonLogic
.
appcommonhandle
(
"流程定义名称"
,
null
),
},
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/wfprocess-node/wfprocess-node_zh_CN_base.ts
浏览文件 @
2fa7c2f1
...
@@ -24,8 +24,6 @@ function getLocaleResourceBase(){
...
@@ -24,8 +24,6 @@ function getLocaleResourceBase(){
columns
:
{
columns
:
{
nodeid
:
commonLogic
.
appcommonhandle
(
"节点标识"
,
null
),
nodeid
:
commonLogic
.
appcommonhandle
(
"节点标识"
,
null
),
nodename
:
commonLogic
.
appcommonhandle
(
"节点名称"
,
null
),
nodename
:
commonLogic
.
appcommonhandle
(
"节点名称"
,
null
),
definitionkey
:
commonLogic
.
appcommonhandle
(
"DefinitionKey"
,
null
),
definitionname
:
commonLogic
.
appcommonhandle
(
"流程定义名称"
,
null
),
},
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
uiactions
:
{
...
...
app_web/src/widgets/wfgroup/main-grid/main-grid-base.vue
浏览文件 @
2fa7c2f1
...
@@ -306,6 +306,20 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -306,6 +306,20 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
return
this
.
selections
[
0
];
}
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
opendata
:
any
;
/**
/**
* 是否嵌入关系界面
* 是否嵌入关系界面
...
@@ -810,7 +824,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -810,7 +824,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'WFGroup
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'WFGroupGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
if
(
pageReset
){
if
(
pageReset
){
...
@@ -905,7 +919,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -905,7 +919,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'WFGroup
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'WFGroupGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
return
;
}
}
let
_datas
:
any
[]
=
[];
let
_datas
:
any
[]
=
[];
...
@@ -1011,7 +1025,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1011,7 +1025,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'WFGroup
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'WFGroupGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
if
(
!
arg
){
if
(
!
arg
){
...
@@ -1798,7 +1812,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1798,7 +1812,7 @@ export default class MainBase extends Vue implements ControlInterface {
public
setColState
()
{
public
setColState
()
{
this
.
resetColModel
=
Util
.
deepCopy
(
this
.
allColumns
);
this
.
resetColModel
=
Util
.
deepCopy
(
this
.
allColumns
);
const
viewParams
:
any
=
Util
.
deepCopy
(
this
.
viewparams
);
const
viewParams
:
any
=
Util
.
deepCopy
(
this
.
viewparams
);
Object
.
assign
(
viewParams
,{
utilServiceName
:
'grid_dynaconfig'
,
modelid
:
'ibzwf_web_wfgroup
pickup
gridview_grid_main'
});
Object
.
assign
(
viewParams
,{
utilServiceName
:
'grid_dynaconfig'
,
modelid
:
'ibzwf_web_wfgroupgridview_grid_main'
});
const
post
=
this
.
service
.
loadModel
(
'grid_dynaconfig'
,
this
.
context
,
viewParams
);
const
post
=
this
.
service
.
loadModel
(
'grid_dynaconfig'
,
this
.
context
,
viewParams
);
post
.
then
((
response
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
response
.
status
==
200
&&
response
.
data
)
{
if
(
response
.
status
==
200
&&
response
.
data
)
{
...
@@ -1865,7 +1879,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1865,7 +1879,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
saveDynaConfig
()
{
public
saveDynaConfig
()
{
const
viewParams
:
any
=
Util
.
deepCopy
(
this
.
viewparams
);
const
viewParams
:
any
=
Util
.
deepCopy
(
this
.
viewparams
);
Object
.
assign
(
viewParams
,{
utilServiceName
:
'grid_dynaconfig'
,
modelid
:
'ibzwf_web_wfgroup
pickup
gridview_grid_main'
,
model
:
this
.
allColumns
});
Object
.
assign
(
viewParams
,{
utilServiceName
:
'grid_dynaconfig'
,
modelid
:
'ibzwf_web_wfgroupgridview_grid_main'
,
model
:
this
.
allColumns
});
const
post
=
this
.
service
.
saveModel
(
'grid_dynaconfig'
,
this
.
context
,
viewParams
);
const
post
=
this
.
service
.
saveModel
(
'grid_dynaconfig'
,
this
.
context
,
viewParams
);
post
.
then
((
response
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
response
.
status
==
200
)
{
if
(
response
.
status
==
200
)
{
...
@@ -1936,7 +1950,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1936,7 +1950,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'WFGroup
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'WFGroupGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
@@ -1944,7 +1958,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1944,7 +1958,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'WFGroup
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'WFGroupGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
wfgroup
){
if
(
item
.
wfgroup
){
...
@@ -2017,7 +2031,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2017,7 +2031,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
newRow
(
args
:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
):
void
{
public
newRow
(
args
:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'WFGroup
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'WFGroupGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
let
_this
=
this
;
let
_this
=
this
;
...
...
app_web/src/widgets/wfprocess-instance/main-grid/main-grid-base.vue
浏览文件 @
2fa7c2f1
...
@@ -22,6 +22,18 @@
...
@@ -22,6 +22,18 @@
<
template
v-if=
"!isSingleSelect"
>
<
template
v-if=
"!isSingleSelect"
>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
</
template
>
</
template
>
<
template
v-if=
"getColumnState('definitionname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'definitionname'"
:label=
"$t('entities.wfprocessinstance.main_grid.columns.definitionname')"
:width=
"250"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.wfprocessinstance.main_grid.columns.definitionname'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
definitionname
}}
</span>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('definitionkey')"
>
<
template
v-if=
"getColumnState('definitionkey')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'definitionkey'"
:label=
"$t('entities.wfprocessinstance.main_grid.columns.definitionkey')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'definitionkey'"
:label=
"$t('entities.wfprocessinstance.main_grid.columns.definitionkey')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<template
v-slot:header=
"
{column}">
...
@@ -47,7 +59,7 @@
...
@@ -47,7 +59,7 @@
</el-table-column>
</el-table-column>
</template>
</template>
<
template
v-if=
"getColumnState('businesskey')"
>
<
template
v-if=
"getColumnState('businesskey')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'businesskey'"
:label=
"$t('entities.wfprocessinstance.main_grid.columns.businesskey')"
:width=
"2
0
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'businesskey'"
:label=
"$t('entities.wfprocessinstance.main_grid.columns.businesskey')"
:width=
"2
5
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
<span
class=
"column-header "
>
{{
$t
(
'entities.wfprocessinstance.main_grid.columns.businesskey'
)
}}
{{
$t
(
'entities.wfprocessinstance.main_grid.columns.businesskey'
)
}}
...
@@ -58,18 +70,6 @@
...
@@ -58,18 +70,6 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</template>
</template>
<
template
v-if=
"getColumnState('definitionname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'definitionname'"
:label=
"$t('entities.wfprocessinstance.main_grid.columns.definitionname')"
:width=
"250"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.wfprocessinstance.main_grid.columns.definitionname'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
definitionname
}}
</span>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('starttime')"
>
<
template
v-if=
"getColumnState('starttime')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'starttime'"
:label=
"$t('entities.wfprocessinstance.main_grid.columns.starttime')"
:width=
"200"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'starttime'"
:label=
"$t('entities.wfprocessinstance.main_grid.columns.starttime')"
:width=
"200"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<template
v-slot:header=
"
{column}">
...
@@ -639,9 +639,18 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -639,9 +639,18 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
allColumns
:
any
[]
=
[
public
allColumns
:
any
[]
=
[
{
name
:
'definitionname'
,
label
:
'流程定义名称'
,
langtag
:
'entities.wfprocessinstance.main_grid.columns.definitionname'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
{
name
:
'definitionkey'
,
name
:
'definitionkey'
,
label
:
'
DefinitionKey
'
,
label
:
'
流程定义标识
'
,
langtag
:
'entities.wfprocessinstance.main_grid.columns.definitionkey'
,
langtag
:
'entities.wfprocessinstance.main_grid.columns.definitionkey'
,
show
:
true
,
show
:
true
,
unit
:
'PX'
,
unit
:
'PX'
,
...
@@ -666,15 +675,6 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -666,15 +675,6 @@ export default class MainBase extends Vue implements ControlInterface {
isEnableRowEdit
:
false
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
enableCond
:
3
,
},
},
{
name
:
'definitionname'
,
label
:
'流程定义名称'
,
langtag
:
'entities.wfprocessinstance.main_grid.columns.definitionname'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
{
name
:
'starttime'
,
name
:
'starttime'
,
label
:
'启动时间'
,
label
:
'启动时间'
,
...
@@ -1400,7 +1400,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1400,7 +1400,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
}
:
any
)
{
public
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
}
:
any
)
{
let
allColumns
:
Array
<
any
>
=
[
'definition
key'
,
'instancename'
,
'businesskey'
,
'definitionname
'
,
'starttime'
,
'startuserid'
];
let
allColumns
:
Array
<
any
>
=
[
'definition
name'
,
'definitionkey'
,
'instancename'
,
'businesskey
'
,
'starttime'
,
'startuserid'
];
if
(
row
&&
row
.
children
)
{
if
(
row
&&
row
.
children
)
{
if
(
columnIndex
==
(
this
.
isSingleSelect
?
0
:
1
))
{
if
(
columnIndex
==
(
this
.
isSingleSelect
?
0
:
1
))
{
return
[
1
,
allColumns
.
length
+
1
];
return
[
1
,
allColumns
.
length
+
1
];
...
@@ -1480,10 +1480,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1480,10 +1480,10 @@ export default class MainBase extends Vue implements ControlInterface {
const
tree
:
any
=
{
const
tree
:
any
=
{
groupById
:
Number
((
i
+
1
)
*
100
),
groupById
:
Number
((
i
+
1
)
*
100
),
group
:
group
.
label
,
group
:
group
.
label
,
definitionname
:
''
,
definitionkey
:
''
,
definitionkey
:
''
,
instancename
:
''
,
instancename
:
''
,
businesskey
:
''
,
businesskey
:
''
,
definitionname
:
''
,
starttime
:
''
,
starttime
:
''
,
startuserid
:
''
,
startuserid
:
''
,
children
:
children
children
:
children
...
@@ -1512,10 +1512,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1512,10 +1512,10 @@ export default class MainBase extends Vue implements ControlInterface {
const
Tree
:
any
=
{
const
Tree
:
any
=
{
groupById
:
Number
((
allGroup
.
length
+
1
)
*
100
),
groupById
:
Number
((
allGroup
.
length
+
1
)
*
100
),
group
:
this
.
$t
(
'app.gridpage.other'
),
group
:
this
.
$t
(
'app.gridpage.other'
),
definitionname
:
''
,
definitionkey
:
''
,
definitionkey
:
''
,
instancename
:
''
,
instancename
:
''
,
businesskey
:
''
,
businesskey
:
''
,
definitionname
:
''
,
starttime
:
''
,
starttime
:
''
,
startuserid
:
''
,
startuserid
:
''
,
children
:
child
children
:
child
...
@@ -1564,10 +1564,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1564,10 +1564,10 @@ export default class MainBase extends Vue implements ControlInterface {
const
tree
:
any
=
{
const
tree
:
any
=
{
groupById
:
Number
((
groupIndex
+
1
)
*
100
),
groupById
:
Number
((
groupIndex
+
1
)
*
100
),
group
:
group
,
group
:
group
,
definitionname
:
''
,
definitionkey
:
''
,
definitionkey
:
''
,
instancename
:
''
,
instancename
:
''
,
businesskey
:
''
,
businesskey
:
''
,
definitionname
:
''
,
starttime
:
''
,
starttime
:
''
,
startuserid
:
''
,
startuserid
:
''
,
children
:
children
,
children
:
children
,
...
...
app_web/src/widgets/wfprocess-instance/main-grid/main-grid-model.ts
浏览文件 @
2fa7c2f1
...
@@ -26,6 +26,11 @@ export default class MainModel {
...
@@ -26,6 +26,11 @@ export default class MainModel {
]
]
}
else
{
}
else
{
return
[
return
[
{
name
:
'definitionname'
,
prop
:
'processdefinitionname'
,
dataType
:
'TEXT'
,
},
{
{
name
:
'definitionkey'
,
name
:
'definitionkey'
,
prop
:
'processdefinitionkey'
,
prop
:
'processdefinitionkey'
,
...
@@ -41,11 +46,6 @@ export default class MainModel {
...
@@ -41,11 +46,6 @@ export default class MainModel {
prop
:
'businesskey'
,
prop
:
'businesskey'
,
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
name
:
'definitionname'
,
prop
:
'processdefinitionname'
,
dataType
:
'TEXT'
,
},
{
{
name
:
'starttime'
,
name
:
'starttime'
,
prop
:
'starttime'
,
prop
:
'starttime'
,
...
...
app_web/src/widgets/wfprocess-node/main-grid/main-grid-base.vue
浏览文件 @
2fa7c2f1
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
</
template
>
</
template
>
<
template
v-if=
"getColumnState('nodeid')"
>
<
template
v-if=
"getColumnState('nodeid')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'nodeid'"
:label=
"$t('entities.wfprocessnode.main_grid.columns.nodeid')"
:width=
"
10
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'nodeid'"
:label=
"$t('entities.wfprocessnode.main_grid.columns.nodeid')"
:width=
"
25
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
<span
class=
"column-header "
>
{{
$t
(
'entities.wfprocessnode.main_grid.columns.nodeid'
)
}}
{{
$t
(
'entities.wfprocessnode.main_grid.columns.nodeid'
)
}}
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
</el-table-column>
</el-table-column>
</template>
</template>
<
template
v-if=
"getColumnState('nodename')"
>
<
template
v-if=
"getColumnState('nodename')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'nodename'"
:label=
"$t('entities.wfprocessnode.main_grid.columns.nodename')"
:width=
"
10
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'nodename'"
:label=
"$t('entities.wfprocessnode.main_grid.columns.nodename')"
:width=
"
25
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
<span
class=
"column-header "
>
{{
$t
(
'entities.wfprocessnode.main_grid.columns.nodename'
)
}}
{{
$t
(
'entities.wfprocessnode.main_grid.columns.nodename'
)
}}
...
@@ -46,30 +46,6 @@
...
@@ -46,30 +46,6 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</template>
</template>
<
template
v-if=
"getColumnState('definitionkey')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'definitionkey'"
:label=
"$t('entities.wfprocessnode.main_grid.columns.definitionkey')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.wfprocessnode.main_grid.columns.definitionkey'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
definitionkey
}}
</span>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('definitionname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'definitionname'"
:label=
"$t('entities.wfprocessnode.main_grid.columns.definitionname')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.wfprocessnode.main_grid.columns.definitionname'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
definitionname
}}
</span>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"adaptiveState"
>
<
template
v-if=
"adaptiveState"
>
<el-table-column></el-table-column>
<el-table-column></el-table-column>
</
template
>
</
template
>
...
@@ -633,24 +609,6 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -633,24 +609,6 @@ export default class MainBase extends Vue implements ControlInterface {
isEnableRowEdit
:
false
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
enableCond
:
3
,
},
},
{
name
:
'definitionkey'
,
label
:
'DefinitionKey'
,
langtag
:
'entities.wfprocessnode.main_grid.columns.definitionkey'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'definitionname'
,
label
:
'流程定义名称'
,
langtag
:
'entities.wfprocessnode.main_grid.columns.definitionname'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
]
]
/**
/**
...
@@ -1358,7 +1316,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1358,7 +1316,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
}
:
any
)
{
public
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
}
:
any
)
{
let
allColumns
:
Array
<
any
>
=
[
'nodeid'
,
'nodename'
,
'definitionkey'
,
'definitionname'
];
let
allColumns
:
Array
<
any
>
=
[
'nodeid'
,
'nodename'
];
if
(
row
&&
row
.
children
)
{
if
(
row
&&
row
.
children
)
{
if
(
columnIndex
==
(
this
.
isSingleSelect
?
0
:
1
))
{
if
(
columnIndex
==
(
this
.
isSingleSelect
?
0
:
1
))
{
return
[
1
,
allColumns
.
length
+
1
];
return
[
1
,
allColumns
.
length
+
1
];
...
@@ -1440,8 +1398,6 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1440,8 +1398,6 @@ export default class MainBase extends Vue implements ControlInterface {
group
:
group
.
label
,
group
:
group
.
label
,
nodeid
:
''
,
nodeid
:
''
,
nodename
:
''
,
nodename
:
''
,
definitionkey
:
''
,
definitionname
:
''
,
children
:
children
children
:
children
}
}
groupTree
.
push
(
tree
);
groupTree
.
push
(
tree
);
...
@@ -1470,8 +1426,6 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1470,8 +1426,6 @@ export default class MainBase extends Vue implements ControlInterface {
group
:
this
.
$t
(
'app.gridpage.other'
),
group
:
this
.
$t
(
'app.gridpage.other'
),
nodeid
:
''
,
nodeid
:
''
,
nodename
:
''
,
nodename
:
''
,
definitionkey
:
''
,
definitionname
:
''
,
children
:
child
children
:
child
}
}
if
(
child
&&
child
.
length
>
0
){
if
(
child
&&
child
.
length
>
0
){
...
@@ -1520,8 +1474,6 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1520,8 +1474,6 @@ export default class MainBase extends Vue implements ControlInterface {
group
:
group
,
group
:
group
,
nodeid
:
''
,
nodeid
:
''
,
nodename
:
''
,
nodename
:
''
,
definitionkey
:
''
,
definitionname
:
''
,
children
:
children
,
children
:
children
,
}
}
groupTree
.
push
(
tree
);
groupTree
.
push
(
tree
);
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录