宇宙无敌M1处理器的MacBook Pro преди 4 години
родител
ревизия
80faca85b4
променени са 1 файла, в които са добавени 16 реда и са изтрити 15 реда
  1. 16 15
      pages/index/message.vue

+ 16 - 15
pages/index/message.vue

xqd
@@ -157,25 +157,26 @@
 					uni.navigateTo({
 						url: "../service_box/box_details"
 					})
-				} else if (item.type == 99) {
-					this.$request.post("/api/v1/docter/docterDetail", {
-						docter_id: item.docter_id
-					}).then(res => {
-						console.log(res)
-						let obj = {
-							id: res.id,
-							name: res.name,
-							avatar: res.avatar
-						}
-						uni.navigateTo({
-							url: "../common_tools/my_consulting/conversation?doctor=" + JSON.stringify(obj) + "&doctorstatus="
-						})
-					})
-				}else if(item.type == 1 || item.type == 4&&item.product_type == 3||item.type == 4&&item.product_type == 4||item.type == 4&&item.product_type == 5){
+				} else if(item.type == 1 || item.type == 4&&item.product_type == 3||item.type == 4&&item.product_type == 4||item.type == 4&&item.product_type == 5){
 					uni.navigateTo({
 						url: "../common_tools/my_consulting/my_appointment"
 					})
 				}
+				// else if (item.type == 99) {
+				// 	this.$request.post("/api/v1/docter/docterDetail", {
+				// 		docter_id: item.docter_id
+				// 	}).then(res => {
+				// 		console.log(res)
+				// 		let obj = {
+				// 			id: res.id,
+				// 			name: res.name,
+				// 			avatar: res.avatar
+				// 		}
+				// 		uni.navigateTo({
+				// 			url: "../common_tools/my_consulting/conversation?doctor=" + JSON.stringify(obj) + "&doctorstatus="
+				// 		})
+				// 	})
+				// }
 			}
 		}
 	};