diff --git a/src/views/modules/proofing/requestForProofing.vue b/src/views/modules/proofing/requestForProofing.vue
index 97a797d..f0b95d2 100644
--- a/src/views/modules/proofing/requestForProofing.vue
+++ b/src/views/modules/proofing/requestForProofing.vue
@@ -396,7 +396,7 @@
关闭
- 同意
+ 同意
@@ -826,8 +826,8 @@
- 确定
- 取消
+ 确定
+ 取消
@@ -2273,6 +2273,7 @@ export default {
],
rejectVisible: false,
rejectOpinion: '',
+ submitLoading: false,
detailVisible: false,
no: 1,
size: 20,
@@ -3823,6 +3824,7 @@ export default {
userName: this.$store.state.user.name,
menuId: this.$route.meta.menuId,
}
+ this.submitLoading = true
submitChange(tempData).then(({data}) => {
if (data && data.code === 0) {
this.getDataList()
@@ -3835,6 +3837,8 @@ export default {
confirmButtonText: '确定'
})
}
+ }).finally(() => {
+ this.submitLoading = false
})
},
diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue
index f766663..aa0ead1 100644
--- a/src/views/modules/quotation/requestForQuote.vue
+++ b/src/views/modules/quotation/requestForQuote.vue
@@ -398,7 +398,7 @@
关闭
- 同意
+ 同意
@@ -586,8 +586,8 @@
- 确定
- 取消
+ 确定
+ 取消
@@ -2101,6 +2101,7 @@ export default {
],
rejectVisible: false,
rejectOpinion: '',
+ submitLoading: false,
detailVisible: false,
no: 1,
size: 20,
@@ -3531,6 +3532,7 @@ export default {
}
this.modalData.userName = this.$store.state.user.name
this.modalData.menuId = this.$route.meta.menuId
+ this.submitLoading = true
submitChange(this.modalData).then(({data}) => {
if (data && data.code === 0) {
this.getDataList()
@@ -3543,6 +3545,8 @@ export default {
confirmButtonText: '确定'
})
}
+ }).finally(() => {
+ this.submitLoading = false
})
},
diff --git a/src/views/modules/test/requestForTest.vue b/src/views/modules/test/requestForTest.vue
index be17c60..f073b3a 100644
--- a/src/views/modules/test/requestForTest.vue
+++ b/src/views/modules/test/requestForTest.vue
@@ -426,7 +426,7 @@
关闭
- 同意
+ 同意
@@ -932,8 +932,8 @@
- 确定
- 取消
+ 确定
+ 取消
@@ -2423,6 +2423,7 @@ export default {
],
rejectVisible: false,
rejectOpinion: "",
+ submitLoading: false,
partPageNo: 1,
partPageSize: 20,
partPageTotal: 0,
@@ -3874,6 +3875,7 @@ export default {
}
this.modalData.userName = this.$store.state.user.name
this.modalData.menuId = this.$route.meta.menuId
+ this.submitLoading = true
submitChange(this.modalData).then(({data}) => {
if (data && data.code === 0) {
this.getDataList()
@@ -3886,6 +3888,8 @@ export default {
confirmButtonText: '确定'
})
}
+ }).finally(() => {
+ this.submitLoading = false
})
},
diff --git a/src/views/modules/tooling/searchToolApply.vue b/src/views/modules/tooling/searchToolApply.vue
index c842ed4..4a1c064 100644
--- a/src/views/modules/tooling/searchToolApply.vue
+++ b/src/views/modules/tooling/searchToolApply.vue
@@ -621,7 +621,7 @@
{{ '取消' }}
- 同意
+ 同意
@@ -688,8 +688,8 @@
- 确定
- 取消
+ 确定
+ 取消
@@ -2075,6 +2075,7 @@ export default {
],
approvalList: [],
rejectOpinion: '',
+ submitLoading: false,
submitModalFlag: false,
processField: '',
sp: this.$store.state.user.name,
@@ -2895,6 +2896,7 @@ export default {
this.dataForm.userName = this.$store.state.user.name
this.dataForm.menuId = this.$route.meta.menuId
this.dataForm.detailList = this.toolData
+ this.submitLoading = true
submitChange(this.dataForm).then(({data}) => {
if (data && data.code === 0) {
this.saveHeaderMessage2()
@@ -2921,6 +2923,8 @@ export default {
confirmButtonText: '确定'
})
}
+ }).finally(() => {
+ this.submitLoading = false
})
},