update 用户管理

qianlishi 3 years ago
parent 9c3ec6c1b6
commit afe5482ee9

@ -1,11 +1,3 @@
<!--
* @Descripttion:
* @version:
* @Author: qianlishi
* @Date: 2021-12-11 14:48:27
* @LastEditors: qianlishi
* @LastEditTime: 2021-12-13 10:22:51
-->
<template> <template>
<el-dialog <el-dialog
class="tree_dialog" class="tree_dialog"
@ -57,7 +49,6 @@ export default {
visib(val) { visib(val) {
if (val) { if (val) {
// //
console.log(1);
this.getTreeData(); this.getTreeData();
} }
} }

@ -1,17 +1,13 @@
<template> <template>
<anji-crud ref="listPage" :option="crudOption"> <anji-crud ref="listPage" :option="crudOption">
<template v-slot:buttonLeftOnTable> </template> <template slot="rowButtonInMore" slot-scope="props">
<template slot="rowButton" slot-scope="props">
<el-button <el-button
type="text" type="text"
@click="handleOpenDialogSetRoleForUser(props)" @click="handleOpenDialogSetRoleForUser(props)"
v-permission="'userManage:grantRole'" v-permission="'userManage:grantRole'"
>分配角色</el-button >分配角色</el-button
> >
<!--<el-button type="text" @click="handleOpenDialogSetRoleForUser(props)" v-permission="'userManage:resetPassword'"></el-button>-->
</template> </template>
<!--自定义的卡片插槽将在编辑详情页面出现在底部新卡片-->
<template v-slot:pageSection> <template v-slot:pageSection>
<UserRole <UserRole
:login-name="loginName" :login-name="loginName"
@ -46,7 +42,7 @@ export default {
// 使 // 使
title: "用户管理", title: "用户管理",
// //
labelWidth: "120px", labelWidth: "140px",
// //
queryFormFields: [ queryFormFields: [
{ {
@ -137,20 +133,6 @@ export default {
], ],
disabled: false disabled: false
}, },
// {
// label: '',
// placeholder: '',
// field: 'password',
// tableHide: true, //
// editHide: true,
// editField: 'password',
// inputType: 'input',
// rules: [
// // { required: true, message: '', trigger: 'blur' },
// { min: 1, max: 128, message: '128', trigger: 'blur' },
// ],
// disabled: false,
// },
{ {
label: "手机号码", label: "手机号码",
placeholder: "", placeholder: "",
@ -269,8 +251,6 @@ export default {
} }
}; };
}, },
created() {},
methods: { methods: {
handleOpenDialogSetRoleForUser(props) { handleOpenDialogSetRoleForUser(props) {
this.loginName = props.msg.loginName; this.loginName = props.msg.loginName;

Loading…
Cancel
Save