| xqd
@@ -308,6 +308,7 @@
|
|
|
console.log('认证', this.docterInfo.is_then)
|
|
|
},
|
|
|
getDocterMessage: async function() {
|
|
|
+
|
|
|
let res = await this.$request.post("docterMessage/docterMessageList", {
|
|
|
curPage: this.page,
|
|
|
pageSize: 10
|
| xqd
@@ -411,6 +412,9 @@
|
|
|
* @param {Object} e
|
|
|
*/
|
|
|
navt(e) {
|
|
|
+
|
|
|
+ this.readTong(e.id);
|
|
|
+ e.status=2;
|
|
|
// 1.确认接单通知 2.订单逾期通知 3.订单完成通知 4.评价通知 5.服务包通知
|
|
|
// 6.社区端发送的通知 7.总后台发送的通知,8.认证申请通知,9.认证结果通知,
|
|
|
// 10服务开通通知,11。服务开通结果通知,12,提醒排班,13.排班通知
|
| xqd
@@ -482,6 +486,7 @@
|
|
|
})
|
|
|
} else if (e.type == 6) {
|
|
|
// 6.社区端发送的通知
|
|
|
+
|
|
|
uni.showModal({
|
|
|
title: "社区通知",
|
|
|
content: e.content,
|
| xqd
@@ -529,21 +534,29 @@
|
|
|
confirmText: "知道了",
|
|
|
showCancel: false,
|
|
|
})
|
|
|
+
|
|
|
} else if (e.type == 12) {
|
|
|
// 12,提醒排班 跳转到排班
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/Scheduling'
|
|
|
})
|
|
|
-
|
|
|
+
|
|
|
} else if (e.type == 13) {
|
|
|
// 13.排班通知 跳转到排班
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/Scheduling'
|
|
|
})
|
|
|
+
|
|
|
}
|
|
|
return false;
|
|
|
console.log(e);
|
|
|
},
|
|
|
+
|
|
|
+ readTong:async function(id){
|
|
|
+ let res = this.$request.post("docterMessage/readOk",{'id':id});
|
|
|
+ this.getDocterMessage()
|
|
|
+ console.log(res);
|
|
|
+ },
|
|
|
//如果点击模块 需要判断认证
|
|
|
judgerenzheng: function() {
|
|
|
if (!this.hasLogin) {
|