Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psa-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高滢
psa-web
Commits
293351d8
Commit
293351d8
authored
Apr 22, 2025
by
‘老张’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改员工年假
parent
0b0ee048
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
index.vue
src/views/system/balance/index.vue
+6
-6
No files found.
src/views/system/balance/index.vue
View file @
293351d8
...
...
@@ -57,7 +57,7 @@
<div
class=
"table - title - container"
>
<div
class=
"table-container"
>
<div
class=
"div1"
></div>
<span
class=
"leave-application-title"
>
员工
余额
</span>
<span
class=
"leave-application-title"
>
员工
年假
</span>
<span
class=
"add"
>
<el-tooltip
content=
"新增"
placement=
"top"
>
<el-button
...
...
@@ -123,7 +123,7 @@
<
/div
>
<
/div
>
<
/div
>
<!--
添加或修改员工
余额
对话框
-->
<!--
添加或修改员工
年假
对话框
-->
<
el
-
dialog
:
title
=
"title"
v
-
model
=
"open"
width
=
"500px"
append
-
to
-
body
>
<
el
-
form
ref
=
"balanceRef"
:
model
=
"form"
:
rules
=
"rules"
label
-
width
=
"80px"
>
<
el
-
form
-
item
label
=
"员工ID"
prop
=
"employeeId"
>
...
...
@@ -219,7 +219,7 @@ const data = reactive({
const
{
queryParams
,
form
,
rules
}
=
toRefs
(
data
);
/** 查询员工
余额
列表 */
/** 查询员工
年假
列表 */
function
getList
()
{
loading
.
value
=
true
;
listBalance
(
queryParams
.
value
).
then
(
response
=>
{
...
...
@@ -280,7 +280,7 @@ function handleSelectionChange(selection) {
function
handleAdd
()
{
reset
();
open
.
value
=
true
;
title
.
value
=
"添加员工
余额
"
;
title
.
value
=
"添加员工
年假
"
;
}
/** 修改按钮操作 */
...
...
@@ -290,7 +290,7 @@ function handleUpdate(row) {
getBalance
(
_id
).
then
(
response
=>
{
form
.
value
=
response
.
data
;
open
.
value
=
true
;
title
.
value
=
"修改员工
余额
"
;
title
.
value
=
"修改员工
年假
"
;
}
);
}
...
...
@@ -318,7 +318,7 @@ function submitForm() {
/** 删除按钮操作 */
function
handleDelete
(
row
)
{
const
_ids
=
row
.
id
||
ids
.
value
;
proxy
.
$modal
.
confirm
(
'是否确认删除员工
余额
编号为"'
+
_ids
+
'"的数据项?'
).
then
(
function
()
{
proxy
.
$modal
.
confirm
(
'是否确认删除员工
年假
编号为"'
+
_ids
+
'"的数据项?'
).
then
(
function
()
{
return
delBalance
(
_ids
);
}
).
then
(()
=>
{
getList
();
...
...
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