From 9b0f733eecba99b33f4e415f9fddd42394f6c0d5 Mon Sep 17 00:00:00 2001
From: wk
Date: 星期三, 09 十月 2024 14:45:07 +0800
Subject: [PATCH] feat:门卫

---
 pages/doorkeeper-page/doorkeeper-index/exit-index.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/pages/doorkeeper-page/doorkeeper-index/exit-index.vue b/pages/doorkeeper-page/doorkeeper-index/exit-index.vue
index 1cc790a..60e9f2d 100644
--- a/pages/doorkeeper-page/doorkeeper-index/exit-index.vue
+++ b/pages/doorkeeper-page/doorkeeper-index/exit-index.vue
@@ -284,6 +284,7 @@
 		},
 		data() {
 			return {
+				door:'',
 				temporaryPlanId:"",
 				show: false, // 寮瑰嚭鍏ㄩ儴棰嗗彇鎻愮ず
 				showModal:false,
@@ -305,6 +306,7 @@
 			}
 		},
 		onShow() {
+			this.door=uni.getStorageSync('door', this.door)
 			this.init();
 		},
 		methods: {
@@ -423,7 +425,7 @@
 				});
 				
 				if(!this.carNo){
-					this.$reqGet('getCheckTaskCoal',{flag:1}).then(res => {
+					this.$reqGet('getCheckTaskCoal',{flag:1,door:this.door}).then(res => {
 						uni.hideLoading();
 						this.driverBillOfLoadingData = res.data;
 						uni.stopPullDownRefresh();
@@ -436,7 +438,7 @@
 						this.handleOpenChange();
 					});
 				}else{
-					this.$reqGet('getCheckTaskCoal',{flag:1,carNo:this.carNo}).then(res => {
+					this.$reqGet('getCheckTaskCoal',{flag:1,carNo:this.carNo,door:this.door}).then(res => {
 						uni.hideLoading();
 						this.driverBillOfLoadingData = res.data;
 						uni.stopPullDownRefresh();
@@ -450,14 +452,14 @@
 					});
 				}
 				if(!this.carNo){
-					this.$reqGet('getAlreadyCheckTaskCoal',{flag:1}).then(res => {
+					this.$reqGet('getAlreadyCheckTaskCoal',{flag:1,door:this.door}).then(res => {
 						uni.hideLoading();
 						this.driverBillOfLoadingDatas = res.data;
 						uni.stopPullDownRefresh();
 						this.handleOpenChange();
 					});
 				}else{
-					this.$reqGet('getAlreadyCheckTaskCoal',{flag:1,carNo:this.carNo}).then(res => {
+					this.$reqGet('getAlreadyCheckTaskCoal',{flag:1,carNo:this.carNo,door:this.door}).then(res => {
 						uni.hideLoading();
 						this.driverBillOfLoadingDatas = res.data;
 						uni.stopPullDownRefresh();
@@ -523,6 +525,7 @@
 		}
 	}
 	::v-deep.appointment {
+		margin-bottom:  vww(100);
 		.appointment-description {
 			margin: vww(8) 0;
 			color: #fd1446;

--
Gitblit v1.9.1