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

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

上级 d2c0c3bd
...@@ -51,51 +51,60 @@ ...@@ -51,51 +51,60 @@
] ]
}, },
{ {
"srfkey": "UaaOpenAccessType", "srfkey": "DynamicModelStatus",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
{ {
"id": "aliyun", "id": "0",
"label": "阿里云", "label": "未激活",
"text": "阿里云", "text": "未激活",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Aliyun", "codename":"Item_0",
"value": "aliyun", "color": "rgba(245, 158, 18, 1)",
"value": "0",
"disabled": false "disabled": false
} }
, { , {
"id": "wechat", "id": "1",
"label": "微信开放平台", "label": "已激活",
"text": "微信开放平台", "text": "已激活",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Wechat", "codename":"Item_1",
"value": "wechat", "color": "rgba(100, 235, 22, 1)",
"value": "1",
"disabled": false "disabled": false
} }
, { ]
"id": "qq", },
"label": "QQ互联", {
"text": "QQ互联", "srfkey": "YesNo",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "是",
"text": "是",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Qq", "codename":"Item_1",
"value": "qq", "value": "1",
"disabled": false "disabled": false
} }
, { , {
"id": "dingtalk", "id": "0",
"label": "钉钉开放平台", "label": "",
"text": "钉钉开放平台", "text": "",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Dingtalk", "codename":"Item_0",
"value": "dingtalk", "value": "0",
"disabled": false "disabled": false
} }
...@@ -152,35 +161,6 @@ ...@@ -152,35 +161,6 @@
} }
] ]
}, },
{
"srfkey": "YesNo",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "是",
"text": "是",
"class":"",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "0",
"label": "否",
"text": "否",
"class":"",
"data":"",
"codename":"Item_0",
"value": "0",
"disabled": false
}
]
},
{ {
"srfkey": "CLIBZSex", "srfkey": "CLIBZSex",
"emptytext": "", "emptytext": "",
...@@ -252,57 +232,6 @@ ...@@ -252,57 +232,6 @@
} }
] ]
}, },
{
"srfkey": "NotifyOpenAccessType",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "aliyun",
"label": "阿里云",
"text": "阿里云",
"class":"",
"data":"",
"codename":"Aliyun",
"value": "aliyun",
"disabled": false
}
, {
"id": "wechat",
"label": "微信开放平台",
"text": "微信开放平台",
"class":"",
"data":"",
"codename":"Wechat",
"value": "wechat",
"disabled": false
}
, {
"id": "qq",
"label": "QQ互联",
"text": "QQ互联",
"class":"",
"data":"",
"codename":"Qq",
"value": "qq",
"disabled": false
}
, {
"id": "dingtalk",
"label": "钉钉开放平台",
"text": "钉钉开放平台",
"class":"",
"data":"",
"codename":"Dingtalk",
"value": "dingtalk",
"disabled": false
}
]
},
{ {
"srfkey": "CLAuthCode", "srfkey": "CLAuthCode",
"emptytext": "未定义", "emptytext": "未定义",
...@@ -393,6 +322,108 @@ ...@@ -393,6 +322,108 @@
"codename":"Third_SUB_party", "codename":"Third_SUB_party",
"value": "THIRD-PARTY", "value": "THIRD-PARTY",
"disabled": false
}
]
},
{
"srfkey": "NotifyOpenAccessType",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "aliyun",
"label": "阿里云",
"text": "阿里云",
"class":"",
"data":"",
"codename":"Aliyun",
"value": "aliyun",
"disabled": false
}
, {
"id": "wechat",
"label": "微信开放平台",
"text": "微信开放平台",
"class":"",
"data":"",
"codename":"Wechat",
"value": "wechat",
"disabled": false
}
, {
"id": "qq",
"label": "QQ互联",
"text": "QQ互联",
"class":"",
"data":"",
"codename":"Qq",
"value": "qq",
"disabled": false
}
, {
"id": "dingtalk",
"label": "钉钉开放平台",
"text": "钉钉开放平台",
"class":"",
"data":"",
"codename":"Dingtalk",
"value": "dingtalk",
"disabled": false
}
]
},
{
"srfkey": "UaaOpenAccessType",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "aliyun",
"label": "阿里云",
"text": "阿里云",
"class":"",
"data":"",
"codename":"Aliyun",
"value": "aliyun",
"disabled": false
}
, {
"id": "wechat",
"label": "微信开放平台",
"text": "微信开放平台",
"class":"",
"data":"",
"codename":"Wechat",
"value": "wechat",
"disabled": false
}
, {
"id": "qq",
"label": "QQ互联",
"text": "QQ互联",
"class":"",
"data":"",
"codename":"Qq",
"value": "qq",
"disabled": false
}
, {
"id": "dingtalk",
"label": "钉钉开放平台",
"text": "钉钉开放平台",
"class":"",
"data":"",
"codename":"Dingtalk",
"value": "dingtalk",
"disabled": false "disabled": false
} }
] ]
......
...@@ -495,6 +495,14 @@ ...@@ -495,6 +495,14 @@
"viewname": "SysOrganizationOptionView", "viewname": "SysOrganizationOptionView",
"viewtag": "915900ff6a784bf46e91a9a6aec79cf0" "viewtag": "915900ff6a784bf46e91a9a6aec79cf0"
}, },
"meta_dynamicmodeldynainsteditview": {
"title": "动态模型编辑视图",
"caption": "动态模型",
"viewtype": "DEEDITVIEW",
"viewmodule": "disk",
"viewname": "META_DYNAMICMODELDynaInstEditView",
"viewtag": "92d51d41db51a671793ee8dc8876f9e9"
},
"syspermissionpickupgridview": { "syspermissionpickupgridview": {
"title": "权限表选择表格视图", "title": "权限表选择表格视图",
"caption": "权限/资源", "caption": "权限/资源",
...@@ -575,6 +583,14 @@ ...@@ -575,6 +583,14 @@
"viewname": "SysEmployeeMPickupView", "viewname": "SysEmployeeMPickupView",
"viewtag": "af7290279f8b7645020401c1beb9269e" "viewtag": "af7290279f8b7645020401c1beb9269e"
}, },
"meta_dynamicmodelgridview": {
"title": "动态模型",
"caption": "动态模型",
"viewtype": "DEGRIDVIEW",
"viewmodule": "disk",
"viewname": "META_DYNAMICMODELGridView",
"viewtag": "af9cfc34d957186380a012e322abff0c"
},
"wfgrouppickupview": { "wfgrouppickupview": {
"title": "角色/用户组数据选择视图", "title": "角色/用户组数据选择视图",
"caption": "角色/用户组", "caption": "角色/用户组",
...@@ -655,6 +671,14 @@ ...@@ -655,6 +671,14 @@
"viewname": "WFUserPickupGridView", "viewname": "WFUserPickupGridView",
"viewtag": "c9c73c8d2e61bd29a304622f3d39b522" "viewtag": "c9c73c8d2e61bd29a304622f3d39b522"
}, },
"meta_dynamicmodeldynainstgridview": {
"title": "动态模型表格视图",
"caption": "动态模型表格视图",
"viewtype": "DEGRIDVIEW",
"viewmodule": "disk",
"viewname": "META_DYNAMICMODELDynaInstGridView",
"viewtag": "cec3236f5a1f742f9b91f313506ccc6c"
},
"sysdepartmentpickupview": { "sysdepartmentpickupview": {
"title": "部门选择视图", "title": "部门选择视图",
"caption": "部门", "caption": "部门",
......
...@@ -48,6 +48,7 @@ export class AuthServiceRegister { ...@@ -48,6 +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('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 META_DYNAMICMODELAuthServiceBase
* @extends {AuthService}
*/
export default class META_DYNAMICMODELAuthServiceBase extends AuthService {
/**
* Creates an instance of META_DYNAMICMODELAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof META_DYNAMICMODELAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof META_DYNAMICMODELAuthServiceBase
*/
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 META_DYNAMICMODELAuthServiceBase from './meta-dynamicmodel-auth-service-base';
/**
* 动态模型权限服务对象
*
* @export
* @class META_DYNAMICMODELAuthService
* @extends {META_DYNAMICMODELAuthServiceBase}
*/
export default class META_DYNAMICMODELAuthService extends META_DYNAMICMODELAuthServiceBase {
/**
* Creates an instance of META_DYNAMICMODELAuthService.
*
* @param {*} [opts={}]
* @memberof META_DYNAMICMODELAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
...@@ -7,6 +7,7 @@ import wfmember_BO_CN from '@locale/lanres/entities/wfmember/wfmember_BO_CN'; ...@@ -7,6 +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 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';
...@@ -187,6 +188,8 @@ function getAppLocale(){ ...@@ -187,6 +188,8 @@ function getAppLocale(){
menuitem28: commonLogic.appcommonhandle("支付管理",null), menuitem28: commonLogic.appcommonhandle("支付管理",null),
menuitem29: commonLogic.appcommonhandle("支付交易",null), menuitem29: commonLogic.appcommonhandle("支付交易",null),
menuitem30: commonLogic.appcommonhandle("支付平台",null), menuitem30: commonLogic.appcommonhandle("支付平台",null),
menuitem31: commonLogic.appcommonhandle("存储管理",null),
menuitem32: commonLogic.appcommonhandle("动态模型",null),
}, },
}, },
formpage:{ formpage:{
...@@ -290,6 +293,7 @@ function getAppLocale(){ ...@@ -290,6 +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(),
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,6 +7,7 @@ import wfmember_en_US from '@locale/lanres/entities/wfmember/wfmember_en_US'; ...@@ -7,6 +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 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';
...@@ -187,6 +188,8 @@ function getAppLocale(){ ...@@ -187,6 +188,8 @@ function getAppLocale(){
menuitem28: commonLogic.appcommonhandle("支付管理",null), menuitem28: commonLogic.appcommonhandle("支付管理",null),
menuitem29: commonLogic.appcommonhandle("支付交易",null), menuitem29: commonLogic.appcommonhandle("支付交易",null),
menuitem30: commonLogic.appcommonhandle("支付平台",null), menuitem30: commonLogic.appcommonhandle("支付平台",null),
menuitem31: commonLogic.appcommonhandle("存储管理",null),
menuitem32: commonLogic.appcommonhandle("动态模型",null),
}, },
}, },
formpage:{ formpage:{
...@@ -291,6 +294,7 @@ function getAppLocale(){ ...@@ -291,6 +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(),
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,6 +7,7 @@ import wfmember_zh_CN from '@locale/lanres/entities/wfmember/wfmember_zh_CN'; ...@@ -7,6 +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 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';
...@@ -187,6 +188,8 @@ function getAppLocale(){ ...@@ -187,6 +188,8 @@ function getAppLocale(){
menuitem28: commonLogic.appcommonhandle("支付管理",null), menuitem28: commonLogic.appcommonhandle("支付管理",null),
menuitem29: commonLogic.appcommonhandle("支付交易",null), menuitem29: commonLogic.appcommonhandle("支付交易",null),
menuitem30: commonLogic.appcommonhandle("支付平台",null), menuitem30: commonLogic.appcommonhandle("支付平台",null),
menuitem31: commonLogic.appcommonhandle("存储管理",null),
menuitem32: commonLogic.appcommonhandle("动态模型",null),
}, },
}, },
formpage:{ formpage:{
...@@ -290,6 +293,7 @@ function getAppLocale(){ ...@@ -290,6 +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(),
sysemployee: sysemployee_zh_CN(), sysemployee: sysemployee_zh_CN(),
paytrade: paytrade_zh_CN(), paytrade: paytrade_zh_CN(),
msgtemplate: msgtemplate_zh_CN(), msgtemplate: msgtemplate_zh_CN(),
......
...@@ -9,11 +9,14 @@ function getLocaleResourceBase(){ ...@@ -9,11 +9,14 @@ function getLocaleResourceBase(){
"dingtalk-msg": commonLogic.appcommonhandle("钉钉通知",null), "dingtalk-msg": commonLogic.appcommonhandle("钉钉通知",null),
"empty": commonLogic.appcommonhandle("",null) "empty": commonLogic.appcommonhandle("",null)
}, },
UaaOpenAccessType: { DynamicModelStatus: {
"aliyun": commonLogic.appcommonhandle("阿里云",null), "0": commonLogic.appcommonhandle("未激活",null),
"wechat": commonLogic.appcommonhandle("微信开放平台",null), "1": commonLogic.appcommonhandle("已激活",null),
"qq": commonLogic.appcommonhandle("QQ互联",null), "empty": commonLogic.appcommonhandle("",null)
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null), },
YesNo: {
"1": commonLogic.appcommonhandle("是",null),
"0": commonLogic.appcommonhandle("否",null),
"empty": commonLogic.appcommonhandle("",null) "empty": commonLogic.appcommonhandle("",null)
}, },
PayOpenAccessType: { PayOpenAccessType: {
...@@ -23,11 +26,6 @@ function getLocaleResourceBase(){ ...@@ -23,11 +26,6 @@ function getLocaleResourceBase(){
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null), "dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null),
"empty": commonLogic.appcommonhandle("",null) "empty": commonLogic.appcommonhandle("",null)
}, },
YesNo: {
"1": commonLogic.appcommonhandle("是",null),
"0": commonLogic.appcommonhandle("否",null),
"empty": commonLogic.appcommonhandle("",null)
},
CLIBZSex: { CLIBZSex: {
"男": commonLogic.appcommonhandle("男性",null), "男": commonLogic.appcommonhandle("男性",null),
"女": commonLogic.appcommonhandle("女性",null), "女": commonLogic.appcommonhandle("女性",null),
...@@ -39,13 +37,6 @@ function getLocaleResourceBase(){ ...@@ -39,13 +37,6 @@ function getLocaleResourceBase(){
"1": commonLogic.appcommonhandle("DISABLED",null), "1": commonLogic.appcommonhandle("DISABLED",null),
"empty": commonLogic.appcommonhandle("",null) "empty": commonLogic.appcommonhandle("",null)
}, },
NotifyOpenAccessType: {
"aliyun": commonLogic.appcommonhandle("阿里云",null),
"wechat": commonLogic.appcommonhandle("微信开放平台",null),
"qq": commonLogic.appcommonhandle("QQ互联",null),
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null),
"empty": commonLogic.appcommonhandle("",null)
},
CLAuthCode: { CLAuthCode: {
"200": commonLogic.appcommonhandle("成功",null), "200": commonLogic.appcommonhandle("成功",null),
"400": commonLogic.appcommonhandle("用户不存在",null), "400": commonLogic.appcommonhandle("用户不存在",null),
...@@ -59,6 +50,20 @@ function getLocaleResourceBase(){ ...@@ -59,6 +50,20 @@ function getLocaleResourceBase(){
"THIRD-PARTY": commonLogic.appcommonhandle("第三方应用",null), "THIRD-PARTY": commonLogic.appcommonhandle("第三方应用",null),
"empty": commonLogic.appcommonhandle("",null) "empty": commonLogic.appcommonhandle("",null)
}, },
NotifyOpenAccessType: {
"aliyun": commonLogic.appcommonhandle("阿里云",null),
"wechat": commonLogic.appcommonhandle("微信开放平台",null),
"qq": commonLogic.appcommonhandle("QQ互联",null),
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null),
"empty": commonLogic.appcommonhandle("",null)
},
UaaOpenAccessType: {
"aliyun": commonLogic.appcommonhandle("阿里云",null),
"wechat": commonLogic.appcommonhandle("微信开放平台",null),
"qq": commonLogic.appcommonhandle("QQ互联",null),
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null),
"empty": commonLogic.appcommonhandle("",null)
},
}; };
return data; return data;
} }
......
...@@ -9,11 +9,14 @@ function getLocaleResourceBase(){ ...@@ -9,11 +9,14 @@ function getLocaleResourceBase(){
"dingtalk-msg": commonLogic.appcommonhandle("钉钉通知",null), "dingtalk-msg": commonLogic.appcommonhandle("钉钉通知",null),
"empty": commonLogic.appcommonhandle("",null) "empty": commonLogic.appcommonhandle("",null)
}, },
UaaOpenAccessType: { DynamicModelStatus: {
"aliyun": commonLogic.appcommonhandle("阿里云",null), "0": commonLogic.appcommonhandle("未激活",null),
"wechat": commonLogic.appcommonhandle("微信开放平台",null), "1": commonLogic.appcommonhandle("已激活",null),
"qq": commonLogic.appcommonhandle("QQ互联",null), "empty": commonLogic.appcommonhandle("",null)
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null), },
YesNo: {
"1": commonLogic.appcommonhandle("是",null),
"0": commonLogic.appcommonhandle("否",null),
"empty": commonLogic.appcommonhandle("",null) "empty": commonLogic.appcommonhandle("",null)
}, },
PayOpenAccessType: { PayOpenAccessType: {
...@@ -23,11 +26,6 @@ function getLocaleResourceBase(){ ...@@ -23,11 +26,6 @@ function getLocaleResourceBase(){
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null), "dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null),
"empty": commonLogic.appcommonhandle("",null) "empty": commonLogic.appcommonhandle("",null)
}, },
YesNo: {
"1": commonLogic.appcommonhandle("是",null),
"0": commonLogic.appcommonhandle("否",null),
"empty": commonLogic.appcommonhandle("",null)
},
CLIBZSex: { CLIBZSex: {
"男": commonLogic.appcommonhandle("男性",null), "男": commonLogic.appcommonhandle("男性",null),
"女": commonLogic.appcommonhandle("女性",null), "女": commonLogic.appcommonhandle("女性",null),
...@@ -39,13 +37,6 @@ function getLocaleResourceBase(){ ...@@ -39,13 +37,6 @@ function getLocaleResourceBase(){
"1": commonLogic.appcommonhandle("DISABLED",null), "1": commonLogic.appcommonhandle("DISABLED",null),
"empty": commonLogic.appcommonhandle("",null) "empty": commonLogic.appcommonhandle("",null)
}, },
NotifyOpenAccessType: {
"aliyun": commonLogic.appcommonhandle("阿里云",null),
"wechat": commonLogic.appcommonhandle("微信开放平台",null),
"qq": commonLogic.appcommonhandle("QQ互联",null),
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null),
"empty": commonLogic.appcommonhandle("",null)
},
CLAuthCode: { CLAuthCode: {
"200": commonLogic.appcommonhandle("成功",null), "200": commonLogic.appcommonhandle("成功",null),
"400": commonLogic.appcommonhandle("用户不存在",null), "400": commonLogic.appcommonhandle("用户不存在",null),
...@@ -59,6 +50,20 @@ function getLocaleResourceBase(){ ...@@ -59,6 +50,20 @@ function getLocaleResourceBase(){
"THIRD-PARTY": commonLogic.appcommonhandle("第三方应用",null), "THIRD-PARTY": commonLogic.appcommonhandle("第三方应用",null),
"empty": commonLogic.appcommonhandle("",null) "empty": commonLogic.appcommonhandle("",null)
}, },
NotifyOpenAccessType: {
"aliyun": commonLogic.appcommonhandle("阿里云",null),
"wechat": commonLogic.appcommonhandle("微信开放平台",null),
"qq": commonLogic.appcommonhandle("QQ互联",null),
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null),
"empty": commonLogic.appcommonhandle("",null)
},
UaaOpenAccessType: {
"aliyun": commonLogic.appcommonhandle("阿里云",null),
"wechat": commonLogic.appcommonhandle("微信开放平台",null),
"qq": commonLogic.appcommonhandle("QQ互联",null),
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null),
"empty": commonLogic.appcommonhandle("",null)
},
}; };
return data; return data;
} }
......
...@@ -9,11 +9,14 @@ function getLocaleResourceBase(){ ...@@ -9,11 +9,14 @@ function getLocaleResourceBase(){
"dingtalk-msg": commonLogic.appcommonhandle("钉钉通知",null), "dingtalk-msg": commonLogic.appcommonhandle("钉钉通知",null),
"empty": commonLogic.appcommonhandle("",null), "empty": commonLogic.appcommonhandle("",null),
}, },
UaaOpenAccessType: { DynamicModelStatus: {
"aliyun": commonLogic.appcommonhandle("阿里云",null), "0": commonLogic.appcommonhandle("未激活",null),
"wechat": commonLogic.appcommonhandle("微信开放平台",null), "1": commonLogic.appcommonhandle("已激活",null),
"qq": commonLogic.appcommonhandle("QQ互联",null), "empty": commonLogic.appcommonhandle("",null),
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null), },
YesNo: {
"1": commonLogic.appcommonhandle("是",null),
"0": commonLogic.appcommonhandle("否",null),
"empty": commonLogic.appcommonhandle("",null), "empty": commonLogic.appcommonhandle("",null),
}, },
PayOpenAccessType: { PayOpenAccessType: {
...@@ -23,11 +26,6 @@ function getLocaleResourceBase(){ ...@@ -23,11 +26,6 @@ function getLocaleResourceBase(){
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null), "dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null),
"empty": commonLogic.appcommonhandle("",null), "empty": commonLogic.appcommonhandle("",null),
}, },
YesNo: {
"1": commonLogic.appcommonhandle("是",null),
"0": commonLogic.appcommonhandle("否",null),
"empty": commonLogic.appcommonhandle("",null),
},
CLIBZSex: { CLIBZSex: {
"男": commonLogic.appcommonhandle("男性",null), "男": commonLogic.appcommonhandle("男性",null),
"女": commonLogic.appcommonhandle("女性",null), "女": commonLogic.appcommonhandle("女性",null),
...@@ -39,13 +37,6 @@ function getLocaleResourceBase(){ ...@@ -39,13 +37,6 @@ function getLocaleResourceBase(){
"1": commonLogic.appcommonhandle("DISABLED",null), "1": commonLogic.appcommonhandle("DISABLED",null),
"empty": commonLogic.appcommonhandle("",null), "empty": commonLogic.appcommonhandle("",null),
}, },
NotifyOpenAccessType: {
"aliyun": commonLogic.appcommonhandle("阿里云",null),
"wechat": commonLogic.appcommonhandle("微信开放平台",null),
"qq": commonLogic.appcommonhandle("QQ互联",null),
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null),
"empty": commonLogic.appcommonhandle("",null),
},
CLAuthCode: { CLAuthCode: {
"200": commonLogic.appcommonhandle("成功",null), "200": commonLogic.appcommonhandle("成功",null),
"400": commonLogic.appcommonhandle("用户不存在",null), "400": commonLogic.appcommonhandle("用户不存在",null),
...@@ -59,6 +50,20 @@ function getLocaleResourceBase(){ ...@@ -59,6 +50,20 @@ function getLocaleResourceBase(){
"THIRD-PARTY": commonLogic.appcommonhandle("第三方应用",null), "THIRD-PARTY": commonLogic.appcommonhandle("第三方应用",null),
"empty": commonLogic.appcommonhandle("",null), "empty": commonLogic.appcommonhandle("",null),
}, },
NotifyOpenAccessType: {
"aliyun": commonLogic.appcommonhandle("阿里云",null),
"wechat": commonLogic.appcommonhandle("微信开放平台",null),
"qq": commonLogic.appcommonhandle("QQ互联",null),
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null),
"empty": commonLogic.appcommonhandle("",null),
},
UaaOpenAccessType: {
"aliyun": commonLogic.appcommonhandle("阿里云",null),
"wechat": commonLogic.appcommonhandle("微信开放平台",null),
"qq": commonLogic.appcommonhandle("QQ互联",null),
"dingtalk": commonLogic.appcommonhandle("钉钉开放平台",null),
"empty": commonLogic.appcommonhandle("",null),
},
}; };
return data; return data;
} }
......
import META_DYNAMICMODEL_BO_CN_Base from './meta-dynamicmodel_BO_CN_base';
function getLocaleResource(){
const META_DYNAMICMODEL_BO_CN_OwnData = {};
const targetData = Object.assign(META_DYNAMICMODEL_BO_CN_Base(), META_DYNAMICMODEL_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 META_DYNAMICMODEL_en_US_Base from './meta-dynamicmodel_en_US_base';
function getLocaleResource(){
const META_DYNAMICMODEL_en_US_OwnData = {};
const targetData = Object.assign(META_DYNAMICMODEL_en_US_Base(), META_DYNAMICMODEL_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 META_DYNAMICMODEL_zh_CN_Base from './meta-dynamicmodel_zh_CN_base';
function getLocaleResource(){
const META_DYNAMICMODEL_zh_CN_OwnData = {};
const targetData = Object.assign(META_DYNAMICMODEL_zh_CN_Base(), META_DYNAMICMODEL_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
...@@ -435,7 +435,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => { ...@@ -435,7 +435,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => {
], ],
}, },
{ {
id: 'A406ED59-10D8-4482-ACC9-D6E848088905', id: 'cac3e218f85776f1480fb78159cc61f6',
name: 'menuitem24', name: 'menuitem24',
text: '消息通知', text: '消息通知',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -453,7 +453,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => { ...@@ -453,7 +453,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => {
resourcetag: '', resourcetag: '',
items: [ items: [
{ {
id: 'B6F25A0B-B2C3-4291-968E-E311823C9550', id: 'e671f14ca3bdc88948563f693a299463',
name: 'menuitem25', name: 'menuitem25',
text: '第三方平台', text: '第三方平台',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -471,7 +471,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => { ...@@ -471,7 +471,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => {
resourcetag: '', resourcetag: '',
}, },
{ {
id: '25FB3FBA-6838-4953-AC4F-20C97C6A2F7B', id: '3c8cc7c3e0d6e37d8ee090f4c35a88b8',
name: 'menuitem26', name: 'menuitem26',
text: '消息模板', text: '消息模板',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -489,7 +489,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => { ...@@ -489,7 +489,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => {
resourcetag: '', resourcetag: '',
}, },
{ {
id: '1A480358-9C2E-45D7-AA3C-2A2B14C32E7D', id: '20fd1c8ce747edb94d19b4e6344817dd',
name: 'menuitem27', name: 'menuitem27',
text: '消息账户', text: '消息账户',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -509,7 +509,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => { ...@@ -509,7 +509,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => {
], ],
}, },
{ {
id: '575A683B-752B-46E7-8F77-EF579FC9829A', id: 'ad1ef83190eb18e95d5ee3ce9be949ff',
name: 'menuitem28', name: 'menuitem28',
text: '支付管理', text: '支付管理',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -527,7 +527,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => { ...@@ -527,7 +527,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => {
resourcetag: '', resourcetag: '',
items: [ items: [
{ {
id: '0B8F512C-A6E7-4103-8DBD-F4594942E8A7', id: '3389246e944ec9a3dd3bf6c3c26609c1',
name: 'menuitem29', name: 'menuitem29',
text: '支付交易', text: '支付交易',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -545,7 +545,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => { ...@@ -545,7 +545,7 @@ mock.onGet('v7/indexappmenu').reply((config: any) => {
resourcetag: '', resourcetag: '',
}, },
{ {
id: 'D80F5DD5-ABE3-4265-A9A7-8A19BD81C6C3', id: 'c857f65ec0b4e9f138864eab77a1ee19',
name: 'menuitem30', name: 'menuitem30',
text: '支付平台', text: '支付平台',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -563,6 +563,44 @@ mock.onGet('v7/indexappmenu').reply((config: any) => { ...@@ -563,6 +563,44 @@ mock.onGet('v7/indexappmenu').reply((config: any) => {
resourcetag: '', resourcetag: '',
}, },
], ],
},
{
id: '37D46227-986C-4928-8959-1BB010E6F1DE',
name: 'menuitem31',
text: '存储管理',
type: 'MENUITEM',
counterid: '',
tooltip: '存储管理',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
resourcetag: '',
items: [
{
id: '445578D4-C61D-4E9B-A44B-B899E5691707',
name: 'menuitem32',
text: '动态模型',
type: 'MENUITEM',
counterid: '',
tooltip: '动态模型',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc8',
resourcetag: '',
},
],
}, },
], ],
}]; }];
......
...@@ -59,51 +59,60 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -59,51 +59,60 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
] ]
}, },
{ {
srfkey: "UaaOpenAccessType", srfkey: "DynamicModelStatus",
emptytext: "未定义", emptytext: "未定义",
"codelisttype":"static", "codelisttype":"static",
items: [ items: [
{ {
id: "aliyun", id: "0",
label: "阿里云", label: "未激活",
text: "阿里云", text: "未激活",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Aliyun", "codename":"Item_0",
value: "aliyun", "color": "rgba(245, 158, 18, 1)",
value: "0",
disabled: false, disabled: false,
}, },
{ {
id: "wechat", id: "1",
label: "微信开放平台", label: "已激活",
text: "微信开放平台", text: "已激活",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Wechat", "codename":"Item_1",
value: "wechat", "color": "rgba(100, 235, 22, 1)",
value: "1",
disabled: false, disabled: false,
}, },
]
},
{ {
id: "qq", srfkey: "YesNo",
label: "QQ互联", emptytext: "未定义",
text: "QQ互联", "codelisttype":"static",
items: [
{
id: "1",
label: "是",
text: "是",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Qq", "codename":"Item_1",
value: "qq", value: "1",
disabled: false, disabled: false,
}, },
{ {
id: "dingtalk", id: "0",
label: "钉钉开放平台", label: "",
text: "钉钉开放平台", text: "",
"class":"", "class":"",
"data":"", "data":"",
"codename":"Dingtalk", "codename":"Item_0",
value: "dingtalk", value: "0",
disabled: false, disabled: false,
}, },
...@@ -160,35 +169,6 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -160,35 +169,6 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
] ]
}, },
{
srfkey: "YesNo",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "1",
label: "是",
text: "是",
"class":"",
"data":"",
"codename":"Item_1",
value: "1",
disabled: false,
},
{
id: "0",
label: "否",
text: "否",
"class":"",
"data":"",
"codename":"Item_0",
value: "0",
disabled: false,
},
]
},
{ {
srfkey: "CLIBZSex", srfkey: "CLIBZSex",
emptytext: "", emptytext: "",
...@@ -260,57 +240,6 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -260,57 +240,6 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
] ]
}, },
{
srfkey: "NotifyOpenAccessType",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "aliyun",
label: "阿里云",
text: "阿里云",
"class":"",
"data":"",
"codename":"Aliyun",
value: "aliyun",
disabled: false,
},
{
id: "wechat",
label: "微信开放平台",
text: "微信开放平台",
"class":"",
"data":"",
"codename":"Wechat",
value: "wechat",
disabled: false,
},
{
id: "qq",
label: "QQ互联",
text: "QQ互联",
"class":"",
"data":"",
"codename":"Qq",
value: "qq",
disabled: false,
},
{
id: "dingtalk",
label: "钉钉开放平台",
text: "钉钉开放平台",
"class":"",
"data":"",
"codename":"Dingtalk",
value: "dingtalk",
disabled: false,
},
]
},
{ {
srfkey: "CLAuthCode", srfkey: "CLAuthCode",
emptytext: "未定义", emptytext: "未定义",
...@@ -401,6 +330,108 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -401,6 +330,108 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"codename":"Third_SUB_party", "codename":"Third_SUB_party",
value: "THIRD-PARTY", value: "THIRD-PARTY",
disabled: false,
},
]
},
{
srfkey: "NotifyOpenAccessType",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "aliyun",
label: "阿里云",
text: "阿里云",
"class":"",
"data":"",
"codename":"Aliyun",
value: "aliyun",
disabled: false,
},
{
id: "wechat",
label: "微信开放平台",
text: "微信开放平台",
"class":"",
"data":"",
"codename":"Wechat",
value: "wechat",
disabled: false,
},
{
id: "qq",
label: "QQ互联",
text: "QQ互联",
"class":"",
"data":"",
"codename":"Qq",
value: "qq",
disabled: false,
},
{
id: "dingtalk",
label: "钉钉开放平台",
text: "钉钉开放平台",
"class":"",
"data":"",
"codename":"Dingtalk",
value: "dingtalk",
disabled: false,
},
]
},
{
srfkey: "UaaOpenAccessType",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "aliyun",
label: "阿里云",
text: "阿里云",
"class":"",
"data":"",
"codename":"Aliyun",
value: "aliyun",
disabled: false,
},
{
id: "wechat",
label: "微信开放平台",
text: "微信开放平台",
"class":"",
"data":"",
"codename":"Wechat",
value: "wechat",
disabled: false,
},
{
id: "qq",
label: "QQ互联",
text: "QQ互联",
"class":"",
"data":"",
"codename":"Qq",
value: "qq",
disabled: false,
},
{
id: "dingtalk",
label: "钉钉开放平台",
text: "钉钉开放平台",
"class":"",
"data":"",
"codename":"Dingtalk",
value: "dingtalk",
disabled: false, disabled: false,
}, },
] ]
......
...@@ -16,6 +16,7 @@ import './entity/wfmembers/wfmembers'; ...@@ -16,6 +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/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';
......
...@@ -503,6 +503,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -503,6 +503,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "SysOrganizationOptionView", "viewname": "SysOrganizationOptionView",
"viewtag": "915900ff6a784bf46e91a9a6aec79cf0" "viewtag": "915900ff6a784bf46e91a9a6aec79cf0"
}, },
"meta_dynamicmodeldynainsteditview": {
"title": "动态模型编辑视图",
"caption": "动态模型",
"viewtype": "DEEDITVIEW",
"viewmodule": "disk",
"viewname": "META_DYNAMICMODELDynaInstEditView",
"viewtag": "92d51d41db51a671793ee8dc8876f9e9"
},
"syspermissionpickupgridview": { "syspermissionpickupgridview": {
"title": "权限表选择表格视图", "title": "权限表选择表格视图",
"caption": "权限/资源", "caption": "权限/资源",
...@@ -583,6 +591,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -583,6 +591,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "SysEmployeeMPickupView", "viewname": "SysEmployeeMPickupView",
"viewtag": "af7290279f8b7645020401c1beb9269e" "viewtag": "af7290279f8b7645020401c1beb9269e"
}, },
"meta_dynamicmodelgridview": {
"title": "动态模型",
"caption": "动态模型",
"viewtype": "DEGRIDVIEW",
"viewmodule": "disk",
"viewname": "META_DYNAMICMODELGridView",
"viewtag": "af9cfc34d957186380a012e322abff0c"
},
"wfgrouppickupview": { "wfgrouppickupview": {
"title": "角色/用户组数据选择视图", "title": "角色/用户组数据选择视图",
"caption": "角色/用户组", "caption": "角色/用户组",
...@@ -663,6 +679,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -663,6 +679,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "WFUserPickupGridView", "viewname": "WFUserPickupGridView",
"viewtag": "c9c73c8d2e61bd29a304622f3d39b522" "viewtag": "c9c73c8d2e61bd29a304622f3d39b522"
}, },
"meta_dynamicmodeldynainstgridview": {
"title": "动态模型表格视图",
"caption": "动态模型表格视图",
"viewtype": "DEGRIDVIEW",
"viewmodule": "disk",
"viewname": "META_DYNAMICMODELDynaInstGridView",
"viewtag": "cec3236f5a1f742f9b91f313506ccc6c"
},
"sysdepartmentpickupview": { "sysdepartmentpickupview": {
"title": "部门选择视图", "title": "部门选择视图",
"caption": "部门", "caption": "部门",
......
...@@ -27,6 +27,8 @@ export const PageComponents = { ...@@ -27,6 +27,8 @@ export const PageComponents = {
Vue.component('sys-department-grid-view', () => import('@pages/ou/sys-department-grid-view/sys-department-grid-view.vue')); Vue.component('sys-department-grid-view', () => import('@pages/ou/sys-department-grid-view/sys-department-grid-view.vue'));
Vue.component('sys-department-pickup-grid-view', () => import('@pages/ou/sys-department-pickup-grid-view/sys-department-pickup-grid-view.vue')); Vue.component('sys-department-pickup-grid-view', () => import('@pages/ou/sys-department-pickup-grid-view/sys-department-pickup-grid-view.vue'));
Vue.component('sys-open-access-grid-view', () => import('@pages/uaa/sys-open-access-grid-view/sys-open-access-grid-view.vue')); Vue.component('sys-open-access-grid-view', () => import('@pages/uaa/sys-open-access-grid-view/sys-open-access-grid-view.vue'));
Vue.component('meta-dynamicmodeldyna-inst-edit-view', () => import('@pages/disk/meta-dynamicmodeldyna-inst-edit-view/meta-dynamicmodeldyna-inst-edit-view.vue'));
Vue.component('meta-dynamicmodelgrid-view', () => import('@pages/disk/meta-dynamicmodelgrid-view/meta-dynamicmodelgrid-view.vue'));
Vue.component('sys-team-grid-view', () => import('@pages/ou/sys-team-grid-view/sys-team-grid-view.vue')); Vue.component('sys-team-grid-view', () => import('@pages/ou/sys-team-grid-view/sys-team-grid-view.vue'));
Vue.component('sys-dept-member-grid-view', () => import('@pages/ou/sys-dept-member-grid-view/sys-dept-member-grid-view.vue')); Vue.component('sys-dept-member-grid-view', () => import('@pages/ou/sys-dept-member-grid-view/sys-dept-member-grid-view.vue'));
Vue.component('sys-employee-pickup-grid-view', () => import('@pages/ou/sys-employee-pickup-grid-view/sys-employee-pickup-grid-view.vue')); Vue.component('sys-employee-pickup-grid-view', () => import('@pages/ou/sys-employee-pickup-grid-view/sys-employee-pickup-grid-view.vue'));
...@@ -78,6 +80,7 @@ export const PageComponents = { ...@@ -78,6 +80,7 @@ export const PageComponents = {
Vue.component('sys-organization-edit-view', () => import('@pages/ou/sys-organization-edit-view/sys-organization-edit-view.vue')); Vue.component('sys-organization-edit-view', () => import('@pages/ou/sys-organization-edit-view/sys-organization-edit-view.vue'));
Vue.component('pay-open-access-edit-view', () => import('@pages/pay/pay-open-access-edit-view/pay-open-access-edit-view.vue')); Vue.component('pay-open-access-edit-view', () => import('@pages/pay/pay-open-access-edit-view/pay-open-access-edit-view.vue'));
Vue.component('sys-role-pickup-view', () => import('@pages/uaa/sys-role-pickup-view/sys-role-pickup-view.vue')); Vue.component('sys-role-pickup-view', () => import('@pages/uaa/sys-role-pickup-view/sys-role-pickup-view.vue'));
Vue.component('meta-dynamicmodeldyna-inst-grid-view', () => import('@pages/disk/meta-dynamicmodeldyna-inst-grid-view/meta-dynamicmodeldyna-inst-grid-view.vue'));
Vue.component('sys-app-edit-view', () => import('@pages/uaa/sys-app-edit-view/sys-app-edit-view.vue')); Vue.component('sys-app-edit-view', () => import('@pages/uaa/sys-app-edit-view/sys-app-edit-view.vue'));
Vue.component('sys-post-pickup-grid-view', () => import('@pages/ou/sys-post-pickup-grid-view/sys-post-pickup-grid-view.vue')); Vue.component('sys-post-pickup-grid-view', () => import('@pages/ou/sys-post-pickup-grid-view/sys-post-pickup-grid-view.vue'));
Vue.component('dict-option-grid-view', () => import('@pages/dict/dict-option-grid-view/dict-option-grid-view.vue')); Vue.component('dict-option-grid-view', () => import('@pages/dict/dict-option-grid-view/dict-option-grid-view.vue'));
......
...@@ -658,6 +658,34 @@ const router = new Router({ ...@@ -658,6 +658,34 @@ 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?',
meta: {
caption: 'entities.meta_dynamicmodel.views.dynainsteditview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'meta_dynamicmodels', parameterName: 'meta_dynamicmodel' },
{ pathName: 'dynainsteditview', parameterName: 'dynainsteditview' },
],
requireAuth: true,
},
component: () => import('@pages/disk/meta-dynamicmodeldyna-inst-edit-view/meta-dynamicmodeldyna-inst-edit-view.vue'),
},
{
path: 'meta_dynamicmodels/:meta_dynamicmodel?/gridview/:gridview?',
meta: {
caption: 'entities.meta_dynamicmodel.views.gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'meta_dynamicmodels', parameterName: 'meta_dynamicmodel' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/disk/meta-dynamicmodelgrid-view/meta-dynamicmodelgrid-view.vue'),
},
{ {
path: 'systeams/:systeam?/gridview/:gridview?', path: 'systeams/:systeam?/gridview/:gridview?',
meta: { meta: {
...@@ -1975,6 +2003,20 @@ const router = new Router({ ...@@ -1975,6 +2003,20 @@ 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?',
meta: {
caption: 'entities.meta_dynamicmodel.views.dynainstgridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'meta_dynamicmodels', parameterName: 'meta_dynamicmodel' },
{ pathName: 'dynainstgridview', parameterName: 'dynainstgridview' },
],
requireAuth: true,
},
component: () => import('@pages/disk/meta-dynamicmodeldyna-inst-grid-view/meta-dynamicmodeldyna-inst-grid-view.vue'),
},
{ {
path: 'sysapps/:sysapp?/editview/:editview?', path: 'sysapps/:sysapp?/editview/:editview?',
meta: { meta: {
......
...@@ -48,6 +48,7 @@ export class EntityServiceRegister { ...@@ -48,6 +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('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 META_DYNAMICMODELServiceBase
* @extends {EntityServie}
*/
export default class META_DYNAMICMODELServiceBase extends EntityService {
/**
* Creates an instance of META_DYNAMICMODELServiceBase.
*
* @param {*} [opts={}]
* @memberof META_DYNAMICMODELServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础数据
*
* @memberof META_DYNAMICMODELServiceBase
*/
public initBasicData(){
this.APPLYDEKEY ='meta_dynamicmodel';
this.APPDEKEY = 'configid';
this.APPDENAME = 'meta_dynamicmodels';
this.APPDETEXT = 'configname';
this.APPNAME = 'web';
this.SYSTEMNAME = 'ibzrt';
}
// 实体接口
/**
* Select接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
public async Select(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().get(`/meta_dynamicmodels/${context.meta_dynamicmodel}/select`,isloading);
return res;
}
/**
* Create接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
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(`/meta_dynamicmodels`,data,isloading);
return res;
}
/**
* Update接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
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(`/meta_dynamicmodels/${context.meta_dynamicmodel}`,data,isloading);
return res;
}
/**
* Remove接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
public async Remove(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().delete(`/meta_dynamicmodels/${context.meta_dynamicmodel}`,isloading);
return res;
}
/**
* Get接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
public async Get(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/meta_dynamicmodels/${context.meta_dynamicmodel}`,isloading);
return res;
}
/**
* GetDraft接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
public async GetDraft(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/meta_dynamicmodels/getdraft`,isloading);
res.data.meta_dynamicmodel = data.meta_dynamicmodel;
return res;
}
/**
* CheckKey接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
public async CheckKey(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().post(`/meta_dynamicmodels/${context.meta_dynamicmodel}/checkkey`,data,isloading);
return res;
}
/**
* Init接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
public async Init(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().post(`/meta_dynamicmodels/${context.meta_dynamicmodel}/init`,data,isloading);
return res;
}
/**
* InitBatch接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
public async InitBatch(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
return await Http.getInstance().post(`/meta_dynamicmodels/initbatch`,tempData,isloading);
}
/**
* Publish接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
public async Publish(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().post(`/meta_dynamicmodels/${context.meta_dynamicmodel}/publish`,data,isloading);
return res;
}
/**
* PublishBatch接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
public async PublishBatch(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
return await Http.getInstance().post(`/meta_dynamicmodels/publishbatch`,tempData,isloading);
}
/**
* Save接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
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(`/meta_dynamicmodels/${context.meta_dynamicmodel}/save`,data,isloading);
return res;
}
/**
* FetchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
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(`/meta_dynamicmodels/fetchdefault`,tempData,isloading);
return res;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
public async searchDefault(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
return await Http.getInstance().post(`/meta_dynamicmodels/searchdefault`,tempData,isloading);
}
/**
* FetchDynaInst接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
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(`/meta_dynamicmodels/fetchdynainst`,tempData,isloading);
return res;
}
/**
* searchDynaInst接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof META_DYNAMICMODELServiceBase
*/
public async searchDynaInst(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
return await Http.getInstance().post(`/meta_dynamicmodels/searchdynainst`,tempData,isloading);
}
}
\ No newline at end of file
import { Http,Util } from '@/utils';
import META_DYNAMICMODELServiceBase from './meta-dynamicmodel-service-base';
/**
* 动态模型服务对象
*
* @export
* @class META_DYNAMICMODELService
* @extends {META_DYNAMICMODELServiceBase}
*/
export default class META_DYNAMICMODELService extends META_DYNAMICMODELServiceBase {
/**
* Creates an instance of META_DYNAMICMODELService.
*
* @param {*} [opts={}]
* @memberof META_DYNAMICMODELService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
...@@ -758,6 +758,7 @@ export const viewstate: any = { ...@@ -758,6 +758,7 @@ export const viewstate: any = {
'60fe0b9b8535b02baf1a02d5f56c5a9c', '60fe0b9b8535b02baf1a02d5f56c5a9c',
'a186d7dee3d83d5f95c27142bece5df6', 'a186d7dee3d83d5f95c27142bece5df6',
'1f1889a2c3e7f49d9221021499a0f78a', '1f1889a2c3e7f49d9221021499a0f78a',
'cec3236f5a1f742f9b91f313506ccc6c',
'67b4d1e928a08679ce63051ccc88da9c', '67b4d1e928a08679ce63051ccc88da9c',
'13c174556f45e9b10b66dc51834a6ab5', '13c174556f45e9b10b66dc51834a6ab5',
'f498dfb24e88df7c70a5c09ecb587647', 'f498dfb24e88df7c70a5c09ecb587647',
......
import META_DYNAMICMODELUIServiceBase from './meta-dynamicmodel-ui-service-base';
/**
* 动态模型UI服务对象
*
* @export
* @class META_DYNAMICMODELUIService
*/
export default class META_DYNAMICMODELUIService extends META_DYNAMICMODELUIServiceBase {
/**
* Creates an instance of META_DYNAMICMODELUIService.
*
* @param {*} [opts={}]
* @memberof META_DYNAMICMODELUIService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
...@@ -48,6 +48,7 @@ export class UIServiceRegister { ...@@ -48,6 +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('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'));
......
...@@ -462,7 +462,7 @@ export default class IndexModel { ...@@ -462,7 +462,7 @@ export default class IndexModel {
], ],
}, },
{ {
id: 'A406ED59-10D8-4482-ACC9-D6E848088905', id: 'cac3e218f85776f1480fb78159cc61f6',
name: 'menuitem24', name: 'menuitem24',
text: '消息通知', text: '消息通知',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -481,7 +481,7 @@ export default class IndexModel { ...@@ -481,7 +481,7 @@ export default class IndexModel {
authtag:'Web-Index-menuitem24', authtag:'Web-Index-menuitem24',
items: [ items: [
{ {
id: 'B6F25A0B-B2C3-4291-968E-E311823C9550', id: 'e671f14ca3bdc88948563f693a299463',
name: 'menuitem25', name: 'menuitem25',
text: '第三方平台', text: '第三方平台',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -500,7 +500,7 @@ export default class IndexModel { ...@@ -500,7 +500,7 @@ export default class IndexModel {
authtag:'Web-Index-menuitem25', authtag:'Web-Index-menuitem25',
}, },
{ {
id: '25FB3FBA-6838-4953-AC4F-20C97C6A2F7B', id: '3c8cc7c3e0d6e37d8ee090f4c35a88b8',
name: 'menuitem26', name: 'menuitem26',
text: '消息模板', text: '消息模板',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -519,7 +519,7 @@ export default class IndexModel { ...@@ -519,7 +519,7 @@ export default class IndexModel {
authtag:'Web-Index-menuitem26', authtag:'Web-Index-menuitem26',
}, },
{ {
id: '1A480358-9C2E-45D7-AA3C-2A2B14C32E7D', id: '20fd1c8ce747edb94d19b4e6344817dd',
name: 'menuitem27', name: 'menuitem27',
text: '消息账户', text: '消息账户',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -540,7 +540,7 @@ export default class IndexModel { ...@@ -540,7 +540,7 @@ export default class IndexModel {
], ],
}, },
{ {
id: '575A683B-752B-46E7-8F77-EF579FC9829A', id: 'ad1ef83190eb18e95d5ee3ce9be949ff',
name: 'menuitem28', name: 'menuitem28',
text: '支付管理', text: '支付管理',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -559,7 +559,7 @@ export default class IndexModel { ...@@ -559,7 +559,7 @@ export default class IndexModel {
authtag:'Web-Index-menuitem28', authtag:'Web-Index-menuitem28',
items: [ items: [
{ {
id: '0B8F512C-A6E7-4103-8DBD-F4594942E8A7', id: '3389246e944ec9a3dd3bf6c3c26609c1',
name: 'menuitem29', name: 'menuitem29',
text: '支付交易', text: '支付交易',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -578,7 +578,7 @@ export default class IndexModel { ...@@ -578,7 +578,7 @@ export default class IndexModel {
authtag:'Web-Index-menuitem29', authtag:'Web-Index-menuitem29',
}, },
{ {
id: 'D80F5DD5-ABE3-4265-A9A7-8A19BD81C6C3', id: 'c857f65ec0b4e9f138864eab77a1ee19',
name: 'menuitem30', name: 'menuitem30',
text: '支付平台', text: '支付平台',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -597,6 +597,46 @@ export default class IndexModel { ...@@ -597,6 +597,46 @@ export default class IndexModel {
authtag:'Web-Index-menuitem30', authtag:'Web-Index-menuitem30',
}, },
], ],
},
{
id: '37D46227-986C-4928-8959-1BB010E6F1DE',
name: 'menuitem31',
text: '存储管理',
type: 'MENUITEM',
counterid: '',
tooltip: '存储管理',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
resourcetag: '',
authtag:'Web-Index-menuitem31',
items: [
{
id: '445578D4-C61D-4E9B-A44B-B899E5691707',
name: 'menuitem32',
text: '动态模型',
type: 'MENUITEM',
counterid: '',
tooltip: '动态模型',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc8',
resourcetag: '',
authtag:'Web-Index-menuitem32',
},
],
}, },
]; ];
......
...@@ -43,6 +43,10 @@ zuul: ...@@ -43,6 +43,10 @@ zuul:
path: /sysdepartments/** path: /sysdepartments/**
serviceId: ${ibiz.ref.service.ibzou-api:ibzou-api} serviceId: ${ibiz.ref.service.ibzou-api:ibzou-api}
stripPrefix: false stripPrefix: false
meta_dynamicmodel:
path: /meta_dynamicmodels/**
serviceId: ${ibiz.ref.service.ibzdisk-api:ibzdisk-api}
stripPrefix: false
sys_emp: sys_emp:
path: /sysemployees/** path: /sysemployees/**
serviceId: ${ibiz.ref.service.ibzou-api:ibzou-api} serviceId: ${ibiz.ref.service.ibzou-api:ibzou-api}
......
...@@ -28,6 +28,10 @@ zuul: ...@@ -28,6 +28,10 @@ zuul:
path: /jobs_registries/** path: /jobs_registries/**
serviceId: ${ibiz.ref.service.ibztask-api:ibztask-api} serviceId: ${ibiz.ref.service.ibztask-api:ibztask-api}
stripPrefix: false stripPrefix: false
meta_dynamicmodel:
path: /meta_dynamicmodels/**
serviceId: ${ibiz.ref.service.ibzdisk-api:ibzdisk-api}
stripPrefix: false
msg_body: msg_body:
path: /msg_bodies/** path: /msg_bodies/**
serviceId: ${ibiz.ref.service.ibznotify-api:ibznotify-api} serviceId: ${ibiz.ref.service.ibznotify-api:ibznotify-api}
......
package cn.ibizlab.core.disk.client;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.web.bind.annotation.*;
import cn.ibizlab.core.disk.domain.META_DYNAMICMODEL;
import cn.ibizlab.core.disk.filter.META_DYNAMICMODELSearchContext;
import org.springframework.stereotype.Component;
/**
* 实体[META_DYNAMICMODEL] 服务对象接口
*/
@Component
public class META_DYNAMICMODELFallback implements META_DYNAMICMODELFeignClient {
public Page<META_DYNAMICMODEL> select() {
return null;
}
public META_DYNAMICMODEL create(META_DYNAMICMODEL meta_dynamicmodel) {
return null;
}
public Boolean createBatch(List<META_DYNAMICMODEL> meta_dynamicmodels) {
return false;
}
public META_DYNAMICMODEL update(String configid, META_DYNAMICMODEL meta_dynamicmodel) {
return null;
}
public Boolean updateBatch(List<META_DYNAMICMODEL> meta_dynamicmodels) {
return false;
}
public Boolean remove(String configid) {
return false;
}
public Boolean removeBatch(Collection<String> idList) {
return false;
}
public META_DYNAMICMODEL get(String configid) {
return null;
}
public META_DYNAMICMODEL getDraft(META_DYNAMICMODEL entity){
return null;
}
public Boolean checkKey(META_DYNAMICMODEL meta_dynamicmodel) {
return false;
}
public META_DYNAMICMODEL init( String configid, META_DYNAMICMODEL meta_dynamicmodel) {
return null;
}
public META_DYNAMICMODEL publish( String configid, META_DYNAMICMODEL meta_dynamicmodel) {
return null;
}
public Object saveEntity(META_DYNAMICMODEL meta_dynamicmodel) {
return null;
}
public Boolean save(META_DYNAMICMODEL meta_dynamicmodel) {
return false;
}
public Boolean saveBatch(List<META_DYNAMICMODEL> meta_dynamicmodels) {
return false;
}
public Page<META_DYNAMICMODEL> searchDefault(META_DYNAMICMODELSearchContext context) {
return null;
}
public Page<META_DYNAMICMODEL> searchDynaInst(META_DYNAMICMODELSearchContext context) {
return null;
}
}
package cn.ibizlab.core.disk.client;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.web.bind.annotation.*;
import cn.ibizlab.core.disk.domain.META_DYNAMICMODEL;
import cn.ibizlab.core.disk.filter.META_DYNAMICMODELSearchContext;
import org.springframework.cloud.openfeign.FeignClient;
/**
* 实体[META_DYNAMICMODEL] 服务对象接口
*/
@FeignClient(value = "${ibiz.ref.service.ibzdisk-api:ibzdisk-api}", contextId = "META-DYNAMICMODEL", fallback = META_DYNAMICMODELFallback.class)
public interface META_DYNAMICMODELFeignClient {
@RequestMapping(method = RequestMethod.GET, value = "/meta_dynamicmodels/select")
Page<META_DYNAMICMODEL> select();
@RequestMapping(method = RequestMethod.POST, value = "/meta_dynamicmodels")
META_DYNAMICMODEL create(@RequestBody META_DYNAMICMODEL meta_dynamicmodel);
@RequestMapping(method = RequestMethod.POST, value = "/meta_dynamicmodels/batch")
Boolean createBatch(@RequestBody List<META_DYNAMICMODEL> meta_dynamicmodels);
@RequestMapping(method = RequestMethod.PUT, value = "/meta_dynamicmodels/{configid}")
META_DYNAMICMODEL update(@PathVariable("configid") String configid,@RequestBody META_DYNAMICMODEL meta_dynamicmodel);
@RequestMapping(method = RequestMethod.PUT, value = "/meta_dynamicmodels/batch")
Boolean updateBatch(@RequestBody List<META_DYNAMICMODEL> meta_dynamicmodels);
@RequestMapping(method = RequestMethod.DELETE, value = "/meta_dynamicmodels/{configid}")
Boolean remove(@PathVariable("configid") String configid);
@RequestMapping(method = RequestMethod.DELETE, value = "/meta_dynamicmodels/batch}")
Boolean removeBatch(@RequestBody Collection<String> idList);
@RequestMapping(method = RequestMethod.GET, value = "/meta_dynamicmodels/{configid}")
META_DYNAMICMODEL get(@PathVariable("configid") String configid);
@RequestMapping(method = RequestMethod.GET, value = "/meta_dynamicmodels/getdraft")
META_DYNAMICMODEL getDraft(META_DYNAMICMODEL entity);
@RequestMapping(method = RequestMethod.POST, value = "/meta_dynamicmodels/checkkey")
Boolean checkKey(@RequestBody META_DYNAMICMODEL meta_dynamicmodel);
@RequestMapping(method = RequestMethod.POST, value = "/meta_dynamicmodels/{configid}/init")
META_DYNAMICMODEL init(@PathVariable("configid") String configid,@RequestBody META_DYNAMICMODEL meta_dynamicmodel);
@RequestMapping(method = RequestMethod.POST, value = "/meta_dynamicmodels/{configid}/publish")
META_DYNAMICMODEL publish(@PathVariable("configid") String configid,@RequestBody META_DYNAMICMODEL meta_dynamicmodel);
@RequestMapping(method = RequestMethod.POST, value = "/meta_dynamicmodels/save")
Object saveEntity(@RequestBody META_DYNAMICMODEL meta_dynamicmodel);
default Boolean save(@RequestBody META_DYNAMICMODEL meta_dynamicmodel) { return saveEntity(meta_dynamicmodel)!=null; }
@RequestMapping(method = RequestMethod.POST, value = "/meta_dynamicmodels/savebatch")
Boolean saveBatch(@RequestBody List<META_DYNAMICMODEL> meta_dynamicmodels);
@RequestMapping(method = RequestMethod.POST, value = "/meta_dynamicmodels/searchdefault")
Page<META_DYNAMICMODEL> searchDefault(@RequestBody META_DYNAMICMODELSearchContext context);
@RequestMapping(method = RequestMethod.POST, value = "/meta_dynamicmodels/searchdynainst")
Page<META_DYNAMICMODEL> searchDynaInst(@RequestBody META_DYNAMICMODELSearchContext context);
}
package cn.ibizlab.core.disk.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.enums.DupCheck;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient;
/**
* ServiceApi [动态模型] 对象
*/
@Data
@ApiModel("动态模型")
public class META_DYNAMICMODEL extends EntityClient implements Serializable {
/**
* 动态实例
*/
@JSONField(name = "dynainstid")
@JsonProperty("dynainstid")
@ApiModelProperty("动态实例")
private String dynainstid;
/**
* 系统
*/
@JSONField(name = "system_id")
@JsonProperty("system_id")
@ApiModelProperty("系统")
private String systemId;
/**
* 配置标识
*/
@DEField(isKeyField = true)
@JSONField(name = "configid")
@JsonProperty("configid")
@ApiModelProperty("配置标识")
private String configid;
/**
* 配置名称
*/
@JSONField(name = "configname")
@JsonProperty("configname")
@ApiModelProperty("配置名称")
private String configname;
/**
* 父实例
*/
@JSONField(name = "pdynainstid")
@JsonProperty("pdynainstid")
@ApiModelProperty("父实例")
private String pdynainstid;
/**
* 文件
*/
@JSONField(name = "modelfile")
@JsonProperty("modelfile")
@ApiModelProperty("文件")
private String modelfile;
/**
* 状态
*/
@DEField(defaultValue = "0")
@JSONField(name = "status")
@JsonProperty("status")
@ApiModelProperty("状态")
private String status;
/**
* 主实例标识
*/
@JSONField(name = "pdynamicinstid")
@JsonProperty("pdynamicinstid")
private cn.ibizlab.core.disk.domain.META_DYNAMICMODEL pdynamicinstid;
/**
* 设置 [动态实例]
*/
public void setDynainstid(String dynainstid) {
this.dynainstid = dynainstid ;
this.modify("dynainstid",dynainstid);
}
/**
* 设置 [系统]
*/
public void setSystemId(String systemId) {
this.systemId = systemId ;
this.modify("systemid",systemId);
}
/**
* 设置 [配置名称]
*/
public void setConfigname(String configname) {
this.configname = configname ;
this.modify("configname",configname);
}
/**
* 设置 [父实例]
*/
public void setPdynainstid(String pdynainstid) {
this.pdynainstid = pdynainstid ;
this.modify("pdynainstid",pdynainstid);
}
/**
* 设置 [文件]
*/
public void setModelfile(String modelfile) {
this.modelfile = modelfile ;
this.modify("modelfile",modelfile);
}
/**
* 设置 [状态]
*/
public void setStatus(String status) {
this.status = status ;
this.modify("status",status);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("configid");
return super.copyTo(targetEntity,bIncEmpty);
}
}
package cn.ibizlab.core.disk.filter;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import lombok.*;
import lombok.extern.slf4j.Slf4j;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.util.ObjectUtils;
import org.springframework.util.StringUtils;
import cn.ibizlab.util.filter.SearchContextBase;
/**
* ServiceApi数据实体[META_DYNAMICMODEL] 查询条件对象
*/
@Slf4j
@Data
public class META_DYNAMICMODELSearchContext extends SearchContextBase {
private String n_systemid_eq;//[系统]
private String n_configname_like;//[配置名称]
private String n_pdynainstid_eq;//[父实例]
private String n_status_eq;//[状态]
}
package cn.ibizlab.core.disk.service;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.scheduling.annotation.Async;
import com.alibaba.fastjson.JSONObject;
import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.disk.domain.META_DYNAMICMODEL;
import cn.ibizlab.core.disk.filter.META_DYNAMICMODELSearchContext;
/**
* 实体[META_DYNAMICMODEL] 服务对象接口
*/
public interface IMETA_DYNAMICMODELService {
boolean create(META_DYNAMICMODEL et);
void createBatch(List<META_DYNAMICMODEL> list);
boolean update(META_DYNAMICMODEL et);
void updateBatch(List<META_DYNAMICMODEL> list);
boolean remove(String key);
void removeBatch(Collection<String> idList);
META_DYNAMICMODEL get(String key);
META_DYNAMICMODEL getDraft(META_DYNAMICMODEL et);
boolean checkKey(META_DYNAMICMODEL et);
META_DYNAMICMODEL init(META_DYNAMICMODEL et);
boolean initBatch(List<META_DYNAMICMODEL> etList);
META_DYNAMICMODEL publish(META_DYNAMICMODEL et);
boolean publishBatch(List<META_DYNAMICMODEL> etList);
boolean save(META_DYNAMICMODEL et);
void saveBatch(List<META_DYNAMICMODEL> list);
Page<META_DYNAMICMODEL> searchDefault(META_DYNAMICMODELSearchContext context);
Page<META_DYNAMICMODEL> searchDynaInst(META_DYNAMICMODELSearchContext context);
List<META_DYNAMICMODEL> selectByPdynainstid(String configid);
void removeByPdynainstid(String configid);
}
package cn.ibizlab.core.disk.service.impl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.Map;
import java.util.HashSet;
import java.util.HashMap;
import java.util.Collection;
import java.util.Objects;
import java.util.Optional;
import java.math.BigInteger;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cglib.beans.BeanCopier;
import org.springframework.stereotype.Service;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.Pageable;
import org.springframework.util.ObjectUtils;
import org.springframework.beans.factory.annotation.Value;
import cn.ibizlab.util.errors.BadRequestAlertException;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.context.annotation.Lazy;
import cn.ibizlab.core.disk.domain.META_DYNAMICMODEL;
import cn.ibizlab.core.disk.filter.META_DYNAMICMODELSearchContext;
import cn.ibizlab.core.disk.service.IMETA_DYNAMICMODELService;
import cn.ibizlab.util.helper.CachedBeanCopier;
import cn.ibizlab.util.helper.DEFieldCacheMap;
import cn.ibizlab.core.disk.client.META_DYNAMICMODELFeignClient;
import com.fasterxml.jackson.databind.ObjectMapper;
/**
* 实体[动态模型] 服务对象接口实现
*/
@Slf4j
@Service
public class META_DYNAMICMODELServiceImpl implements IMETA_DYNAMICMODELService {
@Autowired
META_DYNAMICMODELFeignClient mETA_DYNAMICMODELFeignClient;
@Override
public boolean create(META_DYNAMICMODEL et) {
META_DYNAMICMODEL rt = mETA_DYNAMICMODELFeignClient.create(et);
if(rt==null)
return false;
CachedBeanCopier.copy(rt, et);
return true;
}
public void createBatch(List<META_DYNAMICMODEL> list){
mETA_DYNAMICMODELFeignClient.createBatch(list) ;
}
@Override
public boolean update(META_DYNAMICMODEL et) {
META_DYNAMICMODEL rt = mETA_DYNAMICMODELFeignClient.update(et.getConfigid(),et);
if(rt==null)
return false;
CachedBeanCopier.copy(rt, et);
return true;
}
public void updateBatch(List<META_DYNAMICMODEL> list){
mETA_DYNAMICMODELFeignClient.updateBatch(list) ;
}
@Override
public boolean remove(String configid) {
boolean result=mETA_DYNAMICMODELFeignClient.remove(configid) ;
return result;
}
public void removeBatch(Collection<String> idList){
mETA_DYNAMICMODELFeignClient.removeBatch(idList);
}
@Override
public META_DYNAMICMODEL get(String configid) {
META_DYNAMICMODEL et=mETA_DYNAMICMODELFeignClient.get(configid);
if(et==null){
et=new META_DYNAMICMODEL();
et.setConfigid(configid);
}
else{
}
return et;
}
@Override
public META_DYNAMICMODEL getDraft(META_DYNAMICMODEL et) {
et=mETA_DYNAMICMODELFeignClient.getDraft(et);
return et;
}
@Override
public boolean checkKey(META_DYNAMICMODEL et) {
return mETA_DYNAMICMODELFeignClient.checkKey(et);
}
@Override
@Transactional
public META_DYNAMICMODEL init(META_DYNAMICMODEL et) {
//自定义代码
return et;
}
@Override
@Transactional
public boolean initBatch(List<META_DYNAMICMODEL> etList) {
for(META_DYNAMICMODEL et : etList) {
init(et);
}
return true;
}
@Override
@Transactional
public META_DYNAMICMODEL publish(META_DYNAMICMODEL et) {
//自定义代码
return et;
}
@Override
@Transactional
public boolean publishBatch(List<META_DYNAMICMODEL> etList) {
for(META_DYNAMICMODEL et : etList) {
publish(et);
}
return true;
}
@Override
@Transactional
public boolean save(META_DYNAMICMODEL et) {
boolean result = true;
Object rt = mETA_DYNAMICMODELFeignClient.saveEntity(et);
if(rt == null)
return false;
try {
if (rt instanceof Map) {
ObjectMapper mapper = new ObjectMapper();
rt = mapper.readValue(mapper.writeValueAsString(rt), META_DYNAMICMODEL.class);
if (rt != null) {
CachedBeanCopier.copy(rt, et);
}
} else if (rt instanceof Boolean) {
result = (boolean) rt;
}
} catch (Exception e) {
}
return result;
}
@Override
public void saveBatch(List<META_DYNAMICMODEL> list) {
mETA_DYNAMICMODELFeignClient.saveBatch(list) ;
}
@Override
public List<META_DYNAMICMODEL> selectByPdynainstid(String configid) {
META_DYNAMICMODELSearchContext context=new META_DYNAMICMODELSearchContext();
context.setSize(Integer.MAX_VALUE);
context.setN_pdynainstid_eq(configid);
return mETA_DYNAMICMODELFeignClient.searchDefault(context).getContent();
}
@Override
public void removeByPdynainstid(String configid) {
Set<String> delIds=new HashSet<String>();
for(META_DYNAMICMODEL before:selectByPdynainstid(configid)){
delIds.add(before.getConfigid());
}
if(delIds.size()>0)
this.removeBatch(delIds);
}
/**
* 查询集合 数据集
*/
@Override
public Page<META_DYNAMICMODEL> searchDefault(META_DYNAMICMODELSearchContext context) {
Page<META_DYNAMICMODEL> mETA_DYNAMICMODELs=mETA_DYNAMICMODELFeignClient.searchDefault(context);
return mETA_DYNAMICMODELs;
}
/**
* 查询集合 主实例数据查询
*/
@Override
public Page<META_DYNAMICMODEL> searchDynaInst(META_DYNAMICMODELSearchContext context) {
Page<META_DYNAMICMODEL> mETA_DYNAMICMODELs=mETA_DYNAMICMODELFeignClient.searchDynaInst(context);
return mETA_DYNAMICMODELs;
}
}
package cn.ibizlab.core.extensions.service;
import cn.ibizlab.core.disk.service.impl.META_DYNAMICMODELServiceImpl;
import lombok.extern.slf4j.Slf4j;
import cn.ibizlab.core.disk.domain.META_DYNAMICMODEL;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.context.annotation.Primary;
import java.util.*;
/**
* 实体[动态模型] 自定义服务对象
*/
@Slf4j
@Primary
@Service("META_DYNAMICMODELExService")
public class META_DYNAMICMODELExService extends META_DYNAMICMODELServiceImpl {
/**
* [Init:初始化副本实例] 行为扩展
* @param et
* @return
*/
@Override
@Transactional
public META_DYNAMICMODEL init(META_DYNAMICMODEL et) {
return super.init(et);
}
/**
* [Publish:发布模型] 行为扩展
* @param et
* @return
*/
@Override
@Transactional
public META_DYNAMICMODEL publish(META_DYNAMICMODEL et) {
return super.publish(et);
}
}
...@@ -52,6 +52,14 @@ ...@@ -52,6 +52,14 @@
"datascope":[{"id":"all","name":"全部数据"}] "datascope":[{"id":"all","name":"全部数据"}]
} }
, { , {
"dename":"META_DYNAMICMODEL",
"delogicname":"动态模型",
"sysmoudle":{"id":"DISK","name":"disk"},
"dedataset":[{"id":"Default" , "name":"数据集"},{"id":"DynaInst" , "name":"主实例数据查询"}],
"deaction":[{"id":"Create" , "name":"Create" , "type":"BUILTIN" },{"id":"Update" , "name":"Update" , "type":"BUILTIN" },{"id":"Remove" , "name":"Remove" , "type":"BUILTIN" },{"id":"Get" , "name":"Get" , "type":"BUILTIN" },{"id":"GetDraft" , "name":"GetDraft" , "type":"BUILTIN" },{"id":"CheckKey" , "name":"CheckKey" , "type":"BUILTIN" },{"id":"Init" , "name":"初始化副本实例" , "type":"USERCUSTOM" },{"id":"Publish" , "name":"发布模型" , "type":"USERCUSTOM" },{"id":"Save" , "name":"Save" , "type":"BUILTIN" }],
"datascope":[{"id":"all","name":"全部数据"}]
}
, {
"dename":"MsgBody", "dename":"MsgBody",
"delogicname":"消息", "delogicname":"消息",
"sysmoudle":{"id":"NOTIFY","name":"notify"}, "sysmoudle":{"id":"NOTIFY","name":"notify"},
...@@ -281,7 +289,7 @@ ...@@ -281,7 +289,7 @@
{ {
"appid":"Web", "appid":"Web",
"appname":"ibizlab-runtime", "appname":"ibizlab-runtime",
"appmenu":[{"menuid":"Index", "menuname":"Index", "menuitem":[{ "id":"menuitem7" , "name":"单位人事" , "items":[{ "id":"menuitem1" , "name":"单位管理" },{ "id":"menuitem2" , "name":"部门管理" },{ "id":"menuitem3" , "name":"人员管理" },{ "id":"menuitem12" , "name":"岗位管理" },{ "id":"menuitem13" , "name":"组管理" }]},{ "id":"menuitem8" , "name":"系统权限" , "items":[{ "id":"menuitem4" , "name":"用户角色" },{ "id":"menuitem9" , "name":"认证日志" },{ "id":"menuitem21" , "name":"接入应用" },{ "id":"menuitem22" , "name":"第三方认证" },{ "id":"menuitem23" , "name":"账户绑定" }]},{ "id":"menuitem10" , "name":"流程管理" , "items":[{ "id":"menuitem6" , "name":"流程定义" },{ "id":"menuitem5" , "name":"流程角色" },{ "id":"menuitem11" , "name":"发布新流程" }]},{ "id":"menuitem14" , "name":"任务管理" , "items":[{ "id":"menuitem15" , "name":"注册" },{ "id":"menuitem16" , "name":"任务" },{ "id":"menuitem17" , "name":"日志" }]},{ "id":"menuitem18" , "name":"字典管理" , "items":[{ "id":"menuitem19" , "name":"目录" },{ "id":"menuitem20" , "name":"字典项" }]},{ "id":"menuitem24" , "name":"消息通知" , "items":[{ "id":"menuitem25" , "name":"第三方平台" },{ "id":"menuitem26" , "name":"消息模板" },{ "id":"menuitem27" , "name":"消息账户" }]},{ "id":"menuitem28" , "name":"支付管理" , "items":[{ "id":"menuitem29" , "name":"支付交易" },{ "id":"menuitem30" , "name":"支付平台" }]}] }] "appmenu":[{"menuid":"Index", "menuname":"Index", "menuitem":[{ "id":"menuitem7" , "name":"单位人事" , "items":[{ "id":"menuitem1" , "name":"单位管理" },{ "id":"menuitem2" , "name":"部门管理" },{ "id":"menuitem3" , "name":"人员管理" },{ "id":"menuitem12" , "name":"岗位管理" },{ "id":"menuitem13" , "name":"组管理" }]},{ "id":"menuitem8" , "name":"系统权限" , "items":[{ "id":"menuitem4" , "name":"用户角色" },{ "id":"menuitem9" , "name":"认证日志" },{ "id":"menuitem21" , "name":"接入应用" },{ "id":"menuitem22" , "name":"第三方认证" },{ "id":"menuitem23" , "name":"账户绑定" }]},{ "id":"menuitem10" , "name":"流程管理" , "items":[{ "id":"menuitem6" , "name":"流程定义" },{ "id":"menuitem5" , "name":"流程角色" },{ "id":"menuitem11" , "name":"发布新流程" }]},{ "id":"menuitem14" , "name":"任务管理" , "items":[{ "id":"menuitem15" , "name":"注册" },{ "id":"menuitem16" , "name":"任务" },{ "id":"menuitem17" , "name":"日志" }]},{ "id":"menuitem18" , "name":"字典管理" , "items":[{ "id":"menuitem19" , "name":"目录" },{ "id":"menuitem20" , "name":"字典项" }]},{ "id":"menuitem24" , "name":"消息通知" , "items":[{ "id":"menuitem25" , "name":"第三方平台" },{ "id":"menuitem26" , "name":"消息模板" },{ "id":"menuitem27" , "name":"消息账户" }]},{ "id":"menuitem28" , "name":"支付管理" , "items":[{ "id":"menuitem29" , "name":"支付交易" },{ "id":"menuitem30" , "name":"支付平台" }]},{ "id":"menuitem31" , "name":"存储管理" , "items":[{ "id":"menuitem32" , "name":"动态模型" }]}] }]
} }
] ]
} }
...@@ -883,6 +883,138 @@ ...@@ -883,6 +883,138 @@
], ],
"parentEntitys":[ "parentEntitys":[
] ]
}
,
{
"entity_name":"META_DYNAMICMODEL",
"logic_name":"动态模型",
"code_name":"META_DYNAMICMODEL",
"table_name":"IBZDYNAMICMODEL",
"system_id":"ibzrt",
"system_name":"ibzrt",
"module_id":"disk",
"module_name":"disk",
"fields":[
{
"fieldname":"DYNAINSTID" ,
"codename":"Dynainstid",
"field_logic_name":"动态实例",
"entity_name":"META_DYNAMICMODEL",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":1,
"major_field":0
},
{
"fieldname":"SYSTEMID" ,
"codename":"System_id",
"field_logic_name":"系统",
"entity_name":"META_DYNAMICMODEL",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":2,
"major_field":0
},
{
"fieldname":"CONFIGID" ,
"codename":"Configid",
"field_logic_name":"配置标识",
"entity_name":"META_DYNAMICMODEL",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":1,
"show_order":3,
"major_field":0
},
{
"fieldname":"CONFIGNAME" ,
"codename":"Configname",
"field_logic_name":"配置名称",
"entity_name":"META_DYNAMICMODEL",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":4,
"major_field":1
},
{
"fieldname":"PDYNAINSTID" ,
"codename":"Pdynainstid",
"field_logic_name":"父实例",
"entity_name":"META_DYNAMICMODEL",
"ref_de":"META_DYNAMICMODEL",
"ref_field_name":"CONFIGID",
"relation_name":"DER1N_META_DYNAMICMODEL_META_DYNAMICMODEL_PDYNAINSTID",
"relation_codename":"PDynamicInstId",
"field_type":"PICKUP",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":5,
"major_field":0
},
{
"fieldname":"MODELFILE" ,
"codename":"Modelfile",
"field_logic_name":"文件",
"entity_name":"META_DYNAMICMODEL",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":1000,
"key_field":0,
"show_order":6,
"major_field":0
},
{
"fieldname":"STATUS" ,
"codename":"Status",
"field_logic_name":"状态",
"entity_name":"META_DYNAMICMODEL",
"field_type":"SSCODELIST",
"dict":"DynamicModelStatus",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":60,
"key_field":0,
"show_order":7,
"major_field":0
}
],
"subEntitys":[
{"name":"DER1N_META_DYNAMICMODEL_META_DYNAMICMODEL_PDYNAINSTID",
"relation_type":"DER1N",
"code_name":"PDynamicInstId",
"entity_name":"META_DYNAMICMODEL",
"ref_entity_name":"META_DYNAMICMODEL"
}
],
"parentEntitys":[
{"name":"DER1N_META_DYNAMICMODEL_META_DYNAMICMODEL_PDYNAINSTID",
"relation_type":"DER1N",
"code_name":"PDynamicInstId",
"entity_name":"META_DYNAMICMODEL",
"ref_entity_name":"META_DYNAMICMODEL"
}
]
} }
, ,
{ {
......
package cn.ibizlab.api.dto;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.math.BigInteger;
import java.util.Map;
import java.util.HashMap;
import java.io.Serializable;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* 服务DTO对象[META_DYNAMICMODELDTO]
*/
@Data
@ApiModel("动态模型")
public class META_DYNAMICMODELDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 属性 [DYNAINSTID]
*
*/
@JSONField(name = "dynainstid")
@JsonProperty("dynainstid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("动态实例")
private String dynainstid;
/**
* 属性 [SYSTEMID]
*
*/
@JSONField(name = "system_id")
@JsonProperty("system_id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("系统")
private String systemId;
/**
* 属性 [CONFIGID]
*
*/
@JSONField(name = "configid")
@JsonProperty("configid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("配置标识")
private String configid;
/**
* 属性 [CONFIGNAME]
*
*/
@JSONField(name = "configname")
@JsonProperty("configname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("配置名称")
private String configname;
/**
* 属性 [PDYNAINSTID]
*
*/
@JSONField(name = "pdynainstid")
@JsonProperty("pdynainstid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("父实例")
private String pdynainstid;
/**
* 属性 [MODELFILE]
*
*/
@JSONField(name = "modelfile")
@JsonProperty("modelfile")
@Size(min = 0, max = 1000, message = "内容长度必须小于等于[1000]")
@ApiModelProperty("文件")
private String modelfile;
/**
* 属性 [STATUS]
*
*/
@JSONField(name = "status")
@JsonProperty("status")
@Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
@ApiModelProperty("状态")
private String status;
/**
* 设置 [DYNAINSTID]
*/
public void setDynainstid(String dynainstid){
this.dynainstid = dynainstid ;
this.modify("dynainstid",dynainstid);
}
/**
* 设置 [SYSTEMID]
*/
public void setSystemId(String systemId){
this.systemId = systemId ;
this.modify("systemid",systemId);
}
/**
* 设置 [CONFIGNAME]
*/
public void setConfigname(String configname){
this.configname = configname ;
this.modify("configname",configname);
}
/**
* 设置 [PDYNAINSTID]
*/
public void setPdynainstid(String pdynainstid){
this.pdynainstid = pdynainstid ;
this.modify("pdynainstid",pdynainstid);
}
/**
* 设置 [MODELFILE]
*/
public void setModelfile(String modelfile){
this.modelfile = modelfile ;
this.modify("modelfile",modelfile);
}
/**
* 设置 [STATUS]
*/
public void setStatus(String status){
this.status = status ;
this.modify("status",status);
}
}
package cn.ibizlab.api.mapping;
import org.mapstruct.*;
import cn.ibizlab.core.disk.domain.META_DYNAMICMODEL;
import cn.ibizlab.api.dto.META_DYNAMICMODELDTO;
import cn.ibizlab.util.domain.MappingBase;
@Mapper(componentModel = "spring", uses = {}, implementationName = "apiMETA_DYNAMICMODELMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface META_DYNAMICMODELMapping extends MappingBase<META_DYNAMICMODELDTO, META_DYNAMICMODEL> {
}
...@@ -71,6 +71,52 @@ public class StaticDict { ...@@ -71,6 +71,52 @@ public class StaticDict {
/**
* 代码表[第三方平台]
*/
@Getter
public enum PayOpenAccessType {
ALIYUN("aliyun","阿里云"),
WECHAT("wechat","微信开放平台"),
QQ("qq","QQ互联"),
DINGTALK("dingtalk","钉钉开放平台");
private String value;
private String text;
private String valueSeparator="";
private String textSeparator="";
private String emptyText="";
PayOpenAccessType(String value , String text) {
this.value=value;
this.text = text;
}
}
/**
* 代码表[第三方平台]
*/
@Getter
public enum NotifyOpenAccessType {
ALIYUN("aliyun","阿里云"),
WECHAT("wechat","微信开放平台"),
QQ("qq","QQ互联"),
DINGTALK("dingtalk","钉钉开放平台");
private String value;
private String text;
private String valueSeparator="";
private String textSeparator="";
private String emptyText="";
NotifyOpenAccessType(String value , String text) {
this.value=value;
this.text = text;
}
}
/** /**
* 代码表[审计行为] * 代码表[审计行为]
*/ */
...@@ -469,29 +515,6 @@ public class StaticDict { ...@@ -469,29 +515,6 @@ public class StaticDict {
} }
/**
* 代码表[第三方平台]
*/
@Getter
public enum PayOpenAccessType {
ALIYUN("aliyun","阿里云"),
WECHAT("wechat","微信开放平台"),
QQ("qq","QQ互联"),
DINGTALK("dingtalk","钉钉开放平台");
private String value;
private String text;
private String valueSeparator="";
private String textSeparator="";
private String emptyText="";
PayOpenAccessType(String value , String text) {
this.value=value;
this.text = text;
}
}
/** /**
* 代码表[平台内置流程状态] * 代码表[平台内置流程状态]
*/ */
...@@ -1491,6 +1514,29 @@ public class StaticDict { ...@@ -1491,6 +1514,29 @@ public class StaticDict {
} }
/**
* 代码表[第三方平台]
*/
@Getter
public enum UaaOpenAccessType {
ALIYUN("aliyun","阿里云"),
WECHAT("wechat","微信开放平台"),
QQ("qq","QQ互联"),
DINGTALK("dingtalk","钉钉开放平台");
private String value;
private String text;
private String valueSeparator="";
private String textSeparator="";
private String emptyText="";
UaaOpenAccessType(String value , String text) {
this.value=value;
this.text = text;
}
}
/** /**
* 代码表[缩略界面类型] * 代码表[缩略界面类型]
*/ */
...@@ -2374,29 +2420,6 @@ public class StaticDict { ...@@ -2374,29 +2420,6 @@ public class StaticDict {
} }
/**
* 代码表[第三方平台]
*/
@Getter
public enum NotifyOpenAccessType {
ALIYUN("aliyun","阿里云"),
WECHAT("wechat","微信开放平台"),
QQ("qq","QQ互联"),
DINGTALK("dingtalk","钉钉开放平台");
private String value;
private String text;
private String valueSeparator="";
private String textSeparator="";
private String emptyText="";
NotifyOpenAccessType(String value , String text) {
this.value=value;
this.text = text;
}
}
/** /**
* 代码表[性能分析指标] * 代码表[性能分析指标]
*/ */
...@@ -2681,29 +2704,6 @@ public class StaticDict { ...@@ -2681,29 +2704,6 @@ public class StaticDict {
} }
/**
* 代码表[第三方平台]
*/
@Getter
public enum UaaOpenAccessType {
ALIYUN("aliyun","阿里云"),
WECHAT("wechat","微信开放平台"),
QQ("qq","QQ互联"),
DINGTALK("dingtalk","钉钉开放平台");
private String value;
private String text;
private String valueSeparator="";
private String textSeparator="";
private String emptyText="";
UaaOpenAccessType(String value , String text) {
this.value=value;
this.text = text;
}
}
/** /**
* 代码表[月(1~31)] * 代码表[月(1~31)]
*/ */
...@@ -2803,6 +2803,27 @@ public class StaticDict { ...@@ -2803,6 +2803,27 @@ public class StaticDict {
} }
/**
* 代码表[动态模型导入状态]
*/
@Getter
public enum DynamicModelStatus {
ITEM_0("0","未激活"),
ITEM_1("1","已激活");
private String value;
private String text;
private String valueSeparator="";
private String textSeparator="";
private String emptyText="";
DynamicModelStatus(String value , String text) {
this.value=value;
this.text = text;
}
}
/** /**
* 代码表[数据同步方向] * 代码表[数据同步方向]
*/ */
......
package cn.ibizlab.util.helper;
import cn.ibizlab.util.domain.EntityBase;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.util.StringUtils;
import java.io.IOException;
import java.io.StringReader;
import java.util.*;
@Getter
@Setter
@NoArgsConstructor
@Accessors(chain = true)
public class Setting {
private String property;
private String value;
public static String getValue(String configString,String propertyName)
{
return DataObject.getStringValue(getMap(configString).get(propertyName),"");
}
public static <T extends EntityBase> T getEntity(String configString,T entityBase)
{
if(entityBase!=null) {
Map map=getMap(configString);
map.keySet().forEach(key->{
entityBase.set(key.toString(),map.get(key));
});
}
return entityBase;
}
public static Map getMap(String configString)
{
Map map=new HashMap();
map.put("param",configString);
if(!(StringUtils.isEmpty(configString)))
{
try
{
Object obj=JSON.parse(configString);
if(obj==null)
return map;
else if (obj instanceof JSONArray)
{
List<Setting> settings= JSONArray.parseArray(configString,Setting.class);
for(Setting setting:settings)
map.put(setting.getProperty(),setting.getValue());
}
else if (obj instanceof JSONObject)
{
JSONObject jo = (JSONObject)obj;
jo.keySet().forEach(key->{
map.put(key,jo.get(key));
});
}
}
catch (Exception ex)
{
if(configString.indexOf("=")>0)
{
Properties proper = new Properties();
try {
proper.load(new StringReader(configString)); //把字符串转为reader
} catch (IOException e) {
}
Enumeration enum1 = proper.propertyNames();
while (enum1.hasMoreElements()) {
String strKey = (String) enum1.nextElement();
String strValue = proper.getProperty(strKey);
map.put(strKey, strValue);
}
}
}
}
return map;
}
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册