From 9d961bd20d2dfa877b8411c9104b00f98b3a4983 Mon Sep 17 00:00:00 2001
From: 周宾 <2802492122@qq.com>
Date: 星期三, 24 十二月 2025 09:15:23 +0800
Subject: [PATCH] 海川开心-配置文件更改

---
 src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue b/src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue
index 920ab79..31022f2 100644
--- a/src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue
+++ b/src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue
@@ -1,11 +1,11 @@
 <template>
   <view class="contact-select">
     <!-- 椤堕儴鏍囬鏍� -->
-    <view class="header">
-      <up-icon name="arrow-left" size="20" color="#333" @click="goBack" />
-      <text class="title">閫夋嫨鑱旂郴浜�</text>
-      <text class="confirm-btn" @click="confirmSelect">纭畾</text>
-    </view>
+    <PageHeader title="閫夋嫨鑱旂郴浜�" @back="goBack">
+      <template #right>
+        <text class="confirm-btn" @click="confirmSelect">纭畾</text>
+      </template>
+    </PageHeader>
 
     <!-- 鎼滅储妗� -->
 <!--    <view class="search-section">-->
@@ -81,11 +81,10 @@
 const stepIndex = ref(0)
 
 onMounted(() => {
-  // 鑾峰彇椤甸潰鍙傛暟
-  const pages = getCurrentPages()
-  const currentPage = pages[pages.length - 1]
-  if (currentPage.options.stepIndex !== undefined) {
-    stepIndex.value = parseInt(currentPage.options.stepIndex)
+  // 浠庢湰鍦板瓨鍌ㄨ幏鍙栧弬鏁�
+  const storedStepIndex = uni.getStorageSync('stepIndex');
+  if (storedStepIndex !== undefined && storedStepIndex !== null) {
+    stepIndex.value = parseInt(storedStepIndex)
   }
   
   // 鍒濆鍖栬仈绯讳汉鏁版嵁
@@ -121,6 +120,7 @@
 }
 
 const goBack = () => {
+  uni.removeStorageSync('stepIndex');
   uni.navigateBack()
 }
 

--
Gitblit v1.9.3