|
|
|
@ -103,17 +103,17 @@ Page({
@@ -103,17 +103,17 @@ Page({
|
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
handleSelectHospital() { |
|
|
|
|
const id = this.data.hospitalId |
|
|
|
|
console.log('DEBUGPRINT[134]: index.ts:106: id=', id) |
|
|
|
|
if (!id) { |
|
|
|
|
wx.showToast({ |
|
|
|
|
title: '患者还未填写此信息哦~', |
|
|
|
|
icon: 'none', |
|
|
|
|
}) |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
wx.navigateTo({ |
|
|
|
|
url: `/doctor/pages/courseHostipal/index?id=${this.data.hospitalId}`, |
|
|
|
|
events: { |
|
|
|
|
acceptDataFromOpenedPage: (data) => { |
|
|
|
|
this.setData({ |
|
|
|
|
hospitalId: data.hospitalId, |
|
|
|
|
hospitalName: data.hospitalName, |
|
|
|
|
}) |
|
|
|
|
this.updateSave() |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
handleToggleFold(e: any) { |
|
|
|
|