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
7d1d589b
Commit
7d1d589b
authored
Mar 21, 2022
by
nlp97
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加 食物过敏、药物过敏、药品过敏
parent
ca6ca2ca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
5 deletions
+44
-5
src/components/index.vue
+2
-2
src/components/page5.vue
+3
-1
src/components/page6.vue
+39
-2
No files found.
src/components/index.vue
View file @
7d1d589b
...
...
@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2020-11-24 16:18:58
* @LastEditors: ninglupeng
* @LastEditTime: 2022-03-21 12:
44:37
* @LastEditTime: 2022-03-21 12:
59:01
* @Description:
-->
<
template
>
...
...
@@ -195,7 +195,7 @@ export default {
this
.
$refs
.
vantform
.
validate
([
"hasHistoryAllergies"
,
//过敏史
"historyAllergies"
,
//过敏原
//
"historyAllergies", //过敏原
"hasHistorySurgery"
,
//手术史
"historySurgery"
,
//具体内容
"HasPreviousHistory"
,
//有无既往史
...
...
src/components/page5.vue
View file @
7d1d589b
...
...
@@ -224,7 +224,9 @@
label-width=
"130px"
type=
"number"
:rules=
"[{ required: true, message: '请填写接种针数' }]"
></van-field>
>
<
template
#
extra
>
针
</
template
></van-field
>
<van-field
v-if=
"covidVaccine > 0"
...
...
src/components/page6.vue
View file @
7d1d589b
...
...
@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2020-11-24 16:18:58
* @LastEditors: ninglupeng
* @LastEditTime: 2022-03-2
0 17:33:24
* @LastEditTime: 2022-03-2
1 13:10:20
* @Description:
-->
<
template
>
...
...
@@ -22,7 +22,7 @@
</
template
>
</van-field>
<van-field
<
!-- <
van-field
v-if="hasHistoryAllergies == '有'"
colon
clearable
...
...
@@ -37,8 +37,40 @@
message: '请填写过敏原',
},
]"
></van-field> -->
<van-field
v-if=
"hasHistoryAllergies == '有'"
colon
clearable
label-width=
"125px"
v-model=
"foodAllergy"
name=
"foodAllergy"
label=
"食物过敏原"
placeholder=
"食物过敏原"
></van-field>
<van-field
v-if=
"hasHistoryAllergies == '有'"
colon
clearable
label-width=
"125px"
v-model=
"drugAllergy"
name=
"drugAllergy "
label=
"药物过敏原"
placeholder=
"食物过敏原"
></van-field>
<van-field
v-if=
"hasHistoryAllergies == '有'"
colon
clearable
label-width=
"125px"
v-model=
"otherAllergy"
name=
"otherAllergy"
label=
"其他过敏原"
placeholder=
"其他过敏原"
></van-field>
<van-field
colon
clearable
name=
"hasHistorySurgery"
...
...
@@ -238,6 +270,11 @@ export default {
return
{
hasHistoryAllergies
:
"无"
,
//过敏史
historyAllergies
:
""
,
//过敏原
foodAllergy
:
""
,
//食物过敏
drugAllergy
:
""
,
//药物过敏
otherAllergy
:
""
,
//其他过敏
hasHistorySurgery
:
"无"
,
//手术史
historySurgery
:
""
,
//具体内容
...
...
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