去问诊加锁
This commit is contained in:
parent
f947b62c50
commit
57389606fa
@ -20,6 +20,7 @@ Page({
|
|||||||
data_list_6: [],//问诊结束
|
data_list_6: [],//问诊结束
|
||||||
data_list_6_loading: false,
|
data_list_6_loading: false,
|
||||||
conversationList: [],
|
conversationList: [],
|
||||||
|
isLock:false,
|
||||||
message_inquiry_type: 99999,
|
message_inquiry_type: 99999,
|
||||||
now_message_inquiry_type: 6,
|
now_message_inquiry_type: 6,
|
||||||
system_notice_unreadnnum: "",
|
system_notice_unreadnnum: "",
|
||||||
@ -100,7 +101,8 @@ Page({
|
|||||||
}
|
}
|
||||||
//避免onshow加载多次
|
//避免onshow加载多次
|
||||||
this.setData({
|
this.setData({
|
||||||
hasOnShow: true
|
hasOnShow: true,
|
||||||
|
isLock:true
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
@ -470,10 +472,16 @@ Page({
|
|||||||
}
|
}
|
||||||
|
|
||||||
app.go(url);
|
app.go(url);
|
||||||
|
this.setData({
|
||||||
|
isLock: true
|
||||||
|
})
|
||||||
},
|
},
|
||||||
postDoctorInquiry(e){
|
postDoctorInquiry(e){
|
||||||
|
let {isLock}=this.data;
|
||||||
|
if(!isLock){
|
||||||
this.setData({
|
this.setData({
|
||||||
show: false
|
show: false,
|
||||||
|
isLock:true
|
||||||
})
|
})
|
||||||
// console.log("order_inquiry_id: ", e.currentTarget.dataset.order_inquiry_id);
|
// console.log("order_inquiry_id: ", e.currentTarget.dataset.order_inquiry_id);
|
||||||
let params = {};
|
let params = {};
|
||||||
@ -489,6 +497,8 @@ Page({
|
|||||||
}).catch(errors => {
|
}).catch(errors => {
|
||||||
console.error(errors);
|
console.error(errors);
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
//获取上方角标
|
//获取上方角标
|
||||||
getDoctorMessageNotice(e){
|
getDoctorMessageNotice(e){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user