| | |
| | | detailList: this.tableData |
| | | }) |
| | | |
| | | // let arr = JSON.parse(JSON.stringify(this.tableData)) |
| | | // arr.forEach(item => { |
| | | // item.idcardNo = item.idCard |
| | | // }) |
| | | // this.isWorking = true |
| | | // if (!this.form.id) { |
| | | // create({ |
| | | // applyDetailList: arr, |
| | | // applyStartTime: this.form.applyStartTime, |
| | | // applyEndTime: this.form.applyEndTime, |
| | | // solutionId: this.form.solutionId |
| | | // }).then(() => { |
| | | // this.visible = false |
| | | // this.$tip.apiSuccess('操作成功') |
| | | // this.$emit('success') |
| | | // }) |
| | | // .catch(e => { |
| | | // this.$tip.apiFailed(e) |
| | | // }) |
| | | // .finally(() => { |
| | | // this.isWorking = false |
| | | // }) |
| | | // } else { |
| | | // updateData({ |
| | | // id: this.form.id, |
| | | // applyDetailList: arr, |
| | | // applyStartTime: this.form.applyStartTime, |
| | | // applyEndTime: this.form.applyEndTime, |
| | | // solutionId: this.form.solutionId |
| | | // }).then(() => { |
| | | // this.visible = false |
| | | // this.$tip.apiSuccess('操作成功') |
| | | // this.$emit('success') |
| | | // }).catch(e => { |
| | | // this.$tip.apiFailed(e) |
| | | // }) |
| | | // .finally(() => { |
| | | // this.isWorking = false |
| | | // }) |
| | | // } |
| | | |
| | | } |
| | | }) |
| | | }, |