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
ec310739
authored
2025-07-11 15:28:17 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
c73c8f6e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
src/views/data_meta/components/standardDialog.vue
src/views/data_meta/components/standardDialog.vue
View file @
ec31073
...
...
@@ -293,10 +293,10 @@ watch(
form
.
value
.
fieldRQVOS
=
[{...
tableFormTpl
}]
fieldsDisabled
.
value
=
false
}
if
(
level
==
2
)
{
fieldsDisabled
.
value
=
isChildHaveData
===
'Y'
?
true
:
false
}
if
(
level
>=
3
)
{
// if (level == 2) { //新增的时候出问题
//
fieldsDisabled.value = isChildHaveData === 'Y' ? true : false
//
}
if
(
level
>=
2
)
{
fieldsDisabled
.
value
=
true
}
}
...
...
@@ -375,14 +375,14 @@ function inputTypeChange (val, item) {
}
const
loading
=
ref
(
false
)
function
getDetail
()
{
function
getDetail
(
treeCurrNode
)
{
loading
.
value
=
true
return
getMetaStandardDetail
(
props
.
guid
).
then
((
res
:
any
)
=>
{
if
(
res
.
code
===
proxy
.
$passCode
)
{
const
data
=
res
.
data
data
.
fieldRQVOS
=
data
.
fieldRSVOS
form
.
value
=
{
...
data
}
let
{
level
,
isChildHaveData
,
children
}
=
treeCurrentNode
.
value
let
{
level
,
isChildHaveData
,
children
}
=
treeCurr
Node
||
treeCurr
entNode
.
value
if
(
level
==
1
)
{
// 所选为一级节点,当前二级节点
fieldsTableShow
.
value
=
false
...
...
@@ -459,7 +459,7 @@ watch(
getTreeSelectOptions
().
then
(()
=>
{
loading
.
value
=
false
let
guid
=
props
.
currentNode
?.
guid
;
treeCurrentNode
.
value
=
props
.
currentNode
let
node
=
treeCurrentNode
.
value
=
props
.
currentNode
if
(
guid
)
{
let
getNode
=
(
object
:
any
)
=>
{
for
(
const
select
of
object
)
{
...
...
@@ -474,12 +474,9 @@ watch(
}
}
}
let
node
=
getNode
(
treeSelectData
.
value
);
if
(
node
)
{
treeCurrentNode
.
value
=
node
;
}
node
=
getNode
(
treeSelectData
.
value
);
}
getDetail
().
then
(()
=>
formatOptions
(
treeSelectData
.
value
))
getDetail
(
node
).
then
(()
=>
formatOptions
(
treeSelectData
.
value
))
})
treeCurrentNode
.
value
=
props
.
currentNode
}
else
{
...
...
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