|
@@ -17,9 +17,11 @@
|
|
</view>
|
|
</view>
|
|
<view style="margin-left: 30rpx;">
|
|
<view style="margin-left: 30rpx;">
|
|
<view style="font-size: 32rpx;font-weight: 600;margin-bottom: 20rpx;">
|
|
<view style="font-size: 32rpx;font-weight: 600;margin-bottom: 20rpx;">
|
|
- {{docterInfo.name}}
|
|
|
|
- <u-tag style="margin-left: 10rpx;" :text="lable1" bg-color="#E5F5FF" color="#0B73B9" border-color="#ffffff" />
|
|
|
|
- <u-tag style="margin-left: 10rpx;" :text="lable2" bg-color="#E5F5FF" color="#0B73B9" border-color="#ffffff" />
|
|
|
|
|
|
+ {{docterInfo.name| ellipsis}}
|
|
|
|
+ <u-tag style="margin-left: 10rpx;" :text="lable1" bg-color="#E5F5FF" color="#0B73B9" border-color="#ffffff"
|
|
|
|
+ v-if="!lable1==''" />
|
|
|
|
+ <u-tag style="margin-left: 10rpx;" :text="lable2" bg-color="#E5F5FF" color="#0B73B9" border-color="#ffffff"
|
|
|
|
+ v-if="!lable2==''" />
|
|
</view>
|
|
</view>
|
|
<view style="color:#666666 ;">
|
|
<view style="color:#666666 ;">
|
|
{{docterInfo.sign}}
|
|
{{docterInfo.sign}}
|
|
@@ -117,7 +119,7 @@
|
|
shape="circle"></u-image>
|
|
shape="circle"></u-image>
|
|
<view class="grid-text margin-top-xs">服务设置</view>
|
|
<view class="grid-text margin-top-xs">服务设置</view>
|
|
</u-grid-item>
|
|
</u-grid-item>
|
|
- <u-grid-item @click="evaluate">
|
|
|
|
|
|
+ <u-grid-item @click="evaluate">
|
|
<u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/pj.png"
|
|
<u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/pj.png"
|
|
shape="circle"></u-image>
|
|
shape="circle"></u-image>
|
|
<view class="grid-text margin-top-xs">我的评价</view>
|
|
<view class="grid-text margin-top-xs">我的评价</view>
|
|
@@ -141,8 +143,10 @@
|
|
@touchend.prevent="touchend" @click="navt(item)" class="padding-lr-sm padding-tb-sm bg-white margin-top-sm" style="border-radius: 32rpx;">
|
|
@touchend.prevent="touchend" @click="navt(item)" class="padding-lr-sm padding-tb-sm bg-white margin-top-sm" style="border-radius: 32rpx;">
|
|
<view class="flex justify-start align-center">
|
|
<view class="flex justify-start align-center">
|
|
<!-- 1为订单通知 2为系统通知 3为通知类型 -->
|
|
<!-- 1为订单通知 2为系统通知 3为通知类型 -->
|
|
- <image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/ddtz.png" v-if="item.type==1||item.type==2||item.type==3" style="width: 30rpx;height: 30rpx;"></image>
|
|
|
|
- <image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/xttz.png" v-else-if="item.type==4"style="width: 30rpx;height: 30rpx;"></image>
|
|
|
|
|
|
+ <image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/ddtz.png" v-if="item.type==1||item.type==2||item.type==3"
|
|
|
|
+ style="width: 30rpx;height: 30rpx;"></image>
|
|
|
|
+ <image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/xttz.png" v-else-if="item.type==4"
|
|
|
|
+ style="width: 30rpx;height: 30rpx;"></image>
|
|
<image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/tzlx.png" v-else style="width: 30rpx;height: 30rpx;"></image>
|
|
<image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/tzlx.png" v-else style="width: 30rpx;height: 30rpx;"></image>
|
|
<text class="text-lg margin-left-xs" style="margin-right: 20rpx;" v-if="item.type==1">确认接单</text>
|
|
<text class="text-lg margin-left-xs" style="margin-right: 20rpx;" v-if="item.type==1">确认接单</text>
|
|
<text class="text-lg margin-left-xs" style="margin-right: 20rpx;" v-else-if="item.type==2">订单逾期</text>
|
|
<text class="text-lg margin-left-xs" style="margin-right: 20rpx;" v-else-if="item.type==2">订单逾期</text>
|
|
@@ -157,7 +161,7 @@
|
|
<text class="text-lg margin-left-xs" style="margin-right: 20rpx;" v-else-if="item.type==11">服务开通结果</text>
|
|
<text class="text-lg margin-left-xs" style="margin-right: 20rpx;" v-else-if="item.type==11">服务开通结果</text>
|
|
<text class="text-lg margin-left-xs" style="margin-right: 20rpx;" v-else-if="item.type==12">提醒排班</text>
|
|
<text class="text-lg margin-left-xs" style="margin-right: 20rpx;" v-else-if="item.type==12">提醒排班</text>
|
|
<text class="text-lg margin-left-xs" style="margin-right: 20rpx;" v-else-if="item.type==13">排班</text>
|
|
<text class="text-lg margin-left-xs" style="margin-right: 20rpx;" v-else-if="item.type==13">排班</text>
|
|
-
|
|
|
|
|
|
+
|
|
<view v-if="item.status==1" class="flex align-center">
|
|
<view v-if="item.status==1" class="flex align-center">
|
|
<view style="width: 14rpx;height: 14rpx;border-radius: 50%;background-color:#FF4F61 ;"></view>
|
|
<view style="width: 14rpx;height: 14rpx;border-radius: 50%;background-color:#FF4F61 ;"></view>
|
|
<text class="margin-left-xs" style="font-size: 24rpx;color: #FF4F61;">未读</text>
|
|
<text class="margin-left-xs" style="font-size: 24rpx;color: #FF4F61;">未读</text>
|
|
@@ -275,7 +279,12 @@
|
|
methods: {
|
|
methods: {
|
|
getDocterInfo: async function() {
|
|
getDocterInfo: async function() {
|
|
let res = await this.$request.post("doctor/doctorInfor", {});
|
|
let res = await this.$request.post("doctor/doctorInfor", {});
|
|
- this.docterInfo.name = res.data.name;
|
|
|
|
|
|
+ if (res.data.name.length > 5) {
|
|
|
|
+ this.docterInfo.name = res.data.name.substring(0, 5) + "...";
|
|
|
|
+ }else{
|
|
|
|
+ this.docterInfo.name = res.data.name;
|
|
|
|
+ }
|
|
|
|
+
|
|
this.src = res.data.avatar;
|
|
this.src = res.data.avatar;
|
|
this.docterInfo.eva_num = res.data.eva_num;
|
|
this.docterInfo.eva_num = res.data.eva_num;
|
|
this.docterInfo.is_then = res.data.is_then;
|
|
this.docterInfo.is_then = res.data.is_then;
|
|
@@ -293,21 +302,21 @@
|
|
});
|
|
});
|
|
if (res.data.length == 0) {
|
|
if (res.data.length == 0) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title: '到底了',
|
|
|
|
|
|
+ title: '没有更多数据',
|
|
duration: 3000,
|
|
duration: 3000,
|
|
icon: 'none'
|
|
icon: 'none'
|
|
})
|
|
})
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- if(this.page==1){
|
|
|
|
|
|
+ if (this.page == 1) {
|
|
this.docterMessageList = [];
|
|
this.docterMessageList = [];
|
|
this.docterMessageList = res.data
|
|
this.docterMessageList = res.data
|
|
- }else{
|
|
|
|
|
|
+ } else {
|
|
this.docterMessageList = this.docterMessageList.concat(res.data)
|
|
this.docterMessageList = this.docterMessageList.concat(res.data)
|
|
}
|
|
}
|
|
// this.docterMessageList = res.data
|
|
// this.docterMessageList = res.data
|
|
- console.log('我是docterMessageList',this.docterMessageList);
|
|
|
|
- console.log('我是接口数据',res.data);
|
|
|
|
|
|
+ console.log('我是docterMessageList', this.docterMessageList);
|
|
|
|
+ console.log('我是接口数据', res.data);
|
|
},
|
|
},
|
|
//全部已读
|
|
//全部已读
|
|
allread: async function() {
|
|
allread: async function() {
|
|
@@ -354,83 +363,90 @@
|
|
});
|
|
});
|
|
}.bind(this), 1000);
|
|
}.bind(this), 1000);
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ ellipsis(value) {
|
|
|
|
+ if (!value) return ''
|
|
|
|
+ if (value.length > 5) {
|
|
|
|
+ return value.slice(0, 5) + '...'
|
|
|
|
+ }
|
|
|
|
+ return value
|
|
|
|
+ },
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 通知跳转
|
|
* 通知跳转
|
|
* @author Liu Yuanhang
|
|
* @author Liu Yuanhang
|
|
* @param {Object} e
|
|
* @param {Object} e
|
|
*/
|
|
*/
|
|
- navt(e){
|
|
|
|
|
|
+ navt(e) {
|
|
// 1.确认接单通知 2.订单逾期通知 3.订单完成通知 4.评价通知 5.服务包通知
|
|
// 1.确认接单通知 2.订单逾期通知 3.订单完成通知 4.评价通知 5.服务包通知
|
|
// 6.社区端发送的通知 7.总后台发送的通知,8.认证申请通知,9.认证结果通知,
|
|
// 6.社区端发送的通知 7.总后台发送的通知,8.认证申请通知,9.认证结果通知,
|
|
// 10服务开通通知,11。服务开通结果通知,12,提醒排班,13.排班通知
|
|
// 10服务开通通知,11。服务开通结果通知,12,提醒排班,13.排班通知
|
|
let id;
|
|
let id;
|
|
- if(e.type==1){
|
|
|
|
|
|
+ if (e.type == 1) {
|
|
// 1.确认接单通知 跳转到订单详情
|
|
// 1.确认接单通知 跳转到订单详情
|
|
id = e.relation_id
|
|
id = e.relation_id
|
|
- if(e==0){
|
|
|
|
|
|
+ if (e == 0) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- icon:'none',
|
|
|
|
- duration:2000,
|
|
|
|
- title:'错误!'
|
|
|
|
|
|
+ icon: 'none',
|
|
|
|
+ duration: 2000,
|
|
|
|
+ title: '错误!'
|
|
})
|
|
})
|
|
- }
|
|
|
|
|
|
+ }
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: '/pages/zixun/xiangqing?data=' + id
|
|
url: '/pages/zixun/xiangqing?data=' + id
|
|
})
|
|
})
|
|
- }else if(e.type==2){
|
|
|
|
|
|
+ } else if (e.type == 2) {
|
|
// 2.订单逾期通知 跳转订单详情
|
|
// 2.订单逾期通知 跳转订单详情
|
|
id = e.relation_id
|
|
id = e.relation_id
|
|
- if(e==0){
|
|
|
|
|
|
+ if (e == 0) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- icon:'none',
|
|
|
|
- duration:2000,
|
|
|
|
- title:'错误!'
|
|
|
|
|
|
+ icon: 'none',
|
|
|
|
+ duration: 2000,
|
|
|
|
+ title: '错误!'
|
|
})
|
|
})
|
|
}
|
|
}
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: '/pages/zixun/xiangqing?data=' + id
|
|
url: '/pages/zixun/xiangqing?data=' + id
|
|
})
|
|
})
|
|
- }else if(e.type==3){
|
|
|
|
|
|
+ } else if (e.type == 3) {
|
|
// 2.订单完成通知 跳转订单详情
|
|
// 2.订单完成通知 跳转订单详情
|
|
id = e.relation_id
|
|
id = e.relation_id
|
|
- if(e==0){
|
|
|
|
|
|
+ if (e == 0) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- icon:'none',
|
|
|
|
- duration:2000,
|
|
|
|
- title:'错误!'
|
|
|
|
|
|
+ icon: 'none',
|
|
|
|
+ duration: 2000,
|
|
|
|
+ title: '错误!'
|
|
})
|
|
})
|
|
}
|
|
}
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: '/pages/zixun/xiangqing?data=' + id
|
|
url: '/pages/zixun/xiangqing?data=' + id
|
|
})
|
|
})
|
|
- }else if(e.type==4){
|
|
|
|
|
|
+ } else if (e.type == 4) {
|
|
// 4.评价通知 跳转评价详情
|
|
// 4.评价通知 跳转评价详情
|
|
id = e.relation_id
|
|
id = e.relation_id
|
|
- if(e!=0){
|
|
|
|
|
|
+ if (e != 0) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- icon:'none',
|
|
|
|
- duration:2000,
|
|
|
|
- title:'错误!'
|
|
|
|
|
|
+ icon: 'none',
|
|
|
|
+ duration: 2000,
|
|
|
|
+ title: '错误!'
|
|
})
|
|
})
|
|
}
|
|
}
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: '/pages/me_evaluate'
|
|
url: '/pages/me_evaluate'
|
|
})
|
|
})
|
|
- }else if(e.type==5){
|
|
|
|
|
|
+ } else if (e.type == 5) {
|
|
// 5.服务包通知 点击查看用户详情
|
|
// 5.服务包通知 点击查看用户详情
|
|
id = e.relation_id
|
|
id = e.relation_id
|
|
- if(e!=0){
|
|
|
|
|
|
+ if (e != 0) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- icon:'none',
|
|
|
|
- duration:2000,
|
|
|
|
- title:'错误!'
|
|
|
|
|
|
+ icon: 'none',
|
|
|
|
+ duration: 2000,
|
|
|
|
+ title: '错误!'
|
|
})
|
|
})
|
|
}
|
|
}
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: '/pages/patient/patientxq?id=' + id
|
|
url: '/pages/patient/patientxq?id=' + id
|
|
})
|
|
})
|
|
- }else if(e.type==6){
|
|
|
|
|
|
+ } else if (e.type == 6) {
|
|
// 6.社区端发送的通知
|
|
// 6.社区端发送的通知
|
|
uni.showModal({
|
|
uni.showModal({
|
|
title: "社区通知",
|
|
title: "社区通知",
|
|
@@ -438,8 +454,7 @@
|
|
confirmText: "知道了",
|
|
confirmText: "知道了",
|
|
showCancel: false,
|
|
showCancel: false,
|
|
})
|
|
})
|
|
- }
|
|
|
|
- else if(e.type==7){
|
|
|
|
|
|
+ } else if (e.type == 7) {
|
|
// 7.总后台发送的通知
|
|
// 7.总后台发送的通知
|
|
uni.showModal({
|
|
uni.showModal({
|
|
title: "后台通知",
|
|
title: "后台通知",
|
|
@@ -447,7 +462,7 @@
|
|
confirmText: "知道了",
|
|
confirmText: "知道了",
|
|
showCancel: false,
|
|
showCancel: false,
|
|
})
|
|
})
|
|
- }else if(e.type==8){
|
|
|
|
|
|
+ } else if (e.type == 8) {
|
|
// 8.认证申请通知
|
|
// 8.认证申请通知
|
|
uni.showModal({
|
|
uni.showModal({
|
|
title: "认证申请",
|
|
title: "认证申请",
|
|
@@ -455,7 +470,7 @@
|
|
confirmText: "知道了",
|
|
confirmText: "知道了",
|
|
showCancel: false,
|
|
showCancel: false,
|
|
})
|
|
})
|
|
- }else if(e.type==9){
|
|
|
|
|
|
+ } else if (e.type == 9) {
|
|
// 9.认证结果通知,
|
|
// 9.认证结果通知,
|
|
uni.showModal({
|
|
uni.showModal({
|
|
title: "认证结果",
|
|
title: "认证结果",
|
|
@@ -463,7 +478,7 @@
|
|
confirmText: "知道了",
|
|
confirmText: "知道了",
|
|
showCancel: false,
|
|
showCancel: false,
|
|
})
|
|
})
|
|
- }else if(e.type==10){
|
|
|
|
|
|
+ } else if (e.type == 10) {
|
|
// 10服务开通通知
|
|
// 10服务开通通知
|
|
uni.showModal({
|
|
uni.showModal({
|
|
title: "服务开通",
|
|
title: "服务开通",
|
|
@@ -471,7 +486,7 @@
|
|
confirmText: "知道了",
|
|
confirmText: "知道了",
|
|
showCancel: false,
|
|
showCancel: false,
|
|
})
|
|
})
|
|
- }else if(e.type==11){
|
|
|
|
|
|
+ } else if (e.type == 11) {
|
|
// 11。服务开通结果通知
|
|
// 11。服务开通结果通知
|
|
uni.showModal({
|
|
uni.showModal({
|
|
title: "服务开通结果",
|
|
title: "服务开通结果",
|
|
@@ -479,24 +494,24 @@
|
|
confirmText: "知道了",
|
|
confirmText: "知道了",
|
|
showCancel: false,
|
|
showCancel: false,
|
|
})
|
|
})
|
|
- }else if(e.type==12){
|
|
|
|
|
|
+ } else if (e.type == 12) {
|
|
// 12,提醒排班 跳转到排班
|
|
// 12,提醒排班 跳转到排班
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: '/pages/Scheduling'
|
|
url: '/pages/Scheduling'
|
|
})
|
|
})
|
|
-
|
|
|
|
- }else if(e.type==13){
|
|
|
|
|
|
+
|
|
|
|
+ } else if (e.type == 13) {
|
|
// 13.排班通知 跳转到排班
|
|
// 13.排班通知 跳转到排班
|
|
- uni.navigateTo({
|
|
|
|
- url: '/pages/Scheduling'
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pages/Scheduling'
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+
|
|
console.log(e);
|
|
console.log(e);
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
//如果点击模块 需要判断认证
|
|
//如果点击模块 需要判断认证
|
|
- judgerenzheng: function(){
|
|
|
|
|
|
+ judgerenzheng: function() {
|
|
if (!this.hasLogin) {
|
|
if (!this.hasLogin) {
|
|
uni.showModal({
|
|
uni.showModal({
|
|
title: "提示",
|
|
title: "提示",
|
|
@@ -504,101 +519,106 @@
|
|
confirmText: "去登录",
|
|
confirmText: "去登录",
|
|
showCancel: false,
|
|
showCancel: false,
|
|
success() {
|
|
success() {
|
|
- uni.reLaunch({
|
|
|
|
|
|
+ uni.navigateTo({
|
|
url: "../login/login"
|
|
url: "../login/login"
|
|
})
|
|
})
|
|
}
|
|
}
|
|
})
|
|
})
|
|
return false;
|
|
return false;
|
|
- }else{
|
|
|
|
|
|
+ } else {
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
// 跳转服务设置
|
|
// 跳转服务设置
|
|
setservice(e) {
|
|
setservice(e) {
|
|
- if(this.judgerenzheng()){
|
|
|
|
|
|
+ if (this.judgerenzheng()) {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
- url: '/pages/service/setservice'
|
|
|
|
- })
|
|
|
|
|
|
+ url: '/pages/service/setservice'
|
|
|
|
+ })
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
//跳转患者管理
|
|
//跳转患者管理
|
|
patient(e) {
|
|
patient(e) {
|
|
- if(this.judgerenzheng()){
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: '/pages/patient/patient'
|
|
|
|
- })
|
|
|
|
|
|
+ if (this.judgerenzheng()) {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pages/patient/patient'
|
|
|
|
+ })
|
|
}
|
|
}
|
|
},
|
|
},
|
|
editdocter() {
|
|
editdocter() {
|
|
- if(this.judgerenzheng()){
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: '../index/index'
|
|
|
|
- })}
|
|
|
|
|
|
+ if (this.judgerenzheng()) {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '../index/index'
|
|
|
|
+ })
|
|
|
|
+ }
|
|
},
|
|
},
|
|
touchend() {
|
|
touchend() {
|
|
- if(this.judgerenzheng()){
|
|
|
|
- console.log('结束')
|
|
|
|
- clearInterval(this.Loop);
|
|
|
|
|
|
+ if (this.judgerenzheng()) {
|
|
|
|
+ console.log('结束')
|
|
|
|
+ clearInterval(this.Loop);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
//跳转患者咨询
|
|
//跳转患者咨询
|
|
zixun() {
|
|
zixun() {
|
|
- if(this.judgerenzheng()){
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: '/pages/zixun/zixun'
|
|
|
|
- })}
|
|
|
|
|
|
+ if (this.judgerenzheng()) {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pages/zixun/zixun'
|
|
|
|
+ })
|
|
|
|
+ }
|
|
},
|
|
},
|
|
//排班
|
|
//排班
|
|
pb() {
|
|
pb() {
|
|
- if(this.judgerenzheng()){
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: '/pages/Scheduling'
|
|
|
|
- })}
|
|
|
|
|
|
+ if (this.judgerenzheng()) {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pages/Scheduling'
|
|
|
|
+ })
|
|
|
|
+ }
|
|
},
|
|
},
|
|
//意见
|
|
//意见
|
|
yijian() {
|
|
yijian() {
|
|
- if(this.judgerenzheng()){
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: '/pages/opinion/opinion'
|
|
|
|
- })}
|
|
|
|
|
|
+ if (this.judgerenzheng()) {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pages/opinion/opinion'
|
|
|
|
+ })
|
|
|
|
+ }
|
|
},
|
|
},
|
|
//门诊
|
|
//门诊
|
|
mz() {
|
|
mz() {
|
|
- if(this.judgerenzheng()){
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: '/pages/menzhen/menzhen'
|
|
|
|
- })}
|
|
|
|
|
|
+ if (this.judgerenzheng()) {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pages/menzhen/menzhen'
|
|
|
|
+ })
|
|
|
|
+ }
|
|
},
|
|
},
|
|
//个人信息 右上角的编辑按钮
|
|
//个人信息 右上角的编辑按钮
|
|
grxx() {
|
|
grxx() {
|
|
- if(this.judgerenzheng()){
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: '/pages/information/information'
|
|
|
|
- })
|
|
|
|
|
|
+ if (this.judgerenzheng()) {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pages/information/information'
|
|
|
|
+ })
|
|
}
|
|
}
|
|
},
|
|
},
|
|
//点击未认证
|
|
//点击未认证
|
|
gorz() {
|
|
gorz() {
|
|
- if(this.judgerenzheng()){
|
|
|
|
- this.rzModal = true
|
|
|
|
|
|
+ if (this.judgerenzheng()) {
|
|
|
|
+ this.rzModal = true
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- evaluate(){
|
|
|
|
- if(this.judgerenzheng()){
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: '/pages/me_evaluate'
|
|
|
|
- })
|
|
|
|
|
|
+ evaluate() {
|
|
|
|
+ if (this.judgerenzheng()) {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pages/me_evaluate'
|
|
|
|
+ })
|
|
}
|
|
}
|
|
},
|
|
},
|
|
qdrz() {
|
|
qdrz() {
|
|
- if(this.judgerenzheng()){
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: '/pages/login/doctorRenzheng'
|
|
|
|
- })
|
|
|
|
|
|
+ if (this.judgerenzheng()) {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pages/login/doctorRenzheng'
|
|
|
|
+ })
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|