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

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

上级 32914437
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
]) ])
}"> }">
<div style="height: 100%;display: flex;flex-direction: row;justify-content: space-between;"> <div style="height: 100%;display: flex;flex-direction: row;justify-content: space-between;">
<div v-show="detailsModel.group1.visible" :style="{'width': '800px',}"> <div v-show="detailsModel.group1.visible" :style="{'width': '800px',}">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.group1.manageContainerStatus" :isManageContainer="detailsModel.group1.isManageContainer" @managecontainerclick="manageContainerClick('group1')" @collapseChange="($event)=>{formDetailGroupChange('group1',$event)}" layoutType="FLEX" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizbook.formlayout_form.details.group1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" > <app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.group1.manageContainerStatus" :isManageContainer="detailsModel.group1.isManageContainer" @managecontainerclick="manageContainerClick('group1')" @collapseChange="($event)=>{formDetailGroupChange('group1',$event)}" layoutType="FLEX" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizbook.formlayout_form.details.group1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<div style="height: 100%;display: flex;"> <div style="height: 100%;display: flex;">
<div v-show="detailsModel.ibizbookname.visible" :style="{}"> <div v-show="detailsModel.ibizbookname.visible" :style="{}">
<app-form-item name='ibizbookname' :itemRules="rules().ibizbookname" :caption="$t('entities.ibizbook.formlayout_form.details.ibizbookname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ibizbookname.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='ibizbookname' :itemRules="rules().ibizbookname" :caption="$t('entities.ibizbook.formlayout_form.details.ibizbookname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ibizbookname.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box <input-box
v-model="data.ibizbookname" v-model="data.ibizbookname"
...@@ -38,10 +38,10 @@ ...@@ -38,10 +38,10 @@
</app-form-group> </app-form-group>
</div> </div>
<div v-show="detailsModel.grouppanel1.visible" :style="{'width': '800px',}"> <div v-show="detailsModel.grouppanel1.visible" :style="{'width': '800px',}">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel1.manageContainerStatus" :isManageContainer="detailsModel.grouppanel1.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel1')" @collapseChange="($event)=>{formDetailGroupChange('grouppanel1',$event)}" layoutType="FLEX" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizbook.formlayout_form.details.grouppanel1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" > <app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel1.manageContainerStatus" :isManageContainer="detailsModel.grouppanel1.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel1')" @collapseChange="($event)=>{formDetailGroupChange('grouppanel1',$event)}" layoutType="FLEX" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizbook.formlayout_form.details.grouppanel1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<div style="height: 100%;display: flex;"> <div style="height: 100%;display: flex;">
<div v-show="detailsModel.author.visible" :style="{}"> <div v-show="detailsModel.author.visible" :style="{}">
<app-form-item name='author' :itemRules="rules().author" :caption="$t('entities.ibizbook.formlayout_form.details.author')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.author.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='author' :itemRules="rules().author" :caption="$t('entities.ibizbook.formlayout_form.details.author')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.author.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box <input-box
v-model="data.author" v-model="data.author"
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<i-col v-show="detailsModel.group2.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.group2.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.group2.manageContainerStatus" :isManageContainer="detailsModel.group2.isManageContainer" @managecontainerclick="manageContainerClick('group2')" @collapseChange="($event)=>{formDetailGroupChange('group2',$event)}" layoutType="FLEX" titleStyle="" class='' :uiActionGroup="detailsModel.group2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizbook.formlayout_form.details.group2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" > <app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.group2.manageContainerStatus" :isManageContainer="detailsModel.group2.isManageContainer" @managecontainerclick="manageContainerClick('group2')" @collapseChange="($event)=>{formDetailGroupChange('group2',$event)}" layoutType="FLEX" titleStyle="" class='' :uiActionGroup="detailsModel.group2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizbook.formlayout_form.details.group2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<div style="height: 100%;display: flex;flex-direction: column;justify-content: center;align-items: center;"> <div style="height: 100%;display: flex;flex-direction: column;justify-content: center;align-items: center;">
<div v-show="detailsModel.borrower.visible" :style="{}"> <div v-show="detailsModel.borrower.visible" :style="{}">
<app-form-item name='borrower' :itemRules="rules().borrower" :caption="$t('entities.ibizbook.formlayout_form.details.borrower')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.borrower.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='borrower' :itemRules="rules().borrower" :caption="$t('entities.ibizbook.formlayout_form.details.borrower')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.borrower.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box <input-box
v-model="data.borrower" v-model="data.borrower"
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
</app-form-item> </app-form-item>
</div> </div>
<div v-show="detailsModel.borrower1_id.visible" :style="{}"> <div v-show="detailsModel.borrower1_id.visible" :style="{}">
<app-form-item name='borrower1_id' :itemRules="rules().borrower1_id" :caption="$t('entities.ibizbook.formlayout_form.details.borrower1_id')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.borrower1_id.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='borrower1_id' :itemRules="rules().borrower1_id" :caption="$t('entities.ibizbook.formlayout_form.details.borrower1_id')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.borrower1_id.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box <input-box
v-model="data.borrower1_id" v-model="data.borrower1_id"
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
</app-form-item> </app-form-item>
</div> </div>
<div v-show="detailsModel.borrower2_id.visible" :style="{}"> <div v-show="detailsModel.borrower2_id.visible" :style="{}">
<app-form-item name='borrower2_id' :itemRules="rules().borrower2_id" :caption="$t('entities.ibizbook.formlayout_form.details.borrower2_id')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.borrower2_id.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='borrower2_id' :itemRules="rules().borrower2_id" :caption="$t('entities.ibizbook.formlayout_form.details.borrower2_id')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.borrower2_id.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box <input-box
v-model="data.borrower2_id" v-model="data.borrower2_id"
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
</app-form-item> </app-form-item>
</div> </div>
<div v-show="detailsModel.borrower3_id.visible" :style="{}"> <div v-show="detailsModel.borrower3_id.visible" :style="{}">
<app-form-item name='borrower3_id' :itemRules="rules().borrower3_id" :caption="$t('entities.ibizbook.formlayout_form.details.borrower3_id')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.borrower3_id.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='borrower3_id' :itemRules="rules().borrower3_id" :caption="$t('entities.ibizbook.formlayout_form.details.borrower3_id')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.borrower3_id.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box <input-box
v-model="data.borrower3_id" v-model="data.borrower3_id"
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
</app-form-item> </app-form-item>
</div> </div>
<div v-show="detailsModel.grouppanel2.visible" :style="{'flex-grow': '1','height': 0,}"> <div v-show="detailsModel.grouppanel2.visible" :style="{'flex-grow': '1','height': 0,}">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel2.manageContainerStatus" :isManageContainer="detailsModel.grouppanel2.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel2')" @collapseChange="($event)=>{formDetailGroupChange('grouppanel2',$event)}" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizbook.formlayout_form.details.grouppanel2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" > <app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel2.manageContainerStatus" :isManageContainer="detailsModel.grouppanel2.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel2')" @collapseChange="($event)=>{formDetailGroupChange('grouppanel2',$event)}" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizbook.formlayout_form.details.grouppanel2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row> <row>
<i-col v-show="detailsModel.tag.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.tag.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
......
...@@ -1439,7 +1439,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1439,7 +1439,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: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1486,7 +1486,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1486,7 +1486,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: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1556,7 +1556,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1556,7 +1556,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: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1666,7 +1666,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1666,7 +1666,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: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1758,7 +1758,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1758,7 +1758,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: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1402,7 +1402,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1402,7 +1402,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_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1449,7 +1449,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1449,7 +1449,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_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1519,7 +1519,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1519,7 +1519,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_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1629,7 +1629,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1629,7 +1629,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_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1721,7 +1721,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1721,7 +1721,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_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1518,7 +1518,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1518,7 +1518,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_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1565,7 +1565,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1565,7 +1565,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_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1635,7 +1635,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1635,7 +1635,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_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1745,7 +1745,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1745,7 +1745,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_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1837,7 +1837,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1837,7 +1837,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_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface { ...@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface {
* @type {Boolean} * @type {Boolean}
* @memberof GuideBase * @memberof GuideBase
*/ */
public isShowStepBar: Boolean = true ; public isShowStepBar: Boolean = false ;
/** /**
* 获取多项数据 * 获取多项数据
......
...@@ -69,8 +69,8 @@ ...@@ -69,8 +69,8 @@
name="orderdetail2" name="orderdetail2"
:caption="$t('entities.ibizorder.testmdctrl_form.details.orderdetail2')" :caption="$t('entities.ibizorder.testmdctrl_form.details.orderdetail2')"
:children="{ :children="{
'orderdetailname1': { type: 'FORMITEM', caption: '订单明细' }, 'orderdetailname1': { type: 'FORMITEM', caption: '明细名称' },
'quantity1': { type: 'FORMITEM', caption: '订单明细' }, 'quantity1': { type: 'FORMITEM', caption: '数量' },
}" }"
mode='DEFAULT' mode='DEFAULT'
:data="data['orderdetail2']" :data="data['orderdetail2']"
...@@ -132,15 +132,14 @@ ...@@ -132,15 +132,14 @@
name="orderdetail3" name="orderdetail3"
:caption="$t('entities.ibizorder.testmdctrl_form.details.orderdetail3')" :caption="$t('entities.ibizorder.testmdctrl_form.details.orderdetail3')"
:children="{ :children="{
'orderdetailname2': { type: 'FORMITEM', caption: '' }, 'orderdetailname2': { type: 'FORMITEM', caption: '明细名称' },
'quantity2': { type: 'FORMITEM', caption: '' }, 'quantity2': { type: 'FORMITEM', caption: '数量' },
}" }"
mode='STYLE2' mode='STYLE2'
:data="data['orderdetail3']" :data="data['orderdetail3']"
> >
<div v-show="detailsModel.orderdetailname2.visible"> <div #orderdetailname2='{ context, viewparams, data, onFormItemValueChange }' v-show="detailsModel.orderdetailname2.visible">
<template #orderdetailname2="{ context, viewparams, data, onFormItemValueChange }"> <input-box
<input-box
v-model="data.orderdetailname2" v-model="data.orderdetailname2"
@enter="onEnter($event)" @enter="onEnter($event)"
...@@ -152,12 +151,10 @@ ...@@ -152,12 +151,10 @@
style=""> style="">
</input-box> </input-box>
</template>
</div> </div>
<div v-show="detailsModel.quantity2.visible"> <div #quantity2='{ context, viewparams, data, onFormItemValueChange }' v-show="detailsModel.quantity2.visible">
<template #quantity2="{ context, viewparams, data, onFormItemValueChange }"> <input-box
<input-box
v-model="data.quantity2" v-model="data.quantity2"
@enter="onEnter($event)" @enter="onEnter($event)"
...@@ -170,7 +167,6 @@ ...@@ -170,7 +167,6 @@
style=""> style="">
</input-box> </input-box>
</template>
</div> </div>
</app-form-mdctrl-repeater> </app-form-mdctrl-repeater>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<i-col span="20" class="form-content"> <i-col span="20" class="form-content">
<row> <row>
<div style="height: 100%;display: flex;flex-direction: row;align-items: center;"> <div style="height: 100%;display: flex;flex-direction: row;align-items: center;">
<div v-show="detailsModel.n_ibizordername_like.visible" :style="{}"> <div v-show="detailsModel.n_ibizordername_like.visible" :style="{}">
<app-form-item name='n_ibizordername_like' :itemRules="this.rules.n_ibizordername_like" class='' :caption="$t('entities.ibizorder.uipart_0013_searchform.details.n_ibizordername_like')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.n_ibizordername_like.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='n_ibizordername_like' :itemRules="this.rules.n_ibizordername_like" class='' :caption="$t('entities.ibizorder.uipart_0013_searchform.details.n_ibizordername_like')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.n_ibizordername_like.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box <input-box
v-model="data.n_ibizordername_like" v-model="data.n_ibizordername_like"
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</app-form-item> </app-form-item>
</div> </div>
<div v-show="detailsModel.n_orderstate_eq.visible" :style="{}"> <div v-show="detailsModel.n_orderstate_eq.visible" :style="{}">
<app-form-item name='n_orderstate_eq' :itemRules="this.rules.n_orderstate_eq" class='' :caption="$t('entities.ibizorder.uipart_0013_searchform.details.n_orderstate_eq')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.n_orderstate_eq.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='n_orderstate_eq' :itemRules="this.rules.n_orderstate_eq" class='' :caption="$t('entities.ibizorder.uipart_0013_searchform.details.n_orderstate_eq')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.n_orderstate_eq.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list <dropdown-list
...@@ -45,14 +45,14 @@ ...@@ -45,14 +45,14 @@
</app-form-item> </app-form-item>
</div> </div>
<div v-show="detailsModel.n_ordertime_gt.visible" :style="{}"> <div v-show="detailsModel.n_ordertime_gt.visible" :style="{}">
<app-form-item name='n_ordertime_gt' :itemRules="this.rules.n_ordertime_gt" class='' :caption="$t('entities.ibizorder.uipart_0013_searchform.details.n_ordertime_gt')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.n_ordertime_gt.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='n_ordertime_gt' :itemRules="this.rules.n_ordertime_gt" class='' :caption="$t('entities.ibizorder.uipart_0013_searchform.details.n_ordertime_gt')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.n_ordertime_gt.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="date" :transfer="true" format="yyyy-MM-dd" :value="data.n_ordertime_gt" :disabled="detailsModel.n_ordertime_gt.disabled" style="min-width: 150px; width:100px;" @on-change="(val1, val2) => { this.data.n_ordertime_gt = val1 }"></date-picker> <date-picker type="date" :transfer="true" format="yyyy-MM-dd" :value="data.n_ordertime_gt" :disabled="detailsModel.n_ordertime_gt.disabled" style="min-width: 150px; width:100px;" @on-change="(val1, val2) => { this.data.n_ordertime_gt = val1 }"></date-picker>
</app-form-item> </app-form-item>
</div> </div>
<div v-show="detailsModel.n_ordertime_lt.visible" :style="{}"> <div v-show="detailsModel.n_ordertime_lt.visible" :style="{}">
<app-form-item name='n_ordertime_lt' :itemRules="this.rules.n_ordertime_lt" class='' :caption="$t('entities.ibizorder.uipart_0013_searchform.details.n_ordertime_lt')" uiStyle="DEFAULT" :labelWidth="24" :isShowCaption="true" :error="detailsModel.n_ordertime_lt.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='n_ordertime_lt' :itemRules="this.rules.n_ordertime_lt" class='' :caption="$t('entities.ibizorder.uipart_0013_searchform.details.n_ordertime_lt')" uiStyle="DEFAULT" :labelWidth="24" :isShowCaption="true" :error="detailsModel.n_ordertime_lt.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="date" :transfer="true" format="yyyy-MM-dd" :value="data.n_ordertime_lt" :disabled="detailsModel.n_ordertime_lt.disabled" style="min-width: 150px; width:100px;" @on-change="(val1, val2) => { this.data.n_ordertime_lt = val1 }"></date-picker> <date-picker type="date" :transfer="true" format="yyyy-MM-dd" :value="data.n_ordertime_lt" :disabled="detailsModel.n_ordertime_lt.disabled" style="min-width: 150px; width:100px;" @on-change="(val1, val2) => { this.data.n_ordertime_lt = val1 }"></date-picker>
......
...@@ -12,25 +12,13 @@ ...@@ -12,25 +12,13 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "借出日期", "caption" : "作者",
"codeName" : "lendouttime", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "author",
"mOSFilePath" : "psdetreecols/ibizbookname", "mOSFilePath" : "psdetreecols/author",
"name" : "ibizbookname", "name" : "author",
"rTMOSFilePath" : "psdetreecols/ibizbookname", "rTMOSFilePath" : "psdetreecols/author",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -48,13 +36,13 @@ ...@@ -48,13 +36,13 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/author", "mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "author", "name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/author", "rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -71,6 +59,18 @@ ...@@ -71,6 +59,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -31,18 +31,6 @@ ...@@ -31,18 +31,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "图书描述", "caption" : "图书描述",
"codeName" : "subtext", "codeName" : "subtext",
...@@ -55,6 +43,18 @@ ...@@ -55,6 +43,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -46,25 +46,13 @@ ...@@ -46,25 +46,13 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "借出日期", "caption" : "作者",
"codeName" : "lendouttime", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "author",
"mOSFilePath" : "psdetreecols/ibizbookname", "mOSFilePath" : "psdetreecols/author",
"name" : "ibizbookname", "name" : "author",
"rTMOSFilePath" : "psdetreecols/ibizbookname", "rTMOSFilePath" : "psdetreecols/author",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -82,13 +70,13 @@ ...@@ -82,13 +70,13 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/author", "mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "author", "name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/author", "rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -105,6 +93,18 @@ ...@@ -105,6 +93,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -111,18 +111,6 @@ ...@@ -111,18 +111,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "图书描述", "caption" : "图书描述",
"codeName" : "subtext", "codeName" : "subtext",
...@@ -135,6 +123,18 @@ ...@@ -135,6 +123,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册