From 05166e6f2dc2e46219f6c3f82b6cc407f78c234e Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <287285524@qq.com>
Date: Thu, 07 Sep 2023 14:45:55 +0800
Subject: [PATCH] 查看详情禁用富文本
---
src/views/role-management/role-manager.vue | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/views/role-management/role-manager.vue b/src/views/role-management/role-manager.vue
index 44311d8..a26c600 100644
--- a/src/views/role-management/role-manager.vue
+++ b/src/views/role-management/role-manager.vue
@@ -1,8 +1,8 @@
<!--
* @Author: 小明丶
* @Date: 2019-10-25 10:17:56
- * @LastEditors: zxq
- * @LastEditTime: 2023-04-25 15:34:05
+ * @LastEditors: zhaoxiaoqiang 287285524@qq.com
+ * @LastEditTime: 2023-09-05 15:31:32
* @Description:
-->
<template>
@@ -15,7 +15,7 @@
<el-button type="primary" @click="addRoleModel = true" size="small">新增</el-button>
</div>
<div class="role-list-table">
- <Etable isFind httpUrl="roleGetRoleList" itemsArr="roles" highlightCurrentRow :columns="columns" :searchData="searchData" :hasPagination="false" @operateDo="operateDo" @cellClick="powerInit" border></Etable>
+ <Etable isFind httpUrl="roleGetRoleList" nameUrl="roleGetRoleList" itemsArr="roles" highlightCurrentRow :columns="columns" :searchData="searchData" :hasPagination="false" @operateDo="operateDo" @cellClick="powerInit" border></Etable>
</div>
</el-card>
</el-col>
@@ -116,7 +116,7 @@
columns: [
{
lable: "角色名称",
- prop: "name",
+ prop: "roleName",
},
{
lable: "",
@@ -134,10 +134,11 @@
"div",
{
on: {
- click: () => {
- this.editRoleVal = params.row.name;
+ click: (e) => {
+ e.stopPropagation();
+ this.editRoleVal = params.row.roleName;
this.editRoleModel = true;
- this.roleId = params.row.code;
+ this.roleId = params.row.roleId;
},
},
},
@@ -153,7 +154,8 @@
"div",
{
on: {
- click: () => {
+ click: (e) => {
+ e.stopPropagation();
this.removeModel = true;
this.roleId = params.row.roleId;
},
@@ -203,10 +205,8 @@
},
//选择角色
powerInit(params) {
- this.roleId = params.code;
- let obj = {
- roleId: params.code,
- };
+ this.roleId = params.roleId;
+ let obj = { roleId: params.roleId };
setInit(obj).then((res) => {
if (res.body.btnList) {
this.btnList = res.body.btnList;
@@ -417,7 +417,7 @@
}
}
});
- console.log(this.initList);
+ // console.log(this.initList);
this.loading = true;
},
operateDo() { },
--
Gitblit v1.8.0