From be4682d8e7c742321bf3143b4ee15230c9713276 Mon Sep 17 00:00:00 2001
From: tuqin <tuqin@tuqin.cn>
Date: 星期二, 03 十一月 2026 20:05:29 +0800
Subject: [PATCH] fix(bpm): 流程管理员固定为超级管理员(去掉选择人员)、步骤可自由切换

---
 src/views/bpm/model/form/index.vue |   29 +++--------------------------
 1 files changed, 3 insertions(+), 26 deletions(-)

diff --git a/src/views/bpm/model/form/index.vue b/src/views/bpm/model/form/index.vue
index 3719f3e..9df7e71 100644
--- a/src/views/bpm/model/form/index.vue
+++ b/src/views/bpm/model/form/index.vue
@@ -366,32 +366,9 @@
 
 /** 姝ラ鍒囨崲澶勭悊 */
 async function handleStepClick(index: number) {
-  // 寰�鍥為��锛堢偣鍑绘洿闈犲墠鐨勬楠わ級涓嶅仛鏍¢獙锛岄伩鍏嶇敤鎴峰湪绗� 2 姝ャ�岃〃鍗曡璁°�嶆湭瀹屾垚鏃惰鍗′綇鏃犳硶杩斿洖
-  if (index < currentStep.value) {
-    currentStep.value = index;
-    return;
-  }
-  try {
-    if (index !== 0) {
-      await validateBasic();
-    }
-    if (index !== 1) {
-      await validateForm();
-    }
-    if (index !== 2) {
-      await validateProcess();
-    }
-    if (index !== 3) {
-      await validateExtra();
-    }
-    // 鍒囨崲姝ラ
-    currentStep.value = index;
-  } catch (error) {
-    console.error('姝ラ鍒囨崲澶辫触:', error);
-    if (currentStep.value !== 2) {
-      message.warning('璇峰厛瀹屽杽褰撳墠姝ラ蹇呭~淇℃伅');
-    }
-  }
+  // 姝ラ涔嬮棿鍏佽鑷敱鍒囨崲锛堝惈鍓嶈繘鍜屽悗閫�锛夛紝鍒囨崲鏃朵笉鍋氭牎楠岋紱
+  // 蹇呭~淇℃伅鐨勬牎楠岀粺涓�鍦ㄣ�屼繚瀛樸�嶃�屽彂甯冦�嶆椂鎵ц锛坴alidateAllSteps锛夛紝閬垮厤鍗″湪涓棿姝ラ鍑轰笉鍘�
+  currentStep.value = index;
 }
 
 /** 杩斿洖鍒楄〃椤� */

--
Gitblit v1.9.3