| | |
| | | </el-card> |
| | | |
| | | <!-- 弹窗组件 --> |
| | | <info-form-dia ref="infoFormDia" @close="handleQuery" :approveType="currentApproveType"></info-form-dia> |
| | | <approval-dia ref="approvalDia" @close="handleQuery" :approveType="currentApproveType"></approval-dia> |
| | | <info-form-dia ref="infoFormDia" @close="handleDialogClose" :approveType="currentApproveType"></info-form-dia> |
| | | <approval-dia ref="approvalDia" @close="handleDialogClose" :approveType="currentApproveType"></approval-dia> |
| | | <FileList v-if="fileDialogVisible" |
| | | v-model:visible="fileDialogVisible" |
| | | record-type="approve_process" |
| | |
| | | getList(); |
| | | }; |
| | | |
| | | const handleDialogClose = () => { |
| | | getList(); |
| | | }; |
| | | |
| | | // 打开附件弹窗 |
| | | const recordId =ref(0) |
| | | const fileDialogVisible = ref(false) |
| | |
| | | page.total = res.data.total; |
| | | // 更新当前类型数量 |
| | | typeCounts.value[activeTab.value] = res.data.total; |
| | | if (res.data.records.length === 0 && page.current > 1) { |
| | | page.current = Math.max(1, Math.ceil(res.data.total / page.size)); |
| | | getList(); |
| | | } |
| | | }).catch(err => { |
| | | tableLoading.value = false; |
| | | }) |