|
@@ -762,9 +762,8 @@ export default {
|
|
|
this.reset();
|
|
|
this.open = true;
|
|
|
this.operatingState = "Insert";
|
|
|
- const { id, orgId, deptId, nickName, deptName, orgName } =
|
|
|
- this.$store.state.user;
|
|
|
- this.form.principal = id;
|
|
|
+ const { id, name, orgId, deptId, nickName, deptName, orgName } = this.$store.state.user;
|
|
|
+ this.form.principal = name;
|
|
|
this.form.principalName = nickName;
|
|
|
this.form.dept = deptId;
|
|
|
this.form.deptName = deptName;
|