Commit 6186ce0d by wangshuangqing

添加既往史时间格式

parent 65540113
......@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2020-11-24 16:18:58
* @LastEditors: wsq
* @LastEditTime: 2022-05-07 09:22:23
* @LastEditTime: 2022-05-09 15:07:51
* @Description:
-->
<template>
......@@ -215,7 +215,7 @@
@blur="setLocalStorge('otherPastHistory')"
></van-field>
<van-field
<!-- <van-field
colon
clearable
readonly
......@@ -232,12 +232,48 @@
},
]"
name="tuberculosisDate"
:min-date="minDate"
:max-date="maxDate"
:value="tuberculosisDate"
label="既往史发生时间"
placeholder="点击选择既往史发生时间"
@click="showPicker = true"
v-model="tuberculosisDate1"
:formatter="formatter"
/> -->
<van-field
colon
clearable
readonly
clickable
v-if="HasPreviousHistory != '无' && previousHistory.includes('肺结核')"
:rules="[
{
required:
HasPreviousHistory != '无' && previousHistory.includes('肺结核')
? true
: false,
message: '请选择既往史发生时间',
},
]"
name="tuberculosisDate"
:value="tuberculosisDate"
label="既往史发生时间"
placeholder="点击选择既往史发生时间"
@click="showPicker = true"
/>
<van-popup v-model="showPicker" position="bottom">
<van-datetime-picker
:min-date="minDate"
:max-date="maxDate"
type="date"
@confirm="onConfirm"
@cancel="showPicker = false"
:formatter="formatter"
v-model="deathDate2"
/>
</van-popup>
<van-field colon clearable name="whetherSmoking" label="是否吸烟" label-width="125px">
<template #input>
......@@ -548,6 +584,7 @@ export default {
minChestCTDate: new Date(2020, 0, 1),
minDate: new Date(2010, 0, 1),
maxDate: new Date(),
deathDate2:new Date(),
ChestCTDate1: new Date(),
tuberculosisDate1:new Date(),
......@@ -610,6 +647,7 @@ export default {
},
getLocalStorge(key) {
return window.localStorage.getItem(key);
},
......
......@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2022-03-17 15:06:50
* @LastEditors: wsq
* @LastEditTime: 2022-05-07 09:24:27
* @LastEditTime: 2022-05-09 15:03:49
* @Description:
*/
const path = require('path');
......@@ -64,7 +64,7 @@ module.exports = {
target: 'http://flowtone.suvalue.com/',
//target: 'http://flowtone2.suvalue.com/',
// target: 'http://flowtone6.suvalue.com/',
// target:'http://192.168.18.166:8048/',//测试
//target:'http://192.168.18.166:8048/',//测试
ws: true, //如果要代理 websockets,配置这个参数
// secure: false, // 如果是https接口,需要配置这个参数
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