|
@@ -157,25 +157,26 @@
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: "../service_box/box_details"
|
|
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({
|
|
uni.navigateTo({
|
|
url: "../common_tools/my_consulting/my_appointment"
|
|
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="
|
|
|
|
+ // })
|
|
|
|
+ // })
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|