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

2.过敏史异常显示问题
parent 7a436249
<!--
* @Author: ninglupeng
* @Date: 2020-11-24 16:18:58
* @LastEditors: ninglupeng
* @LastEditTime: 2022-04-08 16:46:34
* @LastEditors: wsq
* @LastEditTime: 2022-04-13 10:47:47
* @Description:
-->
<template>
......@@ -471,7 +471,7 @@ export default {
// this.unusualDate = formatDate(new Date(), "yyyy-MM-dd"); //核酸检测异常时间
// this.normalDate = formatDate(new Date(), "yyyy-MM-dd"); //未发生异常时间
// 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) {
......
<!--
* @Author: ninglupeng
* @Date: 2020-11-24 16:18:58
* @LastEditors: ninglupeng
* @LastEditTime: 2022-03-24 14:38:02
* @LastEditors: wsq
* @LastEditTime: 2022-04-13 10:51:32
* @Description:
-->
<template>
......@@ -56,7 +56,7 @@
></van-field> -->
<van-field
v-if="hasHistoryAllergies == '有'"
v-show="hasHistoryAllergies == '有'"
colon
clearable
label-width="125px"
......@@ -67,7 +67,7 @@
@blur="setLocalStorge('foodAllergy')"
></van-field>
<van-field
v-if="hasHistoryAllergies == '有'"
v-show="hasHistoryAllergies == '有'"
colon
clearable
label-width="125px"
......@@ -78,7 +78,7 @@
@blur="setLocalStorge('drugAllergy')"
></van-field>
<van-field
v-if="hasHistoryAllergies == '有'"
v-show="hasHistoryAllergies == '有'"
colon
clearable
label-width="125px"
......@@ -118,7 +118,7 @@
</van-field>
<van-field
v-if="hasHistorySurgery == '有'"
v-show="hasHistorySurgery == '有'"
colon
clearable
label-width="125px"
......@@ -401,6 +401,12 @@ export default {
// }
}
});
this.foodAllergy = this.getLocalStorge('foodAllergy')
this.drugAllergy = this.getLocalStorge('drugAllergy')
this.otherAllergy = this.getLocalStorge('otherAllergy')
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