2023-10-09 10:58:52 +08:00
|
|
|
<template>
|
|
|
|
|
<view class="app">
|
|
|
|
|
<view class="teamname">
|
2024-06-25 18:25:50 +08:00
|
|
|
<image :src="require('@/pagesC/images/myfamilydoctorteam.png')" mode=""></image>
|
2023-10-09 10:58:52 +08:00
|
|
|
<view class="name">
|
2023-10-12 14:31:36 +08:00
|
|
|
{{list?list[0].teamName:''}}
|
2023-10-09 10:58:52 +08:00
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="list">
|
2023-10-12 14:31:36 +08:00
|
|
|
<view class="item" v-for='item in list'>
|
2024-06-25 18:25:50 +08:00
|
|
|
<image :src="baseurl + '/profile/weChatPicture/docHead.png'" mode=""></image>
|
2023-10-09 10:58:52 +08:00
|
|
|
<view class="name">
|
2023-10-12 14:31:36 +08:00
|
|
|
{{item.realname?item.realname:''}}
|
2023-10-09 10:58:52 +08:00
|
|
|
</view>
|
|
|
|
|
<view class="phone">
|
2023-10-12 14:31:36 +08:00
|
|
|
{{item.mobilePhone?item.mobilePhone:''}}
|
2023-10-09 10:58:52 +08:00
|
|
|
</view>
|
|
|
|
|
<view class="title">
|
2023-10-12 14:31:36 +08:00
|
|
|
{{item.teamMemberTypeName?item.teamMemberTypeName:''}}
|
2023-10-09 10:58:52 +08:00
|
|
|
</view>
|
2024-03-18 14:53:52 +08:00
|
|
|
<!-- <view class="zixunbtn" @tap='goseekadvicefrom'>
|
2023-10-09 10:58:52 +08:00
|
|
|
咨询
|
2024-03-18 14:53:52 +08:00
|
|
|
</view> -->
|
2023-10-09 10:58:52 +08:00
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2023-10-12 14:31:36 +08:00
|
|
|
import {
|
2023-10-13 13:39:29 +08:00
|
|
|
getDoctorListtwo
|
2023-10-12 14:31:36 +08:00
|
|
|
} from '@/api/pagesB/myfamilydoctorteam/index.js'
|
2024-06-25 18:25:50 +08:00
|
|
|
import baseurl from '../../api/baseurl';
|
2023-10-09 10:58:52 +08:00
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
2023-10-12 14:31:36 +08:00
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
teamNo: null,
|
|
|
|
|
list: null,
|
2023-10-16 09:19:16 +08:00
|
|
|
realname: '',
|
2023-10-12 14:31:36 +08:00
|
|
|
total: 0,
|
2024-06-25 18:25:50 +08:00
|
|
|
baseurl: '',
|
2023-10-09 10:58:52 +08:00
|
|
|
};
|
2023-10-12 14:31:36 +08:00
|
|
|
},
|
|
|
|
|
onLoad(options) {
|
2024-06-25 18:25:50 +08:00
|
|
|
this.baseurl = baseurl
|
2023-10-12 14:31:36 +08:00
|
|
|
this.teamNo = options.teamNo
|
|
|
|
|
this.info()
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
info() {
|
2023-10-16 11:28:16 +08:00
|
|
|
getDoctorListtwo(this.pageNum, this.pageSize, this.teamNo, this.realname).then(res => {
|
2023-10-12 14:31:36 +08:00
|
|
|
this.list = res.rows
|
|
|
|
|
this.total = res.total
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
//咨询
|
|
|
|
|
goseekadvicefrom() {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: `/pagesB/imagetextConsultation/imagetextConsultation`
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
onReachBottom() { //上滑加载
|
|
|
|
|
if (this.list.length >= this.total) {} else {
|
|
|
|
|
this.pageNum++;
|
2023-10-16 11:28:16 +08:00
|
|
|
getDoctorListtwo(this.pageNum, this.pageSize, this.teamNo, this.realname).then(res => {
|
2023-10-12 14:31:36 +08:00
|
|
|
res.rows.forEach(e => {
|
|
|
|
|
this.list.push(e)
|
|
|
|
|
})
|
|
|
|
|
this.total = res.total
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onPullDownRefresh() { //下拉刷新
|
|
|
|
|
this.pageNum = 1;
|
|
|
|
|
this.info()
|
|
|
|
|
setTimeout(function() {
|
|
|
|
|
uni.stopPullDownRefresh();
|
|
|
|
|
}, 1000);
|
|
|
|
|
},
|
2023-10-09 10:58:52 +08:00
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
2023-10-13 13:39:29 +08:00
|
|
|
@import './myfamilydoctorteam.scss';
|
2023-10-16 11:28:16 +08:00
|
|
|
</style>
|