From 500f9a1457ac629afaa34a47f1171c1c1ebd0ca7 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Wed, 30 Jun 2021 15:24:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=9D=83=E9=99=90=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/wx-index/cpt-item.vue | 23 + .../customer/customize/CustomerList.vue | 19 +- .../modules/customer/customize/RoleAuth.vue | 540 ++++++++++++++++++ .../modules/customer/customize/roleList.vue | 3 + .../modules/productConfig/workRoleAuth.vue | 123 ++-- 5 files changed, 637 insertions(+), 71 deletions(-) create mode 100644 epmet-oper-web/src/views/modules/customer/customize/RoleAuth.vue diff --git a/epmet-oper-web/src/components/wx-index/cpt-item.vue b/epmet-oper-web/src/components/wx-index/cpt-item.vue index af23135..93ea869 100644 --- a/epmet-oper-web/src/components/wx-index/cpt-item.vue +++ b/epmet-oper-web/src/components/wx-index/cpt-item.vue @@ -76,6 +76,29 @@ + +
+
+
党建声音
+
+
+ + +
{{ subitem.title }}
+
+ + 来源:{{ subitem.author }} + {{ subitem.date }} +
+
+
+
+
FootBar配置 角色权限 + @click="showRoleAuth(scope.row.customerId,scope.row.customerName)">角色权限 + 角色权限2 高级配置 @@ -93,6 +96,10 @@ :tableKeywork="'FootBarCustomize'" @cancleBack="cancleBack">
+
+ +
@@ -131,6 +138,7 @@ import MostList from './MostList' import RoleList from './roleList' import categoryList from './CategoryList' import StartPage from './StartPage' +import RoleAuth from './RoleAuth' export default { data () { return { @@ -159,7 +167,8 @@ export default { FootbarList, MostList, categoryList, - StartPage + StartPage, + RoleAuth }, activated () { if (this.showType === 'footbar') { @@ -255,6 +264,12 @@ export default { // this.$message.warning("当前功能还未开发"); }, + // 显示权限配置 + showRoleAuth (customerId, customerName) { + this.showType = 'roleAuth' + this.$refs['ref_roleAuth'].initData(customerId, customerName) + }, + // 启动页配置 showStartPage (customerId, customerName) { this.showType = 'startPage' diff --git a/epmet-oper-web/src/views/modules/customer/customize/RoleAuth.vue b/epmet-oper-web/src/views/modules/customer/customize/RoleAuth.vue new file mode 100644 index 0000000..40f0b3d --- /dev/null +++ b/epmet-oper-web/src/views/modules/customer/customize/RoleAuth.vue @@ -0,0 +1,540 @@ + + + + + diff --git a/epmet-oper-web/src/views/modules/customer/customize/roleList.vue b/epmet-oper-web/src/views/modules/customer/customize/roleList.vue index d753486..8a73e0d 100644 --- a/epmet-oper-web/src/views/modules/customer/customize/roleList.vue +++ b/epmet-oper-web/src/views/modules/customer/customize/roleList.vue @@ -278,6 +278,9 @@ export default { handleSelectionChange (val) { this.saveOperations4Role(val) }, + + + handleChangeName (row) { row.isEdit = true }, diff --git a/epmet-oper-web/src/views/modules/productConfig/workRoleAuth.vue b/epmet-oper-web/src/views/modules/productConfig/workRoleAuth.vue index 2c0ae87..04475ec 100644 --- a/epmet-oper-web/src/views/modules/productConfig/workRoleAuth.vue +++ b/epmet-oper-web/src/views/modules/productConfig/workRoleAuth.vue @@ -19,14 +19,13 @@ border style="width: 100%"> -