loading
This commit is contained in:
1 parent
0bc4b4202e
commit
2fb81df73a
2 files changed
+7
-1
No files matched your search
@@ -136,7 +136,8 @@
|
||||
</v-row>
|
||||
<!-- 抽屉操作按钮 -->
|
||||
<div class="d-flex justify-end my-2 mr-4">
|
||||
<v-btn :color="lineTypeItem.value === '拒绝' ? 'error' : 'success'" small class="ml-2" v-for="lineTypeItem in lineTypeList" v-if="lineTypeItem.value" @click="doUiAction('submitNode', lineTypeItem.value)">
|
||||
<v-btn :color="lineTypeItem.value === '拒绝' ? 'error' : 'success'" small class="ml-2" v-for="lineTypeItem in lineTypeList" v-if="lineTypeItem.value"
|
||||
@click="doUiAction('submitNode', lineTypeItem.value)" :loading="isSubmitNodeLoading">
|
||||
{{ lineTypeItem.text }}
|
||||
</v-btn>
|
||||
</div>
|
||||
@@ -241,6 +242,8 @@
|
||||
updateItem: {},
|
||||
updateItemId: null,
|
||||
|
||||
isSubmitNodeLoading: false
|
||||
|
||||
},
|
||||
// 计算
|
||||
computed: {
|
||||
@@ -344,6 +347,7 @@
|
||||
},
|
||||
|
||||
async submitForReview(lineType) {
|
||||
this.isSubmitNodeLoading = true
|
||||
await window.vtoast.loading("提交审核");
|
||||
await window.jianghuAxios({
|
||||
data: {
|
||||
@@ -358,6 +362,7 @@
|
||||
}
|
||||
})
|
||||
await window.vtoast.success("提交审核成功");
|
||||
this.isSubmitNodeLoading = true
|
||||
},
|
||||
async closeSubmitDrawer() {
|
||||
this.isSubmitDrawerShown = false;
|
||||
|
||||
Reference in new issue
Block a user