Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
a3a8c5a3
Commit
a3a8c5a3
authored
Aug 22, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tui
parent
f1e22ac7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
attendance-performance-manager-ui/admin/src/views/attendance/record/error/drawershow.vue
...ui/admin/src/views/attendance/record/error/drawershow.vue
+18
-6
No files found.
attendance-performance-manager-ui/admin/src/views/attendance/record/error/drawershow.vue
View file @
a3a8c5a3
...
...
@@ -63,7 +63,9 @@
</div>
</div>
<div
class=
"mt20"
>
<el-button
type=
"primary"
@
click=
"saveForm"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"saveForm"
:loading=
"btnLoading"
>
确定
</el-button
>
<el-button
@
click=
"cancleFn"
>
取消
</el-button>
</div>
</div>
...
...
@@ -110,6 +112,7 @@ export default {
errorStatus
:
""
,
},
duration
:
""
,
btnLoading
:
false
,
};
},
...
...
@@ -162,12 +165,21 @@ export default {
"
分钟
"
;
this
.
dealParams
.
durtion
=
this
.
duration
;
}
this
.
btnLoading
=
true
;
// 保存结果处理
this
.
$post
(
this
.
urls
.
saveUrl
,
this
.
dealParams
).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
cancleFn
();
}
});
this
.
$post
(
this
.
urls
.
saveUrl
,
this
.
dealParams
)
.
then
((
res
)
=>
{
this
.
btnLoading
=
false
;
if
(
res
.
code
==
1
)
{
this
.
cancleFn
();
this
.
$message
.
success
(
res
.
msg
);
}
})
.
catch
((
error
)
=>
{
this
.
btnLoading
=
false
;
console
.
log
(
error
);
this
.
$message
.
error
(
error
.
message
);
});
},
cancleFn
()
{
this
.
open
=
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment