Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
ShanghaiGongwei
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
宁路鹏
ShanghaiGongwei
Commits
6186ce0d
Commit
6186ce0d
authored
May 09, 2022
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加既往史时间格式
parent
65540113
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
6 deletions
+44
-6
src/components/page6.vue
+40
-2
vue.config.js
+4
-4
No files found.
src/components/page6.vue
View file @
6186ce0d
...
@@ -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-05-0
7 09:22:23
* @LastEditTime: 2022-05-0
9 15:07:51
* @Description:
* @Description:
-->
-->
<
template
>
<
template
>
...
@@ -215,7 +215,7 @@
...
@@ -215,7 +215,7 @@
@
blur=
"setLocalStorge('otherPastHistory')"
@
blur=
"setLocalStorge('otherPastHistory')"
></van-field>
></van-field>
<van-field
<
!-- <
van-field
colon
colon
clearable
clearable
readonly
readonly
...
@@ -232,12 +232,48 @@
...
@@ -232,12 +232,48 @@
},
},
]"
]"
name="tuberculosisDate"
name="tuberculosisDate"
:min-date="minDate"
:max-date="maxDate"
:value="tuberculosisDate"
:value="tuberculosisDate"
label="既往史发生时间"
label="既往史发生时间"
placeholder="点击选择既往史发生时间"
placeholder="点击选择既往史发生时间"
@click="showPicker = true"
@click="showPicker = true"
v-model="tuberculosisDate1"
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"
>
<van-field
colon
clearable
name=
"whetherSmoking"
label=
"是否吸烟"
label-width=
"125px"
>
<
template
#
input
>
<
template
#
input
>
...
@@ -548,6 +584,7 @@ export default {
...
@@ -548,6 +584,7 @@ export default {
minChestCTDate
:
new
Date
(
2020
,
0
,
1
),
minChestCTDate
:
new
Date
(
2020
,
0
,
1
),
minDate
:
new
Date
(
2010
,
0
,
1
),
minDate
:
new
Date
(
2010
,
0
,
1
),
maxDate
:
new
Date
(),
maxDate
:
new
Date
(),
deathDate2
:
new
Date
(),
ChestCTDate1
:
new
Date
(),
ChestCTDate1
:
new
Date
(),
tuberculosisDate1
:
new
Date
(),
tuberculosisDate1
:
new
Date
(),
...
@@ -609,6 +646,7 @@ export default {
...
@@ -609,6 +646,7 @@ export default {
},
},
getLocalStorge
(
key
)
{
getLocalStorge
(
key
)
{
return
window
.
localStorage
.
getItem
(
key
);
return
window
.
localStorage
.
getItem
(
key
);
...
...
vue.config.js
View file @
6186ce0d
...
@@ -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-05-0
7 09:24:27
* @LastEditTime: 2022-05-0
9 15:03:49
* @Description:
* @Description:
*/
*/
const
path
=
require
(
'path'
);
const
path
=
require
(
'path'
);
...
@@ -61,10 +61,10 @@ module.exports = {
...
@@ -61,10 +61,10 @@ module.exports = {
proxy
:
{
proxy
:
{
'/api'
:
{
'/api'
:
{
target
:
'http://flowtone.suvalue.com/'
,
target
:
'http://flowtone.suvalue.com/'
,
//target: 'http://flowtone2.suvalue.com/',
//target: 'http://flowtone2.suvalue.com/',
// target: 'http://flowtone6.suvalue.com/',
// target: 'http://flowtone6.suvalue.com/',
//
target:'http://192.168.18.166:8048/',//测试
//target:'http://192.168.18.166:8048/',//测试
ws
:
true
,
//如果要代理 websockets,配置这个参数
ws
:
true
,
//如果要代理 websockets,配置这个参数
// secure: false, // 如果是https接口,需要配置这个参数
// secure: false, // 如果是https接口,需要配置这个参数
changeOrigin
:
true
,
changeOrigin
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment