From 7a0c5479c363a10f573aa15a54dc8130eabd47ff Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期一, 29 一月 2024 11:47:53 +0800 Subject: [PATCH] 修改 --- web/src/views/modules/project/SoftwareTestOrder-AddOrUpdate.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/views/modules/project/SoftwareTestOrder-AddOrUpdate.vue b/web/src/views/modules/project/SoftwareTestOrder-AddOrUpdate.vue index b2b30a5..823a991 100644 --- a/web/src/views/modules/project/SoftwareTestOrder-AddOrUpdate.vue +++ b/web/src/views/modules/project/SoftwareTestOrder-AddOrUpdate.vue @@ -623,12 +623,12 @@ }) }, 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({}) @@ -638,12 +638,12 @@ }) }, 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({ -- Gitblit v1.9.1