提交 5efe145e 编写于 作者: ibizdev's avatar ibizdev

zhouweidong 发布系统代码 [后台服务,演示应用]

上级 a124c8e4
...@@ -113,6 +113,33 @@ function getLocaleResourceBase(){ ...@@ -113,6 +113,33 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
main2_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
group2: commonLogic.appcommonhandle("操作信息",null),
formpage2: 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),
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
curorgid: commonLogic.appcommonhandle("CURORGID",null),
curdeptid: commonLogic.appcommonhandle("CURDEPTID",null),
createman: commonLogic.appcommonhandle("建立人",null),
createdate: commonLogic.appcommonhandle("建立时间",null),
updateman: commonLogic.appcommonhandle("更新人",null),
updatedate: commonLogic.appcommonhandle("更新时间",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null), ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
......
...@@ -113,6 +113,33 @@ function getLocaleResourceBase(){ ...@@ -113,6 +113,33 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
main2_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
group2: commonLogic.appcommonhandle("操作信息",null),
formpage2: 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),
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
curorgid: commonLogic.appcommonhandle("CURORGID",null),
curdeptid: commonLogic.appcommonhandle("CURDEPTID",null),
createman: commonLogic.appcommonhandle("建立人",null),
createdate: commonLogic.appcommonhandle("建立时间",null),
updateman: commonLogic.appcommonhandle("更新人",null),
updatedate: commonLogic.appcommonhandle("更新时间",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null), ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
......
...@@ -113,6 +113,33 @@ function getLocaleResourceBase(){ ...@@ -113,6 +113,33 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
main2_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
group2: commonLogic.appcommonhandle("操作信息",null),
formpage2: 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),
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
curorgid: commonLogic.appcommonhandle("CURORGID",null),
curdeptid: commonLogic.appcommonhandle("CURDEPTID",null),
createman: commonLogic.appcommonhandle("建立人",null),
createdate: commonLogic.appcommonhandle("建立时间",null),
updateman: commonLogic.appcommonhandle("更新人",null),
updatedate: commonLogic.appcommonhandle("更新时间",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null), ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
......
...@@ -220,9 +220,9 @@ export default class IBIZSample0021WFDynaEditViewBase extends Vue { ...@@ -220,9 +220,9 @@ export default class IBIZSample0021WFDynaEditViewBase extends Vue {
* @memberof IBIZSample0021WFDynaEditViewBase * @memberof IBIZSample0021WFDynaEditViewBase
*/ */
public containerModel: any = { public containerModel: any = {
view_wfform_main: { name: 'wfform_main', type: 'FORM' },
view_toolbar: { name: 'toolbar', type: 'TOOLBAR' }, view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
view_form: { name: 'form', type: 'FORM' }, view_form: { name: 'form', type: 'FORM' },
view_wfform_main2: { name: 'wfform_main2', type: 'FORM' },
wflinks: [], wflinks: [],
}; };
...@@ -954,8 +954,8 @@ export default class IBIZSample0021WFDynaEditViewBase extends Vue { ...@@ -954,8 +954,8 @@ export default class IBIZSample0021WFDynaEditViewBase extends Vue {
* @memberof IBIZSample0021WFDynaEditViewBase * @memberof IBIZSample0021WFDynaEditViewBase
*/ */
public allForm: any = { public allForm: any = {
"wfform_main":{name:"view_wfform_main",autosave:"false",showBusyIndicator:"true",updateAction:"Update",removeAction:"Remove",loaddraftAction:"GetDraft",loadAction:"Get",createAction:"Create",WFSubmitAction:"",WFStartAction:""}, "form":{name:"view_form",autosave:"false",showBusyIndicator:"true",updateAction:"Update",removeAction:"Remove",loaddraftAction:"GetDraft",loadAction:"Get",createAction:"Create",WFSubmitAction:"",WFStartAction:""},
"form":{name:"view_form",autosave:"false",showBusyIndicator:"true",updateAction:"Update",removeAction:"Remove",loaddraftAction:"GetDraft",loadAction:"Get",createAction:"Create",WFSubmitAction:"",WFStartAction:""} "wfform_main2":{name:"view_wfform_main2",autosave:"false",showBusyIndicator:"true",updateAction:"Update",removeAction:"Remove",loaddraftAction:"GetDraft",loadAction:"Get",createAction:"Create",WFSubmitAction:"",WFStartAction:""}
}; };
/** /**
......
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import IBIZSample0021WFDynaEditViewBase from './ibizsample0021-wfdyna-edit-view-base.vue'; import IBIZSample0021WFDynaEditViewBase from './ibizsample0021-wfdyna-edit-view-base.vue';
import view_wfform_main from '@widgets/ibizsample0021/main-form/main-form.vue';
import view_form from '@widgets/ibizsample0021/main-form/main-form.vue'; import view_form from '@widgets/ibizsample0021/main-form/main-form.vue';
import view_wfform_main2 from '@widgets/ibizsample0021/main2-form/main2-form.vue';
@Component({ @Component({
components: { components: {
view_wfform_main,
view_form, view_form,
view_wfform_main2,
}, },
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
......
...@@ -638,7 +638,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -638,7 +638,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -674,7 +674,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -674,7 +674,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -869,4 +869,5 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -869,4 +869,5 @@ export default class DefaultBase extends Vue implements ControlInterface {
<style lang='less'> <style lang='less'>
@import './default-searchform.less'; @import './default-searchform.less';
</style>;
</style> </style>
\ No newline at end of file
...@@ -18,11 +18,22 @@ ...@@ -18,11 +18,22 @@
"modelref" : true, "modelref" : true,
"id" : "load" "id" : "load"
}, },
"hookEventNames" : [ "LOAD", "SAVE", "REMOVE" ],
"logicName" : "主编辑表单", "logicName" : "主编辑表单",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}, },
"getPSControlLogics" : [ {
"eventNames" : "LOAD;SAVE;REMOVE",
"logicTag" : "form",
"logicType" : "APPVIEWENGINE",
"name" : "engine_form",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "srfupdatedate", "id" : "srfupdatedate",
"hidden" : true, "hidden" : true,
......
...@@ -300,7 +300,7 @@ ...@@ -300,7 +300,7 @@
"sendInform" : false "sendInform" : false
}, { }, {
"codeName" : "Interactive001", "codeName" : "Interactive001",
"formCodeName" : "Main", "formCodeName" : "Main2",
"height" : 80, "height" : 80,
"leftPos" : 150, "leftPos" : 150,
"logicName" : "部门经理审核", "logicName" : "部门经理审核",
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<userTask flowable:category="${businessKey}" flowable:candidateUsers="${activedata.createman},${wfCoreService.getGroupUsers('DepartmentHeads|dept|CURDEPTID',execution)},${activedata.srfwfpredefinedusers}" flowable:exclusive="true" id="tid-5-169c10a35ed0da0f748ed4176aab8351" name="部门经理审核" > <userTask flowable:category="${businessKey}" flowable:candidateUsers="${activedata.createman},${wfCoreService.getGroupUsers('DepartmentHeads|dept|CURDEPTID',execution)},${activedata.srfwfpredefinedusers}" flowable:exclusive="true" id="tid-5-169c10a35ed0da0f748ed4176aab8351" name="部门经理审核" >
<documentation>${majortext}</documentation> <documentation>${majortext}</documentation>
<extensionElements> <extensionElements>
<flowable:form process-form="Main" process-util3form="refuseForm" process-util3formname="部门领导审批不通过操作表单" /> <flowable:form process-form="Main2" process-util3form="refuseForm" process-util3formname="部门领导审批不通过操作表单" />
</extensionElements> </extensionElements>
</userTask> </userTask>
<endEvent id="sid-216251a03f16216cc13936346c9ee68b" name="结束"> <endEvent id="sid-216251a03f16216cc13936346c9ee68b" name="结束">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册