更改签约和图文问诊
This commit is contained in:
parent
132e8a6f20
commit
6ca15aef84
@ -325,12 +325,22 @@
|
|||||||
infolist() {
|
infolist() {
|
||||||
detail(this.formdata.cardNo).then(res => {
|
detail(this.formdata.cardNo).then(res => {
|
||||||
var status = '1'
|
var status = '1'
|
||||||
|
if(res.code==200){
|
||||||
getHospitalPersonInfo(res.data.dutyDoctorNo, status).then(res => {
|
getHospitalPersonInfo(res.data.dutyDoctorNo, status).then(res => {
|
||||||
this.doctorName = res.data.personName
|
this.doctorName = res.data.personName
|
||||||
this.doctorId = res.data.id
|
this.doctorId = res.data.id
|
||||||
this.doctorlist = res.data
|
this.doctorlist = res.data
|
||||||
|
|
||||||
})
|
})
|
||||||
|
}else if (res.code==500){
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: res.msg,
|
||||||
|
type: 'error',
|
||||||
|
duration: '1500',
|
||||||
|
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<i class="icon"></i>
|
<i class="icon"></i>
|
||||||
<input type="text" name="" id="" class="input" placeholder="请输入医生姓名" v-model="realname">
|
<input type="text" name="" id="" class="input" placeholder="请输入医生姓名" v-model="realname">
|
||||||
</view>
|
</view>
|
||||||
<view class="list" v-if="doctorlist">
|
<view class="list" v-if="doctorlist.length>0">
|
||||||
<view class="item" v-for="item in doctorlist" @tap='emitdata(item)'>
|
<view class="item" v-for="item in doctorlist" @tap='emitdata(item)'>
|
||||||
<image src="../../static/docHead.png" mode=""></image>
|
<image src="../../static/docHead.png" mode=""></image>
|
||||||
<view class="name">
|
<view class="name">
|
||||||
@ -24,7 +24,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="list" v-if="list">
|
<view class="list" v-if="list&&list.personName">
|
||||||
<view class="item" @tap='emitdata(item)'>
|
<view class="item" @tap='emitdata(item)'>
|
||||||
<image src="../../static/docHead.png" mode=""></image>
|
<image src="../../static/docHead.png" mode=""></image>
|
||||||
<view class="name">
|
<view class="name">
|
||||||
@ -33,9 +33,6 @@
|
|||||||
<view class="address">
|
<view class="address">
|
||||||
{{list.personPhone}}
|
{{list.personPhone}}
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="title">
|
|
||||||
{{list.personPhone}}
|
|
||||||
</view> -->
|
|
||||||
<view class="zixunbtn" v-if="list.userNo==userNo">
|
<view class="zixunbtn" v-if="list.userNo==userNo">
|
||||||
已选择
|
已选择
|
||||||
</view>
|
</view>
|
||||||
@ -64,16 +61,14 @@
|
|||||||
realname: '',
|
realname: '',
|
||||||
doctorlist: [],
|
doctorlist: [],
|
||||||
doctortotal: 0,
|
doctortotal: 0,
|
||||||
list:[{
|
list: null,
|
||||||
personPhone:'',
|
|
||||||
personName:'',
|
|
||||||
}],
|
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
realname: {
|
realname: {
|
||||||
handler(newval, oldval) {
|
handler(newval, oldval) {
|
||||||
|
console.log(newval, oldval)
|
||||||
this.getDoctorListinfo();
|
this.getDoctorListinfo();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,13 +111,11 @@
|
|||||||
console.log(options, '888')
|
console.log(options, '888')
|
||||||
if (options.static == "1") {
|
if (options.static == "1") {
|
||||||
this.show = true
|
this.show = true
|
||||||
|
|
||||||
}
|
}
|
||||||
if (options.item) {
|
if (options.item) {
|
||||||
this.list = JSON.parse(options.item)
|
this.list = JSON.parse(options.item)
|
||||||
console.log(this.list, '58')
|
console.log(this.list, '58')
|
||||||
}
|
} else if (options.orgNo) {
|
||||||
if (options.orgNo) {
|
|
||||||
this.orgNo = options.orgNo
|
this.orgNo = options.orgNo
|
||||||
this.userNo = options.userNo
|
this.userNo = options.userNo
|
||||||
this.getDoctorListinfo();
|
this.getDoctorListinfo();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user