|
|
@@ -62,20 +62,9 @@
|
|
|
编辑
|
|
|
</a-button>
|
|
|
<a-divider type="vertical" />
|
|
|
-
|
|
|
- <a-dropdown>
|
|
|
- <a-button size="small" class="ant-dropdown-link" type="primary">
|
|
|
- 操作权限 <a-icon type="down" />
|
|
|
- </a-button>
|
|
|
- <a-menu slot="overlay">
|
|
|
- <a-menu-item>
|
|
|
- <a href="javascript:;" @click="app(record)">APP-功能菜单</a>
|
|
|
- </a-menu-item>
|
|
|
- <a-menu-item>
|
|
|
- <a href="javascript:;" @click="pc(record)">PC端功能菜单</a>
|
|
|
- </a-menu-item>
|
|
|
- </a-menu>
|
|
|
- </a-dropdown>
|
|
|
+ <a-button size="small" type="primary" @click="prem(record)">
|
|
|
+ 操作权限
|
|
|
+ </a-button>
|
|
|
<a-divider type="vertical" />
|
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.roleId)">
|
|
|
<a-button size="small" type="danger">
|
|
|
@@ -134,13 +123,8 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- app(data) {
|
|
|
- // this.$refs.rightModal.title = 'app菜单权限'
|
|
|
- // this.$refs.rightModal.treeList = '/treeList'
|
|
|
- // this.$refs.rightModal.show()
|
|
|
- },
|
|
|
- pc(data) {
|
|
|
- this.$refs.rightModal.title = 'pc菜单权限'
|
|
|
+ prem(data) {
|
|
|
+ this.$refs.rightModal.title = '菜单权限'
|
|
|
this.treeList = '/system/menu/treeSelect'
|
|
|
this.treeCheckList = `/system/menu/roleMenuTreeSelect/${data.roleId}`
|
|
|
this.$refs.rightModal.show(data)
|