|
|
@@ -168,7 +168,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
-
|
|
|
+
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="用户性别">
|
|
|
@@ -266,7 +266,7 @@
|
|
|
updateUser,
|
|
|
addUser,
|
|
|
deptTreeSelect,
|
|
|
- updateUserExpand
|
|
|
+ updateUserExpand
|
|
|
} from "@/api/system/user";
|
|
|
import { sm3 } from "sm-crypto";
|
|
|
import { encode, decode } from '@/utils/sm2util'
|
|
|
@@ -631,13 +631,13 @@
|
|
|
/** 新增按钮操作 */
|
|
|
function handleAdd() {
|
|
|
reset();
|
|
|
- // getUser().then(response => {
|
|
|
- // postOptions.value = response.posts;
|
|
|
- // roleOptions.value = response.roles;
|
|
|
+ getUser().then(response => {
|
|
|
+ postOptions.value = response.posts;
|
|
|
+ roleOptions.value = response.roles;
|
|
|
open.value = true;
|
|
|
title.value = "添加用户";
|
|
|
form.value.password = initPassword.value;
|
|
|
- // });
|
|
|
+ });
|
|
|
};
|
|
|
/** 修改按钮操作 */
|
|
|
function handleUpdate(row) {
|
|
|
@@ -721,4 +721,4 @@
|
|
|
|
|
|
getDeptTree();
|
|
|
getList();
|
|
|
-</script>
|
|
|
+</script>
|