|
@@ -264,7 +264,7 @@ export default {
|
|
|
if (Object.keys(p.list).length) {
|
|
|
for (const key in p.list) {
|
|
|
this.deportments.push({
|
|
|
- id: parseInt(key),
|
|
|
+ id: key,
|
|
|
name: p.list[key]
|
|
|
})
|
|
|
}
|
|
@@ -323,7 +323,7 @@ export default {
|
|
|
// this.alertForm.account = data.account
|
|
|
this.alertForm.name = data.name
|
|
|
this.alertForm.group_id = parseInt(data.group_id)
|
|
|
- this.alertForm.dep_id = data.dep_id ? parseInt(data.dep_id) : ''
|
|
|
+ this.alertForm.dep_id = data.dep_id ? data.dep_id[0] : ''
|
|
|
this.alertForm.desc = data.desc
|
|
|
this.alertForm.phone = data.phone
|
|
|
this.alertForm.realname = data.realname
|