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
7f57de30
authored
2025-01-24 09:45:13 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' into release-test
2 parents
b462ec6d
d41c7c0b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
8 deletions
src/views/data_inventory/classifyGradeCatalogue.vue
src/views/data_inventory/dataLabel.vue
src/views/data_product/productListing.vue
src/views/data_inventory/classifyGradeCatalogue.vue
View file @
7f57de3
...
...
@@ -46,7 +46,8 @@ const getCgDirTreeData = async () => {
const
params
=
{
execGuid
:
execGuidInfo
.
value
?.
execGuid
}
if
(
!
execGuidInfo
.
value
?.
execGuid
)
{
if
(
!
execGuidInfo
.
value
?.
execGuid
||
!
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
...
...
@@ -1313,15 +1318,15 @@ const getDataBaseTreeData = async () => {
dataBaseTreeInfo
.
value
.
loading
=
false
;
return
;
}
dataBaseTreeInfo
.
value
.
expandedKey
.
push
(
dataArray
[
0
].
guid
);
dataBaseTreeInfo
.
value
.
currentNodeKey
=
dataArray
[
0
].
guid
;
dataBaseTreeInfo
.
value
.
expandedKey
.
push
(
dataArray
[
0
]
?
.
guid
);
dataBaseTreeInfo
.
value
.
currentNodeKey
=
dataArray
[
0
]
?
.
guid
;
dataBaseGuid
.
value
=
dataArray
[
0
].
databaseGuid
;
currentDatabasePath
.
value
=
[
dataArray
[
0
].
name
];
currentDatabasePath
.
value
=
[
dataArray
[
0
]
?
.
name
];
selectedA
.
value
=
dataArray
[
0
].
databaseGuid
;
if
(
dataArray
[
0
].
dicType
===
1
)
{
if
(
dataArray
[
0
]
?
.
dicType
===
1
)
{
isShowCreateBtn
.
value
=
true
;
}
if
(
dataArray
[
0
].
dicType
===
2
)
{
if
(
dataArray
[
0
]
?
.
dicType
===
2
)
{
isShowCreateBtn
.
value
=
false
;
}
...
...
src/views/data_inventory/dataLabel.vue
View file @
7f57de3
...
...
@@ -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
;
...
...
@@ -108,6 +111,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
if
(
data
.
length
==
0
)
{
...
...
src/views/data_product/productListing.vue
View file @
7f57de3
...
...
@@ -105,7 +105,7 @@ const tableInfo = ref({
const
{
row
}
=
scope
;
const
approveVO
=
row
.
approveVO
||
{};
const
currentStaffGuid
=
userData
.
staffGuid
const
bizApproveState
=
row
.
bizA
pproveState
;
const
bizApproveState
=
row
.
a
pproveState
;
const
approveState
=
approveVO
.
approveState
||
null
;
const
approveStaffGuids
=
approveVO
.
approveStaffGuids
||
[];
const
staffGuid
=
approveVO
.
staffGuid
||
''
;
...
...
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