|
@@ -7,11 +7,11 @@
|
|
|
title="地址选择"
|
|
|
@confirm="confirm"
|
|
|
></nut-picker>
|
|
|
- <nut-cell title="请选择医院" :desc="hospitaltitle" @click="hospitalcell"></nut-cell>
|
|
|
+ <nut-cell title="请选择单位" :desc="hospitaltitle" @click="hospitalcell"></nut-cell>
|
|
|
<nut-picker
|
|
|
v-model:visible="hospitalshow"
|
|
|
:list-data="hospitalItems"
|
|
|
- title="医院选择"
|
|
|
+ title="单位选择"
|
|
|
@confirm="hospitalConfirm"
|
|
|
></nut-picker>
|
|
|
<nut-cell title="请选择科室" :desc="subjecttitle" @click="subjectcell"></nut-cell>
|
|
@@ -122,7 +122,7 @@ export default {
|
|
|
this.info.code = this.listData.filter(a => a.name === e[1])[0].code
|
|
|
await this.hospitalquery({ region: this.info.code })
|
|
|
},
|
|
|
- // 医院点击
|
|
|
+ // 单位点击
|
|
|
hospitalcell () {
|
|
|
if (!this.info.code) {
|
|
|
Toast.fail('请先选择地区')
|
|
@@ -130,7 +130,7 @@ export default {
|
|
|
}
|
|
|
this.hospitalshow = true
|
|
|
},
|
|
|
- // 医院选择
|
|
|
+ // 单位选择
|
|
|
async hospitalConfirm (e) {
|
|
|
if (!e) return
|
|
|
this.hospitaltitle = e
|
|
@@ -143,7 +143,7 @@ export default {
|
|
|
// 科室点击
|
|
|
subjectcell () {
|
|
|
if (!this.info.hospitalId || !this.info.hospitalName) {
|
|
|
- Toast.fail('请先选择医院')
|
|
|
+ Toast.fail('请先选择单位')
|
|
|
return false
|
|
|
}
|
|
|
this.subjectshow = true
|