武田基因病B开发环境
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

34 lines
689 B

const app = getApp<IAppOption>()
Page({
data: {},
onLoad() {},
handleChanegTel() {
wx.navigateTo({
url: '/doctor/pages/changeTel/index',
})
},
handleLoginOut() {
wx.showModal({
title: '确定退出登录吗?',
confirmColor: 'rgba(246, 74, 58, 1)',
success: (res) => {
if (res.confirm) {
wx.ajax({
method: 'POST',
url: '?r=wtx/doctor/account/reg-logout',
data: {},
}).then(() => {
app.startLogin(() => {
wx.reLaunch({
url: '/pages/index/index',
})
})
})
}
},
})
},
})
export {}