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
ee406d62
authored
2025-01-02 17:50:05 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
结果确认界面调整
1 parent
e97b12ad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
src/views/data_inventory/taskDetail.vue
src/views/data_inventory/taskDetail.vue
View file @
ee406d6
...
...
@@ -388,6 +388,22 @@ const dialogInfo: any = ref({
},
})
/**
* 传入多个promise对象,当全部结束时取消Loading
* @param promises 传入多个promise对象,当全部结束时取消Loading
*/
const
promiseList
=
async
(...
promises
:
Promise
<
void
>
[])
=>
{
// loading方法全局封装成一个组件
loading
.
value
=
true
;
try
{
await
Promise
.
all
(
promises
);
}
catch
(
e
)
{
loading
.
value
=
false
;
}
finally
{
loading
.
value
=
false
;
}
};
// 获取任务详情
const
getTaskDetail
=
(
param
)
=>
{
loading
.
value
=
true
;
...
...
@@ -627,6 +643,7 @@ const tableBtnClick = (scope, btn) => {
classifyDetailName
:
row
.
classifyDetailName
,
gradeDetailGuid
:
row
.
gradeDetailGuid
,
gradeDetailName
:
row
.
gradeDetailName
,
execGuid
:
taskDetail
.
value
.
execGuid
}
];
saveFields
(
params
)
...
...
@@ -862,6 +879,7 @@ const dialogBtnClick = (btn, info) => {
classifyDetailName
:
cascaderData
[
0
].
label
,
gradeDetailGuid
:
info
.
gradeGuid
,
gradeDetailName
:
gradeName
,
execGuid
:
taskDetail
.
value
.
execGuid
}
params
.
push
(
param
)
})
...
...
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