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>
<el-dialog
class="tree_dialog"
@ -57,7 +49,6 @@ export default {
visib(val) {
if (val) {
//
console.log(1);
this.getTreeData();
}
}

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

Loading…
Cancel
Save