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

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

上级 a825e33c
因为 它太大了无法显示 源差异 。您可以改为 查看blob
因为 它太大了无法显示 源差异 。您可以改为 查看blob
因为 它太大了无法显示 源差异 。您可以改为 查看blob
...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -712,7 +712,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: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -127,17 +127,17 @@ ...@@ -127,17 +127,17 @@
</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')" layoutType="FLEX" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="'分组面板'" :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')" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="'分组面板'" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<div style="height: 100%;display: flex;"> <row>
<div v-show="detailsModel.tag.visible" :style="{}"> <i-col v-show="detailsModel.tag.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='tag' :itemRules="this.rules().tag" class='' :caption="$t('DEF.LNAME.TAG', '标签')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.tag.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='tag' :itemRules="this.rules().tag" class='' :caption="$t('DEF.LNAME.TAG', '标签')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.tag.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.tag" :textareaId="this.$util.createUUID()" :disabled="detailsModel.tag.disabled" type='textarea' editorType="TEXTAREA_10" textareaStyle="height:200px;" ></input-box> <input-box v-model="data.tag" :textareaId="this.$util.createUUID()" :disabled="detailsModel.tag.disabled" type='textarea' editorType="TEXTAREA_10" textareaStyle="height:200px;" ></input-box>
</app-form-item> </app-form-item>
</div> </i-col>
<div v-show="detailsModel.orgid.visible" :style="{}"> <i-col v-show="detailsModel.orgid.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='orgid' :itemRules="this.rules().orgid" class='' :caption="'单位'" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.orgid.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='orgid' :itemRules="this.rules().orgid" class='' :caption="'单位'" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.orgid.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box <input-box
v-model="data.orgid" v-model="data.orgid"
@enter="onEnter($event)" @enter="onEnter($event)"
...@@ -149,9 +149,9 @@ ...@@ -149,9 +149,9 @@
</app-form-item> </app-form-item>
</div> </i-col>
<div v-show="detailsModel.press.visible" :style="{}"> <i-col v-show="detailsModel.press.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='press' :itemRules="this.rules().press" class='' :caption="$t('DEF.LNAME.PRESS', '图书出版社')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.press.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='press' :itemRules="this.rules().press" class='' :caption="$t('DEF.LNAME.PRESS', '图书出版社')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.press.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box <input-box
v-model="data.press" v-model="data.press"
@enter="onEnter($event)" @enter="onEnter($event)"
...@@ -163,9 +163,9 @@ ...@@ -163,9 +163,9 @@
</app-form-item> </app-form-item>
</div> </i-col>
</div> </row>
</app-form-group> </app-form-group>
</div> </div>
......
...@@ -1846,7 +1846,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1846,7 +1846,7 @@ export default class MainBase 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: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1898,7 +1898,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1898,7 +1898,7 @@ export default class MainBase 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: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1969,7 +1969,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1969,7 +1969,7 @@ export default class MainBase 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: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -2077,7 +2077,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2077,7 +2077,7 @@ export default class MainBase 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: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -2275,7 +2275,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2275,7 +2275,7 @@ export default class MainBase 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: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -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_layout' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (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_layout' + (this.$t('app.list.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (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_layout' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (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_layout' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView' + (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){
......
...@@ -470,8 +470,8 @@ ...@@ -470,8 +470,8 @@
"showMaxLength" : true "showMaxLength" : true
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "colMD" : 24,
"layout" : "FLEX" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/tag", "rTMOSFilePath" : "psdeformdetail_formitems/tag",
"allowEmpty" : true, "allowEmpty" : true,
...@@ -499,8 +499,8 @@ ...@@ -499,8 +499,8 @@
"name" : "orgid" "name" : "orgid"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "colMD" : 24,
"layout" : "FLEX" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/orgid", "rTMOSFilePath" : "psdeformdetail_formitems/orgid",
"allowEmpty" : true, "allowEmpty" : true,
...@@ -533,15 +533,20 @@ ...@@ -533,15 +533,20 @@
"name" : "press" "name" : "press"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "colMD" : 24,
"layout" : "FLEX" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/press", "rTMOSFilePath" : "psdeformdetail_formitems/press",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"layout" : "FLEX" "childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : 1, "grow" : 1,
......
...@@ -589,8 +589,8 @@ ...@@ -589,8 +589,8 @@
"showMaxLength" : true "showMaxLength" : true
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "colMD" : 24,
"layout" : "FLEX" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/tag", "rTMOSFilePath" : "psdeformdetail_formitems/tag",
"allowEmpty" : true, "allowEmpty" : true,
...@@ -618,8 +618,8 @@ ...@@ -618,8 +618,8 @@
"name" : "orgid" "name" : "orgid"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "colMD" : 24,
"layout" : "FLEX" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/orgid", "rTMOSFilePath" : "psdeformdetail_formitems/orgid",
"allowEmpty" : true, "allowEmpty" : true,
...@@ -652,15 +652,20 @@ ...@@ -652,15 +652,20 @@
"name" : "press" "name" : "press"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "colMD" : 24,
"layout" : "FLEX" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/press", "rTMOSFilePath" : "psdeformdetail_formitems/press",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"layout" : "FLEX" "childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : 1, "grow" : 1,
......
...@@ -30396,8 +30396,8 @@ ...@@ -30396,8 +30396,8 @@
"showMaxLength" : true "showMaxLength" : true
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "colMD" : 24,
"layout" : "FLEX" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/tag", "rTMOSFilePath" : "psdeformdetail_formitems/tag",
"allowEmpty" : true, "allowEmpty" : true,
...@@ -30425,8 +30425,8 @@ ...@@ -30425,8 +30425,8 @@
"name" : "orgid" "name" : "orgid"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "colMD" : 24,
"layout" : "FLEX" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/orgid", "rTMOSFilePath" : "psdeformdetail_formitems/orgid",
"allowEmpty" : true, "allowEmpty" : true,
...@@ -30459,15 +30459,20 @@ ...@@ -30459,15 +30459,20 @@
"name" : "press" "name" : "press"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "colMD" : 24,
"layout" : "FLEX" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/press", "rTMOSFilePath" : "psdeformdetail_formitems/press",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"layout" : "FLEX" "childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : 1, "grow" : 1,
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册