添加其他症状

parent b37eab16
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: ninglupeng * @Author: ninglupeng
* @Date: 2020-11-24 16:18:58 * @Date: 2020-11-24 16:18:58
* @LastEditors: wsq * @LastEditors: wsq
* @LastEditTime: 2022-04-13 10:15:14 * @LastEditTime: 2022-04-16 15:28:22
* @Description: * @Description:
--> -->
<template> <template>
...@@ -177,6 +177,7 @@ export default { ...@@ -177,6 +177,7 @@ export default {
"normalDate", //未发生异常时间 "normalDate", //未发生异常时间
"inHospitalDate", //120转运时间 "inHospitalDate", //120转运时间
"beforeIsolationPoint", "beforeIsolationPoint",
"otherSymptom",//其他症状
"symptom", //患者症状 "symptom", //患者症状
"covidVaccine", //接种针数 "covidVaccine", //接种针数
"vaccineType", //疫苗公司 "vaccineType", //疫苗公司
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: ninglupeng * @Author: ninglupeng
* @Date: 2020-11-24 16:18:58 * @Date: 2020-11-24 16:18:58
* @LastEditors: wsq * @LastEditors: wsq
* @LastEditTime: 2022-04-13 10:47:47 * @LastEditTime: 2022-04-16 15:27:49
* @Description: * @Description:
--> -->
<template> <template>
...@@ -192,7 +192,10 @@ ...@@ -192,7 +192,10 @@
() => { () => {
if (HasSymptom == '否') { if (HasSymptom == '否') {
symptom = []; symptom = [];
otherSymptom='';
setValue('symptom', ''); setValue('symptom', '');
setValue('otherSymptom', '');
} }
setLocalStorge('HasSymptom'); setLocalStorge('HasSymptom');
} }
...@@ -242,8 +245,28 @@ ...@@ -242,8 +245,28 @@
</template> </template>
</van-field> </van-field>
<!-- {{ symptom }} -->
<!-- -->
<van-field
colon
v-if="symptom.includes('其他')"
clearable
autosize
type="textarea"
v-model="otherSymptom"
name="otherSymptom"
label="其他症状"
placeholder="其他症状"
:rules="[
{
required: symptom.includes('其他') ? true : false,
message: '请填写其他症状',
},
]"
@blur="setLocalStorge('otherSymptom')"
></van-field>
<van-field <van-field
colon colon
...@@ -389,6 +412,7 @@ export default { ...@@ -389,6 +412,7 @@ export default {
HasSymptom: "否", //有无症状 HasSymptom: "否", //有无症状
symptom: [], //患者症状 symptom: [], //患者症状
otherSymptom:'',//其他症状
HasCOVIDVaccine: "是", HasCOVIDVaccine: "是",
covidVaccine: "", //接种针数 covidVaccine: "", //接种针数
vaccineType: "", //疫苗公司 vaccineType: "", //疫苗公司
...@@ -438,6 +462,7 @@ export default { ...@@ -438,6 +462,7 @@ export default {
"unusualDate", //核酸检测异常时间 "unusualDate", //核酸检测异常时间
"normalDate", //未发生异常时间 "normalDate", //未发生异常时间
"inHospitalDate", //120转运时间 "inHospitalDate", //120转运时间
"otherSymptom",//其他症状
"beforeIsolationPoint", //之前隔离点 "beforeIsolationPoint", //之前隔离点
"HasSymptom", //有无症状 "HasSymptom", //有无症状
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: ninglupeng * @Author: ninglupeng
* @Date: 2022-03-17 15:06:50 * @Date: 2022-03-17 15:06:50
* @LastEditors: wsq * @LastEditors: wsq
* @LastEditTime: 2022-04-13 09:46:59 * @LastEditTime: 2022-04-16 15:29:13
* @Description: * @Description:
*/ */
const path = require('path'); const path = require('path');
...@@ -62,8 +62,8 @@ module.exports = { ...@@ -62,8 +62,8 @@ module.exports = {
'/api': { '/api': {
//target: 'http://192.168.18.166:8048', //target: 'http://192.168.18.166:8048',
target: 'http://flowtone3.suvalue.com', target: 'http://flowtone3.suvalue.com',//方舱
// target: 'http://flowtone.suvalue.com/', // target: 'http://flowtone.suvalue.com/',//正式
ws: true, //如果要代理 websockets,配置这个参数 ws: true, //如果要代理 websockets,配置这个参数
// secure: false, // 如果是https接口,需要配置这个参数 // secure: false, // 如果是https接口,需要配置这个参数
changeOrigin: true, changeOrigin: true,
......
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