From ceafabaff25616eb6837f02c5edc2cc868616339 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期一, 12 十月 2026 16:56:30 +0800
Subject: [PATCH] fix: 更新分页参数名称以保持组件间的一致性

---
 src/views/officeProcessAutomation/ApproveManage/approve-template/components/TemplateFlowEditor.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/views/officeProcessAutomation/ApproveManage/approve-template/components/TemplateFlowEditor.vue b/src/views/officeProcessAutomation/ApproveManage/approve-template/components/TemplateFlowEditor.vue
index 78304ea..d82448b 100644
--- a/src/views/officeProcessAutomation/ApproveManage/approve-template/components/TemplateFlowEditor.vue
+++ b/src/views/officeProcessAutomation/ApproveManage/approve-template/components/TemplateFlowEditor.vue
@@ -6,8 +6,7 @@
         <div class="tfe-card" :class="{ 'tfe-card--empty': !item.approvers?.length }">
           <div class="tfe-badge">{{ index + 1 }}</div>
           <div class="tfe-head">
-            <span class="tfe-level">{{ levelText(index) }}</span>
-            <el-radio-group
+            <span class="tfe-level">{{ levelText(index) }}</span>            <el-radio-group
               v-if="!readonly"
               v-model="item.signMode"
               size="small"
@@ -101,11 +100,13 @@
 <script setup>
 import { ArrowLeft, ArrowRight, Delete, Plus, User } from "@element-plus/icons-vue";
 import { ref, watch } from "vue";
-import { NODE_SIGN_MODE_OPTIONS, normalizeFlowNodes } from "../approveTemplateConstants.js";
+import { NODE_SIGN_MODE_OPTIONS, normalizeFlowNodes, nodeDisplayName } from "../approveTemplateConstants.js";
 
 const props = defineProps({
   modelValue: { type: Array, default: () => [] },
   userOptions: { type: Array, default: () => [] },
+  /** 瀹℃壒绫诲瀷/妯℃澘鍚嶇О锛岀敤浜庢嫾鑺傜偣鍚嶏紙濡傘�屽彂璐у鎵孤蜂竴绾с�嶏級 */
+  typeName: { type: String, default: "" },
   /** 閫夋嫨妯℃澘鍚庣敵璇峰満鏅細浠呭睍绀猴紝涓嶅彲鏀瑰鎵逛汉/鑺傜偣 */
   readonly: { type: Boolean, default: false },
 });
@@ -126,8 +127,8 @@
 }
 
 function levelText(i) {
-  const t = ["绗竴绾�", "绗簩绾�", "绗笁绾�", "绗洓绾�", "绗簲绾�", "绗叚绾�", "绗竷绾�", "绗叓绾�"];
-  return t[i] || `绗�${i + 1}绾;
+  // 鑺傜偣鍚嶆寜瀹℃壒绫诲瀷 + 灞傜骇鏄剧ず锛屽銆屽彂璐у鎵孤蜂竴绾с��
+  return nodeDisplayName(props.typeName, i);
 }
 
 function optionLabel(u) {

--
Gitblit v1.9.3