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
2e07bed9
authored
2025-03-05 17:25:44 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复新增编辑删除表未刷新树形
1 parent
66d4c98f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/views/data_inventory/classifyGradeCatalogue.vue
src/views/data_inventory/classifyGradeCatalogue.vue
View file @
2e07bed
...
...
@@ -452,7 +452,7 @@ const tableInfo = ref({
{
label
:
"字段类型"
,
field
:
"fieldTypeName"
,
width
:
120
},
{
label
:
"分类"
,
field
:
"classifyDetailNameRoutes"
,
width
:
120
,
getName
:
(
scope
)
=>
{
return
scope
.
row
.
classifyDetailNameRoutes
.
join
(
'/'
);
return
!
scope
.
row
.
classifyDetailNameRoutes
?.
length
?
'--'
:
scope
.
row
.
classifyDetailNameRoutes
?
.
join
(
'/'
);
}
},
{
label
:
"分级"
,
field
:
"gradeDetailName"
,
width
:
80
},
...
...
@@ -749,6 +749,7 @@ const dataBaseTableInfo = ref({
if
(
res
.
code
==
proxy
.
$passCode
)
{
proxy
.
$ElMessage
.
success
(
'删除成功'
);
dataBaseTableInfo
.
value
.
loading
=
true
;
getDataBaseTreeData
();
await
getDataBaseTableData
({
pageIndex
:
dataBasePage
.
value
.
curr
,
pageSize
:
dataBasePage
.
value
.
limit
...
...
@@ -1906,7 +1907,7 @@ const selectChange = (val, row, info) => {
// 这里应该是onActivated 钩子,路由从configure-路由从configure-rules跳转过来要重新请求数据、
onActivated
(
async
()
=>
{
if
(
localStorage
.
getItem
(
'shouldReloadData'
)
===
'true'
)
{
if
(
activeName
.
value
==
'
数据库目录
'
)
{
if
(
activeName
.
value
==
'
second
'
)
{
getDataBaseTreeData
();
}
await
getDataBaseTableData
({
...
...
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