Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzrt
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzrt
提交
94098124
提交
94098124
编写于
6月 03, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码
上级
b39beef6
变更
61
显示空白字符变更
内嵌
并排
正在显示
61 个修改的文件
包含
334 行增加
和
9 行删除
+334
-9
environment.ts
app_Web/src/environments/environment.ts
+2
-0
ibzdepartment-edit-view-base.vue
.../ibzdepartment-edit-view/ibzdepartment-edit-view-base.vue
+3
-0
ibzdepartment-grid-view-base.vue
.../ibzdepartment-grid-view/ibzdepartment-grid-view-base.vue
+4
-0
ibzdepartment-mpickup-view-base.vue
...partment-mpickup-view/ibzdepartment-mpickup-view-base.vue
+3
-0
ibzdepartment-option-view-base.vue
...department-option-view/ibzdepartment-option-view-base.vue
+3
-0
ibzdepartment-pickup-grid-view-base.vue
...-pickup-grid-view/ibzdepartment-pickup-grid-view-base.vue
+3
-0
ibzdepartment-pickup-view-base.vue
...department-pickup-view/ibzdepartment-pickup-view-base.vue
+3
-0
ibzdepartment-tree-exp-view-base.vue
...rtment-tree-exp-view/ibzdepartment-tree-exp-view-base.vue
+3
-0
ibzdept-member-edit-view-base.vue
...bzdept-member-edit-view/ibzdept-member-edit-view-base.vue
+3
-0
ibzdept-member-grid-view-base.vue
...bzdept-member-grid-view/ibzdept-member-grid-view-base.vue
+3
-0
ibzemployee-edit-view-base.vue
...s/ou/ibzemployee-edit-view/ibzemployee-edit-view-base.vue
+3
-0
ibzemployee-grid-view-base.vue
...s/ou/ibzemployee-grid-view/ibzemployee-grid-view-base.vue
+4
-0
ibzemployee-mpickup-view-base.vue
...bzemployee-mpickup-view/ibzemployee-mpickup-view-base.vue
+3
-0
ibzemployee-option-view-base.vue
.../ibzemployee-option-view/ibzemployee-option-view-base.vue
+3
-0
ibzemployee-pickup-grid-view-base.vue
...ee-pickup-grid-view/ibzemployee-pickup-grid-view-base.vue
+3
-0
ibzemployee-pickup-view-base.vue
.../ibzemployee-pickup-view/ibzemployee-pickup-view-base.vue
+3
-0
ibzorganization-edit-view-base.vue
...organization-edit-view/ibzorganization-edit-view-base.vue
+3
-0
ibzorganization-grid-view-base.vue
...organization-grid-view/ibzorganization-grid-view-base.vue
+4
-0
ibzorganization-option-view-base.vue
...nization-option-view/ibzorganization-option-view-base.vue
+3
-0
ibzorganization-pickup-grid-view-base.vue
...ickup-grid-view/ibzorganization-pickup-grid-view-base.vue
+3
-0
ibzorganization-pickup-view-base.vue
...nization-pickup-view/ibzorganization-pickup-view-base.vue
+3
-0
ibzorganization-tree-exp-view-base.vue
...tion-tree-exp-view/ibzorganization-tree-exp-view-base.vue
+3
-0
index-base.vue
app_Web/src/pages/rt/index/index-base.vue
+3
-0
sys-auth-log-grid-view-base.vue
...aa/sys-auth-log-grid-view/sys-auth-log-grid-view-base.vue
+3
-0
sys-permission-mpickup-view-base.vue
...mission-mpickup-view/sys-permission-mpickup-view-base.vue
+3
-0
sys-permission-pickup-grid-view-base.vue
...pickup-grid-view/sys-permission-pickup-grid-view-base.vue
+3
-0
sys-role-edit-view-base.vue
.../pages/uaa/sys-role-edit-view/sys-role-edit-view-base.vue
+3
-0
sys-role-grid-view-base.vue
.../pages/uaa/sys-role-grid-view/sys-role-grid-view-base.vue
+4
-0
sys-role-mpickup-view-base.vue
.../uaa/sys-role-mpickup-view/sys-role-mpickup-view-base.vue
+3
-0
sys-role-permission-custom-view-base.vue
...sion-custom-view/sys-role-permission-custom-view-base.vue
+3
-0
sys-role-pickup-grid-view-base.vue
...-role-pickup-grid-view/sys-role-pickup-grid-view-base.vue
+3
-0
sys-role-pickup-view-base.vue
...es/uaa/sys-role-pickup-view/sys-role-pickup-view-base.vue
+3
-0
sys-user-mpickup-view-base.vue
.../uaa/sys-user-mpickup-view/sys-user-mpickup-view-base.vue
+3
-0
sys-user-pickup-grid-view-base.vue
...-user-pickup-grid-view/sys-user-pickup-grid-view-base.vue
+3
-0
sys-user-pickup-view-base.vue
...es/uaa/sys-user-pickup-view/sys-user-pickup-view-base.vue
+3
-0
sys-user-role-edit-view-base.vue
.../sys-user-role-edit-view/sys-user-role-edit-view-base.vue
+3
-0
sys-user-role-grid-view-base.vue
.../sys-user-role-grid-view/sys-user-role-grid-view-base.vue
+3
-0
wfgroup-edit-view-base.vue
...ges/workflow/wfgroup-edit-view/wfgroup-edit-view-base.vue
+3
-0
wfgroup-grid-view-base.vue
...ges/workflow/wfgroup-grid-view/wfgroup-grid-view-base.vue
+4
-0
wfgroup-mpickup-view-base.vue
...rkflow/wfgroup-mpickup-view/wfgroup-mpickup-view-base.vue
+3
-0
wfgroup-pickup-grid-view-base.vue
...fgroup-pickup-grid-view/wfgroup-pickup-grid-view-base.vue
+3
-0
wfmember-edit-view-base.vue
...s/workflow/wfmember-edit-view/wfmember-edit-view-base.vue
+3
-0
wfmember-grid-view-base.vue
...s/workflow/wfmember-grid-view/wfmember-grid-view-base.vue
+3
-0
wfprocess-definition-edit-view-base.vue
...inition-edit-view/wfprocess-definition-edit-view-base.vue
+3
-0
wfprocess-definition-grid-view-base.vue
...inition-grid-view/wfprocess-definition-grid-view-base.vue
+4
-0
wfremodel-edit-view-base.vue
...workflow/wfremodel-edit-view/wfremodel-edit-view-base.vue
+3
-0
wfuser-mpickup-view-base.vue
...workflow/wfuser-mpickup-view/wfuser-mpickup-view-base.vue
+3
-0
wfuser-pickup-grid-view-base.vue
.../wfuser-pickup-grid-view/wfuser-pickup-grid-view-base.vue
+3
-0
wfuser-pickup-view-base.vue
...s/workflow/wfuser-pickup-view/wfuser-pickup-view-base.vue
+3
-0
entity-service.ts
app_Web/src/service/entity-service.ts
+30
-0
index.ts
app_Web/src/store/index.ts
+2
-2
actions.ts
app_Web/src/store/modules/auth-resource/actions.ts
+17
-0
getters.ts
app_Web/src/store/modules/auth-resource/getters.ts
+52
-0
index.ts
app_Web/src/store/modules/auth-resource/index.ts
+16
-0
mutations.ts
app_Web/src/store/modules/auth-resource/mutations.ts
+35
-0
state.ts
app_Web/src/store/modules/auth-resource/state.ts
+11
-0
default.less
app_Web/src/styles/default.less
+1
-1
auth-guard.ts
app_Web/src/utils/auth-guard/auth-guard.ts
+1
-1
index-appmenu-base.vue
app_Web/src/widgets/app/index-appmenu/index-appmenu-base.vue
+5
-4
index-appmenu-model.ts
app_Web/src/widgets/app/index-appmenu/index-appmenu-model.ts
+11
-0
ibzrt-provider-api.yaml
...bzrt-provider-api/src/main/docker/ibzrt-provider-api.yaml
+1
-1
未找到文件。
app_Web/src/environments/environment.ts
浏览文件 @
94098124
...
@@ -21,6 +21,8 @@ export const Environment = {
...
@@ -21,6 +21,8 @@ export const Environment = {
uniteAddress
:
"http://172.16.100.202:8114"
,
uniteAddress
:
"http://172.16.100.202:8114"
,
// 是否为开发模式
// 是否为开发模式
devMode
:
true
,
devMode
:
true
,
// 是否开启权限认证
enablePermissionValid
:
false
,
// 项目模板地址
// 项目模板地址
ProjectUrl
:
"http://demo.ibizlab.cn/ibizr7pfstdtempl/ibizvuer7"
,
ProjectUrl
:
"http://demo.ibizlab.cn/ibizr7pfstdtempl/ibizvuer7"
,
// 配置平台地址
// 配置平台地址
...
...
app_Web/src/pages/ou/ibzdepartment-edit-view/ibzdepartment-edit-view-base.vue
浏览文件 @
94098124
...
@@ -315,6 +315,9 @@ export default class IBZDepartmentEditViewBase extends Vue {
...
@@ -315,6 +315,9 @@ export default class IBZDepartmentEditViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-grid-view/ibzdepartment-grid-view-base.vue
浏览文件 @
94098124
...
@@ -430,6 +430,9 @@ export default class IBZDepartmentGridViewBase extends Vue {
...
@@ -430,6 +430,9 @@ export default class IBZDepartmentGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
@@ -1138,6 +1141,7 @@ export default class IBZDepartmentGridViewBase extends Vue {
...
@@ -1138,6 +1141,7 @@ export default class IBZDepartmentGridViewBase extends Vue {
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
}
}
let
curViewParam
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
let
curViewParam
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
delete
curViewParam
.
ibzdepartment
;
if
(
args
.
length
>
0
){
if
(
args
.
length
>
0
){
Object
.
assign
(
curViewParam
,
args
[
0
]);
Object
.
assign
(
curViewParam
,
args
[
0
]);
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-mpickup-view/ibzdepartment-mpickup-view-base.vue
浏览文件 @
94098124
...
@@ -313,6 +313,9 @@ export default class IBZDepartmentMPickupViewBase extends Vue {
...
@@ -313,6 +313,9 @@ export default class IBZDepartmentMPickupViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-option-view/ibzdepartment-option-view-base.vue
浏览文件 @
94098124
...
@@ -285,6 +285,9 @@ export default class IBZDepartmentOptionViewBase extends Vue {
...
@@ -285,6 +285,9 @@ export default class IBZDepartmentOptionViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-pickup-grid-view/ibzdepartment-pickup-grid-view-base.vue
浏览文件 @
94098124
...
@@ -287,6 +287,9 @@ export default class IBZDepartmentPickupGridViewBase extends Vue {
...
@@ -287,6 +287,9 @@ export default class IBZDepartmentPickupGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-pickup-view/ibzdepartment-pickup-view-base.vue
浏览文件 @
94098124
...
@@ -280,6 +280,9 @@ export default class IBZDepartmentPickupViewBase extends Vue {
...
@@ -280,6 +280,9 @@ export default class IBZDepartmentPickupViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-tree-exp-view/ibzdepartment-tree-exp-view-base.vue
浏览文件 @
94098124
...
@@ -267,6 +267,9 @@ export default class IBZDepartmentTreeExpViewBase extends Vue {
...
@@ -267,6 +267,9 @@ export default class IBZDepartmentTreeExpViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzdept-member-edit-view/ibzdept-member-edit-view-base.vue
浏览文件 @
94098124
...
@@ -315,6 +315,9 @@ export default class IBZDeptMemberEditViewBase extends Vue {
...
@@ -315,6 +315,9 @@ export default class IBZDeptMemberEditViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzdept-member-grid-view/ibzdept-member-grid-view-base.vue
浏览文件 @
94098124
...
@@ -390,6 +390,9 @@ export default class IBZDeptMemberGridViewBase extends Vue {
...
@@ -390,6 +390,9 @@ export default class IBZDeptMemberGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzemployee-edit-view/ibzemployee-edit-view-base.vue
浏览文件 @
94098124
...
@@ -315,6 +315,9 @@ export default class IBZEmployeeEditViewBase extends Vue {
...
@@ -315,6 +315,9 @@ export default class IBZEmployeeEditViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzemployee-grid-view/ibzemployee-grid-view-base.vue
浏览文件 @
94098124
...
@@ -440,6 +440,9 @@ export default class IBZEmployeeGridViewBase extends Vue {
...
@@ -440,6 +440,9 @@ export default class IBZEmployeeGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
@@ -1181,6 +1184,7 @@ export default class IBZEmployeeGridViewBase extends Vue {
...
@@ -1181,6 +1184,7 @@ export default class IBZEmployeeGridViewBase extends Vue {
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
}
}
let
curViewParam
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
let
curViewParam
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
delete
curViewParam
.
ibzemployee
;
if
(
args
.
length
>
0
){
if
(
args
.
length
>
0
){
Object
.
assign
(
curViewParam
,
args
[
0
]);
Object
.
assign
(
curViewParam
,
args
[
0
]);
}
}
...
...
app_Web/src/pages/ou/ibzemployee-mpickup-view/ibzemployee-mpickup-view-base.vue
浏览文件 @
94098124
...
@@ -313,6 +313,9 @@ export default class IBZEmployeeMPickupViewBase extends Vue {
...
@@ -313,6 +313,9 @@ export default class IBZEmployeeMPickupViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzemployee-option-view/ibzemployee-option-view-base.vue
浏览文件 @
94098124
...
@@ -285,6 +285,9 @@ export default class IBZEmployeeOptionViewBase extends Vue {
...
@@ -285,6 +285,9 @@ export default class IBZEmployeeOptionViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzemployee-pickup-grid-view/ibzemployee-pickup-grid-view-base.vue
浏览文件 @
94098124
...
@@ -287,6 +287,9 @@ export default class IBZEmployeePickupGridViewBase extends Vue {
...
@@ -287,6 +287,9 @@ export default class IBZEmployeePickupGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzemployee-pickup-view/ibzemployee-pickup-view-base.vue
浏览文件 @
94098124
...
@@ -280,6 +280,9 @@ export default class IBZEmployeePickupViewBase extends Vue {
...
@@ -280,6 +280,9 @@ export default class IBZEmployeePickupViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzorganization-edit-view/ibzorganization-edit-view-base.vue
浏览文件 @
94098124
...
@@ -315,6 +315,9 @@ export default class IBZOrganizationEditViewBase extends Vue {
...
@@ -315,6 +315,9 @@ export default class IBZOrganizationEditViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzorganization-grid-view/ibzorganization-grid-view-base.vue
浏览文件 @
94098124
...
@@ -424,6 +424,9 @@ export default class IBZOrganizationGridViewBase extends Vue {
...
@@ -424,6 +424,9 @@ export default class IBZOrganizationGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
@@ -1100,6 +1103,7 @@ export default class IBZOrganizationGridViewBase extends Vue {
...
@@ -1100,6 +1103,7 @@ export default class IBZOrganizationGridViewBase extends Vue {
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
}
}
let
curViewParam
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
let
curViewParam
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
delete
curViewParam
.
ibzorganization
;
if
(
args
.
length
>
0
){
if
(
args
.
length
>
0
){
Object
.
assign
(
curViewParam
,
args
[
0
]);
Object
.
assign
(
curViewParam
,
args
[
0
]);
}
}
...
...
app_Web/src/pages/ou/ibzorganization-option-view/ibzorganization-option-view-base.vue
浏览文件 @
94098124
...
@@ -285,6 +285,9 @@ export default class IBZOrganizationOptionViewBase extends Vue {
...
@@ -285,6 +285,9 @@ export default class IBZOrganizationOptionViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzorganization-pickup-grid-view/ibzorganization-pickup-grid-view-base.vue
浏览文件 @
94098124
...
@@ -287,6 +287,9 @@ export default class IBZOrganizationPickupGridViewBase extends Vue {
...
@@ -287,6 +287,9 @@ export default class IBZOrganizationPickupGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzorganization-pickup-view/ibzorganization-pickup-view-base.vue
浏览文件 @
94098124
...
@@ -280,6 +280,9 @@ export default class IBZOrganizationPickupViewBase extends Vue {
...
@@ -280,6 +280,9 @@ export default class IBZOrganizationPickupViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/ou/ibzorganization-tree-exp-view/ibzorganization-tree-exp-view-base.vue
浏览文件 @
94098124
...
@@ -267,6 +267,9 @@ export default class IBZOrganizationTreeExpViewBase extends Vue {
...
@@ -267,6 +267,9 @@ export default class IBZOrganizationTreeExpViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/rt/index/index-base.vue
浏览文件 @
94098124
...
@@ -265,6 +265,9 @@ export default class IndexBase extends Vue {
...
@@ -265,6 +265,9 @@ export default class IndexBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/uaa/sys-auth-log-grid-view/sys-auth-log-grid-view-base.vue
浏览文件 @
94098124
...
@@ -315,6 +315,9 @@ export default class SysAuthLogGridViewBase extends Vue {
...
@@ -315,6 +315,9 @@ export default class SysAuthLogGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/uaa/sys-permission-mpickup-view/sys-permission-mpickup-view-base.vue
浏览文件 @
94098124
...
@@ -313,6 +313,9 @@ export default class SysPermissionMPickupViewBase extends Vue {
...
@@ -313,6 +313,9 @@ export default class SysPermissionMPickupViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/uaa/sys-permission-pickup-grid-view/sys-permission-pickup-grid-view-base.vue
浏览文件 @
94098124
...
@@ -287,6 +287,9 @@ export default class SysPermissionPickupGridViewBase extends Vue {
...
@@ -287,6 +287,9 @@ export default class SysPermissionPickupGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/uaa/sys-role-edit-view/sys-role-edit-view-base.vue
浏览文件 @
94098124
...
@@ -315,6 +315,9 @@ export default class SysRoleEditViewBase extends Vue {
...
@@ -315,6 +315,9 @@ export default class SysRoleEditViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/uaa/sys-role-grid-view/sys-role-grid-view-base.vue
浏览文件 @
94098124
...
@@ -422,6 +422,9 @@ export default class SysRoleGridViewBase extends Vue {
...
@@ -422,6 +422,9 @@ export default class SysRoleGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
@@ -1097,6 +1100,7 @@ export default class SysRoleGridViewBase extends Vue {
...
@@ -1097,6 +1100,7 @@ export default class SysRoleGridViewBase extends Vue {
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
}
}
let
curViewParam
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
let
curViewParam
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
delete
curViewParam
.
sysrole
;
if
(
args
.
length
>
0
){
if
(
args
.
length
>
0
){
Object
.
assign
(
curViewParam
,
args
[
0
]);
Object
.
assign
(
curViewParam
,
args
[
0
]);
}
}
...
...
app_Web/src/pages/uaa/sys-role-mpickup-view/sys-role-mpickup-view-base.vue
浏览文件 @
94098124
...
@@ -313,6 +313,9 @@ export default class SysRoleMPickupViewBase extends Vue {
...
@@ -313,6 +313,9 @@ export default class SysRoleMPickupViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/uaa/sys-role-permission-custom-view/sys-role-permission-custom-view-base.vue
浏览文件 @
94098124
...
@@ -236,6 +236,9 @@ export default class SysRolePermissionCustomViewBase extends Vue {
...
@@ -236,6 +236,9 @@ export default class SysRolePermissionCustomViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/uaa/sys-role-pickup-grid-view/sys-role-pickup-grid-view-base.vue
浏览文件 @
94098124
...
@@ -287,6 +287,9 @@ export default class SysRolePickupGridViewBase extends Vue {
...
@@ -287,6 +287,9 @@ export default class SysRolePickupGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/uaa/sys-role-pickup-view/sys-role-pickup-view-base.vue
浏览文件 @
94098124
...
@@ -280,6 +280,9 @@ export default class SysRolePickupViewBase extends Vue {
...
@@ -280,6 +280,9 @@ export default class SysRolePickupViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/uaa/sys-user-mpickup-view/sys-user-mpickup-view-base.vue
浏览文件 @
94098124
...
@@ -313,6 +313,9 @@ export default class SysUserMPickupViewBase extends Vue {
...
@@ -313,6 +313,9 @@ export default class SysUserMPickupViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/uaa/sys-user-pickup-grid-view/sys-user-pickup-grid-view-base.vue
浏览文件 @
94098124
...
@@ -287,6 +287,9 @@ export default class SysUserPickupGridViewBase extends Vue {
...
@@ -287,6 +287,9 @@ export default class SysUserPickupGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/uaa/sys-user-pickup-view/sys-user-pickup-view-base.vue
浏览文件 @
94098124
...
@@ -280,6 +280,9 @@ export default class SysUserPickupViewBase extends Vue {
...
@@ -280,6 +280,9 @@ export default class SysUserPickupViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/uaa/sys-user-role-edit-view/sys-user-role-edit-view-base.vue
浏览文件 @
94098124
...
@@ -315,6 +315,9 @@ export default class SysUserRoleEditViewBase extends Vue {
...
@@ -315,6 +315,9 @@ export default class SysUserRoleEditViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/uaa/sys-user-role-grid-view/sys-user-role-grid-view-base.vue
浏览文件 @
94098124
...
@@ -419,6 +419,9 @@ export default class SysUserRoleGridViewBase extends Vue {
...
@@ -419,6 +419,9 @@ export default class SysUserRoleGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/workflow/wfgroup-edit-view/wfgroup-edit-view-base.vue
浏览文件 @
94098124
...
@@ -315,6 +315,9 @@ export default class WFGroupEditViewBase extends Vue {
...
@@ -315,6 +315,9 @@ export default class WFGroupEditViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/workflow/wfgroup-grid-view/wfgroup-grid-view-base.vue
浏览文件 @
94098124
...
@@ -422,6 +422,9 @@ export default class WFGroupGridViewBase extends Vue {
...
@@ -422,6 +422,9 @@ export default class WFGroupGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
@@ -1097,6 +1100,7 @@ export default class WFGroupGridViewBase extends Vue {
...
@@ -1097,6 +1100,7 @@ export default class WFGroupGridViewBase extends Vue {
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
}
}
let
curViewParam
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
let
curViewParam
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
delete
curViewParam
.
wfgroup
;
if
(
args
.
length
>
0
){
if
(
args
.
length
>
0
){
Object
.
assign
(
curViewParam
,
args
[
0
]);
Object
.
assign
(
curViewParam
,
args
[
0
]);
}
}
...
...
app_Web/src/pages/workflow/wfgroup-mpickup-view/wfgroup-mpickup-view-base.vue
浏览文件 @
94098124
...
@@ -313,6 +313,9 @@ export default class WFGroupMPickupViewBase extends Vue {
...
@@ -313,6 +313,9 @@ export default class WFGroupMPickupViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/workflow/wfgroup-pickup-grid-view/wfgroup-pickup-grid-view-base.vue
浏览文件 @
94098124
...
@@ -287,6 +287,9 @@ export default class WFGroupPickupGridViewBase extends Vue {
...
@@ -287,6 +287,9 @@ export default class WFGroupPickupGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/workflow/wfmember-edit-view/wfmember-edit-view-base.vue
浏览文件 @
94098124
...
@@ -315,6 +315,9 @@ export default class WFMemberEditViewBase extends Vue {
...
@@ -315,6 +315,9 @@ export default class WFMemberEditViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/workflow/wfmember-grid-view/wfmember-grid-view-base.vue
浏览文件 @
94098124
...
@@ -422,6 +422,9 @@ export default class WFMemberGridViewBase extends Vue {
...
@@ -422,6 +422,9 @@ export default class WFMemberGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/workflow/wfprocess-definition-edit-view/wfprocess-definition-edit-view-base.vue
浏览文件 @
94098124
...
@@ -315,6 +315,9 @@ export default class WFProcessDefinitionEditViewBase extends Vue {
...
@@ -315,6 +315,9 @@ export default class WFProcessDefinitionEditViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/workflow/wfprocess-definition-grid-view/wfprocess-definition-grid-view-base.vue
浏览文件 @
94098124
...
@@ -422,6 +422,9 @@ export default class WFProcessDefinitionGridViewBase extends Vue {
...
@@ -422,6 +422,9 @@ export default class WFProcessDefinitionGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
@@ -1097,6 +1100,7 @@ export default class WFProcessDefinitionGridViewBase extends Vue {
...
@@ -1097,6 +1100,7 @@ export default class WFProcessDefinitionGridViewBase extends Vue {
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
}
}
let
curViewParam
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
let
curViewParam
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
delete
curViewParam
.
wfprocessdefinition
;
if
(
args
.
length
>
0
){
if
(
args
.
length
>
0
){
Object
.
assign
(
curViewParam
,
args
[
0
]);
Object
.
assign
(
curViewParam
,
args
[
0
]);
}
}
...
...
app_Web/src/pages/workflow/wfremodel-edit-view/wfremodel-edit-view-base.vue
浏览文件 @
94098124
...
@@ -305,6 +305,9 @@ export default class WFREModelEditViewBase extends Vue {
...
@@ -305,6 +305,9 @@ export default class WFREModelEditViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/workflow/wfuser-mpickup-view/wfuser-mpickup-view-base.vue
浏览文件 @
94098124
...
@@ -313,6 +313,9 @@ export default class WFUserMPickupViewBase extends Vue {
...
@@ -313,6 +313,9 @@ export default class WFUserMPickupViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/workflow/wfuser-pickup-grid-view/wfuser-pickup-grid-view-base.vue
浏览文件 @
94098124
...
@@ -287,6 +287,9 @@ export default class WFUserPickupGridViewBase extends Vue {
...
@@ -287,6 +287,9 @@ export default class WFUserPickupGridViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/pages/workflow/wfuser-pickup-view/wfuser-pickup-view-base.vue
浏览文件 @
94098124
...
@@ -280,6 +280,9 @@ export default class WFUserPickupViewBase extends Vue {
...
@@ -280,6 +280,9 @@ export default class WFUserPickupViewBase extends Vue {
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
this
.
handleCustomViewData
();
this
.
handleCustomViewData
();
return
;
return
;
}
}
...
...
app_Web/src/service/entity-service.ts
浏览文件 @
94098124
...
@@ -637,6 +637,36 @@ export default class EntityService {
...
@@ -637,6 +637,36 @@ export default class EntityService {
}
}
}
}
/**
* getDynaModel(获取动态模型)接口方法
*
* @param {*} [context={}]
* @param {*} [data]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof EntityService
*/
public
async
getDynaModel
(
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
data
&&
data
.
configType
&&
data
.
targetType
){
return
Http
.
getInstance
().
get
(
`/configs/
${
data
.
configType
}
/
${
data
.
targetType
}
`
);
}
}
/**
* setDynaModel(设置动态模型)接口方法
*
* @param {*} [context={}]
* @param {*} [data]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof EntityService
*/
public
async
setDynaModel
(
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
data
&&
data
.
configType
&&
data
.
targetType
){
return
Http
.
getInstance
().
put
(
`/configs/
${
data
.
configType
}
/
${
data
.
targetType
}
`
,{
model
:
data
.
model
});
}
}
/**
/**
* WFStart接口方法
* WFStart接口方法
*
*
...
...
app_Web/src/store/index.ts
浏览文件 @
94098124
...
@@ -7,7 +7,7 @@ import * as mutations from './mutations';
...
@@ -7,7 +7,7 @@ import * as mutations from './mutations';
import
*
as
getters
from
'./getters'
;
import
*
as
getters
from
'./getters'
;
import
viewaction
from
'./modules/view-action'
import
viewaction
from
'./modules/view-action'
import
unifiedresource
from
'./modules/unified
-resource'
import
authresource
from
'./modules/auth
-resource'
const
state
=
{
const
state
=
{
...
rootstate
...
rootstate
...
@@ -22,7 +22,7 @@ const store = new Vuex.Store({
...
@@ -22,7 +22,7 @@ const store = new Vuex.Store({
getters
,
getters
,
modules
:
{
modules
:
{
viewaction
,
viewaction
,
unified
resource
auth
resource
},
},
});
});
...
...
app_Web/src/store/modules/auth-resource/actions.ts
0 → 100644
浏览文件 @
94098124
/**
* 提交统一资源数据
*
* @param param0
* @param data
*/
export
const
commitAuthData
=
({
commit
,
state
}:
{
commit
:
any
,
state
:
any
},
{
unires
,
appmenu
,
enablepermissionvalid
}:
{
unires
:
Array
<
any
>
,
appmenu
:
Array
<
any
>
,
enablepermissionvalid
:
boolean
})
=>
{
if
(
unires
&&
unires
.
length
>
0
){
commit
(
'setResourceData'
,
unires
);
}
if
(
appmenu
&&
appmenu
.
length
>
0
){
commit
(
'setMenuData'
,
appmenu
);
}
if
(
enablepermissionvalid
){
commit
(
'setEnablePermissionValid'
,
enablepermissionvalid
);
}
}
\ No newline at end of file
app_Web/src/store/modules/auth-resource/getters.ts
0 → 100644
浏览文件 @
94098124
/**
* 判断指定统一资源是否存在
*
* @param state
*/
export
const
getResourceData
=
(
state
:
any
)
=>
(
resourcetag
:
string
)
=>
{
let
itemIndex
:
any
=
state
.
resourceData
.
findIndex
((
unirescode
:
any
,
objIndex
:
any
,
objs
:
any
)
=>
{
return
Object
.
is
(
unirescode
,
resourcetag
);
})
return
itemIndex
===
-
1
?
false
:
true
;
}
/**
* 判断指定菜单权限是否存在
*
* @param state
*/
export
const
getMenuData
=
(
state
:
any
)
=>
(
menutag
:
string
)
=>
{
let
itemIndex
:
any
=
state
.
menuData
.
findIndex
((
menucode
:
any
,
objIndex
:
any
,
objs
:
any
)
=>
{
return
Object
.
is
(
menucode
,
menutag
);
})
return
itemIndex
===
-
1
?
false
:
true
;
}
/**
* 获取是否开启权限认证
*
* @param state
*/
export
const
getEnablePermissionValid
=
(
state
:
any
)
=>
{
return
state
.
enablePermissionValid
;
}
/**
* 判断指定菜单是否显示
*
* @param state
*/
export
const
getAuthMenu
=
(
state
:
any
)
=>
(
menu
:
any
)
=>
{
// 存在权限
let
resourceIndex
:
any
;
let
menuIndex
:
any
;
if
(
state
.
enablePermissionValid
){
resourceIndex
=
state
.
resourceData
.
findIndex
((
resourcetag
:
any
,
objIndex
:
any
,
objs
:
any
)
=>
{
return
Object
.
is
(
menu
.
resourcetag
,
resourcetag
);
})
}
menuIndex
=
state
.
menuData
.
findIndex
((
menutag
:
any
,
objIndex
:
any
,
objs
:
any
)
=>
{
return
Object
.
is
(
menu
.
authtag
,
menutag
);
})
return
(
resourceIndex
!==
-
1
||
menuIndex
!==
-
1
)?
true
:
false
;
}
\ No newline at end of file
app_Web/src/store/modules/auth-resource/index.ts
0 → 100644
浏览文件 @
94098124
import
{
resourcestate
}
from
'./state'
;
import
*
as
actions
from
'./actions'
;
import
*
as
mutations
from
'./mutations'
;
import
*
as
getters
from
'./getters'
;
const
state
=
{
...
resourcestate
}
export
default
{
namespaced
:
true
,
state
,
getters
,
actions
,
mutations
}
\ No newline at end of file
app_Web/src/store/modules/auth-resource/mutations.ts
0 → 100644
浏览文件 @
94098124
/**
* 设置统一资源数据
*
* @param state
* @param resourceArray
*/
export
const
setResourceData
=
(
state
:
any
,
resourceArray
:
Array
<
any
>
)
=>
{
if
(
resourceArray
&&
resourceArray
.
length
===
0
){
return
;
}
state
.
resourceData
=
resourceArray
;
}
/**
* 设置菜单数据
*
* @param state
* @param resourceArray
*/
export
const
setMenuData
=
(
state
:
any
,
menuArray
:
Array
<
any
>
)
=>
{
if
(
menuArray
&&
menuArray
.
length
===
0
){
return
;
}
state
.
menuData
=
menuArray
;
}
/**
* 设置是否开启权限认证
*
* @param state
* @param resourceArray
*/
export
const
setEnablePermissionValid
=
(
state
:
any
,
enablepermissionvalid
:
boolean
)
=>
{
state
.
enablePermissionValid
=
enablepermissionvalid
;
}
app_Web/src/store/modules/auth-resource/state.ts
0 → 100644
浏览文件 @
94098124
/**
* 所有资源状态
*/
export
const
resourcestate
:
any
=
{
// 统一资源数据
resourceData
:
[],
// 菜单数据
menuData
:[],
// 是否开启权限认证
enablePermissionValid
:
false
}
\ No newline at end of file
app_Web/src/styles/default.less
浏览文件 @
94098124
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
}
}
}
}
.view-container.degridview, .view-container.degridview9, .view-container.dewfgridview, .view-container.delistview, .view-container.delistview9, .view-container.dedataview, .view-container.dedataview9{
.view-container.degridview, .view-container.degridview9, .view-container.dewfgridview, .view-container.delistview, .view-container.delistview9, .view-container.dedataview, .view-container.dedataview9
, .view-container.decalendarview, .view-container.decalendarview9
{
>.view-card.view-no-caption{
>.view-card.view-no-caption{
>.ivu-card-body{
>.ivu-card-body{
height: 100%;
height: 100%;
...
...
app_Web/src/utils/auth-guard/auth-guard.ts
浏览文件 @
94098124
...
@@ -67,7 +67,7 @@ export class AuthGuard {
...
@@ -67,7 +67,7 @@ export class AuthGuard {
}
}
router
.
app
.
$store
.
commit
(
'addAppData'
,
data
);
router
.
app
.
$store
.
commit
(
'addAppData'
,
data
);
// 提交统一资源数据
// 提交统一资源数据
router
.
app
.
$store
.
dispatch
(
'
unifiedresource/commitResource
Data'
,
data
);
router
.
app
.
$store
.
dispatch
(
'
authresource/commitAuth
Data'
,
data
);
}
}
}
}
resolve
(
true
);
resolve
(
true
);
...
...
app_Web/src/widgets/app/index-appmenu/index-appmenu-base.vue
浏览文件 @
94098124
...
@@ -126,6 +126,7 @@ import { UIActionTool,Util } from '@/utils';
...
@@ -126,6 +126,7 @@ import { UIActionTool,Util } from '@/utils';
import
IndexService
from
'./index-appmenu-service'
;
import
IndexService
from
'./index-appmenu-service'
;
import
IndexModel
from
'./index-appmenu-model'
;
import
IndexModel
from
'./index-appmenu-model'
;
import
{
Environment
}
from
'@/environments/environment'
;
@
Component
({
@
Component
({
...
@@ -672,11 +673,11 @@ export default class IndexBase extends Vue implements ControlInterface {
...
@@ -672,11 +673,11 @@ export default class IndexBase extends Vue implements ControlInterface {
* @memberof Index
* @memberof Index
*/
*/
public
handleMenusResource
(
inputMenus
:
Array
<
any
>
){
public
handleMenusResource
(
inputMenus
:
Array
<
any
>
){
if
(
this
.
$store
.
getters
[
'unifiedresource/getEnablePermissionValid'
]
){
if
(
Environment
.
enablePermissionValid
){
this
.
computedEffectiveMenus
(
inputMenus
);
this
.
computedEffectiveMenus
(
inputMenus
);
}
}
this
.
dataProcess
(
this
.
menuMode
.
getAppMenuItems
()
);
this
.
dataProcess
(
inputMenus
);
this
.
menus
=
this
.
menuMode
.
getAppMenuItems
()
;
this
.
menus
=
inputMenus
;
}
}
/**
/**
...
@@ -687,7 +688,7 @@ export default class IndexBase extends Vue implements ControlInterface {
...
@@ -687,7 +688,7 @@ export default class IndexBase extends Vue implements ControlInterface {
*/
*/
public
computedEffectiveMenus
(
inputMenus
:
Array
<
any
>
){
public
computedEffectiveMenus
(
inputMenus
:
Array
<
any
>
){
inputMenus
.
forEach
((
_item
:
any
)
=>
{
inputMenus
.
forEach
((
_item
:
any
)
=>
{
if
(
_item
.
resourcetag
&&
!
this
.
$store
.
getters
[
'unifiedresource/getResourceData'
](
_item
.
resourcetag
)){
if
(
!
this
.
$store
.
getters
[
'authresource/getAuthMenu'
](
_item
)){
_item
.
hidden
=
true
;
_item
.
hidden
=
true
;
if
(
_item
.
items
&&
_item
.
items
.
length
>
0
)
{
if
(
_item
.
items
&&
_item
.
items
.
length
>
0
)
{
this
.
computedEffectiveMenus
(
_item
.
items
);
this
.
computedEffectiveMenus
(
_item
.
items
);
...
...
app_Web/src/widgets/app/index-appmenu/index-appmenu-model.ts
浏览文件 @
94098124
...
@@ -31,6 +31,7 @@ export default class IndexModel {
...
@@ -31,6 +31,7 @@ export default class IndexModel {
textcls
:
''
,
textcls
:
''
,
appfunctag
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-Index-menuitem7'
,
items
:
[
items
:
[
{
{
id
:
'4ea6829eb5066555b9f0a91145dc7502'
,
id
:
'4ea6829eb5066555b9f0a91145dc7502'
,
...
@@ -49,6 +50,7 @@ export default class IndexModel {
...
@@ -49,6 +50,7 @@ export default class IndexModel {
textcls
:
''
,
textcls
:
''
,
appfunctag
:
'Auto3'
,
appfunctag
:
'Auto3'
,
resourcetag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-Index-menuitem1'
,
},
},
{
{
id
:
'f73183a5dfe125c3461116b4d82c2468'
,
id
:
'f73183a5dfe125c3461116b4d82c2468'
,
...
@@ -67,6 +69,7 @@ export default class IndexModel {
...
@@ -67,6 +69,7 @@ export default class IndexModel {
textcls
:
''
,
textcls
:
''
,
appfunctag
:
'Auto2'
,
appfunctag
:
'Auto2'
,
resourcetag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-Index-menuitem2'
,
},
},
{
{
id
:
'341bd3aa939665d5c039462456dfce93'
,
id
:
'341bd3aa939665d5c039462456dfce93'
,
...
@@ -85,6 +88,7 @@ export default class IndexModel {
...
@@ -85,6 +88,7 @@ export default class IndexModel {
textcls
:
''
,
textcls
:
''
,
appfunctag
:
'Auto4'
,
appfunctag
:
'Auto4'
,
resourcetag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-Index-menuitem3'
,
},
},
],
],
},
},
...
@@ -105,6 +109,7 @@ export default class IndexModel {
...
@@ -105,6 +109,7 @@ export default class IndexModel {
textcls
:
''
,
textcls
:
''
,
appfunctag
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-Index-menuitem8'
,
items
:
[
items
:
[
{
{
id
:
'1e02015a09f1d812fe4640fac320158e'
,
id
:
'1e02015a09f1d812fe4640fac320158e'
,
...
@@ -123,6 +128,7 @@ export default class IndexModel {
...
@@ -123,6 +128,7 @@ export default class IndexModel {
textcls
:
''
,
textcls
:
''
,
appfunctag
:
'Auto5'
,
appfunctag
:
'Auto5'
,
resourcetag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-Index-menuitem4'
,
},
},
{
{
id
:
'4999F409-9C7B-4C41-BD3A-B29611EA7E6E'
,
id
:
'4999F409-9C7B-4C41-BD3A-B29611EA7E6E'
,
...
@@ -141,6 +147,7 @@ export default class IndexModel {
...
@@ -141,6 +147,7 @@ export default class IndexModel {
textcls
:
''
,
textcls
:
''
,
appfunctag
:
'Auto6'
,
appfunctag
:
'Auto6'
,
resourcetag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-Index-menuitem9'
,
},
},
],
],
},
},
...
@@ -161,6 +168,7 @@ export default class IndexModel {
...
@@ -161,6 +168,7 @@ export default class IndexModel {
textcls
:
''
,
textcls
:
''
,
appfunctag
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-Index-menuitem10'
,
items
:
[
items
:
[
{
{
id
:
'6DFB635D-1B8E-47E7-9869-1B7BC2B844C0'
,
id
:
'6DFB635D-1B8E-47E7-9869-1B7BC2B844C0'
,
...
@@ -179,6 +187,7 @@ export default class IndexModel {
...
@@ -179,6 +187,7 @@ export default class IndexModel {
textcls
:
''
,
textcls
:
''
,
appfunctag
:
'Auto8'
,
appfunctag
:
'Auto8'
,
resourcetag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-Index-menuitem6'
,
},
},
{
{
id
:
'69b794a51f56bc20947749c2d7629117'
,
id
:
'69b794a51f56bc20947749c2d7629117'
,
...
@@ -197,6 +206,7 @@ export default class IndexModel {
...
@@ -197,6 +206,7 @@ export default class IndexModel {
textcls
:
''
,
textcls
:
''
,
appfunctag
:
'Auto1'
,
appfunctag
:
'Auto1'
,
resourcetag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-Index-menuitem5'
,
},
},
{
{
id
:
'8E6D5AC1-9AA9-4F29-83A2-0A9E7EFACE09'
,
id
:
'8E6D5AC1-9AA9-4F29-83A2-0A9E7EFACE09'
,
...
@@ -215,6 +225,7 @@ export default class IndexModel {
...
@@ -215,6 +225,7 @@ export default class IndexModel {
textcls
:
''
,
textcls
:
''
,
appfunctag
:
'Auto7'
,
appfunctag
:
'Auto7'
,
resourcetag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-Index-menuitem11'
,
},
},
],
],
},
},
...
...
ibzrt-provider/ibzrt-provider-api/src/main/docker/ibzrt-provider-api.yaml
浏览文件 @
94098124
...
@@ -9,7 +9,7 @@ services:
...
@@ -9,7 +9,7 @@ services:
deploy
:
deploy
:
resources
:
resources
:
limits
:
limits
:
memory
:
1024
M
memory
:
4048
M
reservations
:
reservations
:
memory
:
400M
memory
:
400M
mode
:
replicated
mode
:
replicated
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录