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

MoneyQ 发布系统代码

上级 fb21e1df
[ [
{ {
"srfkey": "OpenAccessType",
"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": "YesNo", "srfkey": "YesNo",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
......
...@@ -71,6 +71,14 @@ ...@@ -71,6 +71,14 @@
"viewname": "SysDepartmentGridView", "viewname": "SysDepartmentGridView",
"viewtag": "1a71a212ed794d05b51b9c825b9cf19a" "viewtag": "1a71a212ed794d05b51b9c825b9cf19a"
}, },
"sysuserautheditview": {
"title": "账号编辑视图",
"caption": "账号绑定",
"viewtype": "DEEDITVIEW",
"viewmodule": "uaa",
"viewname": "SysUserAuthEditView",
"viewtag": "1ee5253453314436a2c78ca1dfa87bc6"
},
"sysappgridview": { "sysappgridview": {
"title": "接入应用", "title": "接入应用",
"caption": "接入应用", "caption": "接入应用",
...@@ -119,6 +127,14 @@ ...@@ -119,6 +127,14 @@
"viewname": "SysRolePickupView", "viewname": "SysRolePickupView",
"viewtag": "26cc2d5c69f1525eaa415b7de1a0d4a6" "viewtag": "26cc2d5c69f1525eaa415b7de1a0d4a6"
}, },
"sysopenaccessgridview": {
"title": "第三方认证平台",
"caption": "第三方认证平台",
"viewtype": "DEGRIDVIEW",
"viewmodule": "uaa",
"viewname": "SysOpenAccessGridView",
"viewtag": "29ebd67c0eba9fb1464bcd1397112f6f"
},
"sysuserpickupview": { "sysuserpickupview": {
"title": "用户表数据选择视图", "title": "用户表数据选择视图",
"caption": "系统用户", "caption": "系统用户",
...@@ -127,6 +143,14 @@ ...@@ -127,6 +143,14 @@
"viewname": "SysUserPickupView", "viewname": "SysUserPickupView",
"viewtag": "32fe9ab4a9e1b8d62b9ee802e4746965" "viewtag": "32fe9ab4a9e1b8d62b9ee802e4746965"
}, },
"sysopenaccesseditview": {
"title": "第三方认证平台",
"caption": "第三方认证平台",
"viewtype": "DEEDITVIEW",
"viewmodule": "uaa",
"viewname": "SysOpenAccessEditView",
"viewtag": "349cda61e4dc5e38045ef7c77321d1c7"
},
"sysorganizationpickupgridview": { "sysorganizationpickupgridview": {
"title": "单位机构选择表格视图", "title": "单位机构选择表格视图",
"caption": "单位机构", "caption": "单位机构",
...@@ -590,5 +614,13 @@ ...@@ -590,5 +614,13 @@
"viewmodule": "workflow", "viewmodule": "workflow",
"viewname": "WFGroupGridView", "viewname": "WFGroupGridView",
"viewtag": "f498dfb24e88df7c70a5c09ecb587647" "viewtag": "f498dfb24e88df7c70a5c09ecb587647"
},
"sysuserauthgridview": {
"title": "账号表格视图",
"caption": "账号绑定",
"viewtype": "DEGRIDVIEW",
"viewmodule": "uaa",
"viewname": "SysUserAuthGridView",
"viewtag": "fd7c41ae2348a07694aa65a26bca0df5"
} }
} }
...@@ -45,12 +45,14 @@ export class AuthServiceRegister { ...@@ -45,12 +45,14 @@ export class AuthServiceRegister {
this.allAuthService.set('sysauthlog', () => import('@/authservice/sys-auth-log/sys-auth-log-auth-service')); this.allAuthService.set('sysauthlog', () => import('@/authservice/sys-auth-log/sys-auth-log-auth-service'));
this.allAuthService.set('wfmember', () => import('@/authservice/wfmember/wfmember-auth-service')); this.allAuthService.set('wfmember', () => import('@/authservice/wfmember/wfmember-auth-service'));
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('sysdepartment', () => import('@/authservice/sys-department/sys-department-auth-service')); this.allAuthService.set('sysdepartment', () => import('@/authservice/sys-department/sys-department-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('systeam', () => import('@/authservice/sys-team/sys-team-auth-service')); this.allAuthService.set('systeam', () => import('@/authservice/sys-team/sys-team-auth-service'));
this.allAuthService.set('wfuser', () => import('@/authservice/wfuser/wfuser-auth-service')); this.allAuthService.set('wfuser', () => import('@/authservice/wfuser/wfuser-auth-service'));
this.allAuthService.set('sysorganization', () => import('@/authservice/sys-organization/sys-organization-auth-service')); this.allAuthService.set('sysorganization', () => import('@/authservice/sys-organization/sys-organization-auth-service'));
this.allAuthService.set('jobsregistry', () => import('@/authservice/jobs-registry/jobs-registry-auth-service')); this.allAuthService.set('jobsregistry', () => import('@/authservice/jobs-registry/jobs-registry-auth-service'));
this.allAuthService.set('sysopenaccess', () => import('@/authservice/sys-open-access/sys-open-access-auth-service'));
this.allAuthService.set('dictcatalog', () => import('@/authservice/dict-catalog/dict-catalog-auth-service')); this.allAuthService.set('dictcatalog', () => import('@/authservice/dict-catalog/dict-catalog-auth-service'));
this.allAuthService.set('wfgroup', () => import('@/authservice/wfgroup/wfgroup-auth-service')); this.allAuthService.set('wfgroup', () => import('@/authservice/wfgroup/wfgroup-auth-service'));
this.allAuthService.set('jobsinfo', () => import('@/authservice/jobs-info/jobs-info-auth-service')); this.allAuthService.set('jobsinfo', () => import('@/authservice/jobs-info/jobs-info-auth-service'));
......
import AuthService from '../auth-service';
/**
* 第三方认证平台权限服务对象基类
*
* @export
* @class SysOpenAccessAuthServiceBase
* @extends {AuthService}
*/
export default class SysOpenAccessAuthServiceBase extends AuthService {
/**
* Creates an instance of SysOpenAccessAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof SysOpenAccessAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof SysOpenAccessAuthServiceBase
*/
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 SysOpenAccessAuthServiceBase from './sys-open-access-auth-service-base';
/**
* 第三方认证平台权限服务对象
*
* @export
* @class SysOpenAccessAuthService
* @extends {SysOpenAccessAuthServiceBase}
*/
export default class SysOpenAccessAuthService extends SysOpenAccessAuthServiceBase {
/**
* Creates an instance of SysOpenAccessAuthService.
*
* @param {*} [opts={}]
* @memberof SysOpenAccessAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 账号绑定权限服务对象基类
*
* @export
* @class SysUserAuthAuthServiceBase
* @extends {AuthService}
*/
export default class SysUserAuthAuthServiceBase extends AuthService {
/**
* Creates an instance of SysUserAuthAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof SysUserAuthAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof SysUserAuthAuthServiceBase
*/
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 SysUserAuthAuthServiceBase from './sys-user-auth-auth-service-base';
/**
* 账号绑定权限服务对象
*
* @export
* @class SysUserAuthAuthService
* @extends {SysUserAuthAuthServiceBase}
*/
export default class SysUserAuthAuthService extends SysUserAuthAuthServiceBase {
/**
* Creates an instance of SysUserAuthAuthService.
*
* @param {*} [opts={}]
* @memberof SysUserAuthAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
...@@ -4,12 +4,14 @@ import sysuser_en_US from '@locale/lanres/entities/sys-user/sys-user_en_US'; ...@@ -4,12 +4,14 @@ import sysuser_en_US from '@locale/lanres/entities/sys-user/sys-user_en_US';
import sysauthlog_en_US from '@locale/lanres/entities/sys-auth-log/sys-auth-log_en_US'; import sysauthlog_en_US from '@locale/lanres/entities/sys-auth-log/sys-auth-log_en_US';
import wfmember_en_US from '@locale/lanres/entities/wfmember/wfmember_en_US'; 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 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 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 systeam_en_US from '@locale/lanres/entities/sys-team/sys-team_en_US'; import systeam_en_US from '@locale/lanres/entities/sys-team/sys-team_en_US';
import wfuser_en_US from '@locale/lanres/entities/wfuser/wfuser_en_US'; import wfuser_en_US from '@locale/lanres/entities/wfuser/wfuser_en_US';
import sysorganization_en_US from '@locale/lanres/entities/sys-organization/sys-organization_en_US'; import sysorganization_en_US from '@locale/lanres/entities/sys-organization/sys-organization_en_US';
import jobsregistry_en_US from '@locale/lanres/entities/jobs-registry/jobs-registry_en_US'; import jobsregistry_en_US from '@locale/lanres/entities/jobs-registry/jobs-registry_en_US';
import sysopenaccess_en_US from '@locale/lanres/entities/sys-open-access/sys-open-access_en_US';
import dictcatalog_en_US from '@locale/lanres/entities/dict-catalog/dict-catalog_en_US'; import dictcatalog_en_US from '@locale/lanres/entities/dict-catalog/dict-catalog_en_US';
import wfgroup_en_US from '@locale/lanres/entities/wfgroup/wfgroup_en_US'; import wfgroup_en_US from '@locale/lanres/entities/wfgroup/wfgroup_en_US';
import jobsinfo_en_US from '@locale/lanres/entities/jobs-info/jobs-info_en_US'; import jobsinfo_en_US from '@locale/lanres/entities/jobs-info/jobs-info_en_US';
...@@ -153,6 +155,8 @@ export default { ...@@ -153,6 +155,8 @@ export default {
menuitem4: "用户角色", menuitem4: "用户角色",
menuitem9: "认证日志", menuitem9: "认证日志",
menuitem21: "接入应用", menuitem21: "接入应用",
menuitem22: "第三方认证",
menuitem23: "账户绑定",
menuitem10: "流程管理", menuitem10: "流程管理",
menuitem6: "流程定义", menuitem6: "流程定义",
menuitem5: "流程角色", menuitem5: "流程角色",
...@@ -263,12 +267,14 @@ export default { ...@@ -263,12 +267,14 @@ export default {
sysauthlog: sysauthlog_en_US, sysauthlog: sysauthlog_en_US,
wfmember: wfmember_en_US, wfmember: wfmember_en_US,
syspost: syspost_en_US, syspost: syspost_en_US,
sysuserauth: sysuserauth_en_US,
sysdepartment: sysdepartment_en_US, sysdepartment: sysdepartment_en_US,
sysemployee: sysemployee_en_US, sysemployee: sysemployee_en_US,
systeam: systeam_en_US, systeam: systeam_en_US,
wfuser: wfuser_en_US, wfuser: wfuser_en_US,
sysorganization: sysorganization_en_US, sysorganization: sysorganization_en_US,
jobsregistry: jobsregistry_en_US, jobsregistry: jobsregistry_en_US,
sysopenaccess: sysopenaccess_en_US,
dictcatalog: dictcatalog_en_US, dictcatalog: dictcatalog_en_US,
wfgroup: wfgroup_en_US, wfgroup: wfgroup_en_US,
jobsinfo: jobsinfo_en_US, jobsinfo: jobsinfo_en_US,
......
...@@ -4,12 +4,14 @@ import sysuser_zh_CN from '@locale/lanres/entities/sys-user/sys-user_zh_CN'; ...@@ -4,12 +4,14 @@ import sysuser_zh_CN from '@locale/lanres/entities/sys-user/sys-user_zh_CN';
import sysauthlog_zh_CN from '@locale/lanres/entities/sys-auth-log/sys-auth-log_zh_CN'; import sysauthlog_zh_CN from '@locale/lanres/entities/sys-auth-log/sys-auth-log_zh_CN';
import wfmember_zh_CN from '@locale/lanres/entities/wfmember/wfmember_zh_CN'; 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 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 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 systeam_zh_CN from '@locale/lanres/entities/sys-team/sys-team_zh_CN'; import systeam_zh_CN from '@locale/lanres/entities/sys-team/sys-team_zh_CN';
import wfuser_zh_CN from '@locale/lanres/entities/wfuser/wfuser_zh_CN'; import wfuser_zh_CN from '@locale/lanres/entities/wfuser/wfuser_zh_CN';
import sysorganization_zh_CN from '@locale/lanres/entities/sys-organization/sys-organization_zh_CN'; import sysorganization_zh_CN from '@locale/lanres/entities/sys-organization/sys-organization_zh_CN';
import jobsregistry_zh_CN from '@locale/lanres/entities/jobs-registry/jobs-registry_zh_CN'; import jobsregistry_zh_CN from '@locale/lanres/entities/jobs-registry/jobs-registry_zh_CN';
import sysopenaccess_zh_CN from '@locale/lanres/entities/sys-open-access/sys-open-access_zh_CN';
import dictcatalog_zh_CN from '@locale/lanres/entities/dict-catalog/dict-catalog_zh_CN'; import dictcatalog_zh_CN from '@locale/lanres/entities/dict-catalog/dict-catalog_zh_CN';
import wfgroup_zh_CN from '@locale/lanres/entities/wfgroup/wfgroup_zh_CN'; import wfgroup_zh_CN from '@locale/lanres/entities/wfgroup/wfgroup_zh_CN';
import jobsinfo_zh_CN from '@locale/lanres/entities/jobs-info/jobs-info_zh_CN'; import jobsinfo_zh_CN from '@locale/lanres/entities/jobs-info/jobs-info_zh_CN';
...@@ -153,6 +155,8 @@ export default { ...@@ -153,6 +155,8 @@ export default {
menuitem4: "用户角色", menuitem4: "用户角色",
menuitem9: "认证日志", menuitem9: "认证日志",
menuitem21: "接入应用", menuitem21: "接入应用",
menuitem22: "第三方认证",
menuitem23: "账户绑定",
menuitem10: "流程管理", menuitem10: "流程管理",
menuitem6: "流程定义", menuitem6: "流程定义",
menuitem5: "流程角色", menuitem5: "流程角色",
...@@ -262,12 +266,14 @@ export default { ...@@ -262,12 +266,14 @@ export default {
sysauthlog: sysauthlog_zh_CN, sysauthlog: sysauthlog_zh_CN,
wfmember: wfmember_zh_CN, wfmember: wfmember_zh_CN,
syspost: syspost_zh_CN, syspost: syspost_zh_CN,
sysuserauth: sysuserauth_zh_CN,
sysdepartment: sysdepartment_zh_CN, sysdepartment: sysdepartment_zh_CN,
sysemployee: sysemployee_zh_CN, sysemployee: sysemployee_zh_CN,
systeam: systeam_zh_CN, systeam: systeam_zh_CN,
wfuser: wfuser_zh_CN, wfuser: wfuser_zh_CN,
sysorganization: sysorganization_zh_CN, sysorganization: sysorganization_zh_CN,
jobsregistry: jobsregistry_zh_CN, jobsregistry: jobsregistry_zh_CN,
sysopenaccess: sysopenaccess_zh_CN,
dictcatalog: dictcatalog_zh_CN, dictcatalog: dictcatalog_zh_CN,
wfgroup: wfgroup_zh_CN, wfgroup: wfgroup_zh_CN,
jobsinfo: jobsinfo_zh_CN, jobsinfo: jobsinfo_zh_CN,
......
export default { export default {
OpenAccessType: {
"aliyun": "阿里云",
"wechat": "微信开放平台",
"qq": "QQ互联",
"dingtalk": "钉钉开放平台",
"empty": ""
},
YesNo: { YesNo: {
"1": "是", "1": "是",
"0": "否", "0": "否",
......
export default { export default {
OpenAccessType: {
"aliyun": "阿里云",
"wechat": "微信开放平台",
"qq": "QQ互联",
"dingtalk": "钉钉开放平台",
"empty": "",
},
YesNo: { YesNo: {
"1": "是", "1": "是",
"0": "否", "0": "否",
......
export default {
fields: {
id: "开放平台接入标识",
name: "开放平台",
open_type: "开放平台类型",
access_key: "AccessKey(AppId)",
secret_key: "SecretKey(AppSecret)",
region_id: "RegionId",
access_token: "管理账号token",
expires_time: "管理账号token过期时间",
disabled: "是否禁用",
redirect_uri: "RedirectURI",
},
views: {
gridview: {
caption: "第三方认证平台",
title: "第三方认证平台",
},
editview: {
caption: "第三方认证平台",
title: "第三方认证平台",
},
},
main_form: {
details: {
group1: "第三方认证平台基本信息",
formpage1: "基本信息",
srforikey: "",
srfkey: "开放平台接入标识",
srfmajortext: "开放平台",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
accessname: "开放平台",
open_type: "开放平台类型",
access_key: "AccessKey(AppId)",
secret_key: "SecretKey(AppSecret)",
redirect_uri: "RedirectURI",
region_id: "RegionId",
disabled: "是否禁用",
lic: "授权",
image: "图片",
accessid: "开放平台接入标识",
},
uiactions: {
},
},
main_grid: {
columns: {
accessid: "开放平台接入标识",
open_type: "开放平台类型",
accessname: "开放平台",
access_key: "AccessKey(AppId)",
disabled: "是否禁用",
region_id: "RegionId",
redirect_uri: "RedirectURI",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
n_accessname_like: "开放平台(文本包含(%))",
n_open_type_eq: "开放平台类型(等于(=))",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
deuiaction1: {
caption: "Save And Close",
tip: "Save And Close Window",
},
deuiaction2: {
caption: "关闭",
tip: "关闭",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
},
};
\ No newline at end of file
export default {
fields: {
id: "开放平台接入标识",
name: "开放平台",
open_type: "开放平台类型",
access_key: "AccessKey(AppId)",
secret_key: "SecretKey(AppSecret)",
region_id: "RegionId",
access_token: "管理账号token",
expires_time: "管理账号token过期时间",
disabled: "是否禁用",
redirect_uri: "RedirectURI",
},
views: {
gridview: {
caption: "第三方认证平台",
title: "第三方认证平台",
},
editview: {
caption: "第三方认证平台",
title: "第三方认证平台",
},
},
main_form: {
details: {
group1: "第三方认证平台基本信息",
formpage1: "基本信息",
srforikey: "",
srfkey: "开放平台接入标识",
srfmajortext: "开放平台",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
accessname: "开放平台",
open_type: "开放平台类型",
access_key: "AccessKey(AppId)",
secret_key: "SecretKey(AppSecret)",
redirect_uri: "RedirectURI",
region_id: "RegionId",
disabled: "是否禁用",
lic: "授权",
image: "图片",
accessid: "开放平台接入标识",
},
uiactions: {
},
},
main_grid: {
columns: {
accessid: "开放平台接入标识",
open_type: "开放平台类型",
accessname: "开放平台",
access_key: "AccessKey(AppId)",
disabled: "是否禁用",
region_id: "RegionId",
redirect_uri: "RedirectURI",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
n_accessname_like: "开放平台(文本包含(%))",
n_open_type_eq: "开放平台类型(等于(=))",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
deuiaction1: {
caption: "保存并关闭",
tip: "保存并关闭",
},
deuiaction2: {
caption: "关闭",
tip: "关闭",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "拷贝",
tip: "拷贝",
},
},
};
\ No newline at end of file
export default {
fields: {
id: "标识",
userid: "用户标识",
identity_type: "认证类型",
identifier: "认证标识",
credential: "凭据",
},
views: {
editview: {
caption: "账号绑定",
title: "账号编辑视图",
},
gridview: {
caption: "账号绑定",
title: "账号表格视图",
},
},
main_form: {
details: {
group1: "实体基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srforikey: "",
srfkey: "标识",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
authid: "标识",
},
uiactions: {
},
},
main_grid: {
columns: {
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
deuiaction1: {
caption: "Save And Close",
tip: "Save And Close Window",
},
deuiaction2: {
caption: "关闭",
tip: "关闭",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
};
\ No newline at end of file
export default {
fields: {
id: "标识",
userid: "用户标识",
identity_type: "认证类型",
identifier: "认证标识",
credential: "凭据",
},
views: {
editview: {
caption: "账号绑定",
title: "账号编辑视图",
},
gridview: {
caption: "账号绑定",
title: "账号表格视图",
},
},
main_form: {
details: {
group1: "实体基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srforikey: "",
srfkey: "标识",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
authid: "标识",
},
uiactions: {
},
},
main_grid: {
columns: {
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
deuiaction1: {
caption: "保存并关闭",
tip: "保存并关闭",
},
deuiaction2: {
caption: "关闭",
tip: "关闭",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "拷贝",
tip: "拷贝",
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
};
\ No newline at end of file
...@@ -191,6 +191,42 @@ mock.onGet('v7/indexappmenu').reply((config: any) => { ...@@ -191,6 +191,42 @@ mock.onGet('v7/indexappmenu').reply((config: any) => {
textcls: '', textcls: '',
appfunctag: 'Auto15', appfunctag: 'Auto15',
resourcetag: '', resourcetag: '',
},
{
id: '49D90F81-CFE2-4252-9371-C1F131D7D88E',
name: 'menuitem22',
text: '第三方认证',
type: 'MENUITEM',
counterid: '',
tooltip: '第三方认证',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-slack',
icon: '',
textcls: '',
appfunctag: 'AppFunc',
resourcetag: '',
},
{
id: 'D540DA98-41EE-4C04-ACAA-23C15E7BCA15',
name: 'menuitem23',
text: '账户绑定',
type: 'MENUITEM',
counterid: '',
tooltip: '账户绑定',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-link',
icon: '',
textcls: '',
appfunctag: 'AppFunc2',
resourcetag: '',
}, },
], ],
}, },
......
...@@ -8,6 +8,57 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -8,6 +8,57 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
let status = MockAdapter.mockStatus(config); let status = MockAdapter.mockStatus(config);
return [status, [ return [status, [
{ {
srfkey: "OpenAccessType",
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: "YesNo", srfkey: "YesNo",
emptytext: "未定义", emptytext: "未定义",
"codelisttype":"static", "codelisttype":"static",
......
...@@ -13,12 +13,14 @@ import './entity/sys-users/sys-users'; ...@@ -13,12 +13,14 @@ import './entity/sys-users/sys-users';
import './entity/sys-auth-logs/sys-auth-logs'; import './entity/sys-auth-logs/sys-auth-logs';
import './entity/wfmembers/wfmembers'; 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-departments/sys-departments'; import './entity/sys-departments/sys-departments';
import './entity/sys-employees/sys-employees'; import './entity/sys-employees/sys-employees';
import './entity/sys-teams/sys-teams'; import './entity/sys-teams/sys-teams';
import './entity/wfusers/wfusers'; import './entity/wfusers/wfusers';
import './entity/sys-organizations/sys-organizations'; import './entity/sys-organizations/sys-organizations';
import './entity/jobs-registrys/jobs-registrys'; import './entity/jobs-registrys/jobs-registrys';
import './entity/sys-open-accesss/sys-open-accesss';
import './entity/dict-catalogs/dict-catalogs'; import './entity/dict-catalogs/dict-catalogs';
import './entity/wfgroups/wfgroups'; import './entity/wfgroups/wfgroups';
import './entity/jobs-infos/jobs-infos'; import './entity/jobs-infos/jobs-infos';
......
...@@ -79,6 +79,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -79,6 +79,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "SysDepartmentGridView", "viewname": "SysDepartmentGridView",
"viewtag": "1a71a212ed794d05b51b9c825b9cf19a" "viewtag": "1a71a212ed794d05b51b9c825b9cf19a"
}, },
"sysuserautheditview": {
"title": "账号编辑视图",
"caption": "账号绑定",
"viewtype": "DEEDITVIEW",
"viewmodule": "uaa",
"viewname": "SysUserAuthEditView",
"viewtag": "1ee5253453314436a2c78ca1dfa87bc6"
},
"sysappgridview": { "sysappgridview": {
"title": "接入应用", "title": "接入应用",
"caption": "接入应用", "caption": "接入应用",
...@@ -127,6 +135,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -127,6 +135,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "SysRolePickupView", "viewname": "SysRolePickupView",
"viewtag": "26cc2d5c69f1525eaa415b7de1a0d4a6" "viewtag": "26cc2d5c69f1525eaa415b7de1a0d4a6"
}, },
"sysopenaccessgridview": {
"title": "第三方认证平台",
"caption": "第三方认证平台",
"viewtype": "DEGRIDVIEW",
"viewmodule": "uaa",
"viewname": "SysOpenAccessGridView",
"viewtag": "29ebd67c0eba9fb1464bcd1397112f6f"
},
"sysuserpickupview": { "sysuserpickupview": {
"title": "用户表数据选择视图", "title": "用户表数据选择视图",
"caption": "系统用户", "caption": "系统用户",
...@@ -135,6 +151,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -135,6 +151,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "SysUserPickupView", "viewname": "SysUserPickupView",
"viewtag": "32fe9ab4a9e1b8d62b9ee802e4746965" "viewtag": "32fe9ab4a9e1b8d62b9ee802e4746965"
}, },
"sysopenaccesseditview": {
"title": "第三方认证平台",
"caption": "第三方认证平台",
"viewtype": "DEEDITVIEW",
"viewmodule": "uaa",
"viewname": "SysOpenAccessEditView",
"viewtag": "349cda61e4dc5e38045ef7c77321d1c7"
},
"sysorganizationpickupgridview": { "sysorganizationpickupgridview": {
"title": "单位机构选择表格视图", "title": "单位机构选择表格视图",
"caption": "单位机构", "caption": "单位机构",
...@@ -598,6 +622,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -598,6 +622,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewmodule": "workflow", "viewmodule": "workflow",
"viewname": "WFGroupGridView", "viewname": "WFGroupGridView",
"viewtag": "f498dfb24e88df7c70a5c09ecb587647" "viewtag": "f498dfb24e88df7c70a5c09ecb587647"
},
"sysuserauthgridview": {
"title": "账号表格视图",
"caption": "账号绑定",
"viewtype": "DEGRIDVIEW",
"viewmodule": "uaa",
"viewname": "SysUserAuthGridView",
"viewtag": "fd7c41ae2348a07694aa65a26bca0df5"
} }
}]; }];
}); });
\ No newline at end of file
...@@ -3,8 +3,10 @@ export const PageComponents = { ...@@ -3,8 +3,10 @@ export const PageComponents = {
Vue.component('wfgroup-pickup-view', () => import('@pages/workflow/wfgroup-pickup-view/wfgroup-pickup-view.vue')); Vue.component('wfgroup-pickup-view', () => import('@pages/workflow/wfgroup-pickup-view/wfgroup-pickup-view.vue'));
Vue.component('sys-role-mpickup-view', () => import('@pages/uaa/sys-role-mpickup-view/sys-role-mpickup-view.vue')); Vue.component('sys-role-mpickup-view', () => import('@pages/uaa/sys-role-mpickup-view/sys-role-mpickup-view.vue'));
Vue.component('wfuser-mpickup-view', () => import('@pages/workflow/wfuser-mpickup-view/wfuser-mpickup-view.vue')); Vue.component('wfuser-mpickup-view', () => import('@pages/workflow/wfuser-mpickup-view/wfuser-mpickup-view.vue'));
Vue.component('sys-user-auth-grid-view', () => import('@pages/uaa/sys-user-auth-grid-view/sys-user-auth-grid-view.vue'));
Vue.component('sys-post-grid-view', () => import('@pages/ou/sys-post-grid-view/sys-post-grid-view.vue')); Vue.component('sys-post-grid-view', () => import('@pages/ou/sys-post-grid-view/sys-post-grid-view.vue'));
Vue.component('sys-organization-tree-exp-view', () => import('@pages/ou/sys-organization-tree-exp-view/sys-organization-tree-exp-view.vue')); Vue.component('sys-organization-tree-exp-view', () => import('@pages/ou/sys-organization-tree-exp-view/sys-organization-tree-exp-view.vue'));
Vue.component('sys-open-access-edit-view', () => import('@pages/uaa/sys-open-access-edit-view/sys-open-access-edit-view.vue'));
Vue.component('sys-user-role-grid-view', () => import('@pages/uaa/sys-user-role-grid-view/sys-user-role-grid-view.vue')); Vue.component('sys-user-role-grid-view', () => import('@pages/uaa/sys-user-role-grid-view/sys-user-role-grid-view.vue'));
Vue.component('sys-department-pickup-view', () => import('@pages/ou/sys-department-pickup-view/sys-department-pickup-view.vue')); Vue.component('sys-department-pickup-view', () => import('@pages/ou/sys-department-pickup-view/sys-department-pickup-view.vue'));
Vue.component('wfmember-edit-view', () => import('@pages/workflow/wfmember-edit-view/wfmember-edit-view.vue')); Vue.component('wfmember-edit-view', () => import('@pages/workflow/wfmember-edit-view/wfmember-edit-view.vue'));
...@@ -18,6 +20,7 @@ export const PageComponents = { ...@@ -18,6 +20,7 @@ export const PageComponents = {
Vue.component('sys-department-tree-exp-view', () => import('@pages/ou/sys-department-tree-exp-view/sys-department-tree-exp-view.vue')); Vue.component('sys-department-tree-exp-view', () => import('@pages/ou/sys-department-tree-exp-view/sys-department-tree-exp-view.vue'));
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-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'));
...@@ -35,14 +38,15 @@ export const PageComponents = { ...@@ -35,14 +38,15 @@ export const PageComponents = {
Vue.component('sys-post-pickup-view', () => import('@pages/ou/sys-post-pickup-view/sys-post-pickup-view.vue')); Vue.component('sys-post-pickup-view', () => import('@pages/ou/sys-post-pickup-view/sys-post-pickup-view.vue'));
Vue.component('sys-user-pickup-view', () => import('@pages/uaa/sys-user-pickup-view/sys-user-pickup-view.vue')); Vue.component('sys-user-pickup-view', () => import('@pages/uaa/sys-user-pickup-view/sys-user-pickup-view.vue'));
Vue.component('jobs-info-grid-view', () => import('@pages/task/jobs-info-grid-view/jobs-info-grid-view.vue')); Vue.component('jobs-info-grid-view', () => import('@pages/task/jobs-info-grid-view/jobs-info-grid-view.vue'));
Vue.component('sys-team-edit-view', () => import('@pages/ou/sys-team-edit-view/sys-team-edit-view.vue'));
Vue.component('wfprocess-definition-grid-view', () => import('@pages/workflow/wfprocess-definition-grid-view/wfprocess-definition-grid-view.vue')); Vue.component('wfprocess-definition-grid-view', () => import('@pages/workflow/wfprocess-definition-grid-view/wfprocess-definition-grid-view.vue'));
Vue.component('sys-team-edit-view', () => import('@pages/ou/sys-team-edit-view/sys-team-edit-view.vue'));
Vue.component('sys-employee-pickup-view', () => import('@pages/ou/sys-employee-pickup-view/sys-employee-pickup-view.vue'));
Vue.component('sys-organization-pickup-grid-view', () => import('@pages/ou/sys-organization-pickup-grid-view/sys-organization-pickup-grid-view.vue')); Vue.component('sys-organization-pickup-grid-view', () => import('@pages/ou/sys-organization-pickup-grid-view/sys-organization-pickup-grid-view.vue'));
Vue.component('sys-team-member-grid-view', () => import('@pages/ou/sys-team-member-grid-view/sys-team-member-grid-view.vue')); Vue.component('sys-team-member-grid-view', () => import('@pages/ou/sys-team-member-grid-view/sys-team-member-grid-view.vue'));
Vue.component('sys-employee-pickup-view', () => import('@pages/ou/sys-employee-pickup-view/sys-employee-pickup-view.vue'));
Vue.component('sys-app-grid-view', () => import('@pages/uaa/sys-app-grid-view/sys-app-grid-view.vue')); Vue.component('sys-app-grid-view', () => import('@pages/uaa/sys-app-grid-view/sys-app-grid-view.vue'));
Vue.component('sys-user-mpickup-view', () => import('@pages/uaa/sys-user-mpickup-view/sys-user-mpickup-view.vue')); Vue.component('sys-user-mpickup-view', () => import('@pages/uaa/sys-user-mpickup-view/sys-user-mpickup-view.vue'));
Vue.component('jobs-info-edit-view', () => import('@pages/task/jobs-info-edit-view/jobs-info-edit-view.vue')); Vue.component('jobs-info-edit-view', () => import('@pages/task/jobs-info-edit-view/jobs-info-edit-view.vue'));
Vue.component('sys-user-auth-edit-view', () => import('@pages/uaa/sys-user-auth-edit-view/sys-user-auth-edit-view.vue'));
Vue.component('dict-option-edit-view', () => import('@pages/dict/dict-option-edit-view/dict-option-edit-view.vue')); Vue.component('dict-option-edit-view', () => import('@pages/dict/dict-option-edit-view/dict-option-edit-view.vue'));
Vue.component('jobs-registry-grid-view', () => import('@pages/task/jobs-registry-grid-view/jobs-registry-grid-view.vue')); Vue.component('jobs-registry-grid-view', () => import('@pages/task/jobs-registry-grid-view/jobs-registry-grid-view.vue'));
Vue.component('wfuser-pickup-grid-view', () => import('@pages/workflow/wfuser-pickup-grid-view/wfuser-pickup-grid-view.vue')); Vue.component('wfuser-pickup-grid-view', () => import('@pages/workflow/wfuser-pickup-grid-view/wfuser-pickup-grid-view.vue'));
...@@ -57,8 +61,8 @@ export const PageComponents = { ...@@ -57,8 +61,8 @@ export const PageComponents = {
Vue.component('sys-department-edit-view', () => import('@pages/ou/sys-department-edit-view/sys-department-edit-view.vue')); Vue.component('sys-department-edit-view', () => import('@pages/ou/sys-department-edit-view/sys-department-edit-view.vue'));
Vue.component('dict-option-grid-edit-view', () => import('@pages/dict/dict-option-grid-edit-view/dict-option-grid-edit-view.vue')); Vue.component('dict-option-grid-edit-view', () => import('@pages/dict/dict-option-grid-edit-view/dict-option-grid-edit-view.vue'));
Vue.component('dict-catalog-pickup-grid-view', () => import('@pages/dict/dict-catalog-pickup-grid-view/dict-catalog-pickup-grid-view.vue')); Vue.component('dict-catalog-pickup-grid-view', () => import('@pages/dict/dict-catalog-pickup-grid-view/dict-catalog-pickup-grid-view.vue'));
Vue.component('sys-organization-edit-view', () => import('@pages/ou/sys-organization-edit-view/sys-organization-edit-view.vue'));
Vue.component('sys-team-member-edit-view', () => import('@pages/ou/sys-team-member-edit-view/sys-team-member-edit-view.vue')); Vue.component('sys-team-member-edit-view', () => import('@pages/ou/sys-team-member-edit-view/sys-team-member-edit-view.vue'));
Vue.component('sys-organization-edit-view', () => import('@pages/ou/sys-organization-edit-view/sys-organization-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('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'));
......
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.sys-open-access-edit-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import SysOpenAccessEditViewBase from './sys-open-access-edit-view-base.vue';
import view_form from '@widgets/sys-open-access/main-form/main-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class SysOpenAccessEditView extends SysOpenAccessEditViewBase {
}
</script>
\ No newline at end of file
.sys-open-access-grid-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import SysOpenAccessGridViewBase from './sys-open-access-grid-view-base.vue';
import view_grid from '@widgets/sys-open-access/main-grid/main-grid.vue';
import view_searchform from '@widgets/sys-open-access/default-searchform/default-searchform.vue';
@Component({
components: {
view_grid,
view_searchform,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class SysOpenAccessGridView extends SysOpenAccessGridViewBase {
}
</script>
\ No newline at end of file
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.sys-user-auth-edit-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import SysUserAuthEditViewBase from './sys-user-auth-edit-view-base.vue';
import view_form from '@widgets/sys-user-auth/main-form/main-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class SysUserAuthEditView extends SysUserAuthEditViewBase {
}
</script>
\ No newline at end of file
.sys-user-auth-grid-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import SysUserAuthGridViewBase from './sys-user-auth-grid-view-base.vue';
import view_grid from '@widgets/sys-user-auth/main-grid/main-grid.vue';
import view_searchform from '@widgets/sys-user-auth/default-searchform/default-searchform.vue';
@Component({
components: {
view_grid,
view_searchform,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class SysUserAuthGridView extends SysUserAuthGridViewBase {
}
</script>
\ No newline at end of file
...@@ -45,12 +45,14 @@ export class EntityServiceRegister { ...@@ -45,12 +45,14 @@ export class EntityServiceRegister {
this.allEntityService.set('sysauthlog', () => import('@/service/sys-auth-log/sys-auth-log-service')); this.allEntityService.set('sysauthlog', () => import('@/service/sys-auth-log/sys-auth-log-service'));
this.allEntityService.set('wfmember', () => import('@/service/wfmember/wfmember-service')); this.allEntityService.set('wfmember', () => import('@/service/wfmember/wfmember-service'));
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('sysdepartment', () => import('@/service/sys-department/sys-department-service')); this.allEntityService.set('sysdepartment', () => import('@/service/sys-department/sys-department-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('systeam', () => import('@/service/sys-team/sys-team-service')); this.allEntityService.set('systeam', () => import('@/service/sys-team/sys-team-service'));
this.allEntityService.set('wfuser', () => import('@/service/wfuser/wfuser-service')); this.allEntityService.set('wfuser', () => import('@/service/wfuser/wfuser-service'));
this.allEntityService.set('sysorganization', () => import('@/service/sys-organization/sys-organization-service')); this.allEntityService.set('sysorganization', () => import('@/service/sys-organization/sys-organization-service'));
this.allEntityService.set('jobsregistry', () => import('@/service/jobs-registry/jobs-registry-service')); this.allEntityService.set('jobsregistry', () => import('@/service/jobs-registry/jobs-registry-service'));
this.allEntityService.set('sysopenaccess', () => import('@/service/sys-open-access/sys-open-access-service'));
this.allEntityService.set('dictcatalog', () => import('@/service/dict-catalog/dict-catalog-service')); this.allEntityService.set('dictcatalog', () => import('@/service/dict-catalog/dict-catalog-service'));
this.allEntityService.set('wfgroup', () => import('@/service/wfgroup/wfgroup-service')); this.allEntityService.set('wfgroup', () => import('@/service/wfgroup/wfgroup-service'));
this.allEntityService.set('jobsinfo', () => import('@/service/jobs-info/jobs-info-service')); this.allEntityService.set('jobsinfo', () => import('@/service/jobs-info/jobs-info-service'));
......
import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 第三方认证平台服务对象基类
*
* @export
* @class SysOpenAccessServiceBase
* @extends {EntityServie}
*/
export default class SysOpenAccessServiceBase extends EntityService {
/**
* Creates an instance of SysOpenAccessServiceBase.
*
* @param {*} [opts={}]
* @memberof SysOpenAccessServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础数据
*
* @memberof SysOpenAccessServiceBase
*/
public initBasicData(){
this.APPLYDEKEY ='sysopenaccess';
this.APPDEKEY = 'id';
this.APPDENAME = 'sysopenaccesses';
this.APPDETEXT = 'name';
this.APPNAME = 'web';
this.SYSTEMNAME = 'ibzrt';
}
// 实体接口
/**
* Select接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysOpenAccessServiceBase
*/
public async Select(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().get(`/sysopenaccesses/${context.sysopenaccess}/select`,isloading);
return res;
}
/**
* Create接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysOpenAccessServiceBase
*/
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(`/sysopenaccesses`,data,isloading);
return res;
}
/**
* Update接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysOpenAccessServiceBase
*/
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(`/sysopenaccesses/${context.sysopenaccess}`,data,isloading);
return res;
}
/**
* Remove接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysOpenAccessServiceBase
*/
public async Remove(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().delete(`/sysopenaccesses/${context.sysopenaccess}`,isloading);
return res;
}
/**
* Get接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysOpenAccessServiceBase
*/
public async Get(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/sysopenaccesses/${context.sysopenaccess}`,isloading);
return res;
}
/**
* GetDraft接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysOpenAccessServiceBase
*/
public async GetDraft(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/sysopenaccesses/getdraft`,isloading);
res.data.sysopenaccess = data.sysopenaccess;
return res;
}
/**
* CheckKey接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysOpenAccessServiceBase
*/
public async CheckKey(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().post(`/sysopenaccesses/${context.sysopenaccess}/checkkey`,data,isloading);
return res;
}
/**
* Save接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysOpenAccessServiceBase
*/
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(`/sysopenaccesses/${context.sysopenaccess}/save`,data,isloading);
return res;
}
/**
* FetchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysOpenAccessServiceBase
*/
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(`/sysopenaccesses/fetchdefault`,tempData,isloading);
return res;
}
}
\ No newline at end of file
import { Http,Util } from '@/utils';
import SysOpenAccessServiceBase from './sys-open-access-service-base';
/**
* 第三方认证平台服务对象
*
* @export
* @class SysOpenAccessService
* @extends {SysOpenAccessServiceBase}
*/
export default class SysOpenAccessService extends SysOpenAccessServiceBase {
/**
* Creates an instance of SysOpenAccessService.
*
* @param {*} [opts={}]
* @memberof SysOpenAccessService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 账号绑定服务对象基类
*
* @export
* @class SysUserAuthServiceBase
* @extends {EntityServie}
*/
export default class SysUserAuthServiceBase extends EntityService {
/**
* Creates an instance of SysUserAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof SysUserAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础数据
*
* @memberof SysUserAuthServiceBase
*/
public initBasicData(){
this.APPLYDEKEY ='sysuserauth';
this.APPDEKEY = 'id';
this.APPDENAME = 'sysuserauths';
this.APPDETEXT = '';
this.APPNAME = 'web';
this.SYSTEMNAME = 'ibzrt';
}
// 实体接口
/**
* Select接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysUserAuthServiceBase
*/
public async Select(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().get(`/sysuserauths/${context.sysuserauth}/select`,isloading);
return res;
}
/**
* Create接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysUserAuthServiceBase
*/
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(`/sysuserauths`,data,isloading);
return res;
}
/**
* Update接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysUserAuthServiceBase
*/
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(`/sysuserauths/${context.sysuserauth}`,data,isloading);
return res;
}
/**
* Remove接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysUserAuthServiceBase
*/
public async Remove(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().delete(`/sysuserauths/${context.sysuserauth}`,isloading);
return res;
}
/**
* Get接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysUserAuthServiceBase
*/
public async Get(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/sysuserauths/${context.sysuserauth}`,isloading);
return res;
}
/**
* GetDraft接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysUserAuthServiceBase
*/
public async GetDraft(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/sysuserauths/getdraft`,isloading);
res.data.sysuserauth = data.sysuserauth;
return res;
}
/**
* CheckKey接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysUserAuthServiceBase
*/
public async CheckKey(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().post(`/sysuserauths/${context.sysuserauth}/checkkey`,data,isloading);
return res;
}
/**
* Save接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysUserAuthServiceBase
*/
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(`/sysuserauths/${context.sysuserauth}/save`,data,isloading);
return res;
}
/**
* FetchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof SysUserAuthServiceBase
*/
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(`/sysuserauths/fetchdefault`,tempData,isloading);
return res;
}
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册