diff --git a/console-web/src/views/modules/pub/role.vue b/console-web/src/views/modules/pub/role.vue
index cd2735e3..b4e9e55f 100644
--- a/console-web/src/views/modules/pub/role.vue
+++ b/console-web/src/views/modules/pub/role.vue
@@ -5,7 +5,7 @@
- 查询
+ 查看
新增
批量删除
@@ -56,7 +56,7 @@
width="180"
label="操作">
- 查看
+ 查看
修改
删除
关联
@@ -148,6 +148,14 @@
this.$refs.addOrUpdate.init(id)
})
},
+ //查看
+ queryHandle(id) {
+ this.addOrUpdateVisible = true
+ this.$nextTick(() => {
+ this.$refs.addOrUpdate.readonly = true
+ this.$refs.addOrUpdate.init(id)
+ })
+ },
// 删除
deleteHandle (row) {
var ids = row ? [row.id] : this.dataListSelections.map(item => {
diff --git a/console-web/src/views/modules/pub/user.vue b/console-web/src/views/modules/pub/user.vue
index 5be4e3aa..9a42f3a0 100644
--- a/console-web/src/views/modules/pub/user.vue
+++ b/console-web/src/views/modules/pub/user.vue
@@ -88,7 +88,7 @@
width="200"
label="操作">
- 查看
+ 查看
修改
改密
删除
@@ -185,6 +185,14 @@
this.$refs.addOrUpdate.init(id)
})
},
+ //查看
+ queryHandle(id) {
+ this.addOrUpdateVisible = true
+ console.log(id + "id");
+ this.$nextTick(() => {
+ this.$refs.addOrUpdate.init(id)
+ })
+ },
// 更改用户密码
updatePasswordHandle (row) {
// this.addOrUpdateVisible = true