From 8c7ff0a48ee27a75e370f9a2f1bd3bba5703cfbc Mon Sep 17 00:00:00 2001 From: tczjx58520 <2283600185@qq.com> Date: Wed, 18 Sep 2019 17:57:09 +0800 Subject: [PATCH] commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改bug --- src/views/EmployeeInformation/EmployeeContract.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/EmployeeInformation/EmployeeContract.vue b/src/views/EmployeeInformation/EmployeeContract.vue index 4008c26e..edd21391 100644 --- a/src/views/EmployeeInformation/EmployeeContract.vue +++ b/src/views/EmployeeInformation/EmployeeContract.vue @@ -449,7 +449,7 @@ export default { let name = [] // 接受提醒人id let id = [] - id = [...row.expiredRemindPersonId.split(',')] + id = row.expiredRemindPersonId.split(',') name = row.remindPerson.split(',') for (let i = 0; i < name.length - 1; i++) { const temp = {} @@ -474,10 +474,10 @@ export default { if (valid) { const stringid = [] for (const i in this.remindpersonname) { - stringid.push(this.remindpersonname[i].id) + stringid.push(this.remindpersonname[i].personId) } console.log(stringid) - this.contractForm.remindpersonid = stringid.join(',') + this.contractForm.expiredRemindPersonId = stringid.join(',') console.log('上传', this.contractForm.remindpersonid) updatecontract(this.contractForm).then(res => { if (res.data.ret === 200) {