Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend-h5
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songrui
frontend-h5
Commits
4ae21520
Commit
4ae21520
authored
Jan 21, 2025
by
芮自成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
高血压专病随访表单开发
parent
62df93a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
93 additions
and
1 deletion
+93
-1
Doctor.vue
src/doctor/Doctor.vue
+1
-1
HypertensionForm.vue
.../followUp/separateFU/form/components/HypertensionForm.vue
+92
-0
No files found.
src/doctor/Doctor.vue
View file @
4ae21520
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,7 @@ export default {
if
(
!
token
)
{
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
59c9fee7-10ef-45d7-af4a-b3d65c93c30e
'
token
=
'
f1f98c99-ac8d-47db-8066-fe24a548c784
'
}
}
}
}
if
(
token
)
{
if
(
token
)
{
...
...
src/doctor/followUp/separateFU/form/components/HypertensionForm.vue
View file @
4ae21520
...
@@ -712,6 +712,86 @@
...
@@ -712,6 +712,86 @@
</van-field>
</van-field>
</div>
</div>
</div>
</div>
<div
class=
"label-title mt-2"
required
>
药物不良反应
</div>
<van-field
style=
"padding: 0"
>
<
template
#
input
>
<van-radio-group
v-model=
"form.drugsAdverse"
shape=
"dot"
direction=
"horizontal"
class=
"w-full doc-radio-group"
>
<van-radio
v-for=
"item in store.getDict('DC00069')"
:key=
"item.value"
:name=
"item.value"
label-position=
"left"
>
{{
item
.
name
}}
</van-radio>
</van-radio-group>
</
template
>
</van-field>
<div
class=
"bg-fa mt-2"
>
<div
class=
"label-title"
style=
"color: #262626; font-size: 14px"
>
不良反应
</div>
<van-field
v-model=
"form.drugsAdverseOther"
placeholder=
"填写具体描述哪种药物,何种不良反应,限120字"
class=
"card-input"
/>
</div>
<div
class=
"label-title mt-2"
required
>
此次随访分类
</div>
<van-field
style=
"padding: 0"
>
<
template
#
input
>
<van-radio-group
v-model=
"form.visitType"
shape=
"dot"
direction=
"horizontal"
class=
"w-full doc-radio-group"
>
<van-radio
v-for=
"item in store.getDict('CP00085')"
:key=
"item.value"
:name=
"item.value"
label-position=
"left"
style=
"width: 48%"
>
{{
item
.
name
}}
</van-radio>
</van-radio-group>
</
template
>
</van-field>
<div
class=
"label-title mt-2"
required
>
目前诊断
</div>
<van-field
v-model=
"form.currentDiagnosisName"
isLink
readonly
placeholder=
"请选择"
:rules=
"rules.currentDiagnosisName"
@
click=
"showCurrentDiagnosis = true"
class=
"form-input"
/>
<van-popup
v-model:show=
"showCurrentDiagnosis"
position=
"bottom"
>
<div
class=
"p-4"
style=
"height: 100%"
>
<div
class=
"flex justify-between items-center mb-4 pop-title"
>
<div
class=
"greyColor"
@
click=
"showCurrentDiagnosis = false"
>
取消
</div>
<div>
症状(可多选)
</div>
<div
class=
"blueColor"
@
click=
"currentDiagnosisConfirm"
>
确定
</div>
</div>
<div
style=
"height: 80%; overflow: auto"
>
<CheckBtn
multiple
column-2
:options=
"store.getDict('CP00086')"
v-model:value=
"form.currentDiagnosis"
:fieldNames=
"{ text: 'name', value: 'value' }"
/>
</div>
</div>
</van-popup>
</van-form>
</van-form>
</template>
</template>
<
script
>
<
script
>
...
@@ -758,6 +838,7 @@ export default {
...
@@ -758,6 +838,7 @@ export default {
showPaperReasons
:
false
,
showPaperReasons
:
false
,
showSymptom
:
false
,
showSymptom
:
false
,
// showAuxiliaryExamination: false
// showAuxiliaryExamination: false
showCurrentDiagnosis
:
false
}
}
},
},
methods
:
{
methods
:
{
...
@@ -789,6 +870,17 @@ export default {
...
@@ -789,6 +870,17 @@ export default {
this
.
form
.
symptomName
=
list
.
join
()
this
.
form
.
symptomName
=
list
.
join
()
this
.
showSymptom
=
false
this
.
showSymptom
=
false
},
},
currentDiagnosisConfirm
()
{
let
list
=
[]
this
.
store
.
getDict
(
'CP00086'
).
forEach
(
item
=>
{
let
selected
=
this
.
form
.
currentDiagnosis
.
filter
(
e
=>
e
===
item
.
value
)
if
(
selected
&&
selected
.
length
)
{
list
.
push
(
item
.
name
)
}
})
this
.
form
.
currentDiagnosisName
=
list
.
join
()
this
.
showCurrentDiagnosis
=
false
}
// auxiliaryConfirm() {
// auxiliaryConfirm() {
// let list = []
// let list = []
// this.store.getDict('CP00073').forEach(item => {
// this.store.getDict('CP00073').forEach(item => {
...
...
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