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
26472f8f
Commit
26472f8f
authored
Mar 07, 2025
by
芮自成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
问题修改
parent
809d8906
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
HypertensionDrugs.vue
...ctor/followUp/separateFU/components/HypertensionDrugs.vue
+10
-2
No files found.
src/doctor/followUp/separateFU/components/HypertensionDrugs.vue
View file @
26472f8f
...
...
@@ -414,10 +414,18 @@ export default {
handler
()
{
let
{
currentMedicateCase
,
addMedicateCase
,
noComplianceReason
}
=
this
.
form
if
(
currentMedicateCase
)
{
this
.
currentMedicateCase
=
JSON
.
parse
(
currentMedicateCase
)
this
.
currentMedicateCase
=
JSON
.
parse
(
currentMedicateCase
)
||
{}
this
.
currentMedicateCase
.
unitName
=
this
.
currentMedicateCase
.
unitName
||
this
.
store
.
getDictValue
(
'CP00081'
,
this
.
currentMedicateCase
.
unit
)
this
.
currentMedicateCase
.
frequencyName
=
this
.
currentMedicateCase
.
frequencyName
||
this
.
store
.
getDictValue
(
'CP00084'
,
this
.
currentMedicateCase
.
frequency
)
this
.
currentMedicateCase
.
usageName
=
this
.
currentMedicateCase
.
usageName
||
this
.
store
.
getDictValue
(
'CP00083'
,
this
.
currentMedicateCase
.
usage
)
}
if
(
addMedicateCase
)
{
this
.
addMedicateCase
=
JSON
.
parse
(
addMedicateCase
)
this
.
addMedicateCase
=
JSON
.
parse
(
addMedicateCase
)
||
[]
this
.
addMedicateCase
.
map
(
item
=>
{
item
.
unitName
=
item
.
unitName
||
this
.
store
.
getDictValue
(
'CP00081'
,
item
.
unit
)
item
.
frequencyName
=
item
.
frequencyName
||
this
.
store
.
getDictValue
(
'CP00084'
,
item
.
frequency
)
item
.
usageName
=
item
.
usageName
||
this
.
store
.
getDictValue
(
'CP00083'
,
item
.
usage
)
})
}
if
(
noComplianceReason
)
{
this
.
form
.
noComplianceReason
=
noComplianceReason
.
split
(
','
).
map
(
e
=>
+
e
)
...
...
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