| | |
| | | handler(val) { |
| | | if (!val) return |
| | | const { id, taskName, evaluateAwards, identificationStandard, pollingPersons, votePersonObjInfo, evaluateCutoffTimeStart, evaluateCutoffTimeEnd } = this.params.data |
| | | // this.form.id = id |
| | | // this.form.taskName = taskName |
| | | // this.form.evaluateAwards = evaluateAwards |
| | | // this.form.identificationStandard = identificationStandard |
| | | // this.form.pollingPersons = pollingPersons.split(',') || [] |
| | | // this.form.votePersonObjInfo = JSON.parse(votePersonObjInfo) || [] |
| | | // this.form.evaluateCutoffTimeStart = evaluateCutoffTimeStart |
| | | // this.form.evaluateCutoffTimeEnd = evaluateCutoffTimeEnd |
| | | this.form = { |
| | | id, |
| | | taskName, |
| | | evaluateAwards, |
| | | identificationStandard, |
| | | pollingPersons: pollingPersons.split(',') || [], |
| | | votePersonObjInfo: JSON.parse(votePersonObjInfo) || [], |
| | | evaluateCutoffTimeStart, |
| | | evaluateCutoffTimeEnd |
| | | } |
| | | console.log(this.form); |
| | | this.form.id = id |
| | | this.form.taskName = taskName |
| | | this.form.evaluateAwards = evaluateAwards |
| | | this.form.identificationStandard = identificationStandard |
| | | this.form.pollingPersons = pollingPersons.split(',') || [] |
| | | this.form.votePersonObjInfo = JSON.parse(votePersonObjInfo) || [] |
| | | this.form.evaluateCutoffTimeStart = evaluateCutoffTimeStart |
| | | this.form.evaluateCutoffTimeEnd = evaluateCutoffTimeEnd |
| | | console.log('编辑回显'); |
| | | }, |
| | | deep: true |
| | | } |