1.去除最后一次接种日期默认时间

2.过敏史异常显示问题
parent 7a436249
<!-- <!--
* @Author: ninglupeng * @Author: ninglupeng
* @Date: 2020-11-24 16:18:58 * @Date: 2020-11-24 16:18:58
* @LastEditors: ninglupeng * @LastEditors: wsq
* @LastEditTime: 2022-04-08 16:46:34 * @LastEditTime: 2022-04-13 10:47:47
* @Description: * @Description:
--> -->
<template> <template>
...@@ -471,7 +471,7 @@ export default { ...@@ -471,7 +471,7 @@ export default {
// this.unusualDate = formatDate(new Date(), "yyyy-MM-dd"); //核酸检测异常时间 // this.unusualDate = formatDate(new Date(), "yyyy-MM-dd"); //核酸检测异常时间
// this.normalDate = formatDate(new Date(), "yyyy-MM-dd"); //未发生异常时间 // this.normalDate = formatDate(new Date(), "yyyy-MM-dd"); //未发生异常时间
// this.inHospitalDate = formatDate(new Date(), "yyyy-MM-dd"); //120转运时间 // this.inHospitalDate = formatDate(new Date(), "yyyy-MM-dd"); //120转运时间
this.vaccineDate = formatDate(new Date(), "yyyy-MM-dd"); //最后一次接种日期 // this.vaccineDate = formatDate(new Date(), "yyyy-MM-dd"); //最后一次接种日期
}, },
onpurpose(value, index) { onpurpose(value, index) {
......
<!-- <!--
* @Author: ninglupeng * @Author: ninglupeng
* @Date: 2020-11-24 16:18:58 * @Date: 2020-11-24 16:18:58
* @LastEditors: ninglupeng * @LastEditors: wsq
* @LastEditTime: 2022-03-24 14:38:02 * @LastEditTime: 2022-04-13 10:51:32
* @Description: * @Description:
--> -->
<template> <template>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
></van-field> --> ></van-field> -->
<van-field <van-field
v-if="hasHistoryAllergies == '有'" v-show="hasHistoryAllergies == '有'"
colon colon
clearable clearable
label-width="125px" label-width="125px"
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
@blur="setLocalStorge('foodAllergy')" @blur="setLocalStorge('foodAllergy')"
></van-field> ></van-field>
<van-field <van-field
v-if="hasHistoryAllergies == '有'" v-show="hasHistoryAllergies == '有'"
colon colon
clearable clearable
label-width="125px" label-width="125px"
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
@blur="setLocalStorge('drugAllergy')" @blur="setLocalStorge('drugAllergy')"
></van-field> ></van-field>
<van-field <van-field
v-if="hasHistoryAllergies == '有'" v-show="hasHistoryAllergies == '有'"
colon colon
clearable clearable
label-width="125px" label-width="125px"
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
</van-field> </van-field>
<van-field <van-field
v-if="hasHistorySurgery == '有'" v-show="hasHistorySurgery == '有'"
colon colon
clearable clearable
label-width="125px" label-width="125px"
...@@ -402,6 +402,12 @@ export default { ...@@ -402,6 +402,12 @@ export default {
} }
}); });
this.foodAllergy = this.getLocalStorge('foodAllergy')
this.drugAllergy = this.getLocalStorge('drugAllergy')
this.otherAllergy = this.getLocalStorge('otherAllergy')
this.previousHistory = this.getLocalStorge("previousHistory").split(","); this.previousHistory = this.getLocalStorge("previousHistory").split(",");
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment