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
ba1bb492
authored
2025-02-21 17:46:59 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
504be555
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
src/views/data_inventory/classifyGradeCatalogue.vue
src/views/data_inventory/classifyGradeCatalogue.vue
View file @
ba1bb49
...
...
@@ -146,11 +146,14 @@ const getFieldTypeData = async () => {
onMounted
(
async
()
=>
{
await
getExecGuid
();
await
getCgDirTreeData
();
if
(
!
execGuidInfo
.
value
?.
execGuid
)
{
return
;
}
await
getCgDirFieldPage
({
execGuid
:
execGuidInfo
.
value
?.
execGuid
,
classifyDetail
:
classifyDetailGuidInfo
.
value
});
await
getCgDirTreeData
();
// getDictionaryList();
getSearchTableList
();
// getLabelListData();
...
...
@@ -1233,6 +1236,9 @@ const handleClick = async (tab: any) => {
// 切换时选中的配置业务规则清空
selectedRulesData
.
value
=
{};
activeName
.
value
=
tab
.
props
.
name
;
if
(
!
execGuidInfo
.
value
?.
execGuid
)
{
return
;
}
if
(
tab
.
props
.
name
===
'second'
)
{
classifyDetailGuidInfo
.
value
=
''
;
// if (activeTab.value === 'table') {
...
...
@@ -1278,7 +1284,7 @@ const dataBaseTreeData = ref<any>();
const
getDataBaseTreeData
=
async
()
=>
{
dataBaseTreeInfo
.
value
.
loading
=
true
;
const
res
:
any
=
await
getDbDirTreeList
({});
if
(
res
.
data
.
length
===
0
||
!
res
.
data
)
{
if
(
!
res
.
data
)
{
dataBaseTreeInfo
.
value
.
loading
=
false
;
return
;
}
...
...
@@ -1710,6 +1716,9 @@ const getDbDirFieldSelectData = async (type, params = {}) => {
// 获取查询的数据库名 execTaskSheetList
const
getSearchTableList
=
async
(
type
=
1
,
dbGuid
=
''
)
=>
{
if
(
!
execGuidInfo
.
value
?.
execGuid
)
{
return
;
}
const
res
:
any
=
await
getDbFieldList
({
execGuid
:
execGuidInfo
.
value
.
execGuid
,
dbGuid
,
...
...
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