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
c2785dc2
authored
2024-12-25 10:14:43 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix : loading效果
1 parent
80b9d247
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
src/views/data_inventory/classStandardEdit.vue
src/views/data_inventory/classifyGradEdit.vue
src/views/data_inventory/classStandardEdit.vue
View file @
c2785dc
...
...
@@ -501,6 +501,7 @@ const saveUpdate = async () => {
});
saveLoading
.
value
=
false
;
}
else
{
saveLoading
.
value
=
false
;
proxy
.
$ElMessage
.
error
(
res
.
msg
);
}
}
...
...
src/views/data_inventory/classifyGradEdit.vue
View file @
c2785dc
...
...
@@ -140,7 +140,7 @@ const tableInfo = ref({
console
.
log
(
scope
);
filterDataGradeEdit
(
scope
.
row
.
dataGrade
);
newCreateGradeStandardDialogInfo
.
value
.
visible
=
true
;
newCreateGradeStandardDialogInfo
.
value
.
title
=
'编辑
分类
'
;
newCreateGradeStandardDialogInfo
.
value
.
title
=
'编辑
标准
'
;
newCreateGradeFormItems
.
value
.
forEach
(
item
=>
{
item
.
default
=
scope
.
row
[
item
.
field
];
})
...
...
@@ -268,7 +268,7 @@ const newCreateGradeFormRules = ref({
const
newCreateGradeStandardDialogInfo
=
ref
({
visible
:
false
,
size
:
860
,
title
:
"
添加分类
"
,
title
:
"
新增标准
"
,
type
:
""
,
formInfo
:
{
id
:
"grade-form"
,
...
...
@@ -281,9 +281,8 @@ const newCreateGradeStandardDialogInfo = ref({
newCreateGradeStandardDialogInfo
.
value
.
visible
=
false
;
},
submit
:
async
(
btn
,
info
)
=>
{
console
.
log
(
info
,
guid
);
newCreateGradeStandardDialogInfo
.
value
.
submitBtnLoading
=
true
;
if
(
newCreateGradeStandardDialogInfo
.
value
.
title
===
'编辑
分类
'
)
{
if
(
newCreateGradeStandardDialogInfo
.
value
.
title
===
'编辑
标准
'
)
{
const
params
=
{
...
info
,
guid
:
editClassifyGradeGuid
.
value
,
...
...
@@ -294,7 +293,7 @@ const newCreateGradeStandardDialogInfo = ref({
if
(
res
.
code
==
proxy
.
$passCode
)
{
proxy
.
$ElMessage
({
type
:
'success'
,
message
:
'
修改分类
成功'
message
:
'
编辑标准
成功'
})
getGradeListData
();
newCreateGradeStandardDialogInfo
.
value
.
submitBtnLoading
=
false
;
...
...
@@ -312,7 +311,7 @@ const newCreateGradeStandardDialogInfo = ref({
if
(
res
.
code
==
proxy
.
$passCode
)
{
proxy
.
$ElMessage
({
type
:
'success'
,
message
:
'新增
分类
成功'
message
:
'新增
标准
成功'
})
getGradeListData
();
newCreateGradeStandardDialogInfo
.
value
.
submitBtnLoading
=
false
;
...
...
@@ -369,6 +368,7 @@ const saveUpdate = async () => {
});
saveLoading
.
value
=
false
;
}
else
{
saveLoading
.
value
=
false
;
proxy
.
$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