[update] 主动上报流程增加加载状态
This commit is contained in:
+4
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user