diff --git a/src/pages/modules/systemmanage/system.vue b/src/pages/modules/systemmanage/system.vue index 3b5ec23..0549bd1 100644 --- a/src/pages/modules/systemmanage/system.vue +++ b/src/pages/modules/systemmanage/system.vue @@ -159,12 +159,14 @@ export default { this.code = '' this.name = '' this.value = '' + this.remark = '' this.unclick = true break case '2': this.code = e.code this.name = e.name this.value = e.value + this.remark = e.remark if (!this.code || !this.name || !this.value) { this.unclick = true } else { @@ -215,7 +217,7 @@ export default { try { let res = await paramAdd(this.code, this.name, this.value, this.remark) if (res.code === '1') { - this._usersQuery() + this._paramQuery() } this.toast(res.desc) this.$refs.child.active = false @@ -245,7 +247,7 @@ export default { try { let res = await paramEdit(this.pkObj.id, this.code, this.name, this.value, this.remark) if (res.code === '1') { - this._usersQuery() + this._paramQuery() } this.toast(res.desc) this.$refs.child.active = false @@ -260,7 +262,7 @@ export default { try { let res = await paramDelete([this.pkObj.id]) if (res.code === '1') { - this._usersQuery() + this._paramQuery() } this.toast(res.desc) this.$refs.child.active = false diff --git a/src/pages/modules/systemmanage/user.vue b/src/pages/modules/systemmanage/user.vue index 20dfa51..120662b 100644 --- a/src/pages/modules/systemmanage/user.vue +++ b/src/pages/modules/systemmanage/user.vue @@ -208,7 +208,7 @@ export default { this.username = e.username this.phone = e.phone this.name = e.personName - this.sex = this.gender + this.sex = e.gender this.options.map(el => { if (el.roleId === e.roles[0].roleId) { this.value = el.roleId diff --git a/src/style/common.styl b/src/style/common.styl index 0314198..3c8e4b7 100644 --- a/src/style/common.styl +++ b/src/style/common.styl @@ -245,8 +245,9 @@ width: 100%; border-radius: 16px .form_item__textarea - line-height 23px - height 69px + line-height 40px + height 110px + padding 15px .form_item__radio color: #606266; font-weight: 500;