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>
|
</v-row>
|
||||||
<!-- 抽屉操作按钮 -->
|
<!-- 抽屉操作按钮 -->
|
||||||
<div class="d-flex justify-end my-2 mr-4">
|
<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 }}
|
{{ lineTypeItem.text }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</div>
|
</div>
|
||||||
@@ -241,6 +242,8 @@
|
|||||||
updateItem: {},
|
updateItem: {},
|
||||||
updateItemId: null,
|
updateItemId: null,
|
||||||
|
|
||||||
|
isSubmitNodeLoading: false
|
||||||
|
|
||||||
},
|
},
|
||||||
// 计算
|
// 计算
|
||||||
computed: {
|
computed: {
|
||||||
@@ -344,6 +347,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
async submitForReview(lineType) {
|
async submitForReview(lineType) {
|
||||||
|
this.isSubmitNodeLoading = true
|
||||||
await window.vtoast.loading("提交审核");
|
await window.vtoast.loading("提交审核");
|
||||||
await window.jianghuAxios({
|
await window.jianghuAxios({
|
||||||
data: {
|
data: {
|
||||||
@@ -358,6 +362,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
await window.vtoast.success("提交审核成功");
|
await window.vtoast.success("提交审核成功");
|
||||||
|
this.isSubmitNodeLoading = true
|
||||||
},
|
},
|
||||||
async closeSubmitDrawer() {
|
async closeSubmitDrawer() {
|
||||||
this.isSubmitDrawerShown = false;
|
this.isSubmitDrawerShown = false;
|
||||||
|
|||||||
@@ -134,6 +134,7 @@
|
|||||||
{% block vueScript %}
|
{% block vueScript %}
|
||||||
|
|
||||||
<!-- 加载页面组件 >>>>>>>>>>>>> -->
|
<!-- 加载页面组件 >>>>>>>>>>>>> -->
|
||||||
|
{% include 'common/constantUtil.html' %}
|
||||||
{% include 'component/createTaskDrawer.html' %}
|
{% include 'component/createTaskDrawer.html' %}
|
||||||
{% include 'component/workflowEditorDrawer.html' %}
|
{% include 'component/workflowEditorDrawer.html' %}
|
||||||
{% include 'common/jianghuJs/fixedTableHeightV4.html' %}
|
{% include 'common/jianghuJs/fixedTableHeightV4.html' %}
|
||||||
|
|||||||
Reference in new issue
Block a user