Browse Source

医生认证优化,注销账号逻辑调整, 邀约医生样式调整

main
kola-web 5 months ago
parent
commit
f9e21c2559
  1. 14
      src/module1/pages/invite/index.ts
  2. 2
      src/module1/pages/loginOut/index.ts
  3. 6
      src/module1/pages/setInfo/index.ts
  4. 4
      src/module1/pages/setInfo/index.wxml

14
src/module1/pages/invite/index.ts

@ -39,15 +39,15 @@ Page({
}, },
}); });
}, },
handleShare(){ handleShare() {
wx.showToast({ wx.showToast({
icon:"none", icon: "none",
title:"请长按图片转发给好友", title: "请长按图片转发给好友",
}) });
},
handleBack() {
wx.navigateBack();
}, },
handleBack(){
wx.navigateBack()
}
}); });
export {}; export {};

2
src/module1/pages/loginOut/index.ts

@ -1,4 +1,4 @@
const _app = getApp<IAppOption>(); const app = getApp<IAppOption>();
Page({ Page({
data: {}, data: {},

6
src/module1/pages/setInfo/index.ts

@ -5,7 +5,7 @@ Page({
data: { data: {
applyDoctorInfo: null, applyDoctorInfo: null,
applyHostipalInfo: null, applyHostipalInfo: null,
inviteName: "", InviteDoctorName: "",
RejectReason: "", RejectReason: "",
DoctorLevel: {}, DoctorLevel: {},
DoctorTitleType: {}, DoctorTitleType: {},
@ -67,7 +67,7 @@ Page({
}, },
}).then((res) => { }).then((res) => {
this.setData({ this.setData({
inviteName: res.Name, InviteDoctorName: res.Name,
InviteDoctorId: dId, InviteDoctorId: dId,
}); });
}); });
@ -289,7 +289,7 @@ Page({
acceptDataFromOpenedPage: (data) => { acceptDataFromOpenedPage: (data) => {
this.setData({ this.setData({
InviteDoctorId: data.DoctorId, InviteDoctorId: data.DoctorId,
inviteName: data.DoctorName, InviteDoctorName: data.DoctorName,
}); });
}, },
}, },

4
src/module1/pages/setInfo/index.wxml

@ -7,8 +7,8 @@
style="background: url({{imageUrl}}set-info-bg.png?r={{Timestamp}}) no-repeat top center/100% 356rpx;" style="background: url({{imageUrl}}set-info-bg.png?r={{Timestamp}}) no-repeat top center/100% 356rpx;"
> >
<view class="container"> <view class="container">
<view class="invite" wx:if="{{inviteName}}"> <view class="invite" wx:if="{{InviteDoctorName}}">
{{inviteName}}医生为您的邀约医生 {{InviteDoctorName}}医生为您的邀约医生
<view class="bind" bind:tap="handleBindDoctor">绑定</view> <view class="bind" bind:tap="handleBindDoctor">绑定</view>
</view> </view>
<view class="invite" wx:else> <view class="invite" wx:else>

Loading…
Cancel
Save