yuan
10 小时以前 ceafabaff25616eb6837f02c5edc2cc868616339
src/views/officeProcessAutomation/ApproveManage/approve-shared/components/ApprovalInstanceDetailDialog.vue
@@ -15,7 +15,7 @@
        <div class="detail-block-title">
          审批流程({{ row?.tasks?.length || row?.flowNodes?.length || 0 }} 项)
        </div>
        <InstanceFlowDisplay :tasks="row?.tasks" :nodes="row?.flowNodes" />
        <InstanceFlowDisplay :tasks="row?.tasks" :nodes="row?.flowNodes" :type-name="row?.templateName" />
      </div>
      <div class="detail-block">
        <div class="detail-block-title">审批记录</div>
@@ -52,7 +52,7 @@
<script setup>
import { computed } from "vue";
import { canEditBusinessInstanceRow } from "../../approve-list/approveListConstants.js";
import { canEditBusinessInstanceRow, approvalRecordResultLabel } from "../../approve-list/approveListConstants.js";
import { formatDisplayTime } from "../../approve-template/approveTemplateConstants.js";
import ApproveDetailPanel from "../../approve-list/components/ApproveDetailPanel.vue";
import InstanceFlowDisplay from "../../approve-list/components/InstanceFlowDisplay.vue";
@@ -75,9 +75,7 @@
});
function approvalActionLabel(result) {
  if (result === "approved") return "通过";
  if (result === "rejected") return "驳回";
  return "待处理";
  return approvalRecordResultLabel(result);
}
function formatRecordTime(time) {