Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzuaa
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzuaa
提交
0f2666ab
提交
0f2666ab
编写于
5月 21, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
laizhilong 发布系统代码
上级
02bb2ad9
变更
13
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
587 行增加
和
8 行删除
+587
-8
view-config.json
app_web/public/assets/json/view-config.json
+8
-0
sys-role-permission_en_US.ts
...e/lanres/sys-role-permission/sys-role-permission_en_US.ts
+4
-0
sys-role-permission_zh_CN.ts
...e/lanres/sys-role-permission/sys-role-permission_zh_CN.ts
+4
-0
viewconfig.ts
app_web/src/mock/viewconfig/viewconfig.ts
+8
-0
page-register.ts
app_web/src/pages/uaa/index/page-register.ts
+1
-0
router.ts
app_web/src/pages/uaa/index/router.ts
+79
-0
sys-role-permissioncustom-view-base.vue
...issioncustom-view/sys-role-permissioncustom-view-base.vue
+442
-0
sys-role-permissioncustom-view.less
...permissioncustom-view/sys-role-permissioncustom-view.less
+5
-0
sys-role-permissioncustom-view.vue
...-permissioncustom-view/sys-role-permissioncustom-view.vue
+17
-0
state.ts
app_web/src/store/modules/view-action/state.ts
+11
-2
sys-role-permission-ui-service-base.ts
...ys-role-permission/sys-role-permission-ui-service-base.ts
+1
-0
main-form-base.vue
app_web/src/widgets/sys-role/main-form/main-form-base.vue
+4
-3
h2_table.xml
ibzuaa-core/src/main/resources/liquibase/h2_table.xml
+3
-3
未找到文件。
app_web/public/assets/json/view-config.json
浏览文件 @
0f2666ab
...
...
@@ -255,6 +255,14 @@
"viewname"
:
"SYS_USERPickupView"
,
"viewtag"
:
"d53cb0ce933245fae5f0623bac4fbf48"
},
"sys_role_permissioncustomview"
:
{
"title"
:
"角色权限关系自定义视图"
,
"caption"
:
"角色权限关系"
,
"viewtype"
:
"DECUSTOMVIEW"
,
"viewmodule"
:
"uaa"
,
"viewname"
:
"SYS_ROLE_PERMISSIONCustomView"
,
"viewtag"
:
"e791be173ed0f4bbe9cce942b6edde63"
},
"sys_permissioneditview"
:
{
"title"
:
"权限表编辑视图"
,
"caption"
:
"权限/资源"
,
...
...
app_web/src/locale/lanres/sys-role-permission/sys-role-permission_en_US.ts
浏览文件 @
0f2666ab
...
...
@@ -40,6 +40,10 @@ export default {
},
editview2
:
{
caption
:
"角色权限关系"
,
title
:
'角色权限关系'
,
},
customview
:
{
caption
:
"角色权限关系"
,
title
:
'角色权限关系'
,
},
},
...
...
app_web/src/locale/lanres/sys-role-permission/sys-role-permission_zh_CN.ts
浏览文件 @
0f2666ab
...
...
@@ -39,6 +39,10 @@ export default {
},
editview2
:
{
caption
:
'角色权限关系'
,
title
:
'角色权限关系'
,
},
customview
:
{
caption
:
'角色权限关系'
,
title
:
'角色权限关系'
,
},
},
...
...
app_web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
0f2666ab
...
...
@@ -263,6 +263,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"SYS_USERPickupView"
,
"viewtag"
:
"d53cb0ce933245fae5f0623bac4fbf48"
},
"sys_role_permissioncustomview"
:
{
"title"
:
"角色权限关系自定义视图"
,
"caption"
:
"角色权限关系"
,
"viewtype"
:
"DECUSTOMVIEW"
,
"viewmodule"
:
"uaa"
,
"viewname"
:
"SYS_ROLE_PERMISSIONCustomView"
,
"viewtag"
:
"e791be173ed0f4bbe9cce942b6edde63"
},
"sys_permissioneditview"
:
{
"title"
:
"权限表编辑视图"
,
"caption"
:
"权限/资源"
,
...
...
app_web/src/pages/uaa/index/page-register.ts
浏览文件 @
0f2666ab
...
...
@@ -2,6 +2,7 @@ export const PageComponents = {
install
(
Vue
:
any
,
opt
:
any
)
{
Vue
.
component
(
'sys-permissionpickup-grid-view'
,
()
=>
import
(
'@pages/uaa/sys-permissionpickup-grid-view/sys-permissionpickup-grid-view.vue'
));
Vue
.
component
(
'sys-rolepickup-view'
,
()
=>
import
(
'@pages/uaa/sys-rolepickup-view/sys-rolepickup-view.vue'
));
Vue
.
component
(
'sys-role-permissioncustom-view'
,
()
=>
import
(
'@pages/uaa/sys-role-permissioncustom-view/sys-role-permissioncustom-view.vue'
));
Vue
.
component
(
'sys-usermpickup-view'
,
()
=>
import
(
'@pages/uaa/sys-usermpickup-view/sys-usermpickup-view.vue'
));
Vue
.
component
(
'sys-userpickup-grid-view'
,
()
=>
import
(
'@pages/uaa/sys-userpickup-grid-view/sys-userpickup-grid-view.vue'
));
Vue
.
component
(
'sys-roleedit-view'
,
()
=>
import
(
'@pages/uaa/sys-roleedit-view/sys-roleedit-view.vue'
));
...
...
app_web/src/pages/uaa/index/router.ts
浏览文件 @
0f2666ab
...
...
@@ -60,6 +60,47 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/uaa/sys-rolepickup-view/sys-rolepickup-view.vue'
),
},
{
path
:
'sys_roles/:sys_role?/sys_role_permissions/:sys_role_permission?/customview/:customview?'
,
meta
:
{
caption
:
'entities.sys_role_permission.views.customview.caption'
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'sys_roles'
,
parameterName
:
'sys_role'
},
{
pathName
:
'sys_role_permissions'
,
parameterName
:
'sys_role_permission'
},
{
pathName
:
'customview'
,
parameterName
:
'customview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/uaa/sys-role-permissioncustom-view/sys-role-permissioncustom-view.vue'
),
},
{
path
:
'sys_permissions/:sys_permission?/sys_role_permissions/:sys_role_permission?/customview/:customview?'
,
meta
:
{
caption
:
'entities.sys_role_permission.views.customview.caption'
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'sys_permissions'
,
parameterName
:
'sys_permission'
},
{
pathName
:
'sys_role_permissions'
,
parameterName
:
'sys_role_permission'
},
{
pathName
:
'customview'
,
parameterName
:
'customview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/uaa/sys-role-permissioncustom-view/sys-role-permissioncustom-view.vue'
),
},
{
path
:
'sys_role_permissions/:sys_role_permission?/customview/:customview?'
,
meta
:
{
caption
:
'entities.sys_role_permission.views.customview.caption'
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'sys_role_permissions'
,
parameterName
:
'sys_role_permission'
},
{
pathName
:
'customview'
,
parameterName
:
'customview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/uaa/sys-role-permissioncustom-view/sys-role-permissioncustom-view.vue'
),
},
{
path
:
'sys_users/:sys_user?/mpickupview/:mpickupview?'
,
meta
:
{
...
...
@@ -733,6 +774,44 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/uaa/sys-userpickup-view/sys-userpickup-view.vue'
),
},
{
path
:
'/sys_roles/:sys_role?/sys_role_permissions/:sys_role_permission?/customview/:customview?'
,
meta
:
{
caption
:
'entities.sys_role_permission.views.customview.caption'
,
parameters
:
[
{
pathName
:
'sys_roles'
,
parameterName
:
'sys_role'
},
{
pathName
:
'sys_role_permissions'
,
parameterName
:
'sys_role_permission'
},
{
pathName
:
'customview'
,
parameterName
:
'customview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/uaa/sys-role-permissioncustom-view/sys-role-permissioncustom-view.vue'
),
},
{
path
:
'/sys_permissions/:sys_permission?/sys_role_permissions/:sys_role_permission?/customview/:customview?'
,
meta
:
{
caption
:
'entities.sys_role_permission.views.customview.caption'
,
parameters
:
[
{
pathName
:
'sys_permissions'
,
parameterName
:
'sys_permission'
},
{
pathName
:
'sys_role_permissions'
,
parameterName
:
'sys_role_permission'
},
{
pathName
:
'customview'
,
parameterName
:
'customview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/uaa/sys-role-permissioncustom-view/sys-role-permissioncustom-view.vue'
),
},
{
path
:
'/sys_role_permissions/:sys_role_permission?/customview/:customview?'
,
meta
:
{
caption
:
'entities.sys_role_permission.views.customview.caption'
,
parameters
:
[
{
pathName
:
'sys_role_permissions'
,
parameterName
:
'sys_role_permission'
},
{
pathName
:
'customview'
,
parameterName
:
'customview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/uaa/sys-role-permissioncustom-view/sys-role-permissioncustom-view.vue'
),
},
{
path
:
'/sys_permissions/:sys_permission?/editview/:editview?'
,
meta
:
{
...
...
app_web/src/pages/uaa/sys-role-permissioncustom-view/sys-role-permissioncustom-view-base.vue
0 → 100644
浏览文件 @
0f2666ab
此差异已折叠。
点击以展开。
app_web/src/pages/uaa/sys-role-permissioncustom-view/sys-role-permissioncustom-view.less
0 → 100644
浏览文件 @
0f2666ab
.sys-role-permissioncustom-view{
position: relative;
}
app_web/src/pages/uaa/sys-role-permissioncustom-view/sys-role-permissioncustom-view.vue
0 → 100644
浏览文件 @
0f2666ab
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
SYS_ROLE_PERMISSIONCustomViewBase
from
'./sys-role-permissioncustom-view-base.vue'
;
@
Component
({
components
:
{
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
SYS_ROLE_PERMISSIONCustomView
extends
SYS_ROLE_PERMISSIONCustomViewBase
{
}
</
script
>
\ No newline at end of file
app_web/src/store/modules/view-action/state.ts
浏览文件 @
0f2666ab
...
...
@@ -104,7 +104,7 @@ export const viewstate: any = {
viewdatachange
:
false
,
refviews
:
[
'61a949e3c23ebdda724888662ded1478'
,
'
b8a97c1797a1b91fbb37f8c2d14b1fb6
'
,
'
e791be173ed0f4bbe9cce942b6edde63
'
,
'fb89f9af95f2caf92ccc1249025c9a1b'
,
],
},
...
...
@@ -157,7 +157,7 @@ export const viewstate: any = {
viewdatachange
:
false
,
refviews
:
[
'61a949e3c23ebdda724888662ded1478'
,
'
b8a97c1797a1b91fbb37f8c2d14b1fb6
'
,
'
e791be173ed0f4bbe9cce942b6edde63
'
,
'fb89f9af95f2caf92ccc1249025c9a1b'
,
],
},
...
...
@@ -330,6 +330,15 @@ export const viewstate: any = {
'936880f60b6ef17d39d5248b5fe390b4'
,
],
},
{
viewtag
:
'e791be173ed0f4bbe9cce942b6edde63'
,
viewmodule
:
'uaa'
,
viewname
:
'SYS_ROLE_PERMISSIONCustomView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'eb6498ba353f58d0af17bbd39702ccf7'
,
viewmodule
:
'uaa'
,
...
...
app_web/src/uiservice/sys-role-permission/sys-role-permission-ui-service-base.ts
浏览文件 @
0f2666ab
...
...
@@ -86,6 +86,7 @@ export default class SYS_ROLE_PERMISSIONUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'sys_role_permissions'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'sys_role_permissions'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editview2'
,
srfappde
:
'sys_role_permissions'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'customview'
,
srfappde
:
'sys_role_permissions'
});
}
/**
...
...
app_web/src/widgets/sys-role/main-form/main-form-base.vue
浏览文件 @
0f2666ab
...
...
@@ -120,17 +120,18 @@
:formState=
"formState"
:isForbidLoad=
"this.data.srfuf === '0'"
paramItem=
'sys_role'
:parentdata=
'
{"srfparentde
name":"SYS_ROLE","SRFPARENTTYPE":"CUSTOM
"}'
:parentdata=
'
{"srfparentde
fname":"SYS_ROLEID","srfparentdename":"SYS_ROLE","SRFPARENTTYPE":"DER1N","srfparentmode":"DER1N_SYS_ROLE_PERMISSION_SYS_ROLE_SYS_ROLEID","SRFDER1NID":"DER1N_SYS_ROLE_PERMISSION_SYS_ROLE_SYS_ROLEID
"}'
:parameters="[
{ pathName: 'sys_permissions', parameterName: 'sys_permission' },
]"
:context="context"
:viewparams="viewparams"
parameterName='sys_role'
parentName="SYS_ROLE"
refviewtype='DE
MPICKUP
VIEW'
refviewtype='DE
CUSTOM
VIEW'
refreshitems=''
:ignorefieldvaluechange="ignorefieldvaluechange"
viewname='sys-
permissionmpickup
-view'
viewname='sys-
role-permissioncustom
-view'
:data="JSON.stringify(this.data)"
@drdatasaved="drdatasaved($event)"
style=";overflow: auto;">
...
...
ibzuaa-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
0f2666ab
...
...
@@ -36,7 +36,7 @@
</createTable>
</changeSet>
<!--输出实体[SYS_ROLE_PERMISSION]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_role_permission-6
6
-2"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_role_permission-6
8
-2"
>
<createTable
tableName=
"IBZROLE_PERMISSION"
>
<column
name=
"SYS_ROLE_PERMISSIONID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_ROLE_PERMISSION_SYS_ROL"
/>
...
...
@@ -136,7 +136,7 @@
</createTable>
</changeSet>
<!--输出实体[SYS_ROLE]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_role-
68
-7"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_role-
71
-7"
>
<createTable
tableName=
"IBZROLE"
>
<column
name=
"SYS_ROLEID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_ROLE_SYS_ROLEID"
/>
...
...
@@ -192,7 +192,7 @@
<!--输出实体[SYS_PSDEOPPRIV]外键关系 -->
<!--输出实体[SYS_ROLE_PERMISSION]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-sys_role_permission-6
6
-10"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-sys_role_permission-6
8
-10"
>
<addForeignKeyConstraint
baseColumnNames=
"SYS_PERMISSIONID"
baseTableName=
"IBZROLE_PERMISSION"
constraintName=
"DER1N_SYS_ROLE_PERMISSION_SYS_"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SYS_PERMISSIONID"
referencedTableName=
"IBZPERMISSION"
validate=
"true"
/>
</changeSet>
<!--输出实体[SYS_USER]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录