|
@@ -238,10 +238,11 @@
|
|
let res = await this.$request.post('/api/v1/Team/teamInfo', {
|
|
let res = await this.$request.post('/api/v1/Team/teamInfo', {
|
|
id: item.team_id[0]
|
|
id: item.team_id[0]
|
|
}, false)
|
|
}, false)
|
|
- res.data.forEach(item => {
|
|
|
|
- if (item == this.infodata.docter_id) {
|
|
|
|
|
|
+ res.data.forEach(it => {
|
|
|
|
+ if (it == this.infodata.docter_id) {
|
|
this.serviceid = item.id
|
|
this.serviceid = item.id
|
|
- this.showservice = false
|
|
|
|
|
|
+ this.showservice = false
|
|
|
|
+ console.log(this.serviceid)
|
|
} else {
|
|
} else {
|
|
uni.showModal({
|
|
uni.showModal({
|
|
title: "提示",
|
|
title: "提示",
|
|
@@ -251,7 +252,6 @@
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
})
|
|
})
|
|
-
|
|
|
|
},
|
|
},
|
|
getserviceList: async function() {
|
|
getserviceList: async function() {
|
|
let res = await this.$request.post("/api/v1/order/orderList", {
|
|
let res = await this.$request.post("/api/v1/order/orderList", {
|
|
@@ -259,7 +259,8 @@
|
|
// docter_id:this.infodata.docter_id
|
|
// docter_id:this.infodata.docter_id
|
|
list_type: 1,
|
|
list_type: 1,
|
|
product_type: 6,
|
|
product_type: 6,
|
|
- is_pack_expire: 2
|
|
|
|
|
|
+ is_pack_expire: 2,
|
|
|
|
+ order_status:3
|
|
})
|
|
})
|
|
console.log(res)
|
|
console.log(res)
|
|
if (res.status == 0) {
|
|
if (res.status == 0) {
|
|
@@ -277,9 +278,7 @@
|
|
})
|
|
})
|
|
this.pageservice++
|
|
this.pageservice++
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
},
|
|
},
|
|
getcoupon: async function() {
|
|
getcoupon: async function() {
|
|
let res = await this.$request.post("/api/v1/coupon/userCouponList", {
|
|
let res = await this.$request.post("/api/v1/coupon/userCouponList", {
|
|
@@ -468,7 +467,6 @@
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
this.payment()
|
|
this.payment()
|
|
-
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
getUserInfo: async function() {
|
|
getUserInfo: async function() {
|