系统管理
This commit is contained in:
@@ -159,12 +159,14 @@ export default {
|
|||||||
this.code = ''
|
this.code = ''
|
||||||
this.name = ''
|
this.name = ''
|
||||||
this.value = ''
|
this.value = ''
|
||||||
|
this.remark = ''
|
||||||
this.unclick = true
|
this.unclick = true
|
||||||
break
|
break
|
||||||
case '2':
|
case '2':
|
||||||
this.code = e.code
|
this.code = e.code
|
||||||
this.name = e.name
|
this.name = e.name
|
||||||
this.value = e.value
|
this.value = e.value
|
||||||
|
this.remark = e.remark
|
||||||
if (!this.code || !this.name || !this.value) {
|
if (!this.code || !this.name || !this.value) {
|
||||||
this.unclick = true
|
this.unclick = true
|
||||||
} else {
|
} else {
|
||||||
@@ -215,7 +217,7 @@ export default {
|
|||||||
try {
|
try {
|
||||||
let res = await paramAdd(this.code, this.name, this.value, this.remark)
|
let res = await paramAdd(this.code, this.name, this.value, this.remark)
|
||||||
if (res.code === '1') {
|
if (res.code === '1') {
|
||||||
this._usersQuery()
|
this._paramQuery()
|
||||||
}
|
}
|
||||||
this.toast(res.desc)
|
this.toast(res.desc)
|
||||||
this.$refs.child.active = false
|
this.$refs.child.active = false
|
||||||
@@ -245,7 +247,7 @@ export default {
|
|||||||
try {
|
try {
|
||||||
let res = await paramEdit(this.pkObj.id, this.code, this.name, this.value, this.remark)
|
let res = await paramEdit(this.pkObj.id, this.code, this.name, this.value, this.remark)
|
||||||
if (res.code === '1') {
|
if (res.code === '1') {
|
||||||
this._usersQuery()
|
this._paramQuery()
|
||||||
}
|
}
|
||||||
this.toast(res.desc)
|
this.toast(res.desc)
|
||||||
this.$refs.child.active = false
|
this.$refs.child.active = false
|
||||||
@@ -260,7 +262,7 @@ export default {
|
|||||||
try {
|
try {
|
||||||
let res = await paramDelete([this.pkObj.id])
|
let res = await paramDelete([this.pkObj.id])
|
||||||
if (res.code === '1') {
|
if (res.code === '1') {
|
||||||
this._usersQuery()
|
this._paramQuery()
|
||||||
}
|
}
|
||||||
this.toast(res.desc)
|
this.toast(res.desc)
|
||||||
this.$refs.child.active = false
|
this.$refs.child.active = false
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ export default {
|
|||||||
this.username = e.username
|
this.username = e.username
|
||||||
this.phone = e.phone
|
this.phone = e.phone
|
||||||
this.name = e.personName
|
this.name = e.personName
|
||||||
this.sex = this.gender
|
this.sex = e.gender
|
||||||
this.options.map(el => {
|
this.options.map(el => {
|
||||||
if (el.roleId === e.roles[0].roleId) {
|
if (el.roleId === e.roles[0].roleId) {
|
||||||
this.value = el.roleId
|
this.value = el.roleId
|
||||||
|
|||||||
@@ -245,8 +245,9 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: 16px
|
border-radius: 16px
|
||||||
.form_item__textarea
|
.form_item__textarea
|
||||||
line-height 23px
|
line-height 40px
|
||||||
height 69px
|
height 110px
|
||||||
|
padding 15px
|
||||||
.form_item__radio
|
.form_item__radio
|
||||||
color: #606266;
|
color: #606266;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|||||||
Reference in New Issue
Block a user