优化
This commit is contained in:
parent
0d8104a304
commit
65d1583631
@ -24,7 +24,7 @@
|
||||
@cancel='handleCancel'
|
||||
@submit="handleSubmit"
|
||||
:footer='true'
|
||||
title="评分"
|
||||
title="驳回"
|
||||
>
|
||||
<div
|
||||
slot="content"
|
||||
|
||||
@ -245,11 +245,7 @@ export default {
|
||||
i.isSelect = 1
|
||||
return i
|
||||
})
|
||||
if (res.deps.length !== 0) {
|
||||
const b = this.$personlGetForm(res.outs)
|
||||
this.outIdsLsit = b
|
||||
this.form.outIds = b.value
|
||||
}
|
||||
|
||||
const a = this.$personlGetForm(res.staffs)
|
||||
const c = this.$departGetForm(res.deps)
|
||||
const obj = {
|
||||
@ -258,6 +254,11 @@ export default {
|
||||
id: this.$route.query.copy ? '' : res.id,
|
||||
name: this.$route.query.copy ? '' : res.name
|
||||
}
|
||||
if (res.deps.length !== 0) {
|
||||
const b = this.$personlGetForm(res.outs)
|
||||
this.outIdsLsit = b
|
||||
obj.outIds = b.value
|
||||
}
|
||||
// this.form.staffIds = a.value
|
||||
// this.form.depIds = c.value
|
||||
this.personnelList = a
|
||||
|
||||
@ -93,6 +93,10 @@ export default {
|
||||
}
|
||||
if (this.$route.query.copy) {
|
||||
this.templateForm.modelItems = this.templateForm.modelItems.map(i => {
|
||||
i.tagetLibItems = i.tagetLibItems.map(j => {
|
||||
delete j.id
|
||||
return j
|
||||
})
|
||||
delete i.id
|
||||
return i
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user