系统管理

This commit is contained in:
2023-09-27 10:28:07 +08:00
parent 8db9092018
commit 447a2c832b
3 changed files with 9 additions and 6 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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;