From 7298d5354963a88643a543b51b90192dc9fc934c Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 11 九月 2025 18:43:14 +0800
Subject: [PATCH] 最新版本541200007

---
 h5/pages/driver/queueUp.vue |   31 +++++++++++++++++++++----------
 1 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/h5/pages/driver/queueUp.vue b/h5/pages/driver/queueUp.vue
index 3c08723..d6bbd89 100644
--- a/h5/pages/driver/queueUp.vue
+++ b/h5/pages/driver/queueUp.vue
@@ -8,12 +8,13 @@
     </view>
     <!--  -->
     <view class="main_list">
-      <view class="item" @click="handleCheck()">
+      <view class="item" @click="handleCheck(1)">
         <view class="h1">浣滀笟涓溅杈�</view>
         <view class="h2">
           <text v-if="activePlatform.signJobList">{{
-            activePlatform.signJobList.length
+            activePlatform.workJobList.length
           }}</text>
+					<text v-else>0</text>
           <text class="unit">杈�</text>
         </view>
         <image
@@ -22,12 +23,13 @@
           mode=""
         ></image>
       </view>
-      <view class="item cyan">
+      <view class="item cyan" @click="handleCheck(0)">
         <view class="h1">宸茬鍒拌溅杈�</view>
         <view class="h2">
           <text v-if="activePlatform.workJobList">{{
-            activePlatform.workJobList.length
+            activePlatform.signJobList.length
           }}</text>
+					<text v-else>0</text>
           <text class="unit">杈�</text>
         </view>
         <image
@@ -55,10 +57,12 @@
     return {
       activePlatform: {},
       platformGroupList: [],
-      showPlat: false
+      showPlat: false,
+			jobId: ''
     }
   },
   onLoad(option) {
+		this.jobId = option.jobId
     this.getData(option.jobId || '')
   },
   methods: {
@@ -66,7 +70,7 @@
       driverLineUpDetail({
         mobile: jobId ? '' : uni.getStorageSync('driverInfo').mobile,
         queryType: jobId ? 1 : 0,
-        jobId: jobId
+        jobId: jobId,
       }).then(res => {
         this.platformGroupList = res.data.platformGroupList
         if (res.data && res.data.platformGroupList && res.data.platformGroupList.length > 0) {
@@ -79,10 +83,17 @@
       this.activePlatform = this.platformGroupList[index]
       this.showPlat = false
     },
-    handleCheck() {
-      uni.navigateTo({
-        url: "/pages/driver/queueUpRecord"
-      })
+    handleCheck(type) {
+			if(this.jobId){
+				uni.navigateTo({
+				  url: `/pages/driver/queueUpRecord?type=${type}&platformId=${this.activePlatform.id}&jobId=${this.jobId}`
+				})
+			}else{
+				uni.navigateTo({
+				  url: `/pages/driver/queueUpRecord?type=${type}&platformId=${this.activePlatform.id}`
+				})
+			}
+      
     }
   }
 }

--
Gitblit v1.9.3