Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzwf
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzwf
提交
e67b58e4
提交
e67b58e4
编写于
11月 16, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhouweidong 发布系统代码 [ibz-wf,统一工作流]
上级
bb6519a2
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
103 行增加
和
9 行删除
+103
-9
wfprocess-instance_BO_CN_base.ts
...ities/wfprocess-instance/wfprocess-instance_BO_CN_base.ts
+2
-0
wfprocess-instance_en_US_base.ts
...ities/wfprocess-instance/wfprocess-instance_en_US_base.ts
+2
-0
wfprocess-instance_zh_CN_base.ts
...ities/wfprocess-instance/wfprocess-instance_zh_CN_base.ts
+2
-0
wfprocess-instance-ui-service-base.ts
.../wfprocess-instance/wfprocess-instance-ui-service-base.ts
+18
-8
main-form-base.vue
...c/widgets/wfprocess-instance/main-form/main-form-base.vue
+69
-1
main-form-model.ts
...c/widgets/wfprocess-instance/main-form/main-form-model.ts
+10
-0
未找到文件。
app_web/src/locale/lanres/entities/wfprocess-instance/wfprocess-instance_BO_CN_base.ts
浏览文件 @
e67b58e4
...
@@ -36,6 +36,8 @@ function getLocaleResourceBase(){
...
@@ -36,6 +36,8 @@ function getLocaleResourceBase(){
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
businesskey
:
commonLogic
.
appcommonhandle
(
"业务键值"
,
null
),
definitionkey
:
commonLogic
.
appcommonhandle
(
"DefinitionKey"
,
null
),
instanceid
:
commonLogic
.
appcommonhandle
(
"实例标识"
,
null
),
instanceid
:
commonLogic
.
appcommonhandle
(
"实例标识"
,
null
),
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/wfprocess-instance/wfprocess-instance_en_US_base.ts
浏览文件 @
e67b58e4
...
@@ -36,6 +36,8 @@ function getLocaleResourceBase(){
...
@@ -36,6 +36,8 @@ function getLocaleResourceBase(){
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
businesskey
:
commonLogic
.
appcommonhandle
(
"业务键值"
,
null
),
definitionkey
:
commonLogic
.
appcommonhandle
(
"DefinitionKey"
,
null
),
instanceid
:
commonLogic
.
appcommonhandle
(
"实例标识"
,
null
),
instanceid
:
commonLogic
.
appcommonhandle
(
"实例标识"
,
null
),
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/wfprocess-instance/wfprocess-instance_zh_CN_base.ts
浏览文件 @
e67b58e4
...
@@ -36,6 +36,8 @@ function getLocaleResourceBase(){
...
@@ -36,6 +36,8 @@ function getLocaleResourceBase(){
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
businesskey
:
commonLogic
.
appcommonhandle
(
"业务键值"
,
null
),
definitionkey
:
commonLogic
.
appcommonhandle
(
"DefinitionKey"
,
null
),
instanceid
:
commonLogic
.
appcommonhandle
(
"实例标识"
,
null
),
instanceid
:
commonLogic
.
appcommonhandle
(
"实例标识"
,
null
),
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/uiservice/wfprocess-instance/wfprocess-instance-ui-service-base.ts
浏览文件 @
e67b58e4
...
@@ -154,15 +154,25 @@ export default class WFProcessInstanceUIServiceBase extends UIService {
...
@@ -154,15 +154,25 @@ export default class WFProcessInstanceUIServiceBase extends UIService {
let
deResParameters
:
any
[]
=
[];
let
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
const
parameters
:
any
[]
=
[
{
pathName
:
'wfprocessinstances'
,
parameterName
:
'wfprocessinstance'
},
{
pathName
:
'wfprocessinstances'
,
parameterName
:
'wfprocessinstance'
},
{
pathName
:
'activeinstanceoptionview'
,
parameterName
:
'activeinstanceoptionview'
},
];
];
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
openPopupModal
=
(
view
:
any
,
data
:
any
)
=>
{
const
routePath
=
actionContext
.
$viewTool
.
buildUpRoutePath
(
actionContext
.
$route
,
context
,
deResParameters
,
parameters
,
_args
,
data
);
let
container
:
Subject
<
any
>
=
actionContext
.
$appmodal
.
openModal
(
view
,
context
,
data
);
actionContext
.
$router
.
push
(
routePath
);
container
.
subscribe
((
result
:
any
)
=>
{
actionContext
.
closeView
(
null
);
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
null
;
return
;
}
}
openIndexViewTab
(
data
);
const
_this
:
any
=
actionContext
;
_this
.
closeView
(
null
);
return
result
.
datas
;
});
}
const
view
:
any
=
{
viewname
:
'wfprocess-instance-active-instance-option-view'
,
height
:
0
,
width
:
0
,
title
:
actionContext
.
$t
(
'entities.wfprocessinstance.views.activeinstanceoptionview.title'
),
};
openPopupModal
(
view
,
data
);
}
}
/**
/**
...
...
app_web/src/widgets/wfprocess-instance/main-form/main-form-base.vue
浏览文件 @
e67b58e4
...
@@ -15,7 +15,35 @@
...
@@ -15,7 +15,35 @@
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.group1.manageContainerStatus"
:isManageContainer=
"detailsModel.group1.isManageContainer"
@
managecontainerclick=
"manageContainerClick('group1')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.wfprocessinstance.main_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.group1.manageContainerStatus"
:isManageContainer=
"detailsModel.group1.isManageContainer"
@
managecontainerclick=
"manageContainerClick('group1')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.wfprocessinstance.main_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<row>
<i-col
v-show=
"detailsModel.businesskey.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'businesskey'
:itemRules=
"this.rules().businesskey"
class=
''
:caption=
"$t('entities.wfprocessinstance.main_form.details.businesskey')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.businesskey.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.businesskey"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.businesskey.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.definitionkey.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'definitionkey'
:itemRules=
"this.rules().definitionkey"
class=
''
:caption=
"$t('entities.wfprocessinstance.main_form.details.definitionkey')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.definitionkey.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.definitionkey"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.definitionkey.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
</row>
</row>
</app-form-group>
</app-form-group>
...
@@ -444,6 +472,8 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -444,6 +472,8 @@ export default class MainBase extends Vue implements ControlInterface {
srfuf
:
null
,
srfuf
:
null
,
srfdeid
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
srfsourcekey
:
null
,
businesskey
:
null
,
definitionkey
:
null
,
instanceid
:
null
,
instanceid
:
null
,
wfprocessinstance
:
null
,
wfprocessinstance
:
null
,
};
};
...
@@ -496,6 +526,14 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -496,6 +526,14 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
rules
()
:
any
{
public
rules
()
:
any
{
return
{
return
{
businesskey
:
[
{
required
:
this
.
detailsModel
.
businesskey
.
required
,
type
:
'string'
,
message
:
'业务键值 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
businesskey
.
required
,
type
:
'string'
,
message
:
'业务键值 值不能为空'
,
trigger
:
'blur'
},
],
definitionkey
:
[
{
required
:
this
.
detailsModel
.
definitionkey
.
required
,
type
:
'string'
,
message
:
'DefinitionKey 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
definitionkey
.
required
,
type
:
'string'
,
message
:
'DefinitionKey 值不能为空'
,
trigger
:
'blur'
},
],
}
}
}
}
...
@@ -624,6 +662,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -624,6 +662,10 @@ export default class MainBase extends Vue implements ControlInterface {
srfdeid
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfdeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
srfdeid
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfdeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
businesskey
:
new
FormItemModel
({
caption
:
'业务键值'
,
detailType
:
'FORMITEM'
,
name
:
'businesskey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
definitionkey
:
new
FormItemModel
({
caption
:
'DefinitionKey'
,
detailType
:
'FORMITEM'
,
name
:
'definitionkey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
instanceid
:
new
FormItemModel
({
caption
:
'实例标识'
,
detailType
:
'FORMITEM'
,
name
:
'instanceid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
instanceid
:
new
FormItemModel
({
caption
:
'实例标识'
,
detailType
:
'FORMITEM'
,
name
:
'instanceid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
...
@@ -714,6 +756,30 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -714,6 +756,30 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'srfsourcekey'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'srfsourcekey'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
* 监控表单属性 businesskey 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.businesskey'
)
onBusinesskeyChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'businesskey'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 definitionkey 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.definitionkey'
)
onDefinitionkeyChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'definitionkey'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
/**
* 监控表单属性 instanceid 值
* 监控表单属性 instanceid 值
*
*
...
@@ -792,6 +858,8 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -792,6 +858,8 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
/**
/**
...
...
app_web/src/widgets/wfprocess-instance/main-form/main-form-model.ts
浏览文件 @
e67b58e4
...
@@ -50,6 +50,16 @@ export default class MainModel {
...
@@ -50,6 +50,16 @@ export default class MainModel {
{
{
name
:
'srfsourcekey'
,
name
:
'srfsourcekey'
,
},
},
{
name
:
'businesskey'
,
prop
:
'businesskey'
,
dataType
:
'TEXT'
,
},
{
name
:
'definitionkey'
,
prop
:
'processdefinitionkey'
,
dataType
:
'TEXT'
,
},
{
{
name
:
'instanceid'
,
name
:
'instanceid'
,
prop
:
'id'
,
prop
:
'id'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录