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
d41c7c0b
authored
2025-01-24 09:33:38 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
02f8342c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
src/views/data_inventory/classifyGradeCatalogue.vue
src/views/data_inventory/dataLabel.vue
src/views/data_inventory/classifyGradeCatalogue.vue
View file @
d41c7c0
...
...
@@ -44,9 +44,10 @@ const CgDirTreeList = ref();
const
getCgDirTreeData
=
async
()
=>
{
treeInfo
.
value
.
loading
=
true
;
const
params
=
{
execGuid
:
execGuidInfo
.
value
.
execGuid
execGuid
:
execGuidInfo
.
value
?
.
execGuid
}
if
(
!
execGuidInfo
.
value
.
execGuid
)
{
if
(
!
execGuidInfo
.
value
?.
execGuid
)
{
treeInfo
.
value
.
loading
=
false
;
return
;
}
const
res
:
any
=
await
getTaskExeTreeList
(
params
);
...
...
@@ -1273,6 +1274,10 @@ const dataBaseTreeData = ref<any>();
const
getDataBaseTreeData
=
async
()
=>
{
dataBaseTreeInfo
.
value
.
loading
=
true
;
const
res
:
any
=
await
getDbDirTreeList
({});
if
(
res
.
data
.
length
===
0
||
!
res
.
data
)
{
dataBaseTreeInfo
.
value
.
loading
=
false
;
return
;
}
if
(
res
.
code
==
proxy
.
$passCode
)
{
const
dataArray
=
res
.
data
;
// 遍历并添加 GUIDs
...
...
src/views/data_inventory/dataLabel.vue
View file @
d41c7c0
...
...
@@ -24,7 +24,10 @@ const getClassifyGradeTree = async () => {
treeInfo
.
value
.
loading
=
true
;
const
res
:
any
=
await
getClassifyGradeTreeList
();
if
(
res
.
code
==
proxy
.
$passCode
)
{
if
(
!
res
.
data
||
res
.
data
.
length
===
0
)
{
treeInfo
.
value
.
loading
=
false
;
return
;
}
const
transformedData
=
transformData
(
res
.
data
);
classGradeTreeData
.
value
=
transformedData
||
[];
treeInfo
.
value
.
data
=
classGradeTreeData
.
value
;
...
...
@@ -104,6 +107,10 @@ const LabelListData = ref<any>([]);
const
getLabelListData
=
async
()
=>
{
const
res
:
any
=
await
getLabelList
({
label
:
''
});
if
(
res
.
code
==
proxy
.
$passCode
)
{
// 判空
if
(
!
res
.
data
||
res
.
data
.
length
===
0
)
{
return
;
}
LabelListData
.
value
=
res
.
data
;
const
data
=
res
.
data
data
.
map
(
item
=>
{
...
...
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