4.12患者
This commit is contained in:
@@ -43,6 +43,7 @@ Page({
|
||||
address_id: '',
|
||||
product_ids: [],
|
||||
order_detection_id:'',
|
||||
order_service_id:'',
|
||||
order_product_id: '',
|
||||
fromType: '',
|
||||
showDing:false,
|
||||
@@ -78,8 +79,10 @@ Page({
|
||||
order_inquiry_id,
|
||||
order_type,
|
||||
order_detection_id,
|
||||
order_service_id,
|
||||
fromType
|
||||
} = this.data;
|
||||
console.log( order_type, order_service_id)
|
||||
if (order_type == 1) {
|
||||
if (fromType) {
|
||||
if (fromType == "detail") {
|
||||
@@ -103,7 +106,7 @@ Page({
|
||||
})
|
||||
}
|
||||
}else if(order_type==3){
|
||||
console.log("2222");
|
||||
|
||||
if (fromType) {
|
||||
wx.redirectTo({
|
||||
url: '/sugarCheck/pages/checkOrderDetail/checkOrderDetail?order_detection_id=' + order_detection_id + "&fromType=" + fromType,
|
||||
@@ -113,6 +116,16 @@ Page({
|
||||
delta: 1,
|
||||
})
|
||||
}
|
||||
}else if(order_type==4 || order_type==5){
|
||||
if (fromType) {
|
||||
wx.redirectTo({
|
||||
url: '/healthyService/pages/healthyOrderDetail/healthyOrderDetail?order_service_id=' + order_service_id + "&fromType=" + fromType,
|
||||
})
|
||||
} else {
|
||||
wx.navigateBack({
|
||||
delta: 1,
|
||||
})
|
||||
}
|
||||
}else {
|
||||
if (fromType) {
|
||||
wx.redirectTo({
|
||||
@@ -268,6 +281,11 @@ Page({
|
||||
this.setData({
|
||||
order_detection_id:data.order_no
|
||||
})
|
||||
}else if(order_type==4 || order_type==5){
|
||||
this.setData({
|
||||
order_service_id:data.order_no
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
let {
|
||||
@@ -621,21 +639,25 @@ Page({
|
||||
})
|
||||
|
||||
}else if(options.order_type==4){//随访包订单
|
||||
let order_service_id=options.order_service_id;
|
||||
this.setData({
|
||||
order_type: 4,
|
||||
doctor_id: options.doctor_id,
|
||||
inquiry_type:options.inquiry_type,
|
||||
order_no: options.inquiry_no,
|
||||
chat_id: options.chat_id,
|
||||
order_service_id:order_service_id?order_service_id:'',
|
||||
inquiry_mode: options.inquiry_mode
|
||||
})
|
||||
}else if(options.order_type==5){//健康包订单
|
||||
let order_service_id=options.order_service_id;
|
||||
this.setData({
|
||||
order_type:5,
|
||||
doctor_id: options.doctor_id,
|
||||
inquiry_type:options.inquiry_type,
|
||||
order_no: options.inquiry_no,
|
||||
chat_id: options.chat_id,
|
||||
order_service_id:order_service_id?order_service_id:'',
|
||||
inquiry_mode: options.inquiry_mode
|
||||
})
|
||||
}else {
|
||||
|
||||
Reference in New Issue
Block a user