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
0d60936b
authored
2025-06-28 13:36:20 +0800
by
fanguang
Committed by
lihua
2025-06-30 14:35:23 +0800
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
eac0be4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
src/views/data_meta/components/standardDialog.vue
src/views/data_meta/standard.vue
src/views/data_meta/components/standardDialog.vue
View file @
0d60936
...
...
@@ -355,10 +355,9 @@ function getDetail () {
if
(
level
>=
3
)
{
fieldsDisabled
.
value
=
true
}
if
((
children
&&
children
.
length
)
||
data
.
fieldRSVOS
)
{
if
((
children
&&
children
.
length
)
||
isHaveData
===
'Y'
)
{
treeSelectDisabled
.
value
=
true
}
}
}).
finally
(()
=>
loading
.
value
=
false
)
}
...
...
src/views/data_meta/standard.vue
View file @
0d60936
...
...
@@ -106,6 +106,20 @@ function getTree (refresh = false, initLocate = false) {
}
})
}
function
refreshTree
()
{
treeInfo
.
value
.
loading
=
true
;
getMetaStandardTree
().
then
((
res
:
any
)
=>
{
treeInfo
.
value
.
loading
=
false
;
if
(
res
.
code
===
proxy
.
$passCode
)
{
let
data
=
res
.
data
||
[]
data
.
forEach
(
item
=>
{
item
.
showEdit
=
true
item
.
level
=
1
})
treeInfo
.
value
.
data
=
data
}
})
}
function
deleteTreeNode
(
guid
)
{
deleteMetaStandard
([
guid
]).
then
((
res
:
any
)
=>
{
...
...
@@ -537,7 +551,7 @@ const viewGraph = () => {
:type=
"standardDialog.type"
:guid=
"standardDialog.guid"
:currentNode=
"standardDialog.currentNode"
@
success=
"
get
Tree"
@
success=
"
refresh
Tree"
/>
<StandardFieldsDialog
v-model=
"standardFieldsDialog.visible"
...
...
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