2022-11-25 10:58:46 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<view class="app">
|
|
|
|
|
|
<view class="" style="background-color: #F4F5F7;height: 20rpx;width:100%">
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="userinfo info">
|
|
|
|
|
|
<view class="item">
|
2023-02-27 11:28:17 +08:00
|
|
|
|
<span>姓名:</span>
|
2022-11-25 10:58:46 +08:00
|
|
|
|
<u-input :clearable='false' v-model="query.patientName" type="text" placeholder='请输入' maxlength='5' />
|
|
|
|
|
|
</view>
|
2023-02-27 11:28:17 +08:00
|
|
|
|
<view class="item">
|
|
|
|
|
|
<span>性别:</span>
|
2023-03-02 11:22:01 +08:00
|
|
|
|
<u-radio-group v-model="query.sex" size='44'>
|
|
|
|
|
|
<u-radio @change='sexchange' v-for="(item, index) in sexlist" :key="index" :name="item.name"
|
|
|
|
|
|
:disabled="item.disabled">
|
2023-02-27 11:28:17 +08:00
|
|
|
|
{{item.name}}
|
|
|
|
|
|
</u-radio>
|
|
|
|
|
|
</u-radio-group>
|
2023-03-03 13:41:12 +08:00
|
|
|
|
</view>
|
2022-11-25 10:58:46 +08:00
|
|
|
|
<!-- <view class="item">
|
|
|
|
|
|
<span>电话:</span>
|
|
|
|
|
|
<u-input :clearable='false' v-model="query.phone" maxlength='11' type="text" placeholder='请输入' />
|
|
|
|
|
|
</view> -->
|
2023-02-27 11:28:17 +08:00
|
|
|
|
<view class="item" @tap='timeshow=true'>
|
|
|
|
|
|
<span>出生日期:</span>
|
|
|
|
|
|
<view class="address" style="">
|
|
|
|
|
|
{{query.birthDate}}
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2022-11-25 10:58:46 +08:00
|
|
|
|
<view class="item">
|
2023-02-27 11:28:17 +08:00
|
|
|
|
<span>身份证号:</span>
|
|
|
|
|
|
<u-input :clearable='false' v-model="query.cardNo" type="text" placeholder='请输入身份证号' maxlength='18' />
|
2022-11-25 10:58:46 +08:00
|
|
|
|
</view>
|
2023-01-12 16:16:36 +08:00
|
|
|
|
<view class="item" @tap='showPicker'>
|
2023-02-27 11:28:17 +08:00
|
|
|
|
<span>所属区域:</span>
|
2022-11-25 10:58:46 +08:00
|
|
|
|
<view class="address">{{address}}</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="item">
|
2023-02-27 11:28:17 +08:00
|
|
|
|
<span>详细地址:</span>
|
2023-03-09 09:42:28 +08:00
|
|
|
|
<u-input :clearable='false' v-model="query.address" type="text" placeholder='小区、单元、门牌号'
|
|
|
|
|
|
maxlength='40' />
|
2022-11-25 10:58:46 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view class="item" @tap='getAddress()'>
|
2023-02-27 11:28:17 +08:00
|
|
|
|
<span>所在位置:</span>
|
2023-01-12 16:16:36 +08:00
|
|
|
|
<view class="address" style="">
|
|
|
|
|
|
{{query.locationName}}
|
2022-11-25 10:58:46 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2023-01-12 16:16:36 +08:00
|
|
|
|
<view class="">
|
|
|
|
|
|
<m-city style='z-index: 10076;' :provinceData="list" headTitle="地区选择" ref="cityPicker"
|
|
|
|
|
|
@funcValue="getpickerParentValue" pickerSize="4">
|
|
|
|
|
|
</m-city>
|
|
|
|
|
|
</view>
|
2022-11-25 10:58:46 +08:00
|
|
|
|
<view class="info">
|
2023-03-02 11:22:01 +08:00
|
|
|
|
<view class="disease" style="border: none;" @tap="godisease">
|
|
|
|
|
|
<view class="title" style="">基础疾病:</view>
|
|
|
|
|
|
<image class="pictureA" src="../../static/huijiantou.png" mode=""></image>
|
|
|
|
|
|
<view style="padding-right: 10rpx;display: inline-block;" v-for="(item,index) in query.diseaseInfoList">
|
|
|
|
|
|
{{item.diseaseName}}
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2022-11-25 10:58:46 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view class="radio-content">
|
|
|
|
|
|
<view class="radio-right" @tap="changeRadio">
|
|
|
|
|
|
<view class="radio" :class="radio == 2 ? 'radio-default':''">
|
|
|
|
|
|
<view :class="radio == 2 ? 'radio-active':''"></view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="agreement">我已阅读并同意<text @tap='maskshow=true'
|
|
|
|
|
|
style="color: #000000;border-bottom: 1rpx solid #000000;">《用户协议》</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="btn" @tap='informationinfo'>
|
|
|
|
|
|
提交
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<u-toast ref="uToast" />
|
|
|
|
|
|
<!-- //用户协议 -->
|
|
|
|
|
|
<u-mask :show="maskshow" class='mask' @click='maskshow=false'>
|
|
|
|
|
|
<view class="Agreement">
|
|
|
|
|
|
<view class="title">
|
|
|
|
|
|
用户协议与隐私政策
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<scroll-view scroll-y="true" class="scroll-Y" style="">
|
|
|
|
|
|
<contenttext></contenttext>
|
|
|
|
|
|
</scroll-view>
|
|
|
|
|
|
<view class="cancel" @tap='maskshow=false'>
|
|
|
|
|
|
取消
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="determine" @tap='tapradio'>
|
|
|
|
|
|
确定并同意
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</u-mask>
|
2023-02-27 11:28:17 +08:00
|
|
|
|
<u-picker mode="time" v-model="timeshow" :params="params" @confirm='timechange' @canel='timeshow=false'>
|
|
|
|
|
|
</u-picker>
|
2022-11-25 10:58:46 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
2023-05-10 10:13:49 +08:00
|
|
|
|
import {
|
|
|
|
|
|
AppIdentification
|
|
|
|
|
|
} from '@/api/AppIdentification/index.js'
|
2022-11-25 10:58:46 +08:00
|
|
|
|
import {
|
|
|
|
|
|
getRegionAndStreetInfo,
|
|
|
|
|
|
getNurseType,
|
|
|
|
|
|
information
|
|
|
|
|
|
} from '@/api/information/index.js'
|
2023-05-22 16:01:59 +08:00
|
|
|
|
import contenttext from '../../components/text.vue'
|
2023-01-12 16:16:36 +08:00
|
|
|
|
import {
|
|
|
|
|
|
getSubordinateRegions,
|
|
|
|
|
|
} from '@/api/modifyAddress/modifyAddress.js';
|
2023-05-22 15:54:07 +08:00
|
|
|
|
import gkcity from "../../components/m-city/m-city.vue";
|
2022-11-25 10:58:46 +08:00
|
|
|
|
export default {
|
|
|
|
|
|
components: {
|
2023-01-12 16:16:36 +08:00
|
|
|
|
contenttext,
|
|
|
|
|
|
"m-city": gkcity
|
2022-11-25 10:58:46 +08:00
|
|
|
|
},
|
|
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
2023-02-27 11:28:17 +08:00
|
|
|
|
timeshow: false, //出生日期
|
|
|
|
|
|
params: {
|
|
|
|
|
|
year: true,
|
|
|
|
|
|
month: true,
|
|
|
|
|
|
day: true,
|
|
|
|
|
|
hour: false,
|
|
|
|
|
|
minute: false,
|
|
|
|
|
|
second: false
|
|
|
|
|
|
},
|
|
|
|
|
|
sexlist: [{
|
|
|
|
|
|
name: '男',
|
|
|
|
|
|
disabled: false
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
name: '女',
|
|
|
|
|
|
disabled: false
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
2022-11-25 10:58:46 +08:00
|
|
|
|
radio: 1,
|
2023-01-12 16:16:36 +08:00
|
|
|
|
// chooseLocation: '', //地图选址
|
2022-11-25 10:58:46 +08:00
|
|
|
|
arealist: [], //区街道list
|
2023-01-12 16:16:36 +08:00
|
|
|
|
list: [{
|
|
|
|
|
|
id: "",
|
|
|
|
|
|
localName: "请选择",
|
|
|
|
|
|
children: [],
|
|
|
|
|
|
}, ],
|
2022-11-25 10:58:46 +08:00
|
|
|
|
areashow: false, //经纬度开关
|
2023-01-12 16:16:36 +08:00
|
|
|
|
maskshow: false, //用户协议
|
2022-11-25 10:58:46 +08:00
|
|
|
|
getNurseTypelist: [], //护理类型数组
|
|
|
|
|
|
medicalcarelist: [], //医疗护理数组
|
|
|
|
|
|
address: '', //页面所属区域
|
|
|
|
|
|
query: { //信息请求数组
|
2023-03-10 16:53:51 +08:00
|
|
|
|
couponId: null,
|
2022-11-25 10:58:46 +08:00
|
|
|
|
patientName: "",
|
|
|
|
|
|
cardNo: "",
|
|
|
|
|
|
phone: "",
|
|
|
|
|
|
address: "",
|
|
|
|
|
|
areaCode: "",
|
|
|
|
|
|
homeLongitude: "",
|
|
|
|
|
|
homeLatitude: "",
|
|
|
|
|
|
nurseTypeIdList: [],
|
|
|
|
|
|
diseaseInfoList: [],
|
|
|
|
|
|
patientId: '',
|
2023-01-12 16:16:36 +08:00
|
|
|
|
locationName: '',
|
2023-02-27 11:28:17 +08:00
|
|
|
|
sex: '',
|
|
|
|
|
|
birthDate: '',
|
2022-11-25 10:58:46 +08:00
|
|
|
|
},
|
|
|
|
|
|
timer: null,
|
2023-01-12 16:16:36 +08:00
|
|
|
|
addresslength: null,
|
2023-03-02 11:22:01 +08:00
|
|
|
|
patientDiseaseInfoList: [], //获取个人信息
|
2022-11-25 10:58:46 +08:00
|
|
|
|
};
|
|
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
|
|
|
//提交信息
|
|
|
|
|
|
informationinfo() {
|
|
|
|
|
|
var that = this
|
2023-03-03 13:41:12 +08:00
|
|
|
|
if (that.query.sex == '男') {
|
|
|
|
|
|
that.query.sex = 'MALE';
|
|
|
|
|
|
} else if (that.query.sex == '女') {
|
|
|
|
|
|
that.query.sex = 'FEMALE';
|
|
|
|
|
|
}
|
2023-01-12 16:16:36 +08:00
|
|
|
|
if (this.addresslength) {
|
|
|
|
|
|
if (this.addresslength.length > 2) {
|
2023-03-09 16:07:29 +08:00
|
|
|
|
const value = uni.getStorageSync('phone');
|
|
|
|
|
|
if (value) {
|
|
|
|
|
|
that.query.phone = value
|
|
|
|
|
|
if (that.radio == 1) {
|
|
|
|
|
|
that.$refs.uToast.show({
|
|
|
|
|
|
title: '请审核并同意用户协议',
|
|
|
|
|
|
type: 'error'
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
2023-05-10 10:13:49 +08:00
|
|
|
|
const patientId = uni.getStorageSync('patientId');
|
|
|
|
|
|
AppIdentification(patientId).then(resp => {
|
|
|
|
|
|
if (resp.code == 200) {
|
2023-05-10 13:35:47 +08:00
|
|
|
|
if (resp.data.loginFlag) {
|
2023-05-10 10:13:49 +08:00
|
|
|
|
that.$refs.uToast.show({
|
|
|
|
|
|
title: '您已完善',
|
|
|
|
|
|
type: 'success',
|
|
|
|
|
|
})
|
|
|
|
|
|
if (that.timer) {
|
|
|
|
|
|
clearTimeout(that.timer)
|
|
|
|
|
|
}
|
|
|
|
|
|
that.timer = setTimeout(e => {
|
|
|
|
|
|
uni.navigateBack({
|
|
|
|
|
|
delta: 1
|
|
|
|
|
|
})
|
|
|
|
|
|
}, 1500)
|
|
|
|
|
|
} else {
|
|
|
|
|
|
information(that.query).then(res => {
|
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
|
uni.removeStorageSync('invitationPatientId');
|
|
|
|
|
|
that.$refs.uToast.show({
|
|
|
|
|
|
title: '完善信息成功',
|
|
|
|
|
|
type: 'success',
|
|
|
|
|
|
duration: '1500'
|
|
|
|
|
|
})
|
|
|
|
|
|
if (that.timer) {
|
|
|
|
|
|
clearTimeout(that.timer)
|
|
|
|
|
|
}
|
|
|
|
|
|
that.timer = setTimeout(e => {
|
|
|
|
|
|
uni.navigateBack({
|
|
|
|
|
|
delta: 1
|
|
|
|
|
|
})
|
|
|
|
|
|
}, 1500)
|
|
|
|
|
|
} else if (res.code == 500) {
|
|
|
|
|
|
that.$refs.uToast.show({
|
|
|
|
|
|
title: res.msg,
|
|
|
|
|
|
type: 'error',
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
2023-03-09 16:07:29 +08:00
|
|
|
|
})
|
2023-05-10 10:13:49 +08:00
|
|
|
|
}
|
2023-03-09 16:07:29 +08:00
|
|
|
|
}
|
|
|
|
|
|
})
|
2023-01-12 16:16:36 +08:00
|
|
|
|
}
|
2023-03-09 16:07:29 +08:00
|
|
|
|
}
|
2023-01-12 16:16:36 +08:00
|
|
|
|
} else {
|
|
|
|
|
|
that.$refs.uToast.show({
|
|
|
|
|
|
title: '所属区域应选择所在的区或街道,请重新选择!',
|
|
|
|
|
|
type: 'error'
|
|
|
|
|
|
})
|
2022-11-25 10:58:46 +08:00
|
|
|
|
}
|
2023-01-12 16:16:36 +08:00
|
|
|
|
} else {
|
|
|
|
|
|
that.$refs.uToast.show({
|
|
|
|
|
|
title: '所属区域应选择所在的区或街道,请重新选择!',
|
|
|
|
|
|
type: 'error'
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
2022-11-25 10:58:46 +08:00
|
|
|
|
},
|
2023-02-27 11:28:17 +08:00
|
|
|
|
//性别
|
|
|
|
|
|
sexchange(e) {
|
|
|
|
|
|
if (e == '男') {
|
|
|
|
|
|
this.query.sex = 'MALE';
|
|
|
|
|
|
} else if (e == '女') {
|
|
|
|
|
|
this.query.sex = 'FEMALE';
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
//选择出生日期
|
|
|
|
|
|
timechange(e) {
|
|
|
|
|
|
this.query.birthDate = e.year + '-' + e.month + '-' + e.day
|
|
|
|
|
|
},
|
2022-11-25 10:58:46 +08:00
|
|
|
|
//获取所在位置
|
|
|
|
|
|
getAddress() {
|
2023-01-12 16:16:36 +08:00
|
|
|
|
var that = this;
|
|
|
|
|
|
uni.chooseLocation({
|
|
|
|
|
|
success: function(location) {
|
|
|
|
|
|
that.query.locationName = location.address
|
|
|
|
|
|
that.query.homeLongitude = location.longitude;
|
|
|
|
|
|
that.query.homeLatitude = location.latitude;
|
2022-11-25 10:58:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
2023-01-12 16:16:36 +08:00
|
|
|
|
// getAddress() {
|
|
|
|
|
|
// uni.getLocation({
|
|
|
|
|
|
// type: 'wgs84',
|
|
|
|
|
|
// success: function(res) {
|
|
|
|
|
|
// const key = '3VABZ-6LZWK-YPAJ3-AMQED-D7RUK-VPB37'; //使用在腾讯位置服务申请的key
|
|
|
|
|
|
// const referer = '泉医到家'; //调用插件的app的名称
|
|
|
|
|
|
// const location = JSON.stringify({
|
|
|
|
|
|
// latitude: 39.89631551,
|
|
|
|
|
|
// longitude: 116.323459711
|
|
|
|
|
|
// });
|
|
|
|
|
|
// wx.navigateTo({
|
|
|
|
|
|
// url: 'plugin://chooseLocation/index?key=' + key + '&referer=' + referer
|
|
|
|
|
|
// });
|
|
|
|
|
|
// }
|
|
|
|
|
|
// });
|
|
|
|
|
|
// },
|
2022-11-25 10:58:46 +08:00
|
|
|
|
//护理类型请求
|
|
|
|
|
|
getNurseTypeInfo() {
|
|
|
|
|
|
getNurseType().then(res => {
|
|
|
|
|
|
this.medicalcarelist = res.data.filter(e => e.nurseTypeName == '医疗护理')
|
|
|
|
|
|
this.getNurseTypelist = res.data.filter(e => e.nurseTypeName != '医疗护理')
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
//区街道
|
|
|
|
|
|
areaInfo() {
|
2023-01-12 16:16:36 +08:00
|
|
|
|
getSubordinateRegions().then(res => {
|
|
|
|
|
|
this.list = res.data;
|
2022-11-25 10:58:46 +08:00
|
|
|
|
})
|
|
|
|
|
|
},
|
2023-01-12 16:16:36 +08:00
|
|
|
|
// 三级地址联动回调
|
|
|
|
|
|
getpickerParentValue(e) {
|
2023-05-10 10:13:49 +08:00
|
|
|
|
e = e.filter(ele => ele.localName != '暂不选择')
|
|
|
|
|
|
e = e.filter(ele => ele.localName != '暂无需选择')
|
2023-01-12 16:16:36 +08:00
|
|
|
|
this.addresslength = e
|
2023-05-10 10:13:49 +08:00
|
|
|
|
this.address = ''
|
|
|
|
|
|
this.query.areaCode = ''
|
|
|
|
|
|
if (e && e.length >= 1) {
|
|
|
|
|
|
e.forEach(el => {
|
|
|
|
|
|
this.address = this.address + el.localName
|
|
|
|
|
|
})
|
|
|
|
|
|
this.query.areaCode = e[e.length - 1].id
|
2023-01-13 09:08:31 +08:00
|
|
|
|
} else {
|
|
|
|
|
|
this.address = ''
|
|
|
|
|
|
this.query.areaCode = ''
|
2023-01-12 16:16:36 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
// 显示三级地址联动
|
|
|
|
|
|
showPicker() {
|
|
|
|
|
|
this.areashow = true
|
|
|
|
|
|
this.$refs.cityPicker.show();
|
2022-11-25 10:58:46 +08:00
|
|
|
|
},
|
|
|
|
|
|
//点击所需服务
|
|
|
|
|
|
addnurseType(item) {
|
|
|
|
|
|
if (this.query.nurseTypeIdList.findIndex(e => e == item.id) == -1) {
|
|
|
|
|
|
this.query.nurseTypeIdList.push(item.id)
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.query.nurseTypeIdList = this.query.nurseTypeIdList.filter(e => e != item.id)
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
godisease(item) {
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
url: `/pages/disease/disease?diseaseInfoList=${JSON.stringify(this.query.diseaseInfoList)}`
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
changeRadio() {
|
|
|
|
|
|
if (this.radio == 1) {
|
|
|
|
|
|
this.radio = 2;
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.radio = 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
tapradio() {
|
|
|
|
|
|
this.radio = 2;
|
|
|
|
|
|
this.maskshow = false;
|
|
|
|
|
|
},
|
|
|
|
|
|
},
|
|
|
|
|
|
//进入界面加载
|
2023-03-10 16:53:51 +08:00
|
|
|
|
onLoad(options) {
|
2022-11-25 10:58:46 +08:00
|
|
|
|
let that = this
|
2023-03-10 16:53:51 +08:00
|
|
|
|
this.query.couponId = Number(options.couponId)
|
2023-03-02 11:22:01 +08:00
|
|
|
|
const value = uni.getStorageSync('patientId');
|
|
|
|
|
|
if (value) {
|
|
|
|
|
|
that.query.patientId = value
|
|
|
|
|
|
}
|
2022-11-25 10:58:46 +08:00
|
|
|
|
this.areaInfo()
|
|
|
|
|
|
this.getNurseTypeInfo();
|
|
|
|
|
|
},
|
|
|
|
|
|
//带参返回
|
|
|
|
|
|
// 从地图选点插件返回后,在页面的onShow生命周期函数中能够调用插件接口,取得选点结果对象
|
|
|
|
|
|
onShow() {
|
|
|
|
|
|
var that = this
|
2023-02-27 11:28:17 +08:00
|
|
|
|
const invitationPatientId = uni.getStorageSync('invitationPatientId')
|
|
|
|
|
|
if (invitationPatientId) {
|
|
|
|
|
|
that.query.source = 'FRIEND_INVITATION'
|
2023-03-02 11:22:01 +08:00
|
|
|
|
that.query.invitationPatientId = Number(invitationPatientId)
|
2023-02-27 11:28:17 +08:00
|
|
|
|
} else {
|
|
|
|
|
|
that.query.source = 'REGISTER_YOURSELF'
|
|
|
|
|
|
that.query.invitationPatientId = null
|
|
|
|
|
|
}
|
2023-01-12 16:16:36 +08:00
|
|
|
|
// const chooseLocation = requirePlugin('chooseLocation');
|
|
|
|
|
|
// const location = chooseLocation.getLocation(); // 如果点击确认选点按钮,则返回选点结果对象,否则返回null
|
|
|
|
|
|
// if (location) {
|
|
|
|
|
|
// that.query.locationName = location.address
|
|
|
|
|
|
// that.chooseLocation = location.address
|
|
|
|
|
|
// that.query.homeLongitude = location.longitude;
|
|
|
|
|
|
// that.query.homeLatitude = location.latitude;
|
|
|
|
|
|
// }
|
2022-11-25 10:58:46 +08:00
|
|
|
|
uni.$on('disease', function(data) {
|
|
|
|
|
|
that.query.diseaseInfoList = JSON.parse(data.disease)
|
|
|
|
|
|
if (that.query.diseaseInfoList.length > 0) {
|
|
|
|
|
|
that.medicalcarelist.forEach(e => {
|
|
|
|
|
|
if (that.query.nurseTypeIdList.findIndex(el => el == e.id) == -1) {
|
|
|
|
|
|
that.query.nurseTypeIdList.push(e.id)
|
|
|
|
|
|
} else {}
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
|
|
|
|
|
that.medicalcarelist.forEach(e => {
|
|
|
|
|
|
that.query.nurseTypeIdList = that.query.nurseTypeIdList.filter(el => el != e.id)
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
2023-05-05 11:43:11 +08:00
|
|
|
|
uni.$off('disease')
|
2022-11-25 10:58:46 +08:00
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
|
@import './information.scss';
|
|
|
|
|
|
</style>
|