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

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

上级 a6872721
...@@ -75,6 +75,7 @@ export default class EditView2Engine extends EditViewEngine { ...@@ -75,6 +75,7 @@ export default class EditView2Engine extends EditViewEngine {
public drBarSelectionChange(data: any): void { public drBarSelectionChange(data: any): void {
if (data) { if (data) {
this.view.drItem = data; this.view.drItem = data;
this.setNavPosData(data);
if (this.getDRBar()) { if (this.getDRBar()) {
this.setViewState2({ tag: this.getDRBar().name, action: 'change', viewdata: data }); this.setViewState2({ tag: this.getDRBar().name, action: 'change', viewdata: data });
} }
...@@ -119,6 +120,24 @@ export default class EditView2Engine extends EditViewEngine { ...@@ -119,6 +120,24 @@ export default class EditView2Engine extends EditViewEngine {
} }
} }
/**
* 设置导航数据
*
* @protected
* @param {*} data
* @return {*}
* @memberof EditView2Engine
*/
protected setNavPosData(data: any) {
if (!this.view.layoutModelDetails) {
return;
}
const navPos: any = Object.values(this.view.layoutModelDetails).find((item: any) => {
return item.predefinedType === "NAV_POS";
});
navPos.navData = data;
}
/** /**
* 获取关系 * 获取关系
* *
......
...@@ -438,8 +438,7 @@ export default class IBIZCustomerMediaTestEditViewBase extends Vue { ...@@ -438,8 +438,7 @@ export default class IBIZCustomerMediaTestEditViewBase extends Vue {
* @public * @public
* @memberof IBIZCustomerMediaTestEditViewBase * @memberof IBIZCustomerMediaTestEditViewBase
*/ */
public handleButtonClick($event: any) { public handleButtonClick(name: string, $event?: any) {
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup30' viewname='ibizorderseditview2'></app-alert-group> </div> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup30' viewname='ibizorderseditview2'></app-alert-group> </div>
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<template v-if="Object.is(drItem.id, 'form')"> <template v-if="!(drItem && drItem.id && drItem.id !== 'form')">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<component <component
class="view-container2" class="view-container2"
v-if="drItem && drItem.id && drItem.id !== 'form'" v-if="drItem && drItem.id && drItem.id !== 'form'"
:is="drItem.drView" :is="drItem.navView"
:viewDefaultUsage="false" :viewDefaultUsage="false"
:viewdata="JSON.stringify(drItem.srfnavdata.context)" :viewdata="JSON.stringify(drItem.srfnavdata.context)"
:viewparam="JSON.stringify(drItem.srfnavdata.viewparams)"> :viewparam="JSON.stringify(drItem.srfnavdata.viewparams)">
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<card class='view-card ' :dis-hover="true" :bordered="false"> <card class='view-card ' :dis-hover="true" :bordered="false">
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<template v-if="Object.is(drItem.id, 'form')"> <template v-if="!(drItem && drItem.id && drItem.id !== 'form')">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<component <component
class="view-container2" class="view-container2"
v-if="drItem && drItem.id && drItem.id !== 'form'" v-if="drItem && drItem.id && drItem.id !== 'form'"
:is="drItem.drView" :is="drItem.navView"
:viewDefaultUsage="false" :viewDefaultUsage="false"
:viewdata="JSON.stringify(drItem.srfnavdata.context)" :viewdata="JSON.stringify(drItem.srfnavdata.context)"
:viewparam="JSON.stringify(drItem.srfnavdata.viewparams)"> :viewparam="JSON.stringify(drItem.srfnavdata.viewparams)">
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<card class='view-card ' :dis-hover="true" :bordered="false"> <card class='view-card ' :dis-hover="true" :bordered="false">
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<template v-if="Object.is(drItem.id, 'form')"> <template v-if="!(drItem && drItem.id && drItem.id !== 'form')">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<component <component
class="view-container2" class="view-container2"
v-if="drItem && drItem.id && drItem.id !== 'form'" v-if="drItem && drItem.id && drItem.id !== 'form'"
:is="drItem.drView" :is="drItem.navView"
:viewDefaultUsage="false" :viewDefaultUsage="false"
:viewdata="JSON.stringify(drItem.srfnavdata.context)" :viewdata="JSON.stringify(drItem.srfnavdata.context)"
:viewparam="JSON.stringify(drItem.srfnavdata.viewparams)"> :viewparam="JSON.stringify(drItem.srfnavdata.viewparams)">
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<card class='view-card ' :dis-hover="true" :bordered="false"> <card class='view-card ' :dis-hover="true" :bordered="false">
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<template v-if="Object.is(drItem.id, 'form')"> <template v-if="!(drItem && drItem.id && drItem.id !== 'form')">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<component <component
class="view-container2" class="view-container2"
v-if="drItem && drItem.id && drItem.id !== 'form'" v-if="drItem && drItem.id && drItem.id !== 'form'"
:is="drItem.drView" :is="drItem.navView"
:viewDefaultUsage="false" :viewDefaultUsage="false"
:viewdata="JSON.stringify(drItem.srfnavdata.context)" :viewdata="JSON.stringify(drItem.srfnavdata.context)"
:viewparam="JSON.stringify(drItem.srfnavdata.viewparams)"> :viewparam="JSON.stringify(drItem.srfnavdata.viewparams)">
......
...@@ -425,8 +425,7 @@ export default class IBIZOrderTestCLEditView2Base extends Vue { ...@@ -425,8 +425,7 @@ export default class IBIZOrderTestCLEditView2Base extends Vue {
* @public * @public
* @memberof IBIZOrderTestCLEditView2Base * @memberof IBIZOrderTestCLEditView2Base
*/ */
public handleButtonClick($event: any) { public handleButtonClick(name: string, $event?: any) {
} }
......
...@@ -297,8 +297,7 @@ export default class IBIZOrderTestCustomLayoutPanelGridExpViewBase extends Vue { ...@@ -297,8 +297,7 @@ export default class IBIZOrderTestCustomLayoutPanelGridExpViewBase extends Vue {
* @public * @public
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase * @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/ */
public handleButtonClick($event: any) { public handleButtonClick(name: string, $event?: any) {
} }
......
...@@ -373,8 +373,7 @@ export default class IBIZOrderUsr2GridViewBase extends Vue { ...@@ -373,8 +373,7 @@ export default class IBIZOrderUsr2GridViewBase extends Vue {
* @public * @public
* @memberof IBIZOrderUsr2GridViewBase * @memberof IBIZOrderUsr2GridViewBase
*/ */
public handleButtonClick($event: any) { public handleButtonClick(name: string, $event?: any) {
} }
......
...@@ -322,8 +322,10 @@ export default class IndexBase extends Vue { ...@@ -322,8 +322,10 @@ export default class IndexBase extends Vue {
* @public * @public
* @memberof IndexBase * @memberof IndexBase
*/ */
public handleButtonClick($event: any) { public handleButtonClick(name: string, $event?: any) {
if (Object.is(name, 'auth_logout1')) {
this.layoutpanel_button_auth_logout1_click(null, '', $event);
}
} }
/** /**
...@@ -343,9 +345,7 @@ export default class IndexBase extends Vue { ...@@ -343,9 +345,7 @@ export default class IndexBase extends Vue {
let paramJO:any = {}; let paramJO:any = {};
let contextJO:any = {}; let contextJO:any = {};
xData = this; xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) { datas = [this.layoutData];
datas = [..._this.getDatas()];
}
if(params){ if(params){
datas = [params]; datas = [params];
} }
......
...@@ -309,8 +309,16 @@ export default class AppIndexViewBase extends Vue { ...@@ -309,8 +309,16 @@ export default class AppIndexViewBase extends Vue {
* @public * @public
* @memberof AppIndexViewBase * @memberof AppIndexViewBase
*/ */
public handleButtonClick($event: any) { public handleButtonClick(name: string, $event?: any) {
if (Object.is(name, 'button_link1')) {
this.layoutpanel_button_button_link1_click(null, '', $event);
}
if (Object.is(name, 'button_openview1')) {
this.layoutpanel_button_button_openview1_click(null, '', $event);
}
if (Object.is(name, 'button_calluilogic1')) {
this.layoutpanel_button_button_calluilogic1_click(null, '', $event);
}
} }
/** /**
...@@ -330,9 +338,7 @@ export default class AppIndexViewBase extends Vue { ...@@ -330,9 +338,7 @@ export default class AppIndexViewBase extends Vue {
let paramJO:any = {}; let paramJO:any = {};
let contextJO:any = {}; let contextJO:any = {};
xData = this; xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) { datas = [this.layoutData];
datas = [..._this.getDatas()];
}
if(params){ if(params){
datas = [params]; datas = [params];
} }
...@@ -356,9 +362,7 @@ export default class AppIndexViewBase extends Vue { ...@@ -356,9 +362,7 @@ export default class AppIndexViewBase extends Vue {
let paramJO:any = {}; let paramJO:any = {};
let contextJO:any = {}; let contextJO:any = {};
xData = this; xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) { datas = [this.layoutData];
datas = [..._this.getDatas()];
}
if(params){ if(params){
datas = [params]; datas = [params];
} }
...@@ -382,9 +386,7 @@ export default class AppIndexViewBase extends Vue { ...@@ -382,9 +386,7 @@ export default class AppIndexViewBase extends Vue {
let paramJO:any = {}; let paramJO:any = {};
let contextJO:any = {}; let contextJO:any = {};
xData = this; xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) { datas = [this.layoutData];
datas = [..._this.getDatas()];
}
if(params){ if(params){
datas = [params]; datas = [params];
} }
......
...@@ -289,8 +289,19 @@ export default class AppLoginViewBase extends Vue { ...@@ -289,8 +289,19 @@ export default class AppLoginViewBase extends Vue {
* @public * @public
* @memberof AppLoginViewBase * @memberof AppLoginViewBase
*/ */
public handleButtonClick($event: any) { public handleButtonClick(name: string, $event?: any) {
if (Object.is(name, 'auth_loginbutton1')) {
this.layoutpanel_button_auth_loginbutton1_click(null, '', $event);
}
if (Object.is(name, 'auth_registbutton1')) {
this.layoutpanel_button_auth_registbutton1_click(null, '', $event);
}
if (Object.is(name, 'auth_resetinput1')) {
this.layoutpanel_button_auth_resetinput1_click(null, '', $event);
}
if (Object.is(name, 'auth_logout1')) {
this.layoutpanel_button_auth_logout1_click(null, '', $event);
}
} }
/** /**
...@@ -310,9 +321,7 @@ export default class AppLoginViewBase extends Vue { ...@@ -310,9 +321,7 @@ export default class AppLoginViewBase extends Vue {
let paramJO:any = {}; let paramJO:any = {};
let contextJO:any = {}; let contextJO:any = {};
xData = this; xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) { datas = [this.layoutData];
datas = [..._this.getDatas()];
}
if(params){ if(params){
datas = [params]; datas = [params];
} }
...@@ -336,9 +345,7 @@ export default class AppLoginViewBase extends Vue { ...@@ -336,9 +345,7 @@ export default class AppLoginViewBase extends Vue {
let paramJO:any = {}; let paramJO:any = {};
let contextJO:any = {}; let contextJO:any = {};
xData = this; xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) { datas = [this.layoutData];
datas = [..._this.getDatas()];
}
if(params){ if(params){
datas = [params]; datas = [params];
} }
...@@ -362,9 +369,7 @@ export default class AppLoginViewBase extends Vue { ...@@ -362,9 +369,7 @@ export default class AppLoginViewBase extends Vue {
let paramJO:any = {}; let paramJO:any = {};
let contextJO:any = {}; let contextJO:any = {};
xData = this; xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) { datas = [this.layoutData];
datas = [..._this.getDatas()];
}
if(params){ if(params){
datas = [params]; datas = [params];
} }
...@@ -388,9 +393,7 @@ export default class AppLoginViewBase extends Vue { ...@@ -388,9 +393,7 @@ export default class AppLoginViewBase extends Vue {
let paramJO:any = {}; let paramJO:any = {};
let contextJO:any = {}; let contextJO:any = {};
xData = this; xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) { datas = [this.layoutData];
datas = [..._this.getDatas()];
}
if(params){ if(params){
datas = [params]; datas = [params];
} }
......
...@@ -590,7 +590,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -590,7 +590,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 };
...@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
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 } ;
......
...@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -663,7 +663,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: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -233,7 +233,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -233,7 +233,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
disabled: false, disabled: false,
id: "dritem2", id: "dritem2",
groupCodeName: 'a7c7923d37319b42645a41908d62bae9', groupCodeName: 'a7c7923d37319b42645a41908d62bae9',
drView: 'ibizorder-detail-sgrid-view', navView: 'ibizorder-detail-sgrid-view',
localContext:{CONTEXTPARAM1:"%orderstate%"}, localContext:{CONTEXTPARAM1:"%orderstate%"},
localViewParam:{param2:"%orderstate%"} localViewParam:{param2:"%orderstate%"}
}, },
...@@ -397,7 +397,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -397,7 +397,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
} }
const drItem = { const drItem = {
id: selectItem.id, id: selectItem.id,
drView: selectItem.drView, navView: selectItem.navView,
srfnavdata: { srfnavdata: {
context: tempContext, context: tempContext,
viewparams: tempViewParams viewparams: tempViewParams
......
...@@ -1545,7 +1545,7 @@ export default class SFormBase extends Vue implements ControlInterface { ...@@ -1545,7 +1545,7 @@ export default class SFormBase 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: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1580,7 +1580,7 @@ export default class SFormBase extends Vue implements ControlInterface { ...@@ -1580,7 +1580,7 @@ export default class SFormBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1642,7 +1642,7 @@ export default class SFormBase extends Vue implements ControlInterface { ...@@ -1642,7 +1642,7 @@ export default class SFormBase 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: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1750,7 +1750,7 @@ export default class SFormBase extends Vue implements ControlInterface { ...@@ -1750,7 +1750,7 @@ export default class SFormBase 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: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1827,7 +1827,7 @@ export default class SFormBase extends Vue implements ControlInterface { ...@@ -1827,7 +1827,7 @@ export default class SFormBase 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: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册