parent
29897161d7
commit
bcfdfbb7b9
@ -0,0 +1,523 @@
|
||||
<template>
|
||||
<view>
|
||||
<cpn-navbar title="长护险回访列表" :is-back="true"></cpn-navbar>
|
||||
|
||||
<view>
|
||||
<view>
|
||||
<u-button :custom-style="{'margin':'24rpx 24rpx 0 24rpx'}" type="warning" @click="refresh">刷新</u-button>
|
||||
</view>
|
||||
<!-- 搜索 -->
|
||||
<view class="search">
|
||||
<view class="input-content">
|
||||
<u-input :clearable="false" :value="select.keyword" placeholder="请输入要搜索的内容" height="30" :custom-style="inputStyle"
|
||||
@input="searchInput"></u-input>
|
||||
</view>
|
||||
<view class="icon">
|
||||
<u-icon name="search" size="46" color="#ABAEBE"></u-icon>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 下拉菜单 -->
|
||||
<!-- <view class="drop-down">-->
|
||||
<!-- <u-dropdown @open="calendarShow" @close="calendarHide" ref="uDropdown">-->
|
||||
<!-- <u-dropdown-item v-model="select.status" :title="statusComputed(select.status)"-->
|
||||
<!-- :options="optionsStatus" @change='nursingList = [],select.page = 1,getList()'>-->
|
||||
<!-- </u-dropdown-item>-->
|
||||
<!-- <!– <u-dropdown-item v-model="select.sex" :title="select.sex || '全部'" :options="optionsSex"–>-->
|
||||
<!-- <!– @change="nursingList = [],select.page = 1,getList()">–>-->
|
||||
<!-- <!– </u-dropdown-item>–>-->
|
||||
<!-- <u-dropdown-item title="时间">-->
|
||||
<!-- </u-dropdown-item>-->
|
||||
<!-- </u-dropdown>-->
|
||||
<!-- </view>-->
|
||||
|
||||
<!-- 护理列表 -->
|
||||
<view class="nursing-list">
|
||||
<view v-if="nursingList && nursingList.length > 0">
|
||||
<view v-for="(item,index) in nursingList" :key="index" class="list-item" @click="pageTo('/package_sub/pages/longInsurance/longInsuranceDetail?id='+item.id)">
|
||||
<view class="top">
|
||||
<view class="time">{{item.created_at}}</view>
|
||||
</view>
|
||||
|
||||
<view class="line"></view>
|
||||
|
||||
<view style="padding: 20rpx 40rpx 0;font-size: 32rpx;line-height: 2;font-weight: 600;">
|
||||
被护理人
|
||||
</view>
|
||||
<view class="center" v-if="item.customer">
|
||||
<view class="avatar">
|
||||
<u-image :src="((item.customer && item.customer.idcard) ? getSexByIdcard(item.customer.idcard) : '无') === '男' ? vuex_male_img : vuex_female_img" height="104"
|
||||
width="104" shape="circle"></u-image>
|
||||
</view>
|
||||
<view class="user-info">
|
||||
<view class="name">{{ item.customer ? item.customer.name : "" }}</view>
|
||||
<view class="tel">
|
||||
<view>
|
||||
<u-icon name="phone" size="28" color="#1479FF"></u-icon>
|
||||
</view>
|
||||
<view class="text">{{ item.customer ? item.customer.phone : '无'}}</view>
|
||||
</view>
|
||||
<view class="address">
|
||||
<view>
|
||||
<u-icon name="map" size="28" color="#1479FF"></u-icon>
|
||||
</view>
|
||||
<view class="text">{{ item.customer_address ? item.customer_address.address : '无'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="sex">
|
||||
<view class="sex-text">
|
||||
{{ (item.customer && item.customer.idcard) ? getSexByIdcard(item.customer.idcard) : '无' }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="line" style="margin-top: 22rpx;"></view>
|
||||
|
||||
<view class="bottom">
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">服务满意度</view>
|
||||
<view class="bottom-item__value">{{ satisfies.find(i => i.value === item.satisfy) ? satisfies.find(i => i.value === item.satisfy).label : '' }}</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">护理员护理情况调查</view>
|
||||
<view class="bottom-item__value">{{ nurseInvestigates.find(i => i.value === item.nurse_investigate) ? nurseInvestigates.find(i => i.value === item.nurse_investigate).label : '' }}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view v-else>
|
||||
<u-empty mode="list" text="暂无回访"></u-empty>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<u-loadmore :status="status" :load-text='loadText' @loadmore='select.page++,getList()' />
|
||||
|
||||
<u-calendar v-model="isShowCalendar" max-date="2100-01-01" mode="range" @change='datePick'>
|
||||
|
||||
</u-calendar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getSexByIdcard } from "@/common/util";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
isShowCalendar: false,
|
||||
inputStyle: {
|
||||
width: "600rpx",
|
||||
fontSize: "28rpx",
|
||||
fontWeight: "500"
|
||||
},
|
||||
satisfies: [
|
||||
{
|
||||
label: "90分以上",
|
||||
value: 1
|
||||
},
|
||||
{
|
||||
label: "80-90分",
|
||||
value: 2
|
||||
},
|
||||
{
|
||||
label: "80分以下",
|
||||
value: 3
|
||||
},
|
||||
],
|
||||
nurseInvestigates: [
|
||||
{
|
||||
label: "护理中回访",
|
||||
value: 1
|
||||
},
|
||||
{
|
||||
label: "日常回访",
|
||||
value: 2
|
||||
},
|
||||
],
|
||||
optionsSex: [{
|
||||
label: '全部',
|
||||
value: ''
|
||||
},
|
||||
{
|
||||
label: '男',
|
||||
value: '男',
|
||||
},
|
||||
{
|
||||
label: '女',
|
||||
value: '女',
|
||||
},
|
||||
|
||||
],
|
||||
status: 'loadmore',
|
||||
loadText: {
|
||||
loadmore: '轻轻上拉或点击',
|
||||
loading: '努力加载中',
|
||||
nomore: '实在没有了'
|
||||
},
|
||||
nursingList: [],
|
||||
|
||||
|
||||
select: {
|
||||
page_size: 10,
|
||||
page: 1,
|
||||
//sex: '',
|
||||
//status: '',
|
||||
lat: '',
|
||||
lng: '',
|
||||
//start_date: this.$moment(new Date()).startOf('month').format('YYYY-MM-DD'),
|
||||
//end_date: this.$moment(new Date()).endOf('month').format('YYYY-MM-DD'),
|
||||
keyword: '',
|
||||
is_myself: 1
|
||||
},
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getSexByIdcard,
|
||||
pageTo (url) {
|
||||
uni.navigateTo({
|
||||
url
|
||||
})
|
||||
},
|
||||
refresh(){
|
||||
this.select = {
|
||||
page_size: 10,
|
||||
page: 1,
|
||||
//sex: '',
|
||||
//status: '',
|
||||
lat: '',
|
||||
lng: '',
|
||||
//start_date: this.$moment(new Date()).startOf('month').format('YYYY-MM-DD'),
|
||||
//end_date: this.$moment(new Date()).endOf('month').format('YYYY-MM-DD'),
|
||||
keyword: '',
|
||||
is_myself: 1
|
||||
}
|
||||
this.nursingList = []
|
||||
this.getList()
|
||||
},
|
||||
|
||||
// calendarShow(e) {
|
||||
// if (e === 1) {
|
||||
// this.isShowCalendar = true
|
||||
// }
|
||||
// },
|
||||
// calendarHide() {
|
||||
// this.isShowCalendar = false
|
||||
// },
|
||||
// datePick(e) {
|
||||
// this.select.page = 1
|
||||
// this.select.start_date = `${e.startDate}`
|
||||
// this.select.end_date = `${e.endDate}`
|
||||
// this.nursingList = []
|
||||
// this.getList()
|
||||
// },
|
||||
|
||||
searchInput(e) {
|
||||
this.select.keyword = e
|
||||
|
||||
this.nursingList = []
|
||||
this.select.page = 1
|
||||
this.$u.debounce(this.getList, 1000)
|
||||
},
|
||||
async getList() {
|
||||
let res = await this.$u.api.adminLongInsuranceList(this.select)
|
||||
if (res.data.length > 0 && res.data) {
|
||||
this.nursingList.push(...res.data)
|
||||
this.status = 'loadmore'
|
||||
} else {
|
||||
this.status = 'nomore'
|
||||
if (this.select.page > 1) {
|
||||
this.select.page--
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
//跳转详情
|
||||
toDetail(item) {
|
||||
|
||||
},
|
||||
|
||||
},
|
||||
computed: {
|
||||
statusComputed() {
|
||||
return function(status) {
|
||||
switch (status) {
|
||||
case '0':
|
||||
return "待护理"
|
||||
break;
|
||||
case 1:
|
||||
return "护理中"
|
||||
break;
|
||||
case 2:
|
||||
return "已护理"
|
||||
break;
|
||||
default:
|
||||
return '全部'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
isShowCalendar(val) {
|
||||
if (!val) {
|
||||
this.$refs.uDropdown.close()
|
||||
}
|
||||
},
|
||||
},
|
||||
onReachBottom() {
|
||||
this.select.page++
|
||||
this.status = 'loading';
|
||||
this.getList()
|
||||
},
|
||||
onShow() {
|
||||
this.select.page = 1
|
||||
this.nursingList = []
|
||||
uni.getLocation().then(res => {
|
||||
this.select.lat = res[1]?.latitude
|
||||
this.select.lng = res[1]?.longitude
|
||||
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
onHide() {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
//下拉自定义
|
||||
/deep/.u-dropdown__menu {
|
||||
justify-content: space-evenly !important;
|
||||
}
|
||||
|
||||
/deep/.u-dropdown__menu__item {
|
||||
width: 336rpx !important;
|
||||
flex: none !important;
|
||||
height: 70rpx;
|
||||
background: #FFFFFF;
|
||||
border-radius: 10rpx;
|
||||
justify-content: space-between !important;
|
||||
}
|
||||
|
||||
/deep/.u-dropdown__menu__item .u-flex {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
/deep/.u-dropdown__menu__item__text {
|
||||
flex: 1 !important;
|
||||
font-size: 32rpx !important;
|
||||
font-weight: 500 !important;
|
||||
color: #333333 !important;
|
||||
text-align: center;
|
||||
|
||||
padding: 12rpx 0rpx !important;
|
||||
}
|
||||
|
||||
/deep/.u-dropdown__menu__item__arrow {
|
||||
width: 70rpx !important;
|
||||
height: 70rpx !important;
|
||||
background: rgba(20, 121, 255, 0.1) !important;
|
||||
border-radius: 10rpx !important;
|
||||
border: 2rpx solid #FFFFFF !important;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/deep/.u-load-more-wrap {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.search {
|
||||
width: 710rpx;
|
||||
height: 70rpx;
|
||||
background: #FFFFFF;
|
||||
border: 2rpx solid #FAFBFC;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
margin: 24rpx 24rpx 0 24rpx;
|
||||
|
||||
.input-content {
|
||||
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
|
||||
.icon {
|
||||
|
||||
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.drop-down {
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.nursing-list {
|
||||
|
||||
margin-top: 10rpx;
|
||||
|
||||
.list-item {
|
||||
width: 710rpx;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(219, 218, 218, 0.5);
|
||||
|
||||
margin: 0 20rpx 26rpx 22rpx;
|
||||
|
||||
.top {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
padding: 22rpx 0;
|
||||
|
||||
.time {
|
||||
height: 40rpx;
|
||||
font-size: 40rpx;
|
||||
font-weight: 500;
|
||||
color: #36596A;
|
||||
line-height: 40rpx;
|
||||
|
||||
padding-left: 20rpx;
|
||||
}
|
||||
|
||||
.status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.status-icon {
|
||||
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
|
||||
.status-text {
|
||||
width: 84rpx;
|
||||
height: 40rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #36596A;
|
||||
line-height: 40rpx;
|
||||
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.line {
|
||||
width: 670rpx;
|
||||
height: 2rpx;
|
||||
border: 2rpx solid #EEEFF5;
|
||||
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.center {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
padding-top: 24rpx;
|
||||
|
||||
.avatar {
|
||||
|
||||
padding-top: 4rpx;
|
||||
padding-left: 20rpx;
|
||||
}
|
||||
|
||||
.user-info {
|
||||
flex: 1;
|
||||
|
||||
padding-left: 24rpx;
|
||||
|
||||
.name {
|
||||
width: 270rpx;
|
||||
height: 48rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.tel {
|
||||
height: 40rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #36596A;
|
||||
line-height: 40rpx;
|
||||
display: flex;
|
||||
|
||||
margin-top: 18rpx;
|
||||
|
||||
.text {
|
||||
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.address {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #36596A;
|
||||
line-height: 40rpx;
|
||||
display: flex;
|
||||
|
||||
margin-top: 14rpx;
|
||||
|
||||
.text {
|
||||
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sex {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
background: #FDECEC;
|
||||
opacity: 0.5;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
margin-right: 20rpx;
|
||||
|
||||
.sex-text {
|
||||
width: 28rpx;
|
||||
height: 34rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #36596A;
|
||||
line-height: 34rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bottom {
|
||||
|
||||
margin-top: 16rpx;
|
||||
padding: 10rpx 60rpx 26rpx;
|
||||
|
||||
&-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
line-height: 2;
|
||||
padding-left: 30rpx;
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
width: 12rpx;
|
||||
height: 12rpx;
|
||||
border-radius: 100%;
|
||||
background: #3877f6;
|
||||
position: absolute;
|
||||
top: calc(50% - 6rpx);
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@ -0,0 +1,378 @@
|
||||
<template>
|
||||
<view>
|
||||
<cpn-navbar title="回访详情" :is-back="true"></cpn-navbar>
|
||||
|
||||
<view class="container">
|
||||
<view class="nursing-list">
|
||||
<view class="list-item">
|
||||
<view class="top">
|
||||
<view class="time">{{detail.created_at}}</view>
|
||||
</view>
|
||||
|
||||
<view class="line"></view>
|
||||
|
||||
<view style="padding: 20rpx 40rpx 0;font-size: 32rpx;line-height: 2;font-weight: 600;">
|
||||
被护理人
|
||||
</view>
|
||||
<view class="center" v-if="detail.customer">
|
||||
<view class="avatar">
|
||||
<u-image :src="((detail.customer && detail.customer.idcard) ? getSexByIdcard(detail.customer.idcard) : '无') === '男' ? vuex_male_img : vuex_female_img" height="104"
|
||||
width="104" shape="circle"></u-image>
|
||||
</view>
|
||||
<view class="user-info">
|
||||
<view class="name">{{ detail.customer ? detail.customer.name : "" }}</view>
|
||||
<view class="tel">
|
||||
<view>
|
||||
<u-icon name="phone" size="28" color="#1479FF"></u-icon>
|
||||
</view>
|
||||
<view class="text">{{ detail.customer ? detail.customer.phone : '无'}}</view>
|
||||
</view>
|
||||
<view class="address">
|
||||
<view>
|
||||
<u-icon name="map" size="28" color="#1479FF"></u-icon>
|
||||
</view>
|
||||
<view class="text">{{ detail.customer_address ? detail.customer_address.address : '无'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="sex">
|
||||
<view class="sex-text">
|
||||
{{ (detail.customer && detail.customer.idcard) ? getSexByIdcard(detail.customer.idcard) : '无' }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="line" style="margin-top: 22rpx;"></view>
|
||||
|
||||
<view class="bottom">
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">服务满意度</view>
|
||||
<view class="bottom-item__value">{{ satisfies.find(i => i.value === detail.satisfy) ? satisfies.find(i => i.value === detail.satisfy).label : '' }}</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">护理员护理情况调查</view>
|
||||
<view class="bottom-item__value">{{ nurseInvestigates.find(i => i.value === detail.nurse_investigate) ? nurseInvestigates.find(i => i.value === detail.nurse_investigate).label : '' }}</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">是否在岗</view>
|
||||
<view class="bottom-item__value">{{ detail.is_work ? '是' : '否' }}</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">按照排班时间上门服务</view>
|
||||
<view class="bottom-item__value">{{ detail.is_on_time ? '是' : '否' }}</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">护理工具携带</view>
|
||||
<view class="bottom-item__value">{{ detail.tools ? detail.tools.split("|").toString() : '' }}</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">是否有工作服</view>
|
||||
<view class="bottom-item__value">{{ /工作服/g.test(detail.accessory) ? '有' : '无' }}</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">是否有工作证</view>
|
||||
<view class="bottom-item__value">{{ /工作证/g.test(detail.accessory) ? '有' : '无' }}</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">服务内容</view>
|
||||
<view class="bottom-item__value">{{ detail.serve ? detail.serve.split("|").toString() : '' }}</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">其他需求</view>
|
||||
<view class="bottom-item__value">{{ detail.other ? detail.other.split("|").toString() : '' }}</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">建议</view>
|
||||
<view class="bottom-item__value">{{ detail.tip }}</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">回访地址</view>
|
||||
<view class="bottom-item__value">
|
||||
{{ `${(detail.lng || detail.lat) ? ('(' + detail.lng + ',' + detail.lat + ')') : ''}${detail.address}` }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">回访图片</view>
|
||||
<view class="bottom-item__value">
|
||||
<u-image :width="300"
|
||||
:height="300"
|
||||
style="margin-bottom: 10rpx"
|
||||
:border-radius="8"
|
||||
v-for="img in detail.files"
|
||||
:key="img.id"
|
||||
:src="img.url"
|
||||
@click="showimg(img.url)"></u-image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">服务对象/家属签名</view>
|
||||
<view class="bottom-item__value">
|
||||
<u-image :width="300"
|
||||
:height="300"
|
||||
style="margin-bottom: 10rpx"
|
||||
:border-radius="8"
|
||||
:src="detail.sign_image ? detail.sign_image.url : ''"
|
||||
@click="showimg(detail.sign_image ? detail.sign_image.url : '')"></u-image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottom-item">
|
||||
<view class="bottom-item__title">调查人员签名</view>
|
||||
<view class="bottom-item__value">
|
||||
<u-image :width="300"
|
||||
:height="300"
|
||||
style="margin-bottom: 10rpx"
|
||||
:border-radius="8"
|
||||
:src="detail.admin_sign_image ? detail.admin_sign_image.url : ''"
|
||||
@click="showimg(detail.admin_sign_image ? detail.admin_sign_image.url : '')"></u-image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<u-button class="operate-item"
|
||||
:custom-style="{ width: '90%', 'margin-left': '5%' }"
|
||||
type="primary"
|
||||
size="medium"
|
||||
ripple
|
||||
@click="pageTo('/package_sub/pages/addLongInsurance/addLongInsurance' + '?customer_id=' + detail.customer_id + '&id=' + detail.id)">编辑</u-button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getSexByIdcard } from "@/common/util"
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
id: "",
|
||||
detail: {},
|
||||
|
||||
satisfies: [
|
||||
{
|
||||
label: "90分以上",
|
||||
value: 1
|
||||
},
|
||||
{
|
||||
label: "80-90分",
|
||||
value: 2
|
||||
},
|
||||
{
|
||||
label: "80分以下",
|
||||
value: 3
|
||||
},
|
||||
],
|
||||
nurseInvestigates: [
|
||||
{
|
||||
label: "护理中回访",
|
||||
value: 1
|
||||
},
|
||||
{
|
||||
label: "日常回访",
|
||||
value: 2
|
||||
},
|
||||
],
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
showimg(url) {
|
||||
if (url)
|
||||
this.$showimg({
|
||||
imgs: [url],
|
||||
current: 0
|
||||
})
|
||||
},
|
||||
getSexByIdcard,
|
||||
pageTo (url) {
|
||||
uni.navigateTo({
|
||||
url
|
||||
})
|
||||
},
|
||||
async getDetail () {
|
||||
const res = await this.$u.api.adminLongInsuranceDetail(this.id)
|
||||
console.log(res)
|
||||
this.detail = res;
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
this.id = option.id;
|
||||
this.getDetail()
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.container {
|
||||
padding-bottom: 20rpx;
|
||||
}
|
||||
.nursing-list {
|
||||
|
||||
margin-top: 20rpx;
|
||||
|
||||
.list-item {
|
||||
width: 710rpx;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(219, 218, 218, 0.5);
|
||||
|
||||
margin: 0 20rpx 26rpx 22rpx;
|
||||
|
||||
.top {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
padding: 22rpx 0;
|
||||
|
||||
.time {
|
||||
height: 40rpx;
|
||||
font-size: 40rpx;
|
||||
font-weight: 500;
|
||||
color: #36596A;
|
||||
line-height: 40rpx;
|
||||
|
||||
padding-left: 20rpx;
|
||||
}
|
||||
|
||||
.status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.status-icon {
|
||||
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
|
||||
.status-text {
|
||||
width: 84rpx;
|
||||
height: 40rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #36596A;
|
||||
line-height: 40rpx;
|
||||
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.line {
|
||||
width: 670rpx;
|
||||
height: 2rpx;
|
||||
border: 2rpx solid #EEEFF5;
|
||||
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.center {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
padding-top: 24rpx;
|
||||
|
||||
.avatar {
|
||||
|
||||
padding-top: 4rpx;
|
||||
padding-left: 20rpx;
|
||||
}
|
||||
|
||||
.user-info {
|
||||
flex: 1;
|
||||
|
||||
padding-left: 24rpx;
|
||||
|
||||
.name {
|
||||
width: 270rpx;
|
||||
height: 48rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.tel {
|
||||
height: 40rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #36596A;
|
||||
line-height: 40rpx;
|
||||
display: flex;
|
||||
|
||||
margin-top: 18rpx;
|
||||
|
||||
.text {
|
||||
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.address {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #36596A;
|
||||
line-height: 40rpx;
|
||||
display: flex;
|
||||
|
||||
margin-top: 14rpx;
|
||||
|
||||
.text {
|
||||
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sex {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
background: #FDECEC;
|
||||
opacity: 0.5;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
margin-right: 20rpx;
|
||||
|
||||
.sex-text {
|
||||
width: 28rpx;
|
||||
height: 34rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #36596A;
|
||||
line-height: 34rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bottom {
|
||||
|
||||
margin-top: 16rpx;
|
||||
padding: 10rpx 60rpx 26rpx;
|
||||
|
||||
&-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
line-height: 2;
|
||||
padding-left: 30rpx;
|
||||
position: relative;
|
||||
|
||||
&__title {
|
||||
flex-shrink: 0;
|
||||
flex-basis: 40%;
|
||||
}
|
||||
&__value {
|
||||
word-break: break-all;
|
||||
}
|
||||
&::before {
|
||||
content: "";
|
||||
width: 12rpx;
|
||||
height: 12rpx;
|
||||
border-radius: 100%;
|
||||
background: #3877f6;
|
||||
position: absolute;
|
||||
top: calc(28rpx - 6rpx);
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in new issue