修改
This commit is contained in:
parent
556eb9292a
commit
3244d310f0
@ -162,9 +162,9 @@
|
|||||||
|
|
||||||
.hospitalimage {
|
.hospitalimage {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 109rpx;
|
width: 120rpx;
|
||||||
height: 111rpx;
|
height: 150rpx;
|
||||||
top: 50rpx;
|
top: 30rpx;
|
||||||
left: 30rpx;
|
left: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -172,7 +172,7 @@
|
|||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 60rpx;
|
top: 60rpx;
|
||||||
left: 160rpx;
|
left: 180rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.physician {
|
.physician {
|
||||||
@ -180,7 +180,7 @@
|
|||||||
color: #666666;
|
color: #666666;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 120rpx;
|
top: 120rpx;
|
||||||
left: 160rpx;
|
left: 183rpx;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="hospital">
|
<view class="hospital">
|
||||||
<view class="appointmenthospital">预约医生</view>
|
<view class="appointmenthospital">预约医生</view>
|
||||||
<view class="tabbar">
|
<view class="tabbar" v-if="hospitalDepartmentList.length>0&&HospitalPersonlist.length>0">
|
||||||
<view class="lefttabbar" @touchstart="start" @touchend="end" @touchmove="move">
|
<view class="lefttabbar" @touchstart="start" @touchend="end" @touchmove="move">
|
||||||
<view class="lefttabbarlist">
|
<view class="lefttabbarlist">
|
||||||
<view v-for="(item,index) in hospitalDepartmentList" :key="index"
|
<view v-for="(item,index) in hospitalDepartmentList" :key="index"
|
||||||
@ -28,7 +28,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="righttabbar">
|
<view class="righttabbar">
|
||||||
<view class="productlist" @touchstart="start" @touchend="end" @touchmove="move">
|
<view class="productlist" @touchstart="start" @touchend="end" @touchmove="move"
|
||||||
|
v-if="HospitalPersonlist.length>0">
|
||||||
<view class="content" v-for="(item,index) in HospitalPersonlist" :key="item.id">
|
<view class="content" v-for="(item,index) in HospitalPersonlist" :key="item.id">
|
||||||
<image class="hospitalimage" v-if="item.personPictureUrl"
|
<image class="hospitalimage" v-if="item.personPictureUrl"
|
||||||
:src="baseurl+item.personPictureUrl" mode=""></image>
|
:src="baseurl+item.personPictureUrl" mode=""></image>
|
||||||
@ -48,8 +49,14 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view v-else style='margin-top: 100rpx;'>
|
||||||
|
<u-empty text="暂无" mode="search" icon-size='220'></u-empty>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view v-else style='margin-top: 100rpx;padding-bottom: 200rpx;'>
|
||||||
|
<u-empty text="暂无" mode="search" icon-size='220'></u-empty>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-mask :show="usershow" class='mask'>
|
<u-mask :show="usershow" class='mask'>
|
||||||
<view class="information">
|
<view class="information">
|
||||||
@ -66,7 +73,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</u-mask>
|
</u-mask>
|
||||||
<u-toast ref="uToast" />
|
<u-toast ref="uToast" />
|
||||||
<u-back-top :scroll-top="scrollTop"></u-back-top>
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -93,7 +99,7 @@
|
|||||||
tabIndex: 0,
|
tabIndex: 0,
|
||||||
departmentId: null, //人员所属科室id
|
departmentId: null, //人员所属科室id
|
||||||
DepartmentpageNum: 1,
|
DepartmentpageNum: 1,
|
||||||
DepartmentpageSize: 100,
|
DepartmentpageSize: 50,
|
||||||
personpageNum: 1,
|
personpageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
startData: {
|
startData: {
|
||||||
@ -101,7 +107,6 @@
|
|||||||
clientY: '',
|
clientY: '',
|
||||||
},
|
},
|
||||||
touch: {},
|
touch: {},
|
||||||
scrollTop: 0,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -139,6 +144,7 @@
|
|||||||
},
|
},
|
||||||
//人员
|
//人员
|
||||||
selectHospitalPersonInfo() {
|
selectHospitalPersonInfo() {
|
||||||
|
this.personpageNum = 1
|
||||||
selectHospitalPerson(this.personpageNum, this.pageSize, this.departmentId).then(res => {
|
selectHospitalPerson(this.personpageNum, this.pageSize, this.departmentId).then(res => {
|
||||||
this.HospitalPersonlist = res.rows
|
this.HospitalPersonlist = res.rows
|
||||||
this.HospitalPersontotal = res.total
|
this.HospitalPersontotal = res.total
|
||||||
@ -154,6 +160,7 @@
|
|||||||
},
|
},
|
||||||
//健康咨询科室
|
//健康咨询科室
|
||||||
selectDepartmentinfo() {
|
selectDepartmentinfo() {
|
||||||
|
this.DepartmentpageNum = 1
|
||||||
this.swiperImgUrls = []
|
this.swiperImgUrls = []
|
||||||
selectDepartment(this.DepartmentpageNum, this.DepartmentpageSize).then(res => {
|
selectDepartment(this.DepartmentpageNum, this.DepartmentpageSize).then(res => {
|
||||||
this.hospitalDepartmentList = res.rows
|
this.hospitalDepartmentList = res.rows
|
||||||
@ -246,11 +253,14 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.pageNum = 1
|
this.DepartmentpageNum = 1
|
||||||
|
this.personpageNum = 1
|
||||||
this.baseurl = baseurl
|
this.baseurl = baseurl
|
||||||
this.selectDepartmentinfo()
|
this.selectDepartmentinfo()
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
this.DepartmentpageNum = 1
|
||||||
|
this.personpageNum = 1
|
||||||
this.usershow = false
|
this.usershow = false
|
||||||
},
|
},
|
||||||
//1.分享给朋友
|
//1.分享给朋友
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user