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
30a801f8
authored
2025-08-22 11:50:23 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 解决标签管理问题
1 parent
f902ff0c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
src/views/data_anonymization/labelManagement.vue
src/views/data_anonymization/labelManagement.vue
View file @
30a801f
...
...
@@ -86,6 +86,9 @@ const tableInfo = ref({
formRows
.
value
=
labelRuleField
.
vagueMatchRule
||
[{
matchValue
:
''
,
position
:
''
,
name
:
''
,
disabled
:
false
}];
let
labelRuleContent
=
detail
.
labelRuleContent
||
{};
ruleContentFormItems
.
value
[
1
].
visible
=
labelRuleContent
.
ruleType
==
1
;
ruleContentFormItems
.
value
[
2
].
visible
=
labelRuleContent
.
ruleType
==
2
;
ruleContentFormItems
.
value
.
forEach
(
item
=>
{
item
.
default
=
labelRuleContent
[
item
.
field
];
if
(
item
.
field
==
'regularTestData'
)
{
...
...
@@ -316,6 +319,8 @@ const newCreateLabelDialogInfo = ref({
newCreateLabelDialogInfo
.
value
.
submitBtnLoading
=
false
;
proxy
.
$ElMessage
.
error
(
res
.
msg
);
}
}).
catch
(()
=>
{
newCreateLabelDialogInfo
.
value
.
submitBtnLoading
=
false
;
});
}
else
{
newCreateLabelDialogInfo
.
value
.
submitBtnLoading
=
true
;
...
...
@@ -332,6 +337,8 @@ const newCreateLabelDialogInfo = ref({
newCreateLabelDialogInfo
.
value
.
submitBtnLoading
=
false
;
proxy
.
$ElMessage
.
error
(
res
.
msg
);
}
}).
catch
(()
=>
{
newCreateLabelDialogInfo
.
value
.
submitBtnLoading
=
false
;
});
}
}
...
...
@@ -437,6 +444,8 @@ const handleCreate = () => {
matchEnValue
.
value
.
disabled
=
false
;
formRows
.
value
=
[{
matchValue
:
''
,
position
:
''
,
name
:
''
,
disabled
:
false
}];
ruleContentFormItems
.
value
[
1
].
visible
=
true
;
ruleContentFormItems
.
value
[
2
].
visible
=
false
;
ruleContentFormItems
.
value
.
forEach
(
item
=>
{
item
.
default
=
item
.
field
==
'ruleType'
?
1
:
''
;
if
(
item
.
field
==
'regularTestData'
)
{
...
...
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