Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
md-vue-chc
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何鹏程
md-vue-chc
Commits
17110ee5
Commit
17110ee5
authored
Aug 26, 2021
by
庞志远
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
87560f8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
detail.vue
src/page/hospital/detail.vue
+13
-3
index.vue
src/page/hospital/index.vue
+0
-1
No files found.
src/page/hospital/detail.vue
View file @
17110ee5
...
...
@@ -207,7 +207,7 @@
<h2
v-if=
"patientType==3"
>
预警级别
</h2>
<el-row
v-if=
"patientType==3"
>
<el-col
:span=
"
8
"
>
<el-col
:span=
"
24
"
>
<el-form-item
label=
"预警级别(单选):"
prop=
"warningLevel"
>
<el-radio-group
v-model=
"detailForm.warningLevel"
>
<el-radio
:label=
"1"
>
轻度
</el-radio>
...
...
@@ -530,7 +530,7 @@
<el-checkbox
:label=
"1"
>
青霉素
</el-checkbox>
<el-checkbox
:label=
"2"
>
头孢
</el-checkbox>
</el-checkbox-group>
<el-checkbox
v-model=
"detailForm.otherAllergies"
>
其他
</el-checkbox>
<el-checkbox
v-model=
"detailForm.otherAllergies"
:label=
"1"
>
其他
</el-checkbox>
<span
v-if=
"detailForm.otherAllergies==1"
class=
"padding-left-20"
>
更多过敏史:磺胺药、阿司匹林、保泰松
</span>
</el-form-item>
</el-col>
...
...
@@ -591,6 +591,7 @@
name
:
"detail"
,
data
()
{
return
{
resData
:
''
,
patientType
:
''
,
//1.胸痛;2.卒中;3.创伤,4烧伤
associationId
:
''
,
detailForm
:{
...
...
@@ -630,12 +631,21 @@
}
queryDetail
(
params
).
then
((
res
)
=>
{
if
(
res
.
msg
==
201
)
{
this
.
detailForm
=
res
.
respData
this
.
resData
=
res
.
respData
this
.
resData
.
fastEDScoreList
?
''
:
this
.
resData
.
fastEDScoreList
=
[]
this
.
resData
.
conditionAssessmentTwoList
?
''
:
this
.
resData
.
conditionAssessmentTwoList
=
[]
this
.
resData
.
pastHistoryList
?
''
:
this
.
resData
.
pastHistoryList
=
[]
this
.
resData
.
allergiesList
?
''
:
this
.
resData
.
allergiesList
=
[]
this
.
resData
.
firstAidMeasuresList
?
''
:
this
.
resData
.
firstAidMeasuresList
=
[]
this
.
detailForm
=
Object
.
assign
({},
this
.
resData
)
}
else
{
this
.
$message
.
error
(
res
.
content
)
}
})
},
dealNull
(
data
){
if
(
data
&&
data
!==
'null'
){}
else
{
data
=
[]}
},
goBack
(){
this
.
$router
.
go
(
-
1
)
}
...
...
src/page/hospital/index.vue
View file @
17110ee5
...
...
@@ -239,7 +239,6 @@ export default {
associationId
:
row
.
associationId
}
})
console
.
log
(
row
,
8899
)
}
}
}
...
...
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