|
@@ -135,7 +135,7 @@
|
|
|
@click="batchCommitNode()" round>提交选中流程
|
|
|
</el-button>
|
|
|
</template>
|
|
|
- <parentTable :clickRowToPick="true" ref="table" v-loading="listLoading" :data="batchCommitPageData.records"
|
|
|
+ <parentTable :clickRowToPick="true" ref="table" v-loading="batchCommitListLoading" :data="batchCommitPageData.records"
|
|
|
slot="table" style="width: 100%;height: 800px;" :selectionChange="handleSelectionChange">
|
|
|
<el-table-column align="center" type="selection" claimOrders width="50" border="true">
|
|
|
</el-table-column>
|
|
@@ -208,6 +208,7 @@ export default {
|
|
|
return {
|
|
|
pageData: { records: [] },
|
|
|
listLoading: false,
|
|
|
+ batchCommitListLoading: false,
|
|
|
listQuery: {
|
|
|
page: 1,
|
|
|
size: 10,
|
|
@@ -280,10 +281,12 @@ export default {
|
|
|
methods: {
|
|
|
// 当前用户待办分页查询
|
|
|
selectPage() {
|
|
|
+ this.listLoading = true;
|
|
|
this.$api.assets.selectPage(this.listQuery).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.pageData = res.data;
|
|
|
}
|
|
|
+ this.listLoading = false;
|
|
|
})
|
|
|
},
|
|
|
// 条件查询
|
|
@@ -302,12 +305,14 @@ export default {
|
|
|
}
|
|
|
this.selectPage();
|
|
|
},
|
|
|
- // 当前用户待办分页查询
|
|
|
+ // 当前用户待办批量提交列表分页查询
|
|
|
selectBatchCommitPage() {
|
|
|
+ this.batchCommitListLoading = true;
|
|
|
this.$api.assets.selectPage(this.batchCommitListQuery).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.batchCommitPageData = res.data;
|
|
|
}
|
|
|
+ this.batchCommitListLoading = false;
|
|
|
})
|
|
|
},
|
|
|
// 条件查询
|