Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
789df37a
authored
2025-10-15 13:47:04 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 疾病名称
1 parent
5a816915
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
9 deletions
src/views/data_asset/registerStartJS.vue
src/views/data_asset/registerStartJS.vue
View file @
789df37
...
...
@@ -2164,16 +2164,12 @@ const saveDraft = () => {
if
(
diseaseGuid
)
{
let
diseaseList
=
dictListMap
.
value
[
'diseaseGuid'
]
||
[];
let
getDiseaseName
=
(
list
)
=>
{
let
vInfo
=
list
.
find
(
l
=>
l
.
guid
==
diseaseGuid
);
if
(
vInfo
)
{
return
vInfo
.
diseaseName
;
}
for
(
const
key
of
list
)
{
if
(
key
.
guid
==
diseaseGuid
)
{
return
key
.
diseaseName
;
}
if
(
key
.
childList
?.
length
)
{
let
name
=
getDiseaseName
(
key
);
let
name
=
getDiseaseName
(
key
.
childList
);
if
(
name
)
{
return
name
;
}
...
...
@@ -2390,10 +2386,6 @@ const save = () => {
if
(
diseaseGuid
)
{
let
diseaseList
=
dictListMap
.
value
[
'diseaseGuid'
]
||
[];
let
getDiseaseName
=
(
list
)
=>
{
let
vInfo
=
list
.
find
(
l
=>
l
.
guid
==
diseaseGuid
);
if
(
vInfo
)
{
return
vInfo
.
diseaseName
;
}
for
(
const
key
of
list
)
{
if
(
key
.
guid
==
diseaseGuid
)
{
return
key
.
diseaseName
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment