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

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

上级 1190ffe4
...@@ -1407,6 +1407,14 @@ ...@@ -1407,6 +1407,14 @@
"viewname": "IBIZOrderUsr2EditView", "viewname": "IBIZOrderUsr2EditView",
"viewtag": "8cd3518b09373c8e68a33b07c8b13f24" "viewtag": "8cd3518b09373c8e68a33b07c8b13f24"
}, },
"ibizsample0021usr1116491232wfdynastartview": {
"title": " 实体工作流动态启动视图",
"caption": " 实体工作流动态启动视图",
"viewtype": "DEWFDYNASTARTVIEW",
"viewmodule": "Sample",
"viewname": "IBIZSample0021Usr1116491232WFDynaStartView",
"viewtag": "8F01A331-F098-4D05-8583-B6DA5574B43C"
},
"ibizorderdetaillistview": { "ibizorderdetaillistview": {
"title": "订单明细列表视图", "title": "订单明细列表视图",
"caption": "订单明细", "caption": "订单明细",
......
...@@ -37,6 +37,10 @@ function getLocaleResourceBase(){ ...@@ -37,6 +37,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null), caption: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null),
title: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null), title: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null),
}, },
usr1116491232wfdynastartview: {
caption: commonLogic.appcommonhandle(" 实体工作流动态启动视图",null),
title: commonLogic.appcommonhandle(" 实体工作流动态启动视图",null),
},
wfdynaactionview_layout: { wfdynaactionview_layout: {
caption: commonLogic.appcommonhandle("订单工作流动态操作视图",null), caption: commonLogic.appcommonhandle("订单工作流动态操作视图",null),
title: commonLogic.appcommonhandle("订单工作流动态操作视图",null), title: commonLogic.appcommonhandle("订单工作流动态操作视图",null),
...@@ -152,6 +156,43 @@ function getLocaleResourceBase(){ ...@@ -152,6 +156,43 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1116421859_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),
srfip_amount: commonLogic.appcommonhandle("",null),
memo: commonLogic.appcommonhandle("备注",null),
amount: commonLogic.appcommonhandle("总计",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
refuseform_form: {
details: {
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),
returnopinions: commonLogic.appcommonhandle("驳回意见",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null), ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
......
...@@ -37,6 +37,10 @@ function getLocaleResourceBase(){ ...@@ -37,6 +37,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null), caption: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null),
title: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null), title: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null),
}, },
usr1116491232wfdynastartview: {
caption: commonLogic.appcommonhandle(" 实体工作流动态启动视图",null),
title: commonLogic.appcommonhandle(" 实体工作流动态启动视图",null),
},
wfdynaactionview_layout: { wfdynaactionview_layout: {
caption: commonLogic.appcommonhandle("订单工作流动态操作视图",null), caption: commonLogic.appcommonhandle("订单工作流动态操作视图",null),
title: commonLogic.appcommonhandle("订单工作流动态操作视图",null), title: commonLogic.appcommonhandle("订单工作流动态操作视图",null),
...@@ -152,6 +156,43 @@ function getLocaleResourceBase(){ ...@@ -152,6 +156,43 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1116421859_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),
srfip_amount: commonLogic.appcommonhandle("",null),
memo: commonLogic.appcommonhandle("备注",null),
amount: commonLogic.appcommonhandle("总计",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
refuseform_form: {
details: {
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),
returnopinions: commonLogic.appcommonhandle("驳回意见",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null), ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
......
...@@ -37,6 +37,10 @@ function getLocaleResourceBase(){ ...@@ -37,6 +37,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null), caption: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null),
title: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null), title: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null),
}, },
usr1116491232wfdynastartview: {
caption: commonLogic.appcommonhandle(" 实体工作流动态启动视图",null),
title: commonLogic.appcommonhandle(" 实体工作流动态启动视图",null),
},
wfdynaactionview_layout: { wfdynaactionview_layout: {
caption: commonLogic.appcommonhandle("订单工作流动态操作视图",null), caption: commonLogic.appcommonhandle("订单工作流动态操作视图",null),
title: commonLogic.appcommonhandle("订单工作流动态操作视图",null), title: commonLogic.appcommonhandle("订单工作流动态操作视图",null),
...@@ -152,6 +156,43 @@ function getLocaleResourceBase(){ ...@@ -152,6 +156,43 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1116421859_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),
srfip_amount: commonLogic.appcommonhandle("",null),
memo: commonLogic.appcommonhandle("备注",null),
amount: commonLogic.appcommonhandle("总计",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
refuseform_form: {
details: {
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),
returnopinions: commonLogic.appcommonhandle("驳回意见",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null), ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
......
...@@ -1415,6 +1415,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -1415,6 +1415,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderUsr2EditView", "viewname": "IBIZOrderUsr2EditView",
"viewtag": "8cd3518b09373c8e68a33b07c8b13f24" "viewtag": "8cd3518b09373c8e68a33b07c8b13f24"
}, },
"ibizsample0021usr1116491232wfdynastartview": {
"title": " 实体工作流动态启动视图",
"caption": " 实体工作流动态启动视图",
"viewtype": "DEWFDYNASTARTVIEW",
"viewmodule": "Sample",
"viewname": "IBIZSample0021Usr1116491232WFDynaStartView",
"viewtag": "8F01A331-F098-4D05-8583-B6DA5574B43C"
},
"ibizorderdetaillistview": { "ibizorderdetaillistview": {
"title": "订单明细列表视图", "title": "订单明细列表视图",
"caption": "订单明细", "caption": "订单明细",
......
...@@ -223,6 +223,7 @@ export const PageComponents = { ...@@ -223,6 +223,7 @@ export const PageComponents = {
Vue.component('ibizcpuedit-view', () => import('@pages/sample/ibizcpuedit-view/ibizcpuedit-view.vue')); Vue.component('ibizcpuedit-view', () => import('@pages/sample/ibizcpuedit-view/ibizcpuedit-view.vue'));
Vue.component('ibizsample0003-pickup-view', () => import('@pages/sample/ibizsample0003-pickup-view/ibizsample0003-pickup-view.vue')); Vue.component('ibizsample0003-pickup-view', () => import('@pages/sample/ibizsample0003-pickup-view/ibizsample0003-pickup-view.vue'));
Vue.component('ibizuniproduct-index-pickup-data-view', () => import('@pages/sample/ibizuniproduct-index-pickup-data-view/ibizuniproduct-index-pickup-data-view.vue')); Vue.component('ibizuniproduct-index-pickup-data-view', () => import('@pages/sample/ibizuniproduct-index-pickup-data-view/ibizuniproduct-index-pickup-data-view.vue'));
Vue.component('ibizsample0021-usr1116491232-wfdyna-start-view', () => import('@pages/sample/ibizsample0021-usr1116491232-wfdyna-start-view/ibizsample0021-usr1116491232-wfdyna-start-view.vue'));
Vue.component('ibiztaskteamedit-view9', () => import('@pages/sample/ibiztaskteamedit-view9/ibiztaskteamedit-view9.vue')); Vue.component('ibiztaskteamedit-view9', () => import('@pages/sample/ibiztaskteamedit-view9/ibiztaskteamedit-view9.vue'));
Vue.component('ibizhardware-index-pickup-data-view', () => import('@pages/sample/ibizhardware-index-pickup-data-view/ibizhardware-index-pickup-data-view.vue')); Vue.component('ibizhardware-index-pickup-data-view', () => import('@pages/sample/ibizhardware-index-pickup-data-view/ibizhardware-index-pickup-data-view.vue'));
Vue.component('ibizsample0003-pickup-grid-view', () => import('@pages/sample/ibizsample0003-pickup-grid-view/ibizsample0003-pickup-grid-view.vue')); Vue.component('ibizsample0003-pickup-grid-view', () => import('@pages/sample/ibizsample0003-pickup-grid-view/ibizsample0003-pickup-grid-view.vue'));
......
...@@ -3406,6 +3406,20 @@ const router = new Router({ ...@@ -3406,6 +3406,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizuniproduct-index-pickup-data-view/ibizuniproduct-index-pickup-data-view.vue'), component: () => import('@pages/sample/ibizuniproduct-index-pickup-data-view/ibizuniproduct-index-pickup-data-view.vue'),
}, },
{
path: 'ibizsample0021s/:ibizsample0021?/usr1116491232wfdynastartview/:usr1116491232wfdynastartview?',
meta: {
caption: 'entities.ibizsample0021.views.usr1116491232wfdynastartview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
{ pathName: 'usr1116491232wfdynastartview', parameterName: 'usr1116491232wfdynastartview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0021-usr1116491232-wfdyna-start-view/ibizsample0021-usr1116491232-wfdyna-start-view.vue'),
},
{ {
path: 'ibiztasks/:ibiztask?/ibiztaskteams/:ibiztaskteam?/editview9/:editview9?', path: 'ibiztasks/:ibiztask?/ibiztaskteams/:ibiztaskteam?/editview9/:editview9?',
meta: { meta: {
...@@ -5299,6 +5313,19 @@ const router = new Router({ ...@@ -5299,6 +5313,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-usr2-edit-view/ibizorder-usr2-edit-view.vue'), component: () => import('@pages/sample/ibizorder-usr2-edit-view/ibizorder-usr2-edit-view.vue'),
}, },
{
path: '/ibizsample0021s/:ibizsample0021?/usr1116491232wfdynastartview/:usr1116491232wfdynastartview?',
meta: {
caption: 'entities.ibizsample0021.views.usr1116491232wfdynastartview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
{ pathName: 'usr1116491232wfdynastartview', parameterName: 'usr1116491232wfdynastartview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0021-usr1116491232-wfdyna-start-view/ibizsample0021-usr1116491232-wfdyna-start-view.vue'),
},
{ {
path: '/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/listview/:listview?', path: '/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/listview/:listview?',
meta: { meta: {
......
...@@ -1871,6 +1871,19 @@ const router = new Router({ ...@@ -1871,6 +1871,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-usr2-edit-view/ibizorder-usr2-edit-view.vue'), component: () => import('@pages/sample/ibizorder-usr2-edit-view/ibizorder-usr2-edit-view.vue'),
}, },
{
path: '/ibizsample0021s/:ibizsample0021?/usr1116491232wfdynastartview/:usr1116491232wfdynastartview?',
meta: {
caption: 'entities.ibizsample0021.views.usr1116491232wfdynastartview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
{ pathName: 'usr1116491232wfdynastartview', parameterName: 'usr1116491232wfdynastartview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0021-usr1116491232-wfdyna-start-view/ibizsample0021-usr1116491232-wfdyna-start-view.vue'),
},
{ {
path: '/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/listview/:listview?', path: '/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/listview/:listview?',
meta: { meta: {
......
...@@ -1503,6 +1503,15 @@ export const viewstate: any = { ...@@ -1503,6 +1503,15 @@ export const viewstate: any = {
'6bc6e690dc5abfc6d89703e4459c785c', '6bc6e690dc5abfc6d89703e4459c785c',
], ],
}, },
{
viewtag: '8F01A331-F098-4D05-8583-B6DA5574B43C',
viewmodule: 'Sample',
viewname: 'IBIZSample0021Usr1116491232WFDynaStartView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '8f04b48c970ed3c24154be374d6a023f', viewtag: '8f04b48c970ed3c24154be374d6a023f',
viewmodule: 'Sample', viewmodule: 'Sample',
...@@ -1789,6 +1798,7 @@ export const viewstate: any = { ...@@ -1789,6 +1798,7 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'8F01A331-F098-4D05-8583-B6DA5574B43C',
], ],
}, },
{ {
......
...@@ -96,6 +96,7 @@ export default class IBIZSample0021UIServiceBase extends UIService { ...@@ -96,6 +96,7 @@ export default class IBIZSample0021UIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'usr1114433946wfdynaeditview',viewType:'DEWFDYNAEDITVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-usr1114433946-wfdyna-edit-view'}); this.allViewMap.set(':',{viewname:'usr1114433946wfdynaeditview',viewType:'DEWFDYNAEDITVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-usr1114433946-wfdyna-edit-view'});
this.allViewMap.set('WFEDITVIEW:',{viewname:'wfdynaeditview',viewType:'DEWFDYNAEDITVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-edit-view'}); this.allViewMap.set('WFEDITVIEW:',{viewname:'wfdynaeditview',viewType:'DEWFDYNAEDITVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-edit-view'});
this.allViewMap.set(':',{viewname:'usr1114865995wfdynaeditview3',viewType:'DEWFDYNAEDITVIEW3',srfappde:'ibizsample0021s',component:'ibizsample0021-usr1114865995-wfdyna-edit-view3'}); this.allViewMap.set(':',{viewname:'usr1114865995wfdynaeditview3',viewType:'DEWFDYNAEDITVIEW3',srfappde:'ibizsample0021s',component:'ibizsample0021-usr1114865995-wfdyna-edit-view3'});
this.allViewMap.set('WFSTARTVIEW:',{viewname:'usr1116491232wfdynastartview',viewType:'DEWFDYNASTARTVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-usr1116491232-wfdyna-start-view'});
this.allViewMap.set(':',{viewname:'wfdynaactionview_layout',viewType:'DEWFDYNAACTIONVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-action-view-layout'}); this.allViewMap.set(':',{viewname:'wfdynaactionview_layout',viewType:'DEWFDYNAACTIONVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-action-view-layout'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-grid-view'}); this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-grid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-edit-view'}); this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-edit-view'});
......
...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ 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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { 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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ 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; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ 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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1391,7 +1391,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1391,7 +1391,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { 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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1461,7 +1461,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1461,7 +1461,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1569,7 +1569,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1569,7 +1569,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1661,7 +1661,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1661,7 +1661,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ 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; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
...@@ -2091,5 +2091,4 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -2091,5 +2091,4 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
<style lang='less'> <style lang='less'>
@import './guide-return-form-form.less'; @import './guide-return-form-form.less';
</style>de-return-form-form.less';
</style> </style>
\ No newline at end of file
...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ 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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1494,7 +1494,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1494,7 +1494,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { 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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1564,7 +1564,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1564,7 +1564,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1672,7 +1672,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1672,7 +1672,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1764,7 +1764,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1764,7 +1764,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ 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; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
...@@ -1830,7 +1830,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1830,7 +1830,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
// 准备工作流数据,填充未存库数据 // 准备工作流数据,填充未存库数据
Object.assign(arg,copyData); Object.assign(arg,copyData);
// 准备提交参数 // 准备提交参数
if(is.viewparams){ if(this.viewparams){
let copyViewParams:any = Util.deepCopy(this.viewparams); let copyViewParams:any = Util.deepCopy(this.viewparams);
if(copyViewParams.w){ if(copyViewParams.w){
delete copyViewParams.w; delete copyViewParams.w;
...@@ -1993,7 +1993,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1993,7 +1993,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
this.onFormLoad(data,emitAction); this.onFormLoad(data,emitAction);
this.$emit(emitAction, data); this.$emit(emitAction, data);
this.$nextTick(() => { this.$nextTick(() => {
i this.formState.next({ type: emitAction, data: data }); this.formState.next({ type: emitAction, data: data });
}); });
}).catch((response: any) => { }).catch((response: any) => {
if (response && response.status && response.data) { if (response && response.status && response.data) {
...@@ -2194,5 +2194,4 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -2194,5 +2194,4 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
<style lang='less'> <style lang='less'>
@import './guide-view-form-form.less'; @import './guide-view-form-form.less';
</style>uide-view-form-form.less';
</style> </style>
\ No newline at end of file
...@@ -601,7 +601,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -601,7 +601,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -731,7 +731,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -731,7 +731,7 @@ export default class ListExpBase 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: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
return; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -836,7 +836,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -836,7 +836,7 @@ export default class ListExpBase 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: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.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);
...@@ -844,7 +844,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -844,7 +844,7 @@ export default class ListExpBase 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.warning') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
......
...@@ -319,7 +319,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -319,7 +319,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase * @memberof IBIZOrderSF1GridViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -462,6 +462,20 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -462,6 +462,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;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -996,7 +1010,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -996,7 +1010,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1125,7 +1139,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1125,7 +1139,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1239,7 +1253,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1239,7 +1253,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2170,7 +2184,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2170,7 +2184,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2179,7 +2193,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2179,7 +2193,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2255,7 +2269,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2255,7 +2269,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -105,6 +105,21 @@ export default class MainModel { ...@@ -105,6 +105,21 @@ export default class MainModel {
prop: 'n_ibizordername_like', prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM' 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', name:'size',
......
// 基于 @CONTROL/表单/MODEL.ts.ftl 生成
/**
* RefuseForm 部件模型
*
* @export
* @class RefuseFormModel
*/
export default class RefuseFormModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof RefuseFormModel
*/
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: 'returnopinions',
dataType:'FORMITEM',
},
{
name: 'ibizsample0021id',
prop: 'ibizsample0021id',
dataType: 'GUID',
},
{
name: 'ibizsample0021',
prop: 'ibizsample0021id',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
// 基于 @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
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import RefuseFormBase from './refuse-form-form-base.vue';
// 基于 @CONTROL/@MACRO/CONTROL/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class RefuseForm extends RefuseFormBase {
}
</script>
\ No newline at end of file
// 基于 @CONTROL/表单/MODEL.ts.ftl 生成
/**
* Usr1116421859 部件模型
*
* @export
* @class Usr1116421859Model
*/
export default class Usr1116421859Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr1116421859Model
*/
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: 'srfip_amount',
},
{
name: 'memo',
prop: 'memo',
dataType: 'LONGTEXT_1000',
},
{
name: 'amount',
prop: 'amount',
dataType: 'FLOAT',
},
{
name: 'ibizsample0021id',
prop: 'ibizsample0021id',
dataType: 'GUID',
},
{
name: 'ibizsample0021',
prop: 'ibizsample0021id',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
// 基于 @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
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import Usr1116421859Base from './usr1116421859-form-base.vue';
// 基于 @CONTROL/@MACRO/CONTROL/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class Usr1116421859 extends Usr1116421859Base {
}
</script>
\ No newline at end of file
...@@ -1513,6 +1513,13 @@ ...@@ -1513,6 +1513,13 @@
"name" : "订单工作流动态操作视图(布局面板)", "name" : "订单工作流动态操作视图(布局面板)",
"realModelSubType" : "DEWFDYNAACTIONVIEW", "realModelSubType" : "DEWFDYNAACTIONVIEW",
"realModelType" : "PSDEVIEWBASE" "realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr1116491232WFDynaStartView",
"logicName" : "Usr1116491232WFDynaStartView",
"modelTag" : "WFSTARTVIEW",
"name" : "Usr1116491232WFDynaStartView",
"realModelSubType" : "DEWFDYNASTARTVIEW",
"realModelType" : "PSDEVIEWBASE"
}, { }, {
"codeName" : "EditView", "codeName" : "EditView",
"logicName" : "订单实体编辑视图", "logicName" : "订单实体编辑视图",
...@@ -1561,6 +1568,13 @@ ...@@ -1561,6 +1568,13 @@
"name" : "主编辑表单2", "name" : "主编辑表单2",
"realModelSubType" : "EDITFORM", "realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM" "realModelType" : "PSDEFORM"
}, {
"codeName" : "Usr1116421859",
"logicName" : "Usr1116491232WFDynaStartView_表单",
"modelTag2" : "0",
"name" : "Usr1116491232WFDynaStartView_表单",
"realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM"
}, { }, {
"codeName" : "Main", "codeName" : "Main",
"logicName" : "主编辑表单", "logicName" : "主编辑表单",
......
...@@ -11,26 +11,6 @@ ...@@ -11,26 +11,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press",
"name" : "press",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "借出日期", "caption" : "借出日期",
"codeName" : "lendouttime", "codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -60,6 +40,26 @@ ...@@ -60,6 +40,26 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press",
"name" : "press",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
{
"codeName" : "Usr1116421859",
"controlType" : "FORM",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021/PSFORMS/Usr1116421859.json",
"getGetDraftFromPSControlAction" : {
"modelref" : true,
"id" : "loaddraftfrom"
},
"getGetDraftPSControlAction" : {
"modelref" : true,
"id" : "loaddraft"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"logicName" : "Usr1116491232WFDynaStartView_表单",
"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" : "srfip_amount",
"hidden" : true,
"dataType" : 25
}, {
"id" : "memo",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "MEMO",
"codeName" : "Memo"
}
}, {
"id" : "amount",
"dataType" : 7,
"getPSAppDEField" : {
"name" : "AMOUNT",
"codeName" : "Amount"
}
}, {
"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" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.MEMO"
},
"caption" : "备注",
"codeName" : "memo",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemHeight" : 200.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "memo",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "MEMO",
"codeName" : "Memo"
},
"getPSEditor" : {
"editorHeight" : 200.0,
"editorParams" : {
"HEIGHT" : "200"
},
"editorType" : "TEXTAREA_10",
"maxLength" : 2000,
"name" : "memo",
"showMaxLength" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.IBIZORDER.AMOUNT"
},
"caption" : "总计",
"codeName" : "amount",
"dataType" : 7,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "amount",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "AMOUNT",
"codeName" : "Amount"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "amount",
"precision" : 2
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"unitName" : "元",
"allowEmpty" : true,
"enableItemPriv" : true,
"enableUnitName" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"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" : "69C3C7D2-F31A-4825-90E4-287153073DBF",
"modeltype" : "PSDEFORM_EDITFORM"
}
\ No newline at end of file
...@@ -34,26 +34,6 @@ ...@@ -34,26 +34,6 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press",
"name" : "press",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "借出日期", "caption" : "借出日期",
"codeName" : "lendouttime", "codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -83,6 +63,26 @@ ...@@ -83,6 +63,26 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press",
"name" : "press",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -82,6 +82,15 @@ ...@@ -82,6 +82,15 @@
}, },
"getPSViewCtrlName" : "toolbar" "getPSViewCtrlName" : "toolbar"
} ], } ],
"getPSAppViewRefs" : [ {
"name" : "WFSTART@2",
"realTitle" : " 实体工作流动态启动视图",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0021Usr1116491232WFDynaStartView.json",
"viewType" : "DEWFDYNASTARTVIEW"
}
} ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "toolbar_deuiaction1", "name" : "toolbar_deuiaction1",
"getPSUIAction" : { "getPSUIAction" : {
......
...@@ -14314,6 +14314,12 @@ ...@@ -14314,6 +14314,12 @@
"viewType" : "DEEDITVIEW", "viewType" : "DEEDITVIEW",
"resource" : "IBIZOrder", "resource" : "IBIZOrder",
"view" : "Usr2EditView" "view" : "Usr2EditView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0021Usr1116491232WFDynaStartView.json",
"viewType" : "DEWFDYNASTARTVIEW",
"resource" : "IBIZSample0021",
"view" : "Usr1116491232WFDynaStartView"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderDetailListView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderDetailListView.json",
......
...@@ -449,6 +449,6 @@ ...@@ -449,6 +449,6 @@
"wFCodeName" : "ACT", "wFCodeName" : "ACT",
"wFVersion" : 1, "wFVersion" : 1,
"hasMobStartView" : false, "hasMobStartView" : false,
"hasStartView" : false, "hasStartView" : true,
"valid" : false "valid" : false
} }
\ No newline at end of file
...@@ -495,6 +495,6 @@ ...@@ -495,6 +495,6 @@
"wFCodeName" : "ACT", "wFCodeName" : "ACT",
"wFVersion" : 2, "wFVersion" : 2,
"hasMobStartView" : false, "hasMobStartView" : false,
"hasStartView" : false, "hasStartView" : true,
"valid" : true "valid" : true
} }
\ No newline at end of file
...@@ -1160,7 +1160,7 @@ ...@@ -1160,7 +1160,7 @@
<!--输出实体[IBIZSAMPLE0021]数据结构 --> <!--输出实体[IBIZSAMPLE0021]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0021-85-39"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0021-100-39">
<createTable tableName="T_IBIZSAMPLE0021"> <createTable tableName="T_IBIZSAMPLE0021">
<column name="IBIZSAMPLE0021ID" remarks="" type="VARCHAR(100)"> <column name="IBIZSAMPLE0021ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0021_IBIZSAMPLE00"/> <constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0021_IBIZSAMPLE00"/>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册