From 7df00d8b23deb5fb21b0940807788930131ba008 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=83=AD=E6=99=93=E6=B8=85?= <guoxiaoqing@weixiuhui.cn>
Date: Sun, 9 May 2021 18:06:52 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E6=9C=89=E9=A2=84=E7=BA=A6=E6=98=AF?=
 =?UTF-8?q?=E6=89=8D=E8=AE=B0=E5=BD=95=E8=81=94=E7=B3=BB=E6=97=B6=E9=97=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/pages/order/detail.vue | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/src/pages/order/detail.vue b/src/pages/order/detail.vue
index 3687eaf..25170cc 100644
--- a/src/pages/order/detail.vue
+++ b/src/pages/order/detail.vue
@@ -348,13 +348,15 @@
 			contactTime() { 
 				let self = this
 				var data={}
-				self.$u.api.contactTime(data,this.order.orderId).then((res)=>{
-					if (res.code == 200) {
-						console.log("===", res.data)
-					} else {
-						console.log(res.message);
-					}
-				})
+				if(this.submitType === "workerAppointment"){
+					self.$u.api.contactTime(data,this.order.orderId).then((res)=>{
+						if (res.code == 200) {
+							console.log("===", res.data)
+						} else {
+							console.log(res.message);
+						}
+					})
+				}
 			},
 			handleClickRight(active) {
 				this.scenePhoto ? this.scenePhotoClick() : this.take()
-- 
2.23.0