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
79c854c6
authored
2025-06-28 13:14:31 +0800
by
fanguang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
884a7567
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
src/views/data_meta/components/standardDialog.vue
src/views/data_meta/components/standardDialog.vue
View file @
79c854c
...
...
@@ -338,12 +338,13 @@ function inputTypeChange (val, item) {
const
loading
=
ref
(
false
)
function
getDetail
()
{
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
,
isHaveData
}
=
treeCurrentNode
.
value
let
{
level
,
isHaveData
,
children
}
=
treeCurrentNode
.
value
if
(
level
==
1
)
{
// 所选为一级节点,当前二级节点
fieldsTableShow
.
value
=
false
...
...
@@ -354,6 +355,10 @@ function getDetail () {
if
(
level
>=
3
)
{
fieldsDisabled
.
value
=
true
}
if
((
children
&&
children
.
length
)
||
data
.
fieldRSVOS
)
{
treeSelectDisabled
.
value
=
true
}
}
}).
finally
(()
=>
loading
.
value
=
false
)
}
...
...
@@ -399,6 +404,7 @@ watch(
// console.log(props.currentNode)
// 上级标准:不能选自己,有数据的标准不能选
// treeSelectData.value = JSON.parse(JSON.stringify(props.standardOptions))
treeSelectDisabled
.
value
=
false
if
(
props
.
type
===
'edit'
)
{
// fieldsControlDisabled.value = false
...
...
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