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

zhouweidong 发布系统代码 [ibiz-rt,ibizlab-runtime]

上级 36b1677e
...@@ -48,7 +48,7 @@ export class AuthServiceRegister { ...@@ -48,7 +48,7 @@ export class AuthServiceRegister {
this.allAuthService.set('syspost', () => import('@/authservice/sys-post/sys-post-auth-service')); this.allAuthService.set('syspost', () => import('@/authservice/sys-post/sys-post-auth-service'));
this.allAuthService.set('sysuserauth', () => import('@/authservice/sys-user-auth/sys-user-auth-auth-service')); this.allAuthService.set('sysuserauth', () => import('@/authservice/sys-user-auth/sys-user-auth-auth-service'));
this.allAuthService.set('sysdepartment', () => import('@/authservice/sys-department/sys-department-auth-service')); this.allAuthService.set('sysdepartment', () => import('@/authservice/sys-department/sys-department-auth-service'));
this.allAuthService.set('meta_dynamicmodel', () => import('@/authservice/meta-dynamicmodel/meta-dynamicmodel-auth-service')); this.allAuthService.set('metadynamicmodel', () => import('@/authservice/meta-dynamic-model/meta-dynamic-model-auth-service'));
this.allAuthService.set('sysemployee', () => import('@/authservice/sys-employee/sys-employee-auth-service')); this.allAuthService.set('sysemployee', () => import('@/authservice/sys-employee/sys-employee-auth-service'));
this.allAuthService.set('paytrade', () => import('@/authservice/pay-trade/pay-trade-auth-service')); this.allAuthService.set('paytrade', () => import('@/authservice/pay-trade/pay-trade-auth-service'));
this.allAuthService.set('msgtemplate', () => import('@/authservice/msg-template/msg-template-auth-service')); this.allAuthService.set('msgtemplate', () => import('@/authservice/msg-template/msg-template-auth-service'));
......
import AuthService from '../auth-service';
/**
* 动态模型权限服务对象基类
*
* @export
* @class MetaDynamicModelAuthServiceBase
* @extends {AuthService}
*/
export default class MetaDynamicModelAuthServiceBase extends AuthService {
/**
* Creates an instance of MetaDynamicModelAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof MetaDynamicModelAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof MetaDynamicModelAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import MetaDynamicModelAuthServiceBase from './meta-dynamic-model-auth-service-base';
/**
* 动态模型权限服务对象
*
* @export
* @class MetaDynamicModelAuthService
* @extends {MetaDynamicModelAuthServiceBase}
*/
export default class MetaDynamicModelAuthService extends MetaDynamicModelAuthServiceBase {
/**
* Creates an instance of MetaDynamicModelAuthService.
*
* @param {*} [opts={}]
* @memberof MetaDynamicModelAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
...@@ -7,7 +7,7 @@ import wfmember_BO_CN from '@locale/lanres/entities/wfmember/wfmember_BO_CN'; ...@@ -7,7 +7,7 @@ import wfmember_BO_CN from '@locale/lanres/entities/wfmember/wfmember_BO_CN';
import syspost_BO_CN from '@locale/lanres/entities/sys-post/sys-post_BO_CN'; import syspost_BO_CN from '@locale/lanres/entities/sys-post/sys-post_BO_CN';
import sysuserauth_BO_CN from '@locale/lanres/entities/sys-user-auth/sys-user-auth_BO_CN'; import sysuserauth_BO_CN from '@locale/lanres/entities/sys-user-auth/sys-user-auth_BO_CN';
import sysdepartment_BO_CN from '@locale/lanres/entities/sys-department/sys-department_BO_CN'; import sysdepartment_BO_CN from '@locale/lanres/entities/sys-department/sys-department_BO_CN';
import meta_dynamicmodel_BO_CN from '@locale/lanres/entities/meta-dynamicmodel/meta-dynamicmodel_BO_CN'; import metadynamicmodel_BO_CN from '@locale/lanres/entities/meta-dynamic-model/meta-dynamic-model_BO_CN';
import sysemployee_BO_CN from '@locale/lanres/entities/sys-employee/sys-employee_BO_CN'; import sysemployee_BO_CN from '@locale/lanres/entities/sys-employee/sys-employee_BO_CN';
import paytrade_BO_CN from '@locale/lanres/entities/pay-trade/pay-trade_BO_CN'; import paytrade_BO_CN from '@locale/lanres/entities/pay-trade/pay-trade_BO_CN';
import msgtemplate_BO_CN from '@locale/lanres/entities/msg-template/msg-template_BO_CN'; import msgtemplate_BO_CN from '@locale/lanres/entities/msg-template/msg-template_BO_CN';
...@@ -293,7 +293,7 @@ function getAppLocale(){ ...@@ -293,7 +293,7 @@ function getAppLocale(){
syspost: syspost_BO_CN(), syspost: syspost_BO_CN(),
sysuserauth: sysuserauth_BO_CN(), sysuserauth: sysuserauth_BO_CN(),
sysdepartment: sysdepartment_BO_CN(), sysdepartment: sysdepartment_BO_CN(),
meta_dynamicmodel: meta_dynamicmodel_BO_CN(), metadynamicmodel: metadynamicmodel_BO_CN(),
sysemployee: sysemployee_BO_CN(), sysemployee: sysemployee_BO_CN(),
paytrade: paytrade_BO_CN(), paytrade: paytrade_BO_CN(),
msgtemplate: msgtemplate_BO_CN(), msgtemplate: msgtemplate_BO_CN(),
......
...@@ -7,7 +7,7 @@ import wfmember_en_US from '@locale/lanres/entities/wfmember/wfmember_en_US'; ...@@ -7,7 +7,7 @@ import wfmember_en_US from '@locale/lanres/entities/wfmember/wfmember_en_US';
import syspost_en_US from '@locale/lanres/entities/sys-post/sys-post_en_US'; import syspost_en_US from '@locale/lanres/entities/sys-post/sys-post_en_US';
import sysuserauth_en_US from '@locale/lanres/entities/sys-user-auth/sys-user-auth_en_US'; import sysuserauth_en_US from '@locale/lanres/entities/sys-user-auth/sys-user-auth_en_US';
import sysdepartment_en_US from '@locale/lanres/entities/sys-department/sys-department_en_US'; import sysdepartment_en_US from '@locale/lanres/entities/sys-department/sys-department_en_US';
import meta_dynamicmodel_en_US from '@locale/lanres/entities/meta-dynamicmodel/meta-dynamicmodel_en_US'; import metadynamicmodel_en_US from '@locale/lanres/entities/meta-dynamic-model/meta-dynamic-model_en_US';
import sysemployee_en_US from '@locale/lanres/entities/sys-employee/sys-employee_en_US'; import sysemployee_en_US from '@locale/lanres/entities/sys-employee/sys-employee_en_US';
import paytrade_en_US from '@locale/lanres/entities/pay-trade/pay-trade_en_US'; import paytrade_en_US from '@locale/lanres/entities/pay-trade/pay-trade_en_US';
import msgtemplate_en_US from '@locale/lanres/entities/msg-template/msg-template_en_US'; import msgtemplate_en_US from '@locale/lanres/entities/msg-template/msg-template_en_US';
...@@ -294,7 +294,7 @@ function getAppLocale(){ ...@@ -294,7 +294,7 @@ function getAppLocale(){
syspost: syspost_en_US(), syspost: syspost_en_US(),
sysuserauth: sysuserauth_en_US(), sysuserauth: sysuserauth_en_US(),
sysdepartment: sysdepartment_en_US(), sysdepartment: sysdepartment_en_US(),
meta_dynamicmodel: meta_dynamicmodel_en_US(), metadynamicmodel: metadynamicmodel_en_US(),
sysemployee: sysemployee_en_US(), sysemployee: sysemployee_en_US(),
paytrade: paytrade_en_US(), paytrade: paytrade_en_US(),
msgtemplate: msgtemplate_en_US(), msgtemplate: msgtemplate_en_US(),
......
...@@ -7,7 +7,7 @@ import wfmember_zh_CN from '@locale/lanres/entities/wfmember/wfmember_zh_CN'; ...@@ -7,7 +7,7 @@ import wfmember_zh_CN from '@locale/lanres/entities/wfmember/wfmember_zh_CN';
import syspost_zh_CN from '@locale/lanres/entities/sys-post/sys-post_zh_CN'; import syspost_zh_CN from '@locale/lanres/entities/sys-post/sys-post_zh_CN';
import sysuserauth_zh_CN from '@locale/lanres/entities/sys-user-auth/sys-user-auth_zh_CN'; import sysuserauth_zh_CN from '@locale/lanres/entities/sys-user-auth/sys-user-auth_zh_CN';
import sysdepartment_zh_CN from '@locale/lanres/entities/sys-department/sys-department_zh_CN'; import sysdepartment_zh_CN from '@locale/lanres/entities/sys-department/sys-department_zh_CN';
import meta_dynamicmodel_zh_CN from '@locale/lanres/entities/meta-dynamicmodel/meta-dynamicmodel_zh_CN'; import metadynamicmodel_zh_CN from '@locale/lanres/entities/meta-dynamic-model/meta-dynamic-model_zh_CN';
import sysemployee_zh_CN from '@locale/lanres/entities/sys-employee/sys-employee_zh_CN'; import sysemployee_zh_CN from '@locale/lanres/entities/sys-employee/sys-employee_zh_CN';
import paytrade_zh_CN from '@locale/lanres/entities/pay-trade/pay-trade_zh_CN'; import paytrade_zh_CN from '@locale/lanres/entities/pay-trade/pay-trade_zh_CN';
import msgtemplate_zh_CN from '@locale/lanres/entities/msg-template/msg-template_zh_CN'; import msgtemplate_zh_CN from '@locale/lanres/entities/msg-template/msg-template_zh_CN';
...@@ -293,7 +293,7 @@ function getAppLocale(){ ...@@ -293,7 +293,7 @@ function getAppLocale(){
syspost: syspost_zh_CN(), syspost: syspost_zh_CN(),
sysuserauth: sysuserauth_zh_CN(), sysuserauth: sysuserauth_zh_CN(),
sysdepartment: sysdepartment_zh_CN(), sysdepartment: sysdepartment_zh_CN(),
meta_dynamicmodel: meta_dynamicmodel_zh_CN(), metadynamicmodel: metadynamicmodel_zh_CN(),
sysemployee: sysemployee_zh_CN(), sysemployee: sysemployee_zh_CN(),
paytrade: paytrade_zh_CN(), paytrade: paytrade_zh_CN(),
msgtemplate: msgtemplate_zh_CN(), msgtemplate: msgtemplate_zh_CN(),
......
import MetaDynamicModel_BO_CN_Base from './meta-dynamic-model_BO_CN_base';
function getLocaleResource(){
const MetaDynamicModel_BO_CN_OwnData = {};
const targetData = Object.assign(MetaDynamicModel_BO_CN_Base(), MetaDynamicModel_BO_CN_OwnData);
return targetData;
}
export default getLocaleResource;
\ No newline at end of file
import commonLogic from '@/locale/logic/common/common-logic';
function getLocaleResourceBase(){
const data:any = {
fields: {
dynainstid: commonLogic.appcommonhandle("动态实例",null),
system_id: commonLogic.appcommonhandle("系统",null),
configid: commonLogic.appcommonhandle("配置标识",null),
configname: commonLogic.appcommonhandle("配置名称",null),
pdynainstid: commonLogic.appcommonhandle("父实例",null),
modelfile: commonLogic.appcommonhandle("文件",null),
status: commonLogic.appcommonhandle("状态",null),
},
views: {
dynainsteditview: {
caption: commonLogic.appcommonhandle("动态模型",null),
title: commonLogic.appcommonhandle("动态模型编辑视图",null),
},
gridview: {
caption: commonLogic.appcommonhandle("动态模型",null),
title: commonLogic.appcommonhandle("动态模型",null),
},
dynainstgridview: {
caption: commonLogic.appcommonhandle("动态模型表格视图",null),
title: commonLogic.appcommonhandle("动态模型表格视图",null),
},
},
dynainst_form: {
details: {
druipart1: commonLogic.appcommonhandle("副本",null),
tabpage1: commonLogic.appcommonhandle("副本",null),
tabpanel1: commonLogic.appcommonhandle("",null),
group1: commonLogic.appcommonhandle("动态模型基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("配置标识",null),
srfmajortext: commonLogic.appcommonhandle("配置名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
configname: commonLogic.appcommonhandle("配置名称",null),
formitem: commonLogic.appcommonhandle("文件",null),
systemid: commonLogic.appcommonhandle("系统",null),
configid: commonLogic.appcommonhandle("配置标识",null),
},
uiactions: {
},
},
main_grid: {
columns: {
configname: commonLogic.appcommonhandle("配置名称",null),
systemid: commonLogic.appcommonhandle("系统",null),
dynainstid: commonLogic.appcommonhandle("动态实例",null),
status: commonLogic.appcommonhandle("状态",null),
},
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
default_searchform: {
details: {
formpage1: commonLogic.appcommonhandle("常规条件",null),
},
uiactions: {
},
},
dynainsteditviewtoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null),
},
deuiaction1: {
caption: commonLogic.appcommonhandle("保存并关闭",null),
tip: commonLogic.appcommonhandle("保存并关闭",null),
},
deuiaction2: {
caption: commonLogic.appcommonhandle("关闭",null),
tip: commonLogic.appcommonhandle("关闭",null),
},
tbitem6: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem14: {
caption: commonLogic.appcommonhandle("拷贝",null),
tip: commonLogic.appcommonhandle("拷贝",null),
},
},
gridviewtoolbar_toolbar: {
tbitem1_publish: {
caption: commonLogic.appcommonhandle("发布模型",null),
tip: commonLogic.appcommonhandle("发布模型",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem4: {
caption: commonLogic.appcommonhandle("编辑",null),
tip: commonLogic.appcommonhandle("编辑",null),
},
tbitem6: {
caption: commonLogic.appcommonhandle("拷贝",null),
tip: commonLogic.appcommonhandle("拷贝",null),
},
tbitem7: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("删除",null),
tip: commonLogic.appcommonhandle("删除",null),
},
tbitem9: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem13: {
caption: commonLogic.appcommonhandle("导出",null),
tip: commonLogic.appcommonhandle("导出",null),
},
tbitem10: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
tip: commonLogic.appcommonhandle("其它",null),
},
tbitem21: {
caption: commonLogic.appcommonhandle("导出数据模型",null),
tip: commonLogic.appcommonhandle("导出数据模型",null),
},
tbitem23: {
caption: commonLogic.appcommonhandle("数据导入",null),
tip: commonLogic.appcommonhandle("数据导入",null),
},
tbitem17: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem19: {
caption: commonLogic.appcommonhandle("过滤",null),
tip: commonLogic.appcommonhandle("过滤",null),
},
},
dynainstgridviewtoolbar_toolbar: {
tbitem1_publish: {
caption: commonLogic.appcommonhandle("发布模型",null),
tip: commonLogic.appcommonhandle("发布模型",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem4: {
caption: commonLogic.appcommonhandle("编辑",null),
tip: commonLogic.appcommonhandle("编辑",null),
},
tbitem6: {
caption: commonLogic.appcommonhandle("拷贝",null),
tip: commonLogic.appcommonhandle("拷贝",null),
},
tbitem7: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("删除",null),
tip: commonLogic.appcommonhandle("删除",null),
},
tbitem9: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem13: {
caption: commonLogic.appcommonhandle("导出",null),
tip: commonLogic.appcommonhandle("导出",null),
},
tbitem10: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
tip: commonLogic.appcommonhandle("其它",null),
},
tbitem21: {
caption: commonLogic.appcommonhandle("导出数据模型",null),
tip: commonLogic.appcommonhandle("导出数据模型",null),
},
tbitem23: {
caption: commonLogic.appcommonhandle("数据导入",null),
tip: commonLogic.appcommonhandle("数据导入",null),
},
tbitem17: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem19: {
caption: commonLogic.appcommonhandle("过滤",null),
tip: commonLogic.appcommonhandle("过滤",null),
},
},
};
return data;
}
export default getLocaleResourceBase;
\ No newline at end of file
import MetaDynamicModel_en_US_Base from './meta-dynamic-model_en_US_base';
function getLocaleResource(){
const MetaDynamicModel_en_US_OwnData = {};
const targetData = Object.assign(MetaDynamicModel_en_US_Base(), MetaDynamicModel_en_US_OwnData);
return targetData;
}
export default getLocaleResource;
\ No newline at end of file
import commonLogic from '@/locale/logic/common/common-logic';
function getLocaleResourceBase(){
const data:any = {
fields: {
dynainstid: commonLogic.appcommonhandle("动态实例",null),
system_id: commonLogic.appcommonhandle("系统",null),
configid: commonLogic.appcommonhandle("配置标识",null),
configname: commonLogic.appcommonhandle("配置名称",null),
pdynainstid: commonLogic.appcommonhandle("父实例",null),
modelfile: commonLogic.appcommonhandle("文件",null),
status: commonLogic.appcommonhandle("状态",null),
},
views: {
dynainsteditview: {
caption: commonLogic.appcommonhandle("动态模型",null),
title: commonLogic.appcommonhandle("动态模型编辑视图",null),
},
gridview: {
caption: commonLogic.appcommonhandle("动态模型",null),
title: commonLogic.appcommonhandle("动态模型",null),
},
dynainstgridview: {
caption: commonLogic.appcommonhandle("动态模型表格视图",null),
title: commonLogic.appcommonhandle("动态模型表格视图",null),
},
},
dynainst_form: {
details: {
druipart1: commonLogic.appcommonhandle("副本",null),
tabpage1: commonLogic.appcommonhandle("副本",null),
tabpanel1: commonLogic.appcommonhandle("",null),
group1: commonLogic.appcommonhandle("动态模型基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("配置标识",null),
srfmajortext: commonLogic.appcommonhandle("配置名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
configname: commonLogic.appcommonhandle("配置名称",null),
formitem: commonLogic.appcommonhandle("文件",null),
systemid: commonLogic.appcommonhandle("系统",null),
configid: commonLogic.appcommonhandle("配置标识",null),
},
uiactions: {
},
},
main_grid: {
columns: {
configname: commonLogic.appcommonhandle("配置名称",null),
systemid: commonLogic.appcommonhandle("系统",null),
dynainstid: commonLogic.appcommonhandle("动态实例",null),
status: commonLogic.appcommonhandle("状态",null),
},
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
default_searchform: {
details: {
formpage1: commonLogic.appcommonhandle("常规条件",null),
},
uiactions: {
},
},
dynainsteditviewtoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null),
},
deuiaction1: {
caption: commonLogic.appcommonhandle("Save And Close",null),
tip: commonLogic.appcommonhandle("Save And Close Window",null),
},
deuiaction2: {
caption: commonLogic.appcommonhandle("关闭",null),
tip: commonLogic.appcommonhandle("关闭",null),
},
tbitem6: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem14: {
caption: commonLogic.appcommonhandle("Copy",null),
tip: commonLogic.appcommonhandle("Copy {0}",null),
},
},
gridviewtoolbar_toolbar: {
tbitem1_publish: {
caption: commonLogic.appcommonhandle("发布模型",null),
tip: commonLogic.appcommonhandle("发布模型",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem4: {
caption: commonLogic.appcommonhandle("Edit",null),
tip: commonLogic.appcommonhandle("Edit {0}",null),
},
tbitem6: {
caption: commonLogic.appcommonhandle("Copy",null),
tip: commonLogic.appcommonhandle("Copy {0}",null),
},
tbitem7: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("Remove",null),
tip: commonLogic.appcommonhandle("Remove {0}",null),
},
tbitem9: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem13: {
caption: commonLogic.appcommonhandle("Export",null),
tip: commonLogic.appcommonhandle("Export {0} Data To Excel",null),
},
tbitem10: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
tip: commonLogic.appcommonhandle("其它",null),
},
tbitem21: {
caption: commonLogic.appcommonhandle("Export Data Model",null),
tip: commonLogic.appcommonhandle("导出数据模型",null),
},
tbitem23: {
caption: commonLogic.appcommonhandle("数据导入",null),
tip: commonLogic.appcommonhandle("数据导入",null),
},
tbitem17: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem19: {
caption: commonLogic.appcommonhandle("Filter",null),
tip: commonLogic.appcommonhandle("Filter",null),
},
},
dynainstgridviewtoolbar_toolbar: {
tbitem1_publish: {
caption: commonLogic.appcommonhandle("发布模型",null),
tip: commonLogic.appcommonhandle("发布模型",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem4: {
caption: commonLogic.appcommonhandle("Edit",null),
tip: commonLogic.appcommonhandle("Edit {0}",null),
},
tbitem6: {
caption: commonLogic.appcommonhandle("Copy",null),
tip: commonLogic.appcommonhandle("Copy {0}",null),
},
tbitem7: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("Remove",null),
tip: commonLogic.appcommonhandle("Remove {0}",null),
},
tbitem9: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem13: {
caption: commonLogic.appcommonhandle("Export",null),
tip: commonLogic.appcommonhandle("Export {0} Data To Excel",null),
},
tbitem10: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
tip: commonLogic.appcommonhandle("其它",null),
},
tbitem21: {
caption: commonLogic.appcommonhandle("Export Data Model",null),
tip: commonLogic.appcommonhandle("导出数据模型",null),
},
tbitem23: {
caption: commonLogic.appcommonhandle("数据导入",null),
tip: commonLogic.appcommonhandle("数据导入",null),
},
tbitem17: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem19: {
caption: commonLogic.appcommonhandle("Filter",null),
tip: commonLogic.appcommonhandle("Filter",null),
},
},
};
return data;
}
export default getLocaleResourceBase;
\ No newline at end of file
import MetaDynamicModel_zh_CN_Base from './meta-dynamic-model_zh_CN_base';
function getLocaleResource(){
const MetaDynamicModel_zh_CN_OwnData = {};
const targetData = Object.assign(MetaDynamicModel_zh_CN_Base(), MetaDynamicModel_zh_CN_OwnData);
return targetData;
}
export default getLocaleResource;
\ No newline at end of file
import commonLogic from '@/locale/logic/common/common-logic';
function getLocaleResourceBase(){
const data:any = {
fields: {
dynainstid: commonLogic.appcommonhandle("动态实例",null),
system_id: commonLogic.appcommonhandle("系统",null),
configid: commonLogic.appcommonhandle("配置标识",null),
configname: commonLogic.appcommonhandle("配置名称",null),
pdynainstid: commonLogic.appcommonhandle("父实例",null),
modelfile: commonLogic.appcommonhandle("文件",null),
status: commonLogic.appcommonhandle("状态",null),
},
views: {
dynainsteditview: {
caption: commonLogic.appcommonhandle("动态模型",null),
title: commonLogic.appcommonhandle("动态模型编辑视图",null),
},
gridview: {
caption: commonLogic.appcommonhandle("动态模型",null),
title: commonLogic.appcommonhandle("动态模型",null),
},
dynainstgridview: {
caption: commonLogic.appcommonhandle("动态模型表格视图",null),
title: commonLogic.appcommonhandle("动态模型表格视图",null),
},
},
dynainst_form: {
details: {
druipart1: commonLogic.appcommonhandle("副本",null),
tabpage1: commonLogic.appcommonhandle("副本",null),
tabpanel1: commonLogic.appcommonhandle("",null),
group1: commonLogic.appcommonhandle("动态模型基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("配置标识",null),
srfmajortext: commonLogic.appcommonhandle("配置名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
configname: commonLogic.appcommonhandle("配置名称",null),
formitem: commonLogic.appcommonhandle("文件",null),
systemid: commonLogic.appcommonhandle("系统",null),
configid: commonLogic.appcommonhandle("配置标识",null),
},
uiactions: {
},
},
main_grid: {
columns: {
configname: commonLogic.appcommonhandle("配置名称",null),
systemid: commonLogic.appcommonhandle("系统",null),
dynainstid: commonLogic.appcommonhandle("动态实例",null),
status: commonLogic.appcommonhandle("状态",null),
},
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
default_searchform: {
details: {
formpage1: commonLogic.appcommonhandle("常规条件",null),
},
uiactions: {
},
},
dynainsteditviewtoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null),
},
deuiaction1: {
caption: commonLogic.appcommonhandle("保存并关闭",null),
tip: commonLogic.appcommonhandle("保存并关闭",null),
},
deuiaction2: {
caption: commonLogic.appcommonhandle("关闭",null),
tip: commonLogic.appcommonhandle("关闭",null),
},
tbitem6: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem14: {
caption: commonLogic.appcommonhandle("拷贝",null),
tip: commonLogic.appcommonhandle("拷贝",null),
},
},
gridviewtoolbar_toolbar: {
tbitem1_publish: {
caption: commonLogic.appcommonhandle("发布模型",null),
tip: commonLogic.appcommonhandle("发布模型",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem4: {
caption: commonLogic.appcommonhandle("编辑",null),
tip: commonLogic.appcommonhandle("编辑",null),
},
tbitem6: {
caption: commonLogic.appcommonhandle("拷贝",null),
tip: commonLogic.appcommonhandle("拷贝",null),
},
tbitem7: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("删除",null),
tip: commonLogic.appcommonhandle("删除",null),
},
tbitem9: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem13: {
caption: commonLogic.appcommonhandle("导出",null),
tip: commonLogic.appcommonhandle("导出",null),
},
tbitem10: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
tip: commonLogic.appcommonhandle("其它",null),
},
tbitem21: {
caption: commonLogic.appcommonhandle("导出数据模型",null),
tip: commonLogic.appcommonhandle("导出数据模型",null),
},
tbitem23: {
caption: commonLogic.appcommonhandle("数据导入",null),
tip: commonLogic.appcommonhandle("数据导入",null),
},
tbitem17: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem19: {
caption: commonLogic.appcommonhandle("过滤",null),
tip: commonLogic.appcommonhandle("过滤",null),
},
},
dynainstgridviewtoolbar_toolbar: {
tbitem1_publish: {
caption: commonLogic.appcommonhandle("发布模型",null),
tip: commonLogic.appcommonhandle("发布模型",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem4: {
caption: commonLogic.appcommonhandle("编辑",null),
tip: commonLogic.appcommonhandle("编辑",null),
},
tbitem6: {
caption: commonLogic.appcommonhandle("拷贝",null),
tip: commonLogic.appcommonhandle("拷贝",null),
},
tbitem7: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("删除",null),
tip: commonLogic.appcommonhandle("删除",null),
},
tbitem9: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem13: {
caption: commonLogic.appcommonhandle("导出",null),
tip: commonLogic.appcommonhandle("导出",null),
},
tbitem10: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
tip: commonLogic.appcommonhandle("其它",null),
},
tbitem21: {
caption: commonLogic.appcommonhandle("导出数据模型",null),
tip: commonLogic.appcommonhandle("导出数据模型",null),
},
tbitem23: {
caption: commonLogic.appcommonhandle("数据导入",null),
tip: commonLogic.appcommonhandle("数据导入",null),
},
tbitem17: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem19: {
caption: commonLogic.appcommonhandle("过滤",null),
tip: commonLogic.appcommonhandle("过滤",null),
},
},
};
return data;
}
export default getLocaleResourceBase;
\ No newline at end of file
...@@ -16,7 +16,7 @@ import './entity/wfmembers/wfmembers'; ...@@ -16,7 +16,7 @@ import './entity/wfmembers/wfmembers';
import './entity/sys-posts/sys-posts'; import './entity/sys-posts/sys-posts';
import './entity/sys-user-auths/sys-user-auths'; import './entity/sys-user-auths/sys-user-auths';
import './entity/sys-departments/sys-departments'; import './entity/sys-departments/sys-departments';
import './entity/meta-dynamicmodels/meta-dynamicmodels'; import './entity/meta-dynamic-models/meta-dynamic-models';
import './entity/sys-employees/sys-employees'; import './entity/sys-employees/sys-employees';
import './entity/pay-trades/pay-trades'; import './entity/pay-trades/pay-trades';
import './entity/msg-templates/msg-templates'; import './entity/msg-templates/msg-templates';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import META_DYNAMICMODELDynaInstEditViewBase from './meta-dynamicmodeldyna-inst-edit-view-base.vue'; import META_DYNAMICMODELDynaInstEditViewBase from './meta-dynamicmodeldyna-inst-edit-view-base.vue';
import view_form from '@widgets/meta-dynamicmodel/dyna-inst-form/dyna-inst-form.vue'; import view_form from '@widgets/meta-dynamic-model/dyna-inst-form/dyna-inst-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_form,
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import META_DYNAMICMODELDynaInstGridViewBase from './meta-dynamicmodeldyna-inst-grid-view-base.vue'; import META_DYNAMICMODELDynaInstGridViewBase from './meta-dynamicmodeldyna-inst-grid-view-base.vue';
import view_grid from '@widgets/meta-dynamicmodel/main-grid/main-grid.vue'; import view_grid from '@widgets/meta-dynamic-model/main-grid/main-grid.vue';
import view_searchform from '@widgets/meta-dynamicmodel/default-searchform/default-searchform.vue'; import view_searchform from '@widgets/meta-dynamic-model/default-searchform/default-searchform.vue';
@Component({ @Component({
components: { components: {
view_grid, view_grid,
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import META_DYNAMICMODELGridViewBase from './meta-dynamicmodelgrid-view-base.vue'; import META_DYNAMICMODELGridViewBase from './meta-dynamicmodelgrid-view-base.vue';
import view_grid from '@widgets/meta-dynamicmodel/main-grid/main-grid.vue'; import view_grid from '@widgets/meta-dynamic-model/main-grid/main-grid.vue';
import view_searchform from '@widgets/meta-dynamicmodel/default-searchform/default-searchform.vue'; import view_searchform from '@widgets/meta-dynamic-model/default-searchform/default-searchform.vue';
@Component({ @Component({
components: { components: {
view_grid, view_grid,
......
...@@ -659,13 +659,13 @@ const router = new Router({ ...@@ -659,13 +659,13 @@ const router = new Router({
component: () => import('@pages/uaa/sys-open-access-grid-view/sys-open-access-grid-view.vue'), component: () => import('@pages/uaa/sys-open-access-grid-view/sys-open-access-grid-view.vue'),
}, },
{ {
path: 'meta_dynamicmodels/:meta_dynamicmodel?/dynainsteditview/:dynainsteditview?', path: 'metadynamicmodels/:metadynamicmodel?/dynainsteditview/:dynainsteditview?',
meta: { meta: {
caption: 'entities.meta_dynamicmodel.views.dynainsteditview.caption', caption: 'entities.metadynamicmodel.views.dynainsteditview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'index', parameterName: 'index' }, { pathName: 'index', parameterName: 'index' },
{ pathName: 'meta_dynamicmodels', parameterName: 'meta_dynamicmodel' }, { pathName: 'metadynamicmodels', parameterName: 'metadynamicmodel' },
{ pathName: 'dynainsteditview', parameterName: 'dynainsteditview' }, { pathName: 'dynainsteditview', parameterName: 'dynainsteditview' },
], ],
requireAuth: true, requireAuth: true,
...@@ -673,13 +673,13 @@ const router = new Router({ ...@@ -673,13 +673,13 @@ const router = new Router({
component: () => import('@pages/disk/meta-dynamicmodeldyna-inst-edit-view/meta-dynamicmodeldyna-inst-edit-view.vue'), component: () => import('@pages/disk/meta-dynamicmodeldyna-inst-edit-view/meta-dynamicmodeldyna-inst-edit-view.vue'),
}, },
{ {
path: 'meta_dynamicmodels/:meta_dynamicmodel?/gridview/:gridview?', path: 'metadynamicmodels/:metadynamicmodel?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.meta_dynamicmodel.views.gridview.caption', caption: 'entities.metadynamicmodel.views.gridview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'index', parameterName: 'index' }, { pathName: 'index', parameterName: 'index' },
{ pathName: 'meta_dynamicmodels', parameterName: 'meta_dynamicmodel' }, { pathName: 'metadynamicmodels', parameterName: 'metadynamicmodel' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
...@@ -2004,13 +2004,13 @@ const router = new Router({ ...@@ -2004,13 +2004,13 @@ const router = new Router({
component: () => import('@pages/uaa/sys-role-pickup-view/sys-role-pickup-view.vue'), component: () => import('@pages/uaa/sys-role-pickup-view/sys-role-pickup-view.vue'),
}, },
{ {
path: 'meta_dynamicmodels/:meta_dynamicmodel?/dynainstgridview/:dynainstgridview?', path: 'metadynamicmodels/:metadynamicmodel?/dynainstgridview/:dynainstgridview?',
meta: { meta: {
caption: 'entities.meta_dynamicmodel.views.dynainstgridview.caption', caption: 'entities.metadynamicmodel.views.dynainstgridview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'index', parameterName: 'index' }, { pathName: 'index', parameterName: 'index' },
{ pathName: 'meta_dynamicmodels', parameterName: 'meta_dynamicmodel' }, { pathName: 'metadynamicmodels', parameterName: 'metadynamicmodel' },
{ pathName: 'dynainstgridview', parameterName: 'dynainstgridview' }, { pathName: 'dynainstgridview', parameterName: 'dynainstgridview' },
], ],
requireAuth: true, requireAuth: true,
...@@ -3262,12 +3262,12 @@ const router = new Router({ ...@@ -3262,12 +3262,12 @@ const router = new Router({
component: () => import('@pages/workflow/wfgroup-mpickup-view/wfgroup-mpickup-view.vue'), component: () => import('@pages/workflow/wfgroup-mpickup-view/wfgroup-mpickup-view.vue'),
}, },
{ {
path: '/meta_dynamicmodels/:meta_dynamicmodel?/dynainsteditview/:dynainsteditview?', path: '/metadynamicmodels/:metadynamicmodel?/dynainsteditview/:dynainsteditview?',
meta: { meta: {
caption: 'entities.meta_dynamicmodel.views.dynainsteditview.caption', caption: 'entities.metadynamicmodel.views.dynainsteditview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'meta_dynamicmodels', parameterName: 'meta_dynamicmodel' }, { pathName: 'metadynamicmodels', parameterName: 'metadynamicmodel' },
{ pathName: 'dynainsteditview', parameterName: 'dynainsteditview' }, { pathName: 'dynainsteditview', parameterName: 'dynainsteditview' },
], ],
requireAuth: true, requireAuth: true,
...@@ -3506,12 +3506,12 @@ const router = new Router({ ...@@ -3506,12 +3506,12 @@ const router = new Router({
component: () => import('@pages/ou/sys-employee-mpickup-view/sys-employee-mpickup-view.vue'), component: () => import('@pages/ou/sys-employee-mpickup-view/sys-employee-mpickup-view.vue'),
}, },
{ {
path: '/meta_dynamicmodels/:meta_dynamicmodel?/gridview/:gridview?', path: '/metadynamicmodels/:metadynamicmodel?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.meta_dynamicmodel.views.gridview.caption', caption: 'entities.metadynamicmodel.views.gridview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'meta_dynamicmodels', parameterName: 'meta_dynamicmodel' }, { pathName: 'metadynamicmodels', parameterName: 'metadynamicmodel' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
...@@ -3842,12 +3842,12 @@ const router = new Router({ ...@@ -3842,12 +3842,12 @@ const router = new Router({
component: () => import('@pages/workflow/wfuser-pickup-grid-view/wfuser-pickup-grid-view.vue'), component: () => import('@pages/workflow/wfuser-pickup-grid-view/wfuser-pickup-grid-view.vue'),
}, },
{ {
path: '/meta_dynamicmodels/:meta_dynamicmodel?/dynainstgridview/:dynainstgridview?', path: '/metadynamicmodels/:metadynamicmodel?/dynainstgridview/:dynainstgridview?',
meta: { meta: {
caption: 'entities.meta_dynamicmodel.views.dynainstgridview.caption', caption: 'entities.metadynamicmodel.views.dynainstgridview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'meta_dynamicmodels', parameterName: 'meta_dynamicmodel' }, { pathName: 'metadynamicmodels', parameterName: 'metadynamicmodel' },
{ pathName: 'dynainstgridview', parameterName: 'dynainstgridview' }, { pathName: 'dynainstgridview', parameterName: 'dynainstgridview' },
], ],
requireAuth: true, requireAuth: true,
......
...@@ -48,7 +48,7 @@ export class EntityServiceRegister { ...@@ -48,7 +48,7 @@ export class EntityServiceRegister {
this.allEntityService.set('syspost', () => import('@/service/sys-post/sys-post-service')); this.allEntityService.set('syspost', () => import('@/service/sys-post/sys-post-service'));
this.allEntityService.set('sysuserauth', () => import('@/service/sys-user-auth/sys-user-auth-service')); this.allEntityService.set('sysuserauth', () => import('@/service/sys-user-auth/sys-user-auth-service'));
this.allEntityService.set('sysdepartment', () => import('@/service/sys-department/sys-department-service')); this.allEntityService.set('sysdepartment', () => import('@/service/sys-department/sys-department-service'));
this.allEntityService.set('meta_dynamicmodel', () => import('@/service/meta-dynamicmodel/meta-dynamicmodel-service')); this.allEntityService.set('metadynamicmodel', () => import('@/service/meta-dynamic-model/meta-dynamic-model-service'));
this.allEntityService.set('sysemployee', () => import('@/service/sys-employee/sys-employee-service')); this.allEntityService.set('sysemployee', () => import('@/service/sys-employee/sys-employee-service'));
this.allEntityService.set('paytrade', () => import('@/service/pay-trade/pay-trade-service')); this.allEntityService.set('paytrade', () => import('@/service/pay-trade/pay-trade-service'));
this.allEntityService.set('msgtemplate', () => import('@/service/msg-template/msg-template-service')); this.allEntityService.set('msgtemplate', () => import('@/service/msg-template/msg-template-service'));
......
import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 动态模型服务对象基类
*
* @export
* @class MetaDynamicModelServiceBase
* @extends {EntityServie}
*/
export default class MetaDynamicModelServiceBase extends EntityService {
/**
* Creates an instance of MetaDynamicModelServiceBase.
*
* @param {*} [opts={}]
* @memberof MetaDynamicModelServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础数据
*
* @memberof MetaDynamicModelServiceBase
*/
public initBasicData(){
this.APPLYDEKEY ='metadynamicmodel';
this.APPDEKEY = 'configid';
this.APPDENAME = 'metadynamicmodels';
this.APPDETEXT = 'configname';
this.APPNAME = 'web';
this.SYSTEMNAME = 'ibzrt';
}
// 实体接口
/**
* Select接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async Select(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().get(`/metadynamicmodels/${context.metadynamicmodel}/select`,isloading);
return res;
}
/**
* Create接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async Create(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let masterData:any = {};
Object.assign(data,masterData);
if(!data.srffrontuf || data.srffrontuf !== "1"){
data[this.APPDEKEY] = null;
}
if(data.srffrontuf){
delete data.srffrontuf;
}
let tempContext:any = JSON.parse(JSON.stringify(context));
let res:any = await Http.getInstance().post(`/metadynamicmodels`,data,isloading);
return res;
}
/**
* Update接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async Update(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let masterData:any = {};
Object.assign(data,masterData);
let res:any = await Http.getInstance().put(`/metadynamicmodels/${context.metadynamicmodel}`,data,isloading);
return res;
}
/**
* Remove接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async Remove(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().delete(`/metadynamicmodels/${context.metadynamicmodel}`,isloading);
return res;
}
/**
* Get接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async Get(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/metadynamicmodels/${context.metadynamicmodel}`,isloading);
return res;
}
/**
* GetDraft接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async GetDraft(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/metadynamicmodels/getdraft`,isloading);
res.data.metadynamicmodel = data.metadynamicmodel;
return res;
}
/**
* CheckKey接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async CheckKey(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().post(`/metadynamicmodels/${context.metadynamicmodel}/checkkey`,data,isloading);
return res;
}
/**
* Init接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async Init(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().post(`/metadynamicmodels/${context.metadynamicmodel}/init`,data,isloading);
return res;
}
/**
* InitBatch接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async InitBatch(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
return await Http.getInstance().post(`/metadynamicmodels/initbatch`,tempData,isloading);
}
/**
* Publish接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async Publish(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().post(`/metadynamicmodels/${context.metadynamicmodel}/publish`,data,isloading);
return res;
}
/**
* PublishBatch接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async PublishBatch(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
return await Http.getInstance().post(`/metadynamicmodels/publishbatch`,tempData,isloading);
}
/**
* Save接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async Save(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let masterData:any = {};
Object.assign(data,masterData);
let res:any = await Http.getInstance().post(`/metadynamicmodels/${context.metadynamicmodel}/save`,data,isloading);
return res;
}
/**
* FetchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async FetchDefault(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
let res:any = Http.getInstance().get(`/metadynamicmodels/fetchdefault`,tempData,isloading);
return res;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async searchDefault(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
return await Http.getInstance().post(`/metadynamicmodels/searchdefault`,tempData,isloading);
}
/**
* FetchDynaInst接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async FetchDynaInst(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
let res:any = Http.getInstance().get(`/metadynamicmodels/fetchdynainst`,tempData,isloading);
return res;
}
/**
* searchDynaInst接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof MetaDynamicModelServiceBase
*/
public async searchDynaInst(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
return await Http.getInstance().post(`/metadynamicmodels/searchdynainst`,tempData,isloading);
}
}
\ No newline at end of file
import { Http,Util } from '@/utils';
import MetaDynamicModelServiceBase from './meta-dynamic-model-service-base';
/**
* 动态模型服务对象
*
* @export
* @class MetaDynamicModelService
* @extends {MetaDynamicModelServiceBase}
*/
export default class MetaDynamicModelService extends MetaDynamicModelServiceBase {
/**
* Creates an instance of MetaDynamicModelService.
*
* @param {*} [opts={}]
* @memberof MetaDynamicModelService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
...@@ -584,6 +584,16 @@ export const viewstate: any = { ...@@ -584,6 +584,16 @@ export const viewstate: any = {
'17ccd6d8d2bb7cf30158253da129ec1b', '17ccd6d8d2bb7cf30158253da129ec1b',
], ],
}, },
{
viewtag: '92d51d41db51a671793ee8dc8876f9e9',
viewmodule: 'disk',
viewname: 'META_DYNAMICMODELDynaInstEditView',
viewaction: '',
viewdatachange: false,
refviews: [
'af9cfc34d957186380a012e322abff0c',
],
},
{ {
viewtag: '95d8c933cf4df47634a25d791b3d8564', viewtag: '95d8c933cf4df47634a25d791b3d8564',
viewmodule: 'uaa', viewmodule: 'uaa',
...@@ -672,6 +682,16 @@ export const viewstate: any = { ...@@ -672,6 +682,16 @@ export const viewstate: any = {
'ed2bd80851a999d7a0d70ea15507ad0d', 'ed2bd80851a999d7a0d70ea15507ad0d',
], ],
}, },
{
viewtag: 'af9cfc34d957186380a012e322abff0c',
viewmodule: 'disk',
viewname: 'META_DYNAMICMODELGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'92d51d41db51a671793ee8dc8876f9e9',
],
},
{ {
viewtag: 'b05c9353d499f973106e6ed4dde58074', viewtag: 'b05c9353d499f973106e6ed4dde58074',
viewmodule: 'workflow', viewmodule: 'workflow',
...@@ -797,6 +817,16 @@ export const viewstate: any = { ...@@ -797,6 +817,16 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: 'cec3236f5a1f742f9b91f313506ccc6c',
viewmodule: 'disk',
viewname: 'META_DYNAMICMODELDynaInstGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'92d51d41db51a671793ee8dc8876f9e9',
],
},
{ {
viewtag: 'd076f344eefde0fdc8d5ea6eab40e4c5', viewtag: 'd076f344eefde0fdc8d5ea6eab40e4c5',
viewmodule: 'ou', viewmodule: 'ou',
......
import MetaDynamicModelUIServiceBase from './meta-dynamic-model-ui-service-base';
/**
* 动态模型UI服务对象
*
* @export
* @class MetaDynamicModelUIService
*/
export default class MetaDynamicModelUIService extends MetaDynamicModelUIServiceBase {
/**
* Creates an instance of MetaDynamicModelUIService.
*
* @param {*} [opts={}]
* @memberof MetaDynamicModelUIService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
...@@ -48,7 +48,7 @@ export class UIServiceRegister { ...@@ -48,7 +48,7 @@ export class UIServiceRegister {
this.allUIService.set('syspost', () => import('@/uiservice/sys-post/sys-post-ui-service')); this.allUIService.set('syspost', () => import('@/uiservice/sys-post/sys-post-ui-service'));
this.allUIService.set('sysuserauth', () => import('@/uiservice/sys-user-auth/sys-user-auth-ui-service')); this.allUIService.set('sysuserauth', () => import('@/uiservice/sys-user-auth/sys-user-auth-ui-service'));
this.allUIService.set('sysdepartment', () => import('@/uiservice/sys-department/sys-department-ui-service')); this.allUIService.set('sysdepartment', () => import('@/uiservice/sys-department/sys-department-ui-service'));
this.allUIService.set('meta_dynamicmodel', () => import('@/uiservice/meta-dynamicmodel/meta-dynamicmodel-ui-service')); this.allUIService.set('metadynamicmodel', () => import('@/uiservice/meta-dynamic-model/meta-dynamic-model-ui-service'));
this.allUIService.set('sysemployee', () => import('@/uiservice/sys-employee/sys-employee-ui-service')); this.allUIService.set('sysemployee', () => import('@/uiservice/sys-employee/sys-employee-ui-service'));
this.allUIService.set('paytrade', () => import('@/uiservice/pay-trade/pay-trade-ui-service')); this.allUIService.set('paytrade', () => import('@/uiservice/pay-trade/pay-trade-ui-service'));
this.allUIService.set('msgtemplate', () => import('@/uiservice/msg-template/msg-template-ui-service')); this.allUIService.set('msgtemplate', () => import('@/uiservice/msg-template/msg-template-ui-service'));
......
...@@ -745,7 +745,7 @@ export default class IndexBase extends Vue implements ControlInterface { ...@@ -745,7 +745,7 @@ export default class IndexBase extends Vue implements ControlInterface {
Object.assign(viewparam, {}); Object.assign(viewparam, {});
const deResParameters: any[] = []; const deResParameters: any[] = [];
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'meta_dynamicmodels', parameterName: 'meta_dynamicmodel' }, { pathName: 'metadynamicmodels', parameterName: 'metadynamicmodel' },
{ pathName: 'dynainstgridview', parameterName: 'dynainstgridview' }, { pathName: 'dynainstgridview', parameterName: 'dynainstgridview' },
]; ];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam); const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
......
/**
* Default 部件模型
*
* @export
* @class DefaultModel
*/
export default class DefaultModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DefaultModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
]
}
}
\ No newline at end of file
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-search-form {
padding: 8px 14px 0;
.ivu-form-item{
margin-bottom: 8px;
}
.search_reset {
margin-right: 12px;
margin-bottom: 8px;
}
.search-button{
text-align: right;
}
}
.app-search-form-flex {
height: 100%;
> .ivu-row {
height: 100%;
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import DefaultBase from './default-searchform-base.vue';
@Component({
components: {
}
})
export default class Default extends DefaultBase {
}
</script>
\ No newline at end of file
/**
* DynaInst 部件模型
*
* @export
* @class DynaInstModel
*/
export default class DynaInstModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DynaInstModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'srforikey',
},
{
name: 'srfkey',
prop: 'configid',
dataType: 'TEXT',
},
{
name: 'srfmajortext',
prop: 'configname',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'configname',
prop: 'configname',
dataType: 'TEXT',
},
{
name: 'formitem',
prop: 'modelfile',
dataType: 'TEXT',
},
{
name: 'systemid',
prop: 'system_id',
dataType: 'TEXT',
},
{
name: 'configid',
prop: 'configid',
dataType: 'TEXT',
},
{
name: 'metadynamicmodel',
prop: 'configid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-form {
overflow: auto;
padding: 6px;
> .ivu-row {
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
.app-form {
>.ivu-row:nth-child(2) {
>.ivu-col:nth-child(1) {
>.ivu-row.app-form-group.app-group-hiddden-caption:nth-child(1) {
margin-top: 12px;
}
}
}
}
.app-form{
// 表单行间距
.app-form-item{
margin-bottom: 20px;
}
// 表单按钮margin
.app-form-button{
margin:0 6px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import DynaInstBase from './dyna-inst-form-base.vue';
@Component({
components: {
}
})
export default class DynaInst extends DynaInstBase {
}
</script>
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import MainBase from './main-grid-base.vue';
@Component({
components: {
}
})
export default class Main extends MainBase {
}
</script>
\ No newline at end of file
...@@ -44,7 +44,7 @@ zuul: ...@@ -44,7 +44,7 @@ zuul:
serviceId: ${ibiz.ref.service.ibzou-api:ibzou-api} serviceId: ${ibiz.ref.service.ibzou-api:ibzou-api}
stripPrefix: false stripPrefix: false
meta_dynamicmodel: meta_dynamicmodel:
path: /meta_dynamicmodels/** path: /metadynamicmodels/**
serviceId: ${ibiz.ref.service.ibzdisk-api:ibzdisk-api} serviceId: ${ibiz.ref.service.ibzdisk-api:ibzdisk-api}
stripPrefix: false stripPrefix: false
sys_emp: sys_emp:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册