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
54ec9cc5
authored
2025-01-02 17:59:53 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
结果确认界面调整
1 parent
ee406d62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
src/views/data_inventory/taskDetail.vue
src/views/data_inventory/taskDetail.vue
View file @
54ec9cc
...
...
@@ -172,7 +172,7 @@ const fieldItemList = ref([
{
label
:
'已分类'
,
value
:
'Y'
},
{
label
:
'未分类'
,
value
:
'N'
},
],
props
:
{
},
props
:
{},
clearable
:
true
,
},
{
...
...
@@ -408,7 +408,7 @@ const promiseList = async (...promises: Promise<void>[]) => {
const
getTaskDetail
=
(
param
)
=>
{
loading
.
value
=
true
;
getCgTaskDetail
(
param
).
then
((
res
:
any
)
=>
{
loading
.
value
=
false
;
//
loading.value = false;
if
(
res
.
code
==
proxy
.
$passCode
)
{
taskDetail
.
value
=
res
.
data
||
{};
getFieldCount
()
...
...
@@ -421,7 +421,6 @@ const getTaskDetail = (param) => {
})
}
else
{
ElMessage
.
error
(
res
.
msg
);
loading
.
value
=
false
;
}
}).
catch
(()
=>
{
loading
.
value
=
false
;
...
...
@@ -649,9 +648,9 @@ const tableBtnClick = (scope, btn) => {
saveFields
(
params
)
row
.
STATE
=
''
;
}
else
{
if
(
row
.
classifyDetailGuid
&&
row
.
gradeDetailGuid
==
''
)
{
if
(
row
.
classifyDetailGuid
&&
row
.
gradeDetailGuid
==
''
)
{
ElMessage
.
error
(
'分级不能为空'
);
}
else
if
(
row
.
classifyDetailGuid
==
''
&&
row
.
gradeDetailGuid
)
{
}
else
if
(
row
.
classifyDetailGuid
==
''
&&
row
.
gradeDetailGuid
)
{
ElMessage
.
error
(
'分类不能为空'
);
}
else
{
ElMessage
.
error
(
'分类和分级均不能为空'
);
...
...
@@ -716,12 +715,13 @@ const saveFields = (params, isBatch = false) => {
loading
.
value
=
false
;
if
(
res
.
code
==
proxy
.
$passCode
)
{
ElMessage
.
success
(
'保存成功'
);
if
(
isBatch
)
{
getFieldTableData
();
}
else
{
currTableData
.
value
.
changeStatus
=
'Y'
;
}
getFieldCount
()
// if (isBatch) {
// getFieldTableData();
// } else {
// currTableData.value.changeStatus = 'Y';
// }
getFieldTableData
();
getFieldCount
();
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
...
...
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