Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
587e7a8a
提交
587e7a8a
编写于
2年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
8efeaf2c
变更
31
展开全部
显示空白字符变更
内嵌
并排
正在显示
31 个修改的文件
包含
3696 行增加
和
44 行删除
+3696
-44
app-todo-list.vue
app_Web/src/components/app-todo-list/app-todo-list.vue
+2
-2
ibizsample0021_BO_CN_base.ts
...nres/entities/ibizsample0021/ibizsample0021_BO_CN_base.ts
+21
-0
ibizsample0021_en_US_base.ts
...nres/entities/ibizsample0021/ibizsample0021_en_US_base.ts
+21
-0
ibizsample0021_zh_CN_base.ts
...nres/entities/ibizsample0021/ibizsample0021_zh_CN_base.ts
+21
-0
ibizsample0021-reassignwfdyna-action-view-base.vue
...n-view/ibizsample0021-reassignwfdyna-action-view-base.vue
+2
-0
ibizsample0021-reassignwfdyna-action-view.vue
...action-view/ibizsample0021-reassignwfdyna-action-view.vue
+2
-0
ibizsample0021-usr1114865995-wfdyna-edit-view3-base.vue
...3/ibizsample0021-usr1114865995-wfdyna-edit-view3-base.vue
+120
-16
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
guide-view-form-form-base.vue
...izbook/guide-view-form-form/guide-view-form-form-base.vue
+5
-5
usr4-dataview-base.vue
...src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
+4
-4
usr4-dataview-model.ts
...src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
+5
-0
card-navigation-dataview-base.vue
...ard-navigation-dataview/card-navigation-dataview-base.vue
+4
-4
main-grid-base.vue
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
+21
-7
main-grid-model.ts
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
+15
-0
data-relation-drtab-model.ts
...mple0021/data-relation-drtab/data-relation-drtab-model.ts
+3
-0
start001-form-base.vue
...dgets/ibizsample0021/start001-form/start001-form-base.vue
+16
-0
start001-form-model.ts
...dgets/ibizsample0021/start001-form/start001-form-model.ts
+5
-0
transfer-form-base.vue
...dgets/ibizsample0021/transfer-form/transfer-form-base.vue
+2026
-0
transfer-form-model.ts
...dgets/ibizsample0021/transfer-form/transfer-form-model.ts
+82
-0
transfer-form-service.ts
...ets/ibizsample0021/transfer-form/transfer-form-service.ts
+473
-0
transfer-form.less
...c/widgets/ibizsample0021/transfer-form/transfer-form.less
+55
-0
transfer-form.vue
...rc/widgets/ibizsample0021/transfer-form/transfer-form.vue
+15
-0
IBIZSample0021.json
...model/PSMODULES/Sample/PSDATAENTITIES/IBIZSample0021.json
+89
-0
IBIZSample0021.json
...model/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json
+18
-0
Start001.json
...eb/PSAPPDATAENTITIES/IBIZSample0021/PSFORMS/Start001.json
+37
-0
Transfer.json
...eb/PSAPPDATAENTITIES/IBIZSample0021/PSFORMS/Transfer.json
+219
-0
IBIZSample0021REASSIGNWFDynaActionView.json
.../PSAPPDEVIEWS/IBIZSample0021REASSIGNWFDynaActionView.json
+319
-0
IBIZSample0021Usr1116491232WFDynaStartView.json
...PPDEVIEWS/IBIZSample0021Usr1116491232WFDynaStartView.json
+74
-0
ACTv2.json
...tatic/remotemodel/PSWORKFLOWS/ACT/PSWFVERSIONS/ACTv2.json
+4
-2
ACTv2.json.bpmn
.../remotemodel/PSWORKFLOWS/ACT/PSWFVERSIONS/ACTv2.json.bpmn
+2
-2
DemoSys.json
demo-core/src/main/resources/sysmodel/DemoSys.json
+14
-0
未找到文件。
app_Web/src/components/app-todo-list/app-todo-list.vue
浏览文件 @
587e7a8a
...
...
@@ -54,7 +54,7 @@ export default class AppTodoList extends Vue {
/**
* 当前分页
*/
public
curPage
:
number
=
0
;
public
curPage
:
number
=
1
;
/**
* 总条数
...
...
@@ -79,7 +79,7 @@ export default class AppTodoList extends Vue {
public
getMyTasks
()
{
const
params
=
{
size
:
this
.
limit
,
page
:
this
.
curPage
page
:
this
.
curPage
-
1
};
let
url
:
any
=
'/wfcore/mytasks'
;
if
(
this
.
query
)
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/locale/lanres/entities/ibizsample0021/ibizsample0021_BO_CN_base.ts
浏览文件 @
587e7a8a
...
...
@@ -16,6 +16,7 @@ function getLocaleResourceBase(){
curdeptid
:
commonLogic
.
appcommonhandle
(
"CURDEPTID"
,
null
),
amount
:
commonLogic
.
appcommonhandle
(
"总计"
,
null
),
deptheads
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
deptheadsid
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
},
views
:
{
wfdynaactionview
:
{
...
...
@@ -110,6 +111,7 @@ function getLocaleResourceBase(){
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
deptheads
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
deptheadsid
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
ibizsample0021id
:
commonLogic
.
appcommonhandle
(
"订单标识"
,
null
),
},
uiactions
:
{
...
...
@@ -307,6 +309,25 @@ function getLocaleResourceBase(){
uiactions
:
{
},
},
transfer_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"订单基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srfupdatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"订单标识"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"订单名称"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
deptheads
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
deptheadsid
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
ibizsample0021id
:
commonLogic
.
appcommonhandle
(
"订单标识"
,
null
),
},
uiactions
:
{
},
},
usr1116490270_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"订单基本信息"
,
null
),
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/locale/lanres/entities/ibizsample0021/ibizsample0021_en_US_base.ts
浏览文件 @
587e7a8a
...
...
@@ -16,6 +16,7 @@ function getLocaleResourceBase(){
curdeptid
:
commonLogic
.
appcommonhandle
(
"CURDEPTID"
,
null
),
amount
:
commonLogic
.
appcommonhandle
(
"总计"
,
null
),
deptheads
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
deptheadsid
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
},
views
:
{
wfdynaactionview
:
{
...
...
@@ -110,6 +111,7 @@ function getLocaleResourceBase(){
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
deptheads
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
deptheadsid
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
ibizsample0021id
:
commonLogic
.
appcommonhandle
(
"订单标识"
,
null
),
},
uiactions
:
{
...
...
@@ -307,6 +309,25 @@ function getLocaleResourceBase(){
uiactions
:
{
},
},
transfer_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"订单基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srfupdatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"订单标识"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"订单名称"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
deptheads
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
deptheadsid
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
ibizsample0021id
:
commonLogic
.
appcommonhandle
(
"订单标识"
,
null
),
},
uiactions
:
{
},
},
usr1116490270_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"订单基本信息"
,
null
),
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/locale/lanres/entities/ibizsample0021/ibizsample0021_zh_CN_base.ts
浏览文件 @
587e7a8a
...
...
@@ -16,6 +16,7 @@ function getLocaleResourceBase(){
curdeptid
:
commonLogic
.
appcommonhandle
(
"CURDEPTID"
,
null
),
amount
:
commonLogic
.
appcommonhandle
(
"总计"
,
null
),
deptheads
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
deptheadsid
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
},
views
:
{
wfdynaactionview
:
{
...
...
@@ -110,6 +111,7 @@ function getLocaleResourceBase(){
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
deptheads
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
deptheadsid
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
ibizsample0021id
:
commonLogic
.
appcommonhandle
(
"订单标识"
,
null
),
},
uiactions
:
{
...
...
@@ -307,6 +309,25 @@ function getLocaleResourceBase(){
uiactions
:
{
},
},
transfer_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"订单基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srfupdatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"订单标识"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"订单名称"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
deptheads
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
deptheadsid
:
commonLogic
.
appcommonhandle
(
"部门领导"
,
null
),
ibizsample0021id
:
commonLogic
.
appcommonhandle
(
"订单标识"
,
null
),
},
uiactions
:
{
},
},
usr1116490270_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"订单基本信息"
,
null
),
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/pages/sample/ibizsample0021-reassignwfdyna-action-view/ibizsample0021-reassignwfdyna-action-view-base.vue
浏览文件 @
587e7a8a
...
...
@@ -215,6 +215,7 @@ export default class IBIZSample0021REASSIGNWFDynaActionViewBase extends Vue {
*/
public
containerModel
:
any
=
{
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
view_wfform_transfer
:
{
name
:
'wfform_transfer'
,
type
:
'FORM'
},
view_wfform_refuseform
:
{
name
:
'wfform_refuseform'
,
type
:
'FORM'
},
wflinks
:
[],
};
...
...
@@ -703,6 +704,7 @@ export default class IBIZSample0021REASSIGNWFDynaActionViewBase extends Vue {
*/
public
allForm
:
any
=
{
"form"
:{
name
:
"view_form"
,
autosave
:
"false"
,
showBusyIndicator
:
"true"
,
updateAction
:
"Update"
,
removeAction
:
"Remove"
,
loaddraftAction
:
"GetDraft"
,
loadAction
:
"Get"
,
createAction
:
"Create"
,
WFSubmitAction
:
""
,
WFStartAction
:
""
},
"wfform_transfer"
:{
name
:
"view_wfform_transfer"
,
autosave
:
"false"
,
showBusyIndicator
:
"true"
,
updateAction
:
"Update"
,
removeAction
:
"Remove"
,
loaddraftAction
:
"GetDraft"
,
loadAction
:
"Get"
,
createAction
:
"Create"
,
WFSubmitAction
:
""
,
WFStartAction
:
""
},
"wfform_refuseform"
:{
name
:
"view_wfform_refuseform"
,
autosave
:
"false"
,
showBusyIndicator
:
"true"
,
updateAction
:
"Update"
,
removeAction
:
"Remove"
,
loaddraftAction
:
"GetDraft"
,
loadAction
:
"Get"
,
createAction
:
"Create"
,
WFSubmitAction
:
""
,
WFStartAction
:
""
}
};
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/pages/sample/ibizsample0021-reassignwfdyna-action-view/ibizsample0021-reassignwfdyna-action-view.vue
浏览文件 @
587e7a8a
...
...
@@ -3,11 +3,13 @@ import { Component } from 'vue-property-decorator';
import
IBIZSample0021REASSIGNWFDynaActionViewBase
from
'./ibizsample0021-reassignwfdyna-action-view-base.vue'
;
import
view_form
from
'@widgets/ibizsample0021/usr1116029485-form/usr1116029485-form.vue'
;
import
view_wfform_transfer
from
'@widgets/ibizsample0021/transfer-form/transfer-form.vue'
;
import
view_wfform_refuseform
from
'@widgets/ibizsample0021/refuse-form-form/refuse-form-form.vue'
;
// 基于 @VIEW/@MACRO/VIEW.vue.ftl 生成
@
Component
({
components
:
{
view_form
,
view_wfform_transfer
,
view_wfform_refuseform
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/pages/sample/ibizsample0021-usr1114865995-wfdyna-edit-view3/ibizsample0021-usr1114865995-wfdyna-edit-view3-base.vue
浏览文件 @
587e7a8a
...
...
@@ -728,6 +728,28 @@ export default class IBIZSample0021Usr1114865995WFDynaEditView3Base extends Vue
*/
public
activeForm
:
any
=
{};
/**
* 工作流附加功能类型映射关系对象
*
* @memberof IBIZSample0021Usr1114865995WFDynaEditView3Base
*/
public
wfAddiFeatureRef
:
any
=
{
// 转办
"reassign"
:
{
featureTag
:
"REASSIGN"
,
action
:
"TransFerTask"
},
// 前加签
"addstepbefore"
:
{
featureTag
:
"ADDSTEPBEFORE"
,
action
:
"BeforeSign"
},
// 后加签
"addstepafter"
:
{
featureTag
:
"ADDSTEPAFTER"
,
action
:
"AfterSign"
},
// 回退
"sendback"
:
{
featureTag
:
"SENDBACK"
,
action
:
"SendBack"
},
// 抄送
"sendcopy"
:
{
featureTag
:
"SENDCOPY"
,
action
:
"sendCopy"
},
// 补充信息
"supplyinfo"
:
{
featureTag
:
"SUPPLYINFO"
,
action
:
"supplyInfo"
},
// 征求意见
"takeadvice"
:
{
featureTag
:
"TAKEADVICE"
,
action
:
"takeAdvice"
}
};
/**
* 所有表单数据
*
...
...
@@ -884,17 +906,18 @@ export default class IBIZSample0021Usr1114865995WFDynaEditView3Base extends Vue
}
});
}
const
submitAction
:
Function
=
()
=>
{
if
(
linkItem
&&
linkItem
.
sequenceflowview
&&
this
.
viewRefData
[
`WFACTION@
${
linkItem
.
sequenceflowview
}
`
])
{
let
tempContext
:
any
=
Util
.
deepCopy
(
this
.
context
);
let
tempContext
:
any
=
Util
.
deepCopy
(
this
.
context
);
Object
.
assign
(
tempContext
,{
ibizsample0021
:
datas
&&
datas
[
0
].
srfkey
});
let
tempViewParam
:
any
=
{
actionView
:
linkItem
.
sequenceflowview
,
actionForm
:
linkItem
.
sequenceflowform
};
let
targetView
:
any
=
this
.
viewRefData
[
`WFACTION@
${
linkItem
.
sequenceflowview
}
`
];
const
appmodal
=
this
.
$appmodal
.
openModal
({
viewname
:
targetView
.
viewname
,
title
:
(
this
.
$t
(
targetView
.
title
)
as
string
),
height
:
targetView
.
height
,
width
:
targetView
.
width
},
tempContext
,
tempViewParam
);
let
tempViewParam
:
any
=
{
actionView
:
linkItem
.
sequenceflowview
,
actionForm
:
linkItem
.
sequenceflowform
};
let
targetView
:
any
=
this
.
viewRefData
[
`WFACTION@
${
linkItem
.
sequenceflowview
}
`
];
const
appmodal
=
this
.
$appmodal
.
openModal
({
viewname
:
targetView
.
viewname
,
title
:
(
this
.
$t
(
targetView
.
title
)
as
string
),
height
:
targetView
.
height
,
width
:
targetView
.
width
},
tempContext
,
tempViewParam
);
appmodal
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
let
tempSubmitData
:
any
=
Util
.
deepCopy
(
datas
);
let
tempSubmitData
:
any
=
Util
.
deepCopy
(
datas
);
tempSubmitData
.
forEach
((
element
:
any
)
=>
{
Object
.
assign
(
element
,
result
.
datas
&&
result
.
datas
[
0
]);
});
...
...
@@ -904,6 +927,87 @@ export default class IBIZSample0021Usr1114865995WFDynaEditView3Base extends Vue
submit
(
datas
,
linkItem
);
}
}
if
(
linkItem
&&
linkItem
.
type
)
{
if
(
Object
.
is
(
linkItem
.
type
,
"finish"
))
{
submitAction
();
}
else
{
this
.
handleWFAddiFeature
(
linkItem
,
datas
);
}
}
else
{
submitAction
();
}
}
/**
* 处理工作流辅助功能
*
* @memberof IBIZSample0021Usr1114865995WFDynaEditView3Base
*/
public
handleWFAddiFeature
(
linkItem
:
any
,
data
:
any
)
{
let
featureTag
:
string
=
this
.
wfAddiFeatureRef
[
linkItem
.
type
].
featureTag
;
if
(
!
featureTag
)
return
;
let
targetView
:
any
=
this
.
viewRefData
[
`WFUTILACTION@
${
featureTag
}
`
];
if
(
!
targetView
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
`未找到
${
featureTag
}
映射视图`
});
return
;
}
let
tempContext
:
any
=
Util
.
deepCopy
(
this
.
context
);
Object
.
assign
(
tempContext
,{
ibizsample0021
:
data
&&
data
[
0
].
srfkey
});
let
tempViewParam
:
any
=
{
actionForm
:
linkItem
.
sequenceflowform
};
const
appmodal
=
this
.
$appmodal
.
openModal
({
viewname
:
targetView
.
viewname
,
title
:
(
this
.
$t
(
targetView
.
title
)
as
string
),
height
:
targetView
.
height
,
width
:
targetView
.
width
},
tempContext
,
tempViewParam
);
appmodal
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
let
tempSubmitData
:
any
=
Util
.
deepCopy
(
data
[
0
]);
if
(
result
.
datas
&&
result
.
datas
[
0
])
{
const
resultData
:
any
=
result
.
datas
[
0
];
if
(
Object
.
keys
(
resultData
).
length
>
0
)
{
let
tempData
:
any
=
{};
Object
.
keys
(
resultData
).
forEach
((
key
:
any
)
=>
{
if
(
resultData
[
key
]
&&
(
key
!==
"srfuf"
))
tempData
[
key
]
=
resultData
[
key
];
})
Object
.
assign
(
tempSubmitData
,
tempData
);
}
this
.
submitWFAddiFeature
(
linkItem
,
tempSubmitData
);
}
});
}
/**
* 提交工作流辅助功能
*
* @memberof IBIZSample0021Usr1114865995WFDynaEditView3Base
*/
public
submitWFAddiFeature
(
linkItem
:
any
,
submitData
:
any
)
{
const
that
:
any
=
this
;
let
tempSubmitData
:
any
=
Object
.
assign
(
linkItem
,
{
"activedata"
:
submitData
});
let
action
:
string
=
this
.
wfAddiFeatureRef
[
linkItem
.
type
].
action
;
if
(
!
action
)
return
;
if
(
that
.
appEntityService
&&
that
.
appEntityService
[
action
]
&&
that
.
appEntityService
[
action
]
instanceof
Function
)
{
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
Object
.
assign
(
tempContext
,
{
taskId
:
linkItem
.
taskId
})
that
.
appEntityService
[
action
](
tempContext
,
tempSubmitData
).
then
((
response
:
any
)
=>
{
const
{
data
}
=
response
;
if
(
!
response
||
response
.
status
!==
200
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
data
.
message
?
data
.
message
:
this
.
$t
(
'app.commonWords.sysException'
)
as
string
});
return
;
}
if
(
this
.
viewdata
)
{
this
.
$emit
(
'viewdataschange'
,
[{
...
data
}]);
this
.
$emit
(
'close'
);
}
else
if
(
this
.
$tabPageExp
)
{
this
.
$tabPageExp
.
onClose
(
this
.
$route
.
fullPath
);
}
this
.
$Notice
.
success
({
title
:
''
,
desc
:
(
this
.
$t
(
'app.formpage.workflow.submitsuccess'
)
as
string
)
});
}).
catch
((
error
:
any
)
=>
{
const
{
data
}
=
error
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
data
.
message
?
data
.
message
:
this
.
$t
(
'app.commonWords.sysException'
)
as
string
});
})
}
else
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
`
${
action
}
暂未实现`
});
}
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
587e7a8a
...
...
@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
587e7a8a
...
...
@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1494,7 +1494,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1564,7 +1564,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1672,7 +1672,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -1764,7 +1764,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
浏览文件 @
587e7a8a
...
...
@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
浏览文件 @
587e7a8a
...
...
@@ -70,6 +70,11 @@ export default class Usr4Model {
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/card-navigation-dataview/card-navigation-dataview-base.vue
浏览文件 @
587e7a8a
...
...
@@ -736,7 +736,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -830,7 +830,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -946,7 +946,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -954,7 +954,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
浏览文件 @
587e7a8a
...
...
@@ -319,7 +319,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrder
Pickup
GridViewBase
* @memberof IBIZOrder
SF1
GridViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -462,6 +462,20 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
opendata
:
any
;
/**
* 是否嵌入关系界面
...
...
@@ -996,7 +1010,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
fetchAction
)
{
this
.
$Notice
.
error
({
title
:
this
.
$t
(
"app.commonWords.wrong"
)
as
string
,
desc
:
"IBIZOrder
Pickup
GridView"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
desc
:
"IBIZOrder
SF1
GridView"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
});
return
;
}
...
...
@@ -1125,7 +1139,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
removeAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
...
...
@@ -1239,7 +1253,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2170,7 +2184,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
))
{
if
(
!
this
.
createAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2179,7 +2193,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2255,7 +2269,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
浏览文件 @
587e7a8a
...
...
@@ -105,6 +105,21 @@ export default class MainModel {
prop
:
'n_ibizordername_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_orderstate_eq'
,
prop
:
'n_orderstate_eq'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_gt'
,
prop
:
'n_ordertime_gt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_lt'
,
prop
:
'n_ordertime_lt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizsample0021/data-relation-drtab/data-relation-drtab-model.ts
浏览文件 @
587e7a8a
...
...
@@ -55,6 +55,9 @@ export default class DataRelationModel {
{
name
:
'deptheads'
,
},
{
name
:
'deptheadsid'
,
},
]
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizsample0021/start001-form/start001-form-base.vue
浏览文件 @
587e7a8a
...
...
@@ -470,6 +470,7 @@ export default class Start001Base extends Vue implements ControlInterface {
srfdeid
:
null
,
srfsourcekey
:
null
,
deptheads
:
null
,
deptheadsid
:
null
,
ibizsample0021id
:
null
,
ibizsample0021
:
null
,
};
...
...
@@ -654,6 +655,8 @@ export default class Start001Base extends Vue implements ControlInterface {
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
deptheads
:
new
FormItemModel
({
caption
:
'部门领导'
,
detailType
:
'FORMITEM'
,
name
:
'deptheads'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
deptheadsid
:
new
FormItemModel
({
caption
:
'部门领导'
,
detailType
:
'FORMITEM'
,
name
:
'deptheadsid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
ibizsample0021id
:
new
FormItemModel
({
caption
:
'订单标识'
,
detailType
:
'FORMITEM'
,
name
:
'ibizsample0021id'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -767,6 +770,18 @@ export default class Start001Base extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'deptheads'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 deptheadsid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Start001Base
*/
@
Watch
(
'data.deptheadsid'
)
onDeptheadsidChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'deptheadsid'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 ibizsample0021id 值
*
...
...
@@ -845,6 +860,7 @@ export default class Start001Base extends Vue implements ControlInterface {
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizsample0021/start001-form/start001-form-model.ts
浏览文件 @
587e7a8a
...
...
@@ -61,6 +61,11 @@ export default class Start001Model {
prop
:
'deptheads'
,
dataType
:
'TEXT'
,
},
{
name
:
'deptheadsid'
,
prop
:
'deptheadsid'
,
dataType
:
'TEXT'
,
},
{
name
:
'ibizsample0021id'
,
prop
:
'ibizsample0021id'
,
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizsample0021/transfer-form/transfer-form-base.vue
0 → 100644
浏览文件 @
587e7a8a
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0021/transfer-form/transfer-form-model.ts
0 → 100644
浏览文件 @
587e7a8a
// 基于 @CONTROL/表单/MODEL.ts.ftl 生成
/**
* Transfer 部件模型
*
* @export
* @class TransferModel
*/
export
default
class
TransferModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TransferModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfwfmemo'
,
prop
:
'srfwfmemo'
,
dataType
:
'TEXT'
,
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfupdatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'srforikey'
,
},
{
name
:
'srfkey'
,
prop
:
'ibizsample0021id'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'ibizsample0021name'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'deptheads'
,
prop
:
'deptheads'
,
dataType
:
'TEXT'
,
},
{
name
:
'deptheadsid'
,
prop
:
'deptheadsid'
,
dataType
:
'TEXT'
,
},
{
name
:
'ibizsample0021id'
,
prop
:
'ibizsample0021id'
,
dataType
:
'GUID'
,
},
{
name
:
'ibizsample0021'
,
prop
:
'ibizsample0021id'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizsample0021/transfer-form/transfer-form-service.ts
0 → 100644
浏览文件 @
587e7a8a
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizsample0021/transfer-form/transfer-form.less
0 → 100644
浏览文件 @
587e7a8a
// 基于 @CONTROL/表单/CONTROL.less.ftl 生成
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-form {
overflow: auto;
padding: 6px;
> .ivu-row {
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
.app-form {
>.ivu-row:nth-child(2) {
>.ivu-col:nth-child(1) {
>.ivu-row.app-form-group.app-group-hiddden-caption:nth-child(1) {
margin-top: 12px;
}
}
}
}
.app-form{
// 表单行间距
.app-form-item{
margin-bottom: 20px;
}
// 表单按钮margin
.app-form-button{
margin:0 6px;
}
}
// this is less
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizsample0021/transfer-form/transfer-form.vue
0 → 100644
浏览文件 @
587e7a8a
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
TransferBase
from
'./transfer-form-base.vue'
;
// 基于 @CONTROL/@MACRO/CONTROL/CONTROL.vue.ftl 生成
@
Component
({
components
:
{
}
})
export
default
class
Transfer
extends
TransferBase
{
}
</
script
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZSample0021.json
浏览文件 @
587e7a8a
...
...
@@ -1262,6 +1262,70 @@
"viewLevel"
:
0
,
"phisicalDEField"
:
false
,
"uIAssistDEField"
:
true
},
{
"getAllPSDEFUIModes"
:
[
{
"codeName"
:
"MobileDefault"
,
"name"
:
"[DEPTHEADSID][部门领导标识]移动端默认"
,
"getPSDEFFormItem"
:
{
"codeName"
:
"MobileDefault"
,
"editorType"
:
"MOBTEXT"
,
"name"
:
"[DEPTHEADSID][部门领导标识]移动端默认"
,
"stringLength"
:
100
,
"uIMode"
:
"MOBILEDEFAULT"
,
"mobileMode"
:
true
},
"type"
:
"MOBILEDEFAULT"
,
"mobileMode"
:
true
},
{
"codeName"
:
"Default"
,
"name"
:
"[DEPTHEADSID][部门领导标识]"
,
"getPSDEFFormItem"
:
{
"codeName"
:
"Default"
,
"editorType"
:
"TEXTBOX"
,
"name"
:
"[DEPTHEADSID][部门领导标识]"
,
"stringLength"
:
100
,
"uIMode"
:
"DEFAULT"
},
"type"
:
"DEFAULT"
}
],
"getAllPSDEFValueRules"
:
[
{
"codeName"
:
"Default"
,
"name"
:
"默认规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"STRINGLENGTH"
,
"dEFName"
:
"DEPTHEADSID"
,
"maxValue"
:
100
,
"name"
:
"默认字符串长度"
,
"ruleInfo"
:
"内容长度必须小于等于[100]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
false
,
"keyCond"
:
true
}
],
"ruleInfo"
:
"内容长度必须小于等于[100]"
},
"ruleInfo"
:
"内容长度必须小于等于[100]"
,
"checkDefault"
:
true
,
"defaultMode"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
}
],
"codeName"
:
"DeptHeadsId"
,
"dEFType"
:
5
,
"dataType"
:
"TEXT"
,
"importOrder"
:
1000
,
"length"
:
100
,
"logicName"
:
"部门领导"
,
"name"
:
"DEPTHEADSID"
,
"stdDataType"
:
25
,
"stringLength"
:
100
,
"valueFormat"
:
"%1$s"
,
"viewLevel"
:
0
,
"phisicalDEField"
:
false
,
"uIAssistDEField"
:
true
}
],
"getAllPSDEMethodDTOs"
:
[
{
"name"
:
"IBIZSample0021DTO"
,
...
...
@@ -1334,6 +1398,17 @@
"stdDataType"
:
25
,
"stringLength"
:
100
,
"type"
:
"SIMPLE"
},
{
"logicName"
:
"部门领导"
,
"name"
:
"DeptHeadsId"
,
"getPSDEField"
:
{
"name"
:
"DEPTHEADSID"
,
"codeName"
:
"DeptHeadsId"
},
"sourceType"
:
"DEFIELD"
,
"stdDataType"
:
25
,
"stringLength"
:
100
,
"type"
:
"SIMPLE"
},
{
"logicName"
:
"订单标识"
,
"name"
:
"IBIZSample0021Id"
,
...
...
@@ -1661,6 +1736,13 @@
"name"
:
"部门领导审批通过操作表单"
,
"realModelSubType"
:
"EDITFORM"
,
"realModelType"
:
"PSDEFORM"
},
{
"codeName"
:
"transfer"
,
"logicName"
:
"工作转移"
,
"modelTag2"
:
"0"
,
"name"
:
"工作转移"
,
"realModelSubType"
:
"EDITFORM"
,
"realModelType"
:
"PSDEFORM"
},
{
"codeName"
:
"operationForm"
,
"logicName"
:
"操作表单"
,
...
...
@@ -1689,6 +1771,13 @@
"name"
:
"Usr1116491232WFDynaStartView_表单"
,
"realModelSubType"
:
"EDITFORM"
,
"realModelType"
:
"PSDEFORM"
},
{
"codeName"
:
"beforeSign"
,
"logicName"
:
"加签"
,
"modelTag2"
:
"0"
,
"name"
:
"加签"
,
"realModelSubType"
:
"EDITFORM"
,
"realModelType"
:
"PSDEFORM"
},
{
"codeName"
:
"Usr1116490270"
,
"logicName"
:
" 实体工作流动态操作视图(前加签)_表单"
,
...
...
This diff is collapsed.
Click to expand it.
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json
浏览文件 @
587e7a8a
...
...
@@ -341,6 +341,12 @@
"name"
:
"DEPTHEADS"
,
"stdDataType"
:
25
,
"stringLength"
:
100
},
{
"codeName"
:
"DeptHeadsId"
,
"logicName"
:
"部门领导"
,
"name"
:
"DEPTHEADSID"
,
"stdDataType"
:
25
,
"stringLength"
:
100
}
],
"getAllPSAppDEMethodDTOs"
:
[
{
"codeName"
:
"IBIZSample0021DTO"
,
...
...
@@ -419,6 +425,18 @@
"sourceType"
:
"DEFIELD"
,
"stdDataType"
:
25
,
"type"
:
"SIMPLE"
},
{
"codeName"
:
"DeptHeadsId"
,
"logicName"
:
"部门领导"
,
"name"
:
"DeptHeadsId"
,
"orderValue"
:
1000
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADSID"
,
"codeName"
:
"DeptHeadsId"
},
"sourceType"
:
"DEFIELD"
,
"stdDataType"
:
25
,
"type"
:
"SIMPLE"
},
{
"codeName"
:
"IBIZSample0021Id"
,
"logicName"
:
"订单标识"
,
...
...
This diff is collapsed.
Click to expand it.
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021/PSFORMS/Start001.json
浏览文件 @
587e7a8a
...
...
@@ -74,6 +74,14 @@
"name"
:
"DEPTHEADS"
,
"codeName"
:
"DeptHeads"
}
},
{
"id"
:
"deptheadsid"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADSID"
,
"codeName"
:
"DeptHeadsId"
}
},
{
"id"
:
"ibizsample0021id"
,
"hidden"
:
true
,
...
...
@@ -125,6 +133,7 @@
"editorType"
:
"PICKER"
,
"handlerType"
:
"PickupText"
,
"name"
:
"deptheads"
,
"valueItemName"
:
"deptheadsid"
,
"enableAC"
:
true
,
"enablePickupView"
:
true
,
"forceSelection"
:
true
,
...
...
@@ -135,7 +144,35 @@
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"valueItemName"
:
"deptheadsid"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"部门领导"
,
"codeName"
:
"deptheadsid"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"deptheadsid"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADSID"
,
"codeName"
:
"DeptHeadsId"
},
"getPSEditor"
:
{
"editorType"
:
"HIDDEN"
,
"name"
:
"deptheadsid"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"hidden"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
...
...
This diff is collapsed.
Click to expand it.
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021/PSFORMS/Transfer.json
0 → 100644
浏览文件 @
587e7a8a
{
"codeName"
:
"Transfer"
,
"controlType"
:
"FORM"
,
"getCreatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"create"
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021/PSFORMS/Transfer.json"
,
"getGetDraftFromPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"loaddraftfrom"
},
"getGetDraftPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"loaddraft"
},
"getGetPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"load"
},
"logicName"
:
"工作转移"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
},
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
"hidden"
:
true
,
"dataType"
:
5
,
"getPSAppDEField"
:
{
"name"
:
"UPDATEDATE"
,
"codeName"
:
"UpdateDate"
}
},
{
"id"
:
"srforikey"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfkey"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"IBIZSAMPLE0021ID"
,
"codeName"
:
"IBIZSample0021Id"
}
},
{
"id"
:
"srfmajortext"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"IBIZSAMPLE0021NAME"
,
"codeName"
:
"IBIZSample0021Name"
}
},
{
"id"
:
"srftempmode"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfuf"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfdeid"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfsourcekey"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"deptheads"
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADS"
,
"codeName"
:
"DeptHeads"
}
},
{
"id"
:
"deptheadsid"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADSID"
,
"codeName"
:
"DeptHeadsId"
}
},
{
"id"
:
"ibizsample0021id"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"IBIZSAMPLE0021ID"
,
"codeName"
:
"IBIZSample0021Id"
}
}
],
"getPSDEFormPages"
:
[
{
"caption"
:
"基本信息"
,
"codeName"
:
"formpage1"
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMPAGE"
,
"name"
:
"formpage1"
,
"getPSDEFormDetails"
:
[
{
"actionGroupExtractMode"
:
"ITEM"
,
"caption"
:
"订单基本信息"
,
"codeName"
:
"group1"
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"GROUPPANEL"
,
"name"
:
"group1"
,
"getPSDEFormDetails"
:
[
{
"caption"
:
"部门领导"
,
"codeName"
:
"deptheads"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"deptheads"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADS"
,
"codeName"
:
"DeptHeads"
},
"getPSEditor"
:
{
"editorParams"
:
{
"multiple"
:
"false"
,
"url"
:
"/wfcore/wfgroups/DepartmentHeads/wfmembers/fetchdefault?n_mdeptid_eq=${srforgsectorid}&sort=showorder,asc"
,
"AC"
:
"TRUE"
,
"fillMap"
:
"{id:'userid',label:'personname'}"
,
"PICKUPVIEW"
:
"TRUE"
,
"REALSTYLECODE"
:
"COMMONMICROCOM"
},
"editorStyle"
:
"COMMONMICROCOM"
,
"editorType"
:
"PICKER"
,
"handlerType"
:
"PickupText"
,
"name"
:
"deptheads"
,
"valueItemName"
:
"deptheadsid"
,
"enableAC"
:
true
,
"enablePickupView"
:
true
,
"forceSelection"
:
true
,
"showTrigger"
:
true
,
"singleSelect"
:
true
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"valueItemName"
:
"deptheadsid"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"部门领导"
,
"codeName"
:
"deptheadsid"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"deptheadsid"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADSID"
,
"codeName"
:
"DeptHeadsId"
},
"getPSEditor"
:
{
"editorType"
:
"HIDDEN"
,
"name"
:
"deptheadsid"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"hidden"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"infoGroupMode"
:
false
,
"showCaption"
:
false
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"infoGroupMode"
:
false
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"remove"
},
"tabHeaderPos"
:
"TOP"
,
"getUpdatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"update"
},
"getWFStartPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"WFSTART"
},
"getWFSubmitPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"WFSUBMIT"
},
"noTabHeader"
:
true
,
"modelid"
:
"0D397329-34E2-4381-B84C-108492D610BA"
,
"modeltype"
:
"PSDEFORM_EDITFORM"
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0021REASSIGNWFDynaActionView.json
浏览文件 @
587e7a8a
...
...
@@ -475,6 +475,325 @@
"name"
:
"form"
,
"modelid"
:
"D289CD12-0718-43A8-966E-12BB48B263B2"
,
"modeltype"
:
"PSDEFORM_EDITFORM"
},
{
"codeName"
:
"Transfer"
,
"controlType"
:
"FORM"
,
"getCreatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"create"
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021/PSFORMS/Transfer.json"
,
"getGetDraftFromPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"loaddraftfrom"
},
"getGetDraftPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"loaddraft"
},
"getGetPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"load"
},
"logicName"
:
"工作转移"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
},
"getPSControlHandler"
:
{
"getPSHandlerActions"
:
[
{
"actionName"
:
"GetDraft"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraft"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"GetDraft"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
},
{
"actionName"
:
"GETDRAFTFROM"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraftfrom"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
},
{
"actionName"
:
"Get"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"READ"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
},
{
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Create"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
},
{
"actionName"
:
"Update"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"name"
:
"update"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Update"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
},
{
"actionName"
:
"Remove"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"DELETE"
,
"name"
:
"remove"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Remove"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
},
{
"actionName"
:
"WFSTART"
,
"actionType"
:
"WFACTION"
,
"name"
:
"WFSTART"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
},
{
"actionName"
:
"WFSUBMIT"
,
"actionType"
:
"WFACTION"
,
"name"
:
"WFSUBMIT"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
}
],
"enableDEFieldPrivilege"
:
false
,
"id"
:
"流程操作表单处理器"
},
"getPSControlParam"
:
{
"autoLoad"
:
true
,
"showBusyIndicator"
:
true
,
"id"
:
"wfform_transfer"
},
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
"hidden"
:
true
,
"dataType"
:
5
,
"getPSAppDEField"
:
{
"name"
:
"UPDATEDATE"
,
"codeName"
:
"UpdateDate"
}
},
{
"id"
:
"srforikey"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfkey"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"IBIZSAMPLE0021ID"
,
"codeName"
:
"IBIZSample0021Id"
}
},
{
"id"
:
"srfmajortext"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"IBIZSAMPLE0021NAME"
,
"codeName"
:
"IBIZSample0021Name"
}
},
{
"id"
:
"srftempmode"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfuf"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfdeid"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfsourcekey"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"deptheads"
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADS"
,
"codeName"
:
"DeptHeads"
}
},
{
"id"
:
"deptheadsid"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADSID"
,
"codeName"
:
"DeptHeadsId"
}
},
{
"id"
:
"ibizsample0021id"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"IBIZSAMPLE0021ID"
,
"codeName"
:
"IBIZSample0021Id"
}
}
],
"getPSDEFormPages"
:
[
{
"caption"
:
"基本信息"
,
"codeName"
:
"formpage1"
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMPAGE"
,
"name"
:
"formpage1"
,
"getPSDEFormDetails"
:
[
{
"actionGroupExtractMode"
:
"ITEM"
,
"caption"
:
"订单基本信息"
,
"codeName"
:
"group1"
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"GROUPPANEL"
,
"name"
:
"group1"
,
"getPSDEFormDetails"
:
[
{
"caption"
:
"部门领导"
,
"codeName"
:
"deptheads"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"deptheads"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADS"
,
"codeName"
:
"DeptHeads"
},
"getPSEditor"
:
{
"editorParams"
:
{
"multiple"
:
"false"
,
"url"
:
"/wfcore/wfgroups/DepartmentHeads/wfmembers/fetchdefault?n_mdeptid_eq=${srforgsectorid}&sort=showorder,asc"
,
"AC"
:
"TRUE"
,
"fillMap"
:
"{id:'userid',label:'personname'}"
,
"PICKUPVIEW"
:
"TRUE"
,
"REALSTYLECODE"
:
"COMMONMICROCOM"
},
"editorStyle"
:
"COMMONMICROCOM"
,
"editorType"
:
"PICKER"
,
"handlerType"
:
"PickupText"
,
"name"
:
"deptheads"
,
"valueItemName"
:
"deptheadsid"
,
"enableAC"
:
true
,
"enablePickupView"
:
true
,
"forceSelection"
:
true
,
"showTrigger"
:
true
,
"singleSelect"
:
true
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"valueItemName"
:
"deptheadsid"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"部门领导"
,
"codeName"
:
"deptheadsid"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"deptheadsid"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADSID"
,
"codeName"
:
"DeptHeadsId"
},
"getPSEditor"
:
{
"editorType"
:
"HIDDEN"
,
"name"
:
"deptheadsid"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"hidden"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"infoGroupMode"
:
false
,
"showCaption"
:
false
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"infoGroupMode"
:
false
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"remove"
},
"tabHeaderPos"
:
"TOP"
,
"getUpdatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"update"
},
"getWFStartPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"WFSTART"
},
"getWFSubmitPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"WFSUBMIT"
},
"noTabHeader"
:
true
,
"name"
:
"wfform_transfer"
,
"modelid"
:
"0D397329-34E2-4381-B84C-108492D610BA"
,
"modeltype"
:
"PSDEFORM_EDITFORM"
},
{
"codeName"
:
"RefuseForm"
,
"controlType"
:
"FORM"
,
...
...
This diff is collapsed.
Click to expand it.
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0021Usr1116491232WFDynaStartView.json
浏览文件 @
587e7a8a
...
...
@@ -188,6 +188,14 @@
"name"
:
"DEPTHEADS"
,
"codeName"
:
"DeptHeads"
}
},
{
"id"
:
"deptheadsid"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADSID"
,
"codeName"
:
"DeptHeadsId"
}
},
{
"id"
:
"ibizsample0021id"
,
"hidden"
:
true
,
...
...
@@ -239,6 +247,7 @@
"editorType"
:
"PICKER"
,
"handlerType"
:
"PickupText"
,
"name"
:
"deptheads"
,
"valueItemName"
:
"deptheadsid"
,
"enableAC"
:
true
,
"enablePickupView"
:
true
,
"forceSelection"
:
true
,
...
...
@@ -249,7 +258,35 @@
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"valueItemName"
:
"deptheadsid"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"部门领导"
,
"codeName"
:
"deptheadsid"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"deptheadsid"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADSID"
,
"codeName"
:
"DeptHeadsId"
},
"getPSEditor"
:
{
"editorType"
:
"HIDDEN"
,
"name"
:
"deptheadsid"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"hidden"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
...
...
@@ -718,6 +755,14 @@
"name"
:
"DEPTHEADS"
,
"codeName"
:
"DeptHeads"
}
},
{
"id"
:
"deptheadsid"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADSID"
,
"codeName"
:
"DeptHeadsId"
}
},
{
"id"
:
"ibizsample0021id"
,
"hidden"
:
true
,
...
...
@@ -769,6 +814,7 @@
"editorType"
:
"PICKER"
,
"handlerType"
:
"PickupText"
,
"name"
:
"deptheads"
,
"valueItemName"
:
"deptheadsid"
,
"enableAC"
:
true
,
"enablePickupView"
:
true
,
"forceSelection"
:
true
,
...
...
@@ -779,7 +825,35 @@
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"valueItemName"
:
"deptheadsid"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"部门领导"
,
"codeName"
:
"deptheadsid"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"deptheadsid"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"DEPTHEADSID"
,
"codeName"
:
"DeptHeadsId"
},
"getPSEditor"
:
{
"editorType"
:
"HIDDEN"
,
"name"
:
"deptheadsid"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"hidden"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
...
...
This diff is collapsed.
Click to expand it.
demo-boot/src/main/resources/static/remotemodel/PSWORKFLOWS/ACT/PSWFVERSIONS/ACTv2.json
浏览文件 @
587e7a8a
...
...
@@ -236,10 +236,12 @@
"uDField"
:
"DEPTHEADSID"
,
"wFProcessRoleType"
:
"UDACTOR"
}
],
"predefinedActions"
:
[
"
SENDBACK"
,
"
ADDSTEPBEFORE"
,
"REASSIGN"
],
"predefinedActions"
:
[
"ADDSTEPBEFORE"
,
"REASSIGN"
],
"timeout"
:
6
,
"timeoutType"
:
"MINUTE"
,
"topPos"
:
30
,
"util3FormCodeName"
:
"transfer"
,
"util3FormName"
:
"工作转移"
,
"wFProcessType"
:
"INTERACTIVE"
,
"wFStepValue"
:
"5"
,
"width"
:
100
,
...
...
@@ -361,7 +363,7 @@
"name"
:
"[当前操作者]"
,
"wFProcessRoleType"
:
"CURACTOR"
}
],
"predefinedActions"
:
[
"SENDBACK"
,
"REASSIGN"
],
"predefinedActions"
:
[
"SENDBACK"
],
"timeout"
:
-1
,
"topPos"
:
30
,
"wFProcessType"
:
"INTERACTIVE"
,
...
...
This diff is collapsed.
Click to expand it.
demo-boot/src/main/resources/static/remotemodel/PSWORKFLOWS/ACT/PSWFVERSIONS/ACTv2.json.bpmn
浏览文件 @
587e7a8a
...
...
@@ -40,7 +40,7 @@
<userTask
flowable:category=
"${businessKey}"
flowable:dueDate=
"PT6M"
flowable:candidateUsers=
"${activedata.deptheadsid},${activedata.srfwfpredefinedusers}"
flowable:exclusive=
"true"
id=
"tid-5-b43328c7712bd3739742121269b6c386"
name=
"部门经理审核"
>
<documentation>
${majortext}
</documentation>
<extensionElements>
<flowable:form
procfunc=
"
sendback;addstepbefore;reassign"
process-form=
"operationForm
"
/>
<flowable:form
procfunc=
"
addstepbefore;reassign"
process-form=
"operationForm"
process-util3form=
"transfer"
process-util3formname=
"工作转移
"
/>
</extensionElements>
</userTask>
<endEvent
id=
"sid-ebd510afdeda7eba09cf1a56679ca382"
name=
"结束"
>
...
...
@@ -56,7 +56,7 @@
<userTask
flowable:category=
"${businessKey}"
flowable:candidateUsers=
"${activedata.createman},${wfCoreService.getGroupUsers('FinancialManager|org|CURORGID',execution)},${activedata.srfwfpredefinedusers}"
flowable:exclusive=
"true"
id=
"tid-10-b2100e0a472c7e23cd936fbb272eaa67"
name=
"财务经理审核"
>
<documentation>
${majortext}
</documentation>
<extensionElements>
<flowable:form
procfunc=
"sendback
;reassign
"
/>
<flowable:form
procfunc=
"sendback"
/>
</extensionElements>
</userTask>
<userTask
flowable:category=
"${businessKey}"
flowable:candidateUsers=
"${wfCoreService.getGroupUsers('FinancialDirector|org|CURORGID',execution)},${activedata.srfwfpredefinedusers}"
flowable:exclusive=
"true"
id=
"tid-30-f33ca3120694e870ea7e1b5eed392750"
name=
"财务总监审批"
>
...
...
This diff is collapsed.
Click to expand it.
demo-core/src/main/resources/sysmodel/DemoSys.json
浏览文件 @
587e7a8a
...
...
@@ -8133,6 +8133,20 @@
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"DEPTHEADSID"
,
"codename"
:
"DeptHeadsId"
,
"field_logic_name"
:
"部门领导"
,
"entity_name"
:
"IBIZSAMPLE0021"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
0
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
}
],
"subEntitys"
:[
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录