|
|
@ -226,7 +226,8 @@ const submitForm = (formEl: FormInstance | undefined) => {
|
|
|
|
if (valid) {
|
|
|
|
if (valid) {
|
|
|
|
// console.log(valid);
|
|
|
|
// console.log(valid);
|
|
|
|
resetPW({
|
|
|
|
resetPW({
|
|
|
|
id: passwordForm.id
|
|
|
|
id: passwordForm.id,
|
|
|
|
|
|
|
|
password: passwordForm.password
|
|
|
|
}).then(res => {
|
|
|
|
}).then(res => {
|
|
|
|
if (res.code === 200) {
|
|
|
|
if (res.code === 200) {
|
|
|
|
message("重置成功", { type: "success" });
|
|
|
|
message("重置成功", { type: "success" });
|
|
|
@ -298,6 +299,7 @@ const deleteName = (type: any) => {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
//角色权限
|
|
|
|
//角色权限
|
|
|
|
const handleRolePermission = row => {
|
|
|
|
const handleRolePermission = row => {
|
|
|
|
|
|
|
|
console.log(row);
|
|
|
|
roleSetVisible.value = true;
|
|
|
|
roleSetVisible.value = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
//状态切换
|
|
|
|
//状态切换
|
|
|
@ -344,7 +346,7 @@ onMounted(() => {
|
|
|
|
<div class="account_seach" v-if="seachForm.status === '1'">
|
|
|
|
<div class="account_seach" v-if="seachForm.status === '1'">
|
|
|
|
<el-form :model="accountForm">
|
|
|
|
<el-form :model="accountForm">
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-form-item label="用户名">
|
|
|
|
<el-form-item label="姓名">
|
|
|
|
<el-input v-model="accountForm.userName" placeholder="请输入" />
|
|
|
|
<el-input v-model="accountForm.userName" placeholder="请输入" />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item class="ml-4" label="角色">
|
|
|
|
<el-form-item class="ml-4" label="角色">
|
|
|
|