[update] 主动上报流程增加加载状态

This commit is contained in:
lideqin
2023-12-12 16:13:34 +08:00
parent 37e3e65814
commit f939219454
@@ -1,5 +1,5 @@
<template>
<internal-detail-page :title="pageTitle" :content-padding="0">
<internal-detail-page :title="pageTitle" :content-padding="0" :loading="loading">
<!-- 标题右侧tab -->
<template v-slot:titleRightCustom>
<div class="table-operator-tab">
@@ -310,6 +310,7 @@ export default {
func = activelyReportGetDataDraft
params = param
}
this.loading = true
func(params).then(res => {
if (res.success) {
this.model = res.result
@@ -337,6 +338,8 @@ export default {
} else {
this.$message.warning(res.message)
}
}).finally(() => {
this.loading = false
})
},
switchChange (value) {