From 9025b9cf7ec8610003d445a31d93e35e7bd73c2e Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期三, 31 一月 2024 17:54:52 +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