| | |
| | | }) |
| | | }, |
| | | async deleteDeliverableRow(index,id) { |
| | | if (id != null) { |
| | | if (await this.$tip.confirm(this.$t('prompt.info', {'handle': this.$t('delete')}))) { |
| | | if (id != null) { |
| | | let res = await this.$http.delete('/project/SoftwareTestOrderDeliverable/', {data: [id]}) |
| | | } |
| | | this.dataForm.deliverableList.splice(index, 1) |
| | | } |
| | | this.dataForm.deliverableList.splice(index, 1) |
| | | }, |
| | | addMeasuredRow() { |
| | | this.dataForm.measuredList.push({}) |
| | |
| | | }) |
| | | }, |
| | | async deleteMeasuredRow(index, id) { |
| | | if (id != null) { |
| | | if (await this.$tip.confirm(this.$t('prompt.info', {'handle': this.$t('delete')}))) { |
| | | if (id != null) { |
| | | let res = await this.$http.delete('/project/SoftwareTestOrderMeasured/', {data: [id]}) |
| | | } |
| | | this.dataForm.measuredList.splice(index, 1) |
| | | } |
| | | this.dataForm.measuredList.splice(index, 1) |
| | | }, |
| | | async print() { |
| | | var params = qs.stringify({ |