|
@@ -27,6 +27,7 @@
|
|
|
clearable
|
|
|
:placeholder="$t('admin.password1')"
|
|
|
style="width: 60%"
|
|
|
+ type="password" show-password
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item v-if="mode == 'add'" :label="$t('admin.password2')">
|
|
@@ -35,6 +36,7 @@
|
|
|
clearable
|
|
|
:placeholder="$t('admin.password2')"
|
|
|
style="width: 60%"
|
|
|
+ type="password" show-password
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item :label="$t('admin.fullName')">
|
|
@@ -137,7 +139,7 @@ export default {
|
|
|
res = await this.$API.adminManage.modifyAdmin.post(this.form);
|
|
|
}
|
|
|
this.isSaveing = false;
|
|
|
- if (res==true) {
|
|
|
+ if (res == true) {
|
|
|
this.$emit("success");
|
|
|
this.visible = false;
|
|
|
this.$message.success(this.$t("response.operateSuccess"));
|
|
@@ -154,7 +156,7 @@ export default {
|
|
|
var res = await this.$API.wing.post("FindAdminByCodeAsync", {
|
|
|
AdminCode: data.AdminCode,
|
|
|
});
|
|
|
- this.form.AdminCode = data.AdminCode;
|
|
|
+ this.form.AdminCode = data.AdminCode;
|
|
|
this.form.AdminName = res.AdminName;
|
|
|
this.form.AdminFullName = res.FullName;
|
|
|
if (res.RoleCodes != null && res.RoleCodes.length > 0) {
|