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

chitanda 发布系统代码,模板修复

上级 2082a1ad
import { Prop } from 'vue-property-decorator'; import { Prop } from 'vue-property-decorator';
import { Watch } from '@/studio-core'; import { Watch } from '@/studio-core';
import { ViewTool } from '@/utils';
import { MDControlBase } from './MDControlBase'; import { MDControlBase } from './MDControlBase';
/** /**
...@@ -11,6 +12,14 @@ import { MDControlBase } from './MDControlBase'; ...@@ -11,6 +12,14 @@ import { MDControlBase } from './MDControlBase';
*/ */
export class GridControllerBase extends MDControlBase { export class GridControllerBase extends MDControlBase {
/**
* 界面服务
*
* @type {*}
* @memberof GridControllerBase
*/
public appUIService: any;
/** /**
* 是否显示标题 * 是否显示标题
* *
...@@ -182,6 +191,14 @@ export class GridControllerBase extends MDControlBase { ...@@ -182,6 +191,14 @@ export class GridControllerBase extends MDControlBase {
*/ */
protected isDeExport: boolean = false; protected isDeExport: boolean = false;
/**
* 界面行为模型
*
* @type {*}
* @memberof GridControllerBase
*/
public ActionModel: any = {};
/** /**
* 所有导出列成员 * 所有导出列成员
* *
...@@ -353,7 +370,7 @@ export class GridControllerBase extends MDControlBase { ...@@ -353,7 +370,7 @@ export class GridControllerBase extends MDControlBase {
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: '${view.getName()}'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '${view.getName()}' + (this.$t('app.gridpage.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);
...@@ -361,7 +378,7 @@ export class GridControllerBase extends MDControlBase { ...@@ -361,7 +378,7 @@ export class GridControllerBase extends MDControlBase {
} }
} 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: '${view.getName()}'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '${view.getName()}' + (this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
if (item[this.appDeName]) { if (item[this.appDeName]) {
...@@ -382,7 +399,7 @@ export class GridControllerBase extends MDControlBase { ...@@ -382,7 +399,7 @@ export class GridControllerBase extends MDControlBase {
this.$Notice.success({ title: '', desc: (this.$t('app.commonWords.saveSuccess') as string) }); this.$Notice.success({ title: '', desc: (this.$t('app.commonWords.saveSuccess') as string) });
} else { } else {
errorItems.forEach((item: any, index: number) => { errorItems.forEach((item: any, index: number) => {
this.$Notice.error({ title: (this.$t('app.commonWords.saveFailed') as string), desc: item.majorentityname+(this.$t('app.commonWords.saveFailed') as string)+'!' }); this.$Notice.error({ title: (this.$t('app.commonWords.saveFailed') as string), desc: item.majorentityname + (this.$t('app.commonWords.saveFailed') as string) + '!' });
console.error(errorMessage[index]); console.error(errorMessage[index]);
}); });
} }
...@@ -399,7 +416,7 @@ export class GridControllerBase extends MDControlBase { ...@@ -399,7 +416,7 @@ export class GridControllerBase extends MDControlBase {
*/ */
public load(opt: any = {}, pageReset: boolean = false): void { public load(opt: any = {}, pageReset: boolean = false): void {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '${view.getName()}'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '${view.getName()}' + (this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if (pageReset) { if (pageReset) {
...@@ -437,8 +454,8 @@ export class GridControllerBase extends MDControlBase { ...@@ -437,8 +454,8 @@ export class GridControllerBase extends MDControlBase {
this.selections = []; this.selections = [];
this.gridItemsModel = []; this.gridItemsModel = [];
this.items.forEach(() => { this.gridItemsModel.push(this.getGridRowModel()) }); this.items.forEach(() => { this.gridItemsModel.push(this.getGridRowModel()) });
this.items.forEach((item:any)=>{ this.items.forEach((item: any) => {
Object.assign(item, this.getActionState(item)); Object.assign(item, this.getActionState(item));
}); });
this.$emit('load', this.items); this.$emit('load', this.items);
// 向上下文中填充当前数据 // 向上下文中填充当前数据
...@@ -483,7 +500,7 @@ export class GridControllerBase extends MDControlBase { ...@@ -483,7 +500,7 @@ export class GridControllerBase extends MDControlBase {
*/ */
public async remove(items: any[]): Promise<any> { public async remove(items: any[]): Promise<any> {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '${view.getName()}'+(this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '${view.getName()}' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
const arr: any[] = []; const arr: any[] = [];
...@@ -517,9 +534,9 @@ export class GridControllerBase extends MDControlBase { ...@@ -517,9 +534,9 @@ export class GridControllerBase extends MDControlBase {
}); });
if (arr.length < 5) { if (arr.length < 5) {
dataInfo = dataInfo + ' '+(this.$t('app.gridpage.totle') as string) + arr.length + (this.$t('app.gridpage.records') as string)+(this.$t('app.gridpage.data') as string); dataInfo = dataInfo + ' ' + (this.$t('app.gridpage.totle') as string) + arr.length + (this.$t('app.gridpage.records') as string) + (this.$t('app.gridpage.data') as string);
} else { } else {
dataInfo = dataInfo + '...' + ' '+(this.$t('app.gridpage.totle') as string) + arr.length + (this.$t('app.gridpage.desc2') as string); dataInfo = dataInfo + '...' + ' ' + (this.$t('app.gridpage.totle') as string) + arr.length + (this.$t('app.gridpage.desc2') as string);
} }
const removeData = () => { const removeData = () => {
...@@ -534,7 +551,7 @@ export class GridControllerBase extends MDControlBase { ...@@ -534,7 +551,7 @@ export class GridControllerBase extends MDControlBase {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
post.then((response: any) => { post.then((response: any) => {
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
this.$Notice.error({ title: '', desc: (this.$t('app.gridpage.delDataFail') as string)+',' + response.info }); this.$Notice.error({ title: '', desc: (this.$t('app.gridpage.delDataFail') as string) + ',' + response.info });
return; return;
} else { } else {
this.$Notice.success({ title: '', desc: (this.$t('app.gridpage.delSuccess') as string) }); this.$Notice.success({ title: '', desc: (this.$t('app.gridpage.delSuccess') as string) });
...@@ -571,7 +588,7 @@ export class GridControllerBase extends MDControlBase { ...@@ -571,7 +588,7 @@ export class GridControllerBase extends MDControlBase {
dataInfo = dataInfo.replace(/[null]/g, '').replace(/[undefined]/g, ''); dataInfo = dataInfo.replace(/[null]/g, '').replace(/[undefined]/g, '');
this.$Modal.confirm({ this.$Modal.confirm({
title: (this.$t('app.commonWords.warning') as string), title: (this.$t('app.commonWords.warning') as string),
content: (this.$t('app.gridpage.confirmDel') as string)+' ' + dataInfo + ','+(this.$t('app.gridpage.notRecoverable') as string), content: (this.$t('app.gridpage.confirmDel') as string) + ' ' + dataInfo + ',' + (this.$t('app.gridpage.notRecoverable') as string),
onOk: () => { onOk: () => {
removeData(); removeData();
}, },
...@@ -638,7 +655,7 @@ export class GridControllerBase extends MDControlBase { ...@@ -638,7 +655,7 @@ export class GridControllerBase extends MDControlBase {
excel.export_json_to_excel({ excel.export_json_to_excel({
header: tHeader, //表头 必填 header: tHeader, //表头 必填
data, //具体数据 必填 data, //具体数据 必填
filename: "${ctrl.getPSAppDataEntity().getLogicName()}"+(this.$t('app.gridpage.grid') as string), //非必填 filename: "${ctrl.getPSAppDataEntity().getLogicName()}" + (this.$t('app.gridpage.grid') as string), //非必填
autoWidth: true, //非必填 autoWidth: true, //非必填
bookType: "xlsx" //非必填 bookType: "xlsx" //非必填
}); });
...@@ -679,7 +696,7 @@ export class GridControllerBase extends MDControlBase { ...@@ -679,7 +696,7 @@ export class GridControllerBase extends MDControlBase {
} }
post.then((response: any) => { post.then((response: any) => {
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
this.$Notice.error({ title: '', desc: (this.$t('app.gridpage.exportFail') as string)+',' + response.info }); this.$Notice.error({ title: '', desc: (this.$t('app.gridpage.exportFail') as string) + ',' + response.info });
return; return;
} }
try { try {
...@@ -1013,7 +1030,7 @@ export class GridControllerBase extends MDControlBase { ...@@ -1013,7 +1030,7 @@ export class GridControllerBase extends MDControlBase {
*/ */
public newRow(args: any[], params?: any, $event?: any, xData?: any): void { public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if (!this.loaddraftAction) { if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '${view.getName()}'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '${view.getName()}' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return; return;
} }
Object.assign(args[0], { viewparams: this.viewparams }); Object.assign(args[0], { viewparams: this.viewparams });
...@@ -1104,6 +1121,20 @@ export class GridControllerBase extends MDControlBase { ...@@ -1104,6 +1121,20 @@ export class GridControllerBase extends MDControlBase {
}); });
} }
/**
* 获取界面行为权限状态
*
* @param {*} data
* @returns
* @memberof GridControllerBase
*/
public getActionState(data: any) {
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 表格编辑项值变化 * 表格编辑项值变化
* *
......
...@@ -9,4 +9,19 @@ import { ControlBase } from './ControlBase'; ...@@ -9,4 +9,19 @@ import { ControlBase } from './ControlBase';
*/ */
export class MainControlBase extends ControlBase { export class MainControlBase extends ControlBase {
/**
* 转化数据
*
* @param {*} args
* @returns
* @memberof MainControlBase
*/
public transformData(args: any) {
if (this.service && this.service.handleRequestData) {
const res = this.service.handleRequestData('transform', this.context, args);
if (res) {
return res.data;
}
}
}
} }
\ No newline at end of file
...@@ -64,7 +64,7 @@ export class InnerPickipGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class InnerPickipGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof InnerPickipBase * @memberof InnerPickipBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -101,18 +101,6 @@ export class InnerPickipGridBase extends GridControllerBase { ...@@ -101,18 +101,6 @@ export class InnerPickipGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof InnerPickipBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -141,18 +141,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -141,18 +141,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -141,18 +141,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -141,18 +141,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -85,18 +85,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -85,18 +85,6 @@ export class MainGridBase extends GridControllerBase {
public allColumns: any[] = [ public allColumns: any[] = [
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -157,18 +157,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -157,18 +157,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class SalLitCompGridGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class SalLitCompGridGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof SalLitCompGridBase * @memberof SalLitCompGridBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -101,18 +101,6 @@ export class SalLitCompGridGridBase extends GridControllerBase { ...@@ -101,18 +101,6 @@ export class SalLitCompGridGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof SalLitCompGridBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -101,18 +101,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -101,18 +101,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -141,18 +141,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -141,18 +141,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -92,7 +92,7 @@ export class ByAccountGridBase extends GridControllerBase { ...@@ -92,7 +92,7 @@ export class ByAccountGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof ByAccountBase * @memberof ByAccountBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
SetPrimary: { name: 'SetPrimary',disabled: false, visabled: true,noprivdisplaymode:2,dataaccaction: '', target: 'SINGLEKEY'} SetPrimary: { name: 'SetPrimary',disabled: false, visabled: true,noprivdisplaymode:2,dataaccaction: '', target: 'SINGLEKEY'}
}; };
...@@ -170,18 +170,6 @@ export class ByAccountGridBase extends GridControllerBase { ...@@ -170,18 +170,6 @@ export class ByAccountGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof ByAccountBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -101,18 +101,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -101,18 +101,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -133,18 +133,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -133,18 +133,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class InvoiceProductGridGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class InvoiceProductGridGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof InvoiceProductGridBase * @memberof InvoiceProductGridBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -125,18 +125,6 @@ export class InvoiceProductGridGridBase extends GridControllerBase { ...@@ -125,18 +125,6 @@ export class InvoiceProductGridGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof InvoiceProductGridBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -101,18 +101,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -101,18 +101,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class InnerGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class InnerGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof InnerBase * @memberof InnerBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -141,18 +141,6 @@ export class InnerGridBase extends GridControllerBase { ...@@ -141,18 +141,6 @@ export class InnerGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof InnerBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -133,18 +133,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -133,18 +133,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -133,18 +133,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -133,18 +133,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class SalLitProGridGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class SalLitProGridGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof SalLitProGridBase * @memberof SalLitProGridBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -101,18 +101,6 @@ export class SalLitProGridGridBase extends GridControllerBase { ...@@ -101,18 +101,6 @@ export class SalLitProGridGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof SalLitProGridBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -125,18 +125,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class SOProductGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class SOProductGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof SOProductBase * @memberof SOProductBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -133,18 +133,6 @@ export class SOProductGridBase extends GridControllerBase { ...@@ -133,18 +133,6 @@ export class SOProductGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof SOProductBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -117,18 +117,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -149,18 +149,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -149,18 +149,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase { ...@@ -64,7 +64,7 @@ export class MainGridBase extends GridControllerBase {
* @type {*} * @type {*}
* @memberof MainBase * @memberof MainBase
*/ */
public ActionModel:any ={ public ActionModel: any = {
}; };
/** /**
...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase { ...@@ -109,18 +109,6 @@ export class MainGridBase extends GridControllerBase {
}, },
] ]
/**
* 获取界面行为权限状态
*
* @memberof MainBase
*/
public getActionState(data:any){
const targetData: any = this.transformData(data);
const tempActionModel: any = JSON.parse(JSON.stringify(this.ActionModel));
ViewTool.calcActionItemAuthState(targetData, tempActionModel, this.appUIService);
return tempActionModel;
}
/** /**
* 获取表格行模型 * 获取表格行模型
* *
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册