From 93b8ceac34e2fbd5c57fe5ab4f5bac32c85408aa Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期五, 22 五月 2026 15:37:09 +0800
Subject: [PATCH] fix(hr): 修正岗位字段映射
---
src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/index.vue | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/index.vue b/src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/index.vue
index 2e81e18..045ed4d 100644
--- a/src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/index.vue
+++ b/src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/index.vue
@@ -1,4 +1,4 @@
-<!--OA妯″潡锛氬樊鏃呮姤閿�-->
+<!--OA妯″潡锛氬樊鏃呮姤閿�锛堝垪琛� /finReimbursement/listPage锛宺eimbursementType=1锛�-->
<template>
<div class="app-container">
<div class="search_form mb20">
@@ -369,17 +369,25 @@
</el-card>
</el-form>
<template #footer>
- <el-button v-if="!formDialog.readonly" type="primary" @click="submitForm">鎻� 浜�</el-button>
+ <el-button
+ v-if="!formDialog.readonly"
+ type="primary"
+ :loading="submitSaving"
+ @click="submitForm"
+ >
+ 鎻� 浜�
+ </el-button>
<el-button @click="formDialog.visible = false">{{ formDialog.readonly ? "鍏� 闂�" : "鍙� 娑�" }}</el-button>
</template>
</el-dialog>
<!-- 璇︽儏 -->
<el-dialog v-model="detailDialog.visible" title="宸梾鎶ラ攢璇︽儏" width="900px" append-to-body destroy-on-close>
+ <div v-loading="detailLoading">
<DetailPanel :row="detailRow" />
<ApprovalFlowProgress
class="mt16"
- :nodes="detailRow.approvalFlowNodes"
+ :nodes="detailRow.approvalFlowProgressNodes ?? detailRow.approvalFlowNodes"
:current-index="detailRow.currentNodeIndex ?? 0"
/>
<el-divider content-position="left">瀹℃壒璁板綍锛堝叏娴佺▼鐣欑棔锛�</el-divider>
@@ -394,6 +402,7 @@
</el-timeline-item>
</el-timeline>
<el-empty v-else description="鏆傛棤瀹℃壒璁板綍" :image-size="60" />
+ </div>
<template #footer>
<el-button type="primary" @click="detailDialog.visible = false">鍏� 闂�</el-button>
</template>
@@ -411,7 +420,7 @@
<DetailPanel :row="approveDialog.row" />
<el-divider content-position="left">娴佺▼杩涘害</el-divider>
<ApprovalFlowProgress
- :nodes="approveDialog.row?.approvalFlowNodes"
+ :nodes="approveDialog.row?.approvalFlowProgressNodes ?? approveDialog.row?.approvalFlowNodes"
:current-index="approveDialog.row?.currentNodeIndex ?? 0"
/>
<el-form label-width="100px" class="mt16">
@@ -458,6 +467,7 @@
formDialog,
formRules,
detailDialog,
+ detailLoading,
detailRow,
approveDialog,
approveOpinion,
@@ -488,6 +498,7 @@
openFormDialog,
onFormClosed,
submitForm,
+ submitSaving,
openDetail,
approvalActionLabel,
submitApprove,
--
Gitblit v1.9.3