代码优化
This commit is contained in:
parent
c7411a9885
commit
28415fe9e9
|
|
@ -690,6 +690,7 @@ export default {
|
|||
id: item.userId,
|
||||
postName: item.postName,
|
||||
proPerf: item.proPerf,
|
||||
perfId: item.perfId,
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
@ -765,6 +766,9 @@ export default {
|
|||
this.companyKeyPersonList[this.keyTableCurrentIndex].proPerf = keyPersonPerformanceInnerSelectList
|
||||
.map((item) => item.proName)
|
||||
.join(',')
|
||||
this.companyKeyPersonList[this.keyTableCurrentIndex].perfId = keyPersonPerformanceInnerSelectList
|
||||
.map((item) => item.perfId)
|
||||
.join(',')
|
||||
} else {
|
||||
this.$modal.msgError('请选择人员')
|
||||
return false
|
||||
|
|
@ -948,6 +952,7 @@ export default {
|
|||
async addCompanyOtherPerson() {
|
||||
this.companyOtherPersonList.push({
|
||||
userId: '', // 人员id
|
||||
perfId: '', // 人员业绩id
|
||||
userName: '', // 人员名称
|
||||
postName: '', // 本次标书中的职务职责分工
|
||||
title: '', // 职称
|
||||
|
|
|
|||
|
|
@ -690,6 +690,7 @@ export default {
|
|||
id: item.userId,
|
||||
postName: item.postName,
|
||||
proPerf: item.proPerf,
|
||||
perfId: item.perfId,
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
@ -765,6 +766,9 @@ export default {
|
|||
this.companyKeyPersonList[this.keyTableCurrentIndex].proPerf = keyPersonPerformanceInnerSelectList
|
||||
.map((item) => item.proName)
|
||||
.join(',')
|
||||
this.companyKeyPersonList[this.keyTableCurrentIndex].perfId = keyPersonPerformanceInnerSelectList
|
||||
.map((item) => item.perfId)
|
||||
.join(',')
|
||||
} else {
|
||||
this.$modal.msgError('请选择人员')
|
||||
return false
|
||||
|
|
@ -819,6 +823,7 @@ export default {
|
|||
async addCompanyKeyPerson() {
|
||||
this.companyKeyPersonList.push({
|
||||
userId: '', // 人员id
|
||||
perfId: '', // 人员业绩id
|
||||
userName: '', // 人员名称
|
||||
title: '', // 人员职称
|
||||
diploma: '', // 执业资格证书
|
||||
|
|
|
|||
Loading…
Reference in New Issue