Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf-front
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
1
Merge Requests
1
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
yuzhenWang
yd-csf-front
Commits
a0117893
Commit
a0117893
authored
Nov 04, 2025
by
yuzhenWang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-20250827wyz-写业务' into 'test'
修复健康信息bug See merge request
!20
parents
5d49eaf0
86ad47a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletions
+23
-1
src/views/sign/appointment/components/healthInfo.vue
+23
-1
No files found.
src/views/sign/appointment/components/healthInfo.vue
View file @
a0117893
...
...
@@ -262,12 +262,34 @@ const deleteMedical = (l1, l2, l3, index) => {
][
'questionTextJsonDtoList'
].
splice
(
index
,
1
)
}
const
handleRadioChange
=
(
l1
,
l2
,
l3
,
level3
)
=>
{
console
.
log
(
'===================================='
)
console
.
log
(
'表单form'
,
form
.
value
)
console
.
log
(
'===================================='
)
let
answer
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
value
[
l1
][
'secondCategoryDtoList'
][
l2
][
'questionsDtoList'
][
l3
][
'answerSessionsDto'
]
)
)
if
(
answer
.
optionBizId
==
'option_1001'
)
{
if
(
answer
.
optionJsonDtoList
.
length
>
0
)
{
answer
.
optionJsonDtoList
.
map
((
item
,
index
)
=>
{
if
(
item
.
optionBizId
==
'option_1002'
)
{
answer
.
optionJsonDtoList
.
splice
(
index
,
1
)
}
}
)
}
}
else
if
(
answer
.
optionBizId
==
'option_1002'
)
{
if
(
answer
.
optionJsonDtoList
.
length
>
0
)
{
answer
.
optionJsonDtoList
.
map
((
item
,
index
)
=>
{
if
(
item
.
optionBizId
==
'option_1001'
)
{
answer
.
optionJsonDtoList
.
splice
(
index
,
1
)
}
}
)
}
}
console
.
log
(
'===================================='
)
console
.
log
(
'answer'
,
answer
)
console
.
log
(
'===================================='
)
let
optionItem
=
level3
.
optionsDtoList
.
filter
(
item
=>
item
.
optionBizId
===
answer
.
optionBizId
)
let
newObj
=
{
...
...
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