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

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

上级 f020aa56
......@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
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;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
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;
}
const arg: any = { ...opt } ;
......
......@@ -1683,7 +1683,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
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;
}
const arg: any = { ...opt };
......@@ -1735,7 +1735,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {}): Promise<any> {
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;
}
const arg: any = { ...opt } ;
......@@ -1806,7 +1806,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1914,7 +1914,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
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;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -2128,7 +2128,7 @@ export default class MainBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
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;
}
const arg: any = opt[0];
......
......@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
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;
}
const arg: any = { ...opt };
......@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
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;
}
const arg: any = { ...opt } ;
......
......@@ -292,7 +292,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 视图布局顶级成员名称
*
* @public
* @memberof Item1layoutpanelBase
* @memberof ItemlayoutpanelBase
*/
public rootLayoutDetailNames: string[] = [ 'container1' ];
......@@ -300,7 +300,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 视图布局面板项模型对象
*
* @public
* @memberof Item1layoutpanelBase
* @memberof ItemlayoutpanelBase
*/
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:'', },
......@@ -313,7 +313,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 布局面板是否加载
*
* @public
* @memberof Item1layoutpanelBase
* @memberof ItemlayoutpanelBase
*/
public isLayoutLoadding: boolean = true;
......@@ -321,7 +321,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 布局面板数据
*
* @public
* @memberof Item1layoutpanelBase
* @memberof ItemlayoutpanelBase
*/
public layoutData:any = {};
......@@ -329,7 +329,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 布局面板模型对象
*
* @public
* @memberof Item1layoutpanelBase
* @memberof ItemlayoutpanelBase
*/
public layoutModelDetails:any = {};
......@@ -337,7 +337,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 初始化布局
*
* @public
* @memberof Item1layoutpanelBase
* @memberof ItemlayoutpanelBase
*/
public async initLayout() {
if (this.rootLayoutDetailNames.length > 0) {
......@@ -357,7 +357,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 初始化布局项
*
* @public
* @memberof Item1layoutpanelBase
* @memberof ItemlayoutpanelBase
*/
public async initLayoutItem(layoutModelItem: any, index?: number) {
const { name } = layoutModelItem;
......@@ -400,7 +400,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 计算面板按钮权限状态
*
* @public
* @memberof Item1layoutpanelBase
* @memberof ItemlayoutpanelBase
*/
public async computeButtonAuthState() {
for (const key in this.layoutModelDetails) {
......@@ -514,7 +514,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* @public
* @params args 改变数据
* @params index 多数据容器下标
* @memberof Item1layoutpanelBase
* @memberof ItemlayoutpanelBase
*/
public handleValueChange(args: { name: string, value: any }, index?: number) {
const { name, value } = args;
......@@ -568,7 +568,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* @public
* @params name 按钮项名称
* @params index 多数据容器下标
* @memberof Item1layoutpanelBase
* @memberof ItemlayoutpanelBase
*/
public handleButtonClick(name: string, index?: number) {
let datas: any[] = [];
......
......@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
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;
}
......@@ -1123,7 +1123,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
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;
}
......@@ -1237,7 +1237,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
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;
}
if(!arg){
......@@ -2132,7 +2132,7 @@ export default class MainBase extends Vue implements ControlInterface {
try {
if (Object.is(item.rowDataState, 'create')) {
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 {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2141,7 +2141,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}else if (Object.is(item.rowDataState, 'update')){
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 {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2217,7 +2217,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
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;
}
......
......@@ -1347,7 +1347,7 @@
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json"
},
"masterRS" : 0,
"masterRS" : 8,
"getMinorPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023Ext.json"
......@@ -1367,7 +1367,7 @@
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json"
},
"masterRS" : 0,
"masterRS" : 8,
"getMinorPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0024.json"
......
......@@ -778,7 +778,7 @@
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json"
},
"masterRS" : 0,
"masterRS" : 8,
"getMinorPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023Ext.json"
......
......@@ -8,7 +8,7 @@
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json"
},
"masterRS" : 0,
"masterRS" : 8,
"getMinorPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023Ext.json"
......
......@@ -584,7 +584,7 @@
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json"
},
"masterRS" : 0,
"masterRS" : 8,
"getMinorPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0024.json"
......
......@@ -8,7 +8,7 @@
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json"
},
"masterRS" : 0,
"masterRS" : 8,
"getMinorPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0024.json"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册