From 986118de12da6830ffb0c86af8e70567352c9bb9 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 29 八月 2024 18:15:37 +0800
Subject: [PATCH] ll

---
 h5/pages/driver/queueUp.vue |   27 ++++++++++++++++++---------
 1 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/h5/pages/driver/queueUp.vue b/h5/pages/driver/queueUp.vue
index 3c08723..eed4c69 100644
--- a/h5/pages/driver/queueUp.vue
+++ b/h5/pages/driver/queueUp.vue
@@ -8,11 +8,11 @@
     </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 class="unit">杈�</text>
         </view>
@@ -22,11 +22,11 @@
           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 class="unit">杈�</text>
         </view>
@@ -55,10 +55,12 @@
     return {
       activePlatform: {},
       platformGroupList: [],
-      showPlat: false
+      showPlat: false,
+			jobId: ''
     }
   },
   onLoad(option) {
+		this.jobId = option.jobId
     this.getData(option.jobId || '')
   },
   methods: {
@@ -79,10 +81,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