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%"> -