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

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

上级 f020aa56
...@@ -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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5GridView' + (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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1683,7 +1683,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1683,7 +1683,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: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1735,7 +1735,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1735,7 +1735,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: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1806,7 +1806,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1806,7 +1806,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: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1914,7 +1914,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1914,7 +1914,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: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -2128,7 +2128,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2128,7 +2128,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: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase 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: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase 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: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -292,7 +292,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -292,7 +292,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 视图布局顶级成员名称 * 视图布局顶级成员名称
* *
* @public * @public
* @memberof Item1layoutpanelBase * @memberof ItemlayoutpanelBase
*/ */
public rootLayoutDetailNames: string[] = [ 'container1' ]; public rootLayoutDetailNames: string[] = [ 'container1' ];
...@@ -300,7 +300,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -300,7 +300,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 视图布局面板项模型对象 * 视图布局面板项模型对象
* *
* @public * @public
* @memberof Item1layoutpanelBase * @memberof ItemlayoutpanelBase
*/ */
public layoutItems:any = { public layoutItems:any = {
author:{ name: 'author', type: 'ITEMLAYOUT', caption: '作者', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'author', wrapMode:'', vAlign:'', hAlign:'', }, author:{ name: 'author', type: 'ITEMLAYOUT', caption: '作者', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'author', wrapMode:'', vAlign:'', hAlign:'', },
...@@ -313,7 +313,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -313,7 +313,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 布局面板是否加载 * 布局面板是否加载
* *
* @public * @public
* @memberof Item1layoutpanelBase * @memberof ItemlayoutpanelBase
*/ */
public isLayoutLoadding: boolean = true; public isLayoutLoadding: boolean = true;
...@@ -321,7 +321,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -321,7 +321,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 布局面板数据 * 布局面板数据
* *
* @public * @public
* @memberof Item1layoutpanelBase * @memberof ItemlayoutpanelBase
*/ */
public layoutData:any = {}; public layoutData:any = {};
...@@ -329,7 +329,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -329,7 +329,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 布局面板模型对象 * 布局面板模型对象
* *
* @public * @public
* @memberof Item1layoutpanelBase * @memberof ItemlayoutpanelBase
*/ */
public layoutModelDetails:any = {}; public layoutModelDetails:any = {};
...@@ -337,7 +337,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -337,7 +337,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 初始化布局 * 初始化布局
* *
* @public * @public
* @memberof Item1layoutpanelBase * @memberof ItemlayoutpanelBase
*/ */
public async initLayout() { public async initLayout() {
if (this.rootLayoutDetailNames.length > 0) { if (this.rootLayoutDetailNames.length > 0) {
...@@ -357,7 +357,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -357,7 +357,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 初始化布局项 * 初始化布局项
* *
* @public * @public
* @memberof Item1layoutpanelBase * @memberof ItemlayoutpanelBase
*/ */
public async initLayoutItem(layoutModelItem: any, index?: number) { public async initLayoutItem(layoutModelItem: any, index?: number) {
const { name } = layoutModelItem; const { name } = layoutModelItem;
...@@ -400,7 +400,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -400,7 +400,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 计算面板按钮权限状态 * 计算面板按钮权限状态
* *
* @public * @public
* @memberof Item1layoutpanelBase * @memberof ItemlayoutpanelBase
*/ */
public async computeButtonAuthState() { public async computeButtonAuthState() {
for (const key in this.layoutModelDetails) { for (const key in this.layoutModelDetails) {
...@@ -514,7 +514,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -514,7 +514,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* @public * @public
* @params args 改变数据 * @params args 改变数据
* @params index 多数据容器下标 * @params index 多数据容器下标
* @memberof Item1layoutpanelBase * @memberof ItemlayoutpanelBase
*/ */
public handleValueChange(args: { name: string, value: any }, index?: number) { public handleValueChange(args: { name: string, value: any }, index?: number) {
const { name, value } = args; const { name, value } = args;
...@@ -568,7 +568,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -568,7 +568,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* @public * @public
* @params name 按钮项名称 * @params name 按钮项名称
* @params index 多数据容器下标 * @params index 多数据容器下标
* @memberof Item1layoutpanelBase * @memberof ItemlayoutpanelBase
*/ */
public handleButtonClick(name: string, index?: number) { public handleButtonClick(name: string, index?: number) {
let datas: any[] = []; let datas: any[] = [];
......
...@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -964,7 +964,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: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1123,7 +1123,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1123,7 +1123,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: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1237,7 +1237,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1237,7 +1237,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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2132,7 +2132,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2132,7 +2132,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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(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);
...@@ -2141,7 +2141,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2141,7 +2141,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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(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);
...@@ -2217,7 +2217,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2217,7 +2217,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: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -1347,7 +1347,7 @@ ...@@ -1347,7 +1347,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json"
}, },
"masterRS" : 0, "masterRS" : 8,
"getMinorPSDataEntity" : { "getMinorPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023Ext.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023Ext.json"
...@@ -1367,7 +1367,7 @@ ...@@ -1367,7 +1367,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json"
}, },
"masterRS" : 0, "masterRS" : 8,
"getMinorPSDataEntity" : { "getMinorPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0024.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0024.json"
......
...@@ -778,7 +778,7 @@ ...@@ -778,7 +778,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json"
}, },
"masterRS" : 0, "masterRS" : 8,
"getMinorPSDataEntity" : { "getMinorPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023Ext.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023Ext.json"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json"
}, },
"masterRS" : 0, "masterRS" : 8,
"getMinorPSDataEntity" : { "getMinorPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023Ext.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023Ext.json"
......
...@@ -584,7 +584,7 @@ ...@@ -584,7 +584,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json"
}, },
"masterRS" : 0, "masterRS" : 8,
"getMinorPSDataEntity" : { "getMinorPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0024.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0024.json"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json"
}, },
"masterRS" : 0, "masterRS" : 8,
"getMinorPSDataEntity" : { "getMinorPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0024.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0024.json"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册