Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
许珑标
薪瑞通-前端
Commits
4a796995
Commit
4a796995
authored
Mar 11, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除操作的提醒消息优化
parent
42c14f0a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/views/business/outContract/index.vue
src/views/business/outContract/index.vue
+2
-1
src/views/business/outPersonal/index.vue
src/views/business/outPersonal/index.vue
+4
-1
No files found.
src/views/business/outContract/index.vue
View file @
4a796995
...
...
@@ -326,7 +326,8 @@ export default {
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
ids
=
row
.
id
||
this
.
ids
;
this
.
$modal
.
confirm
(
'
是否确认删除发薪合同编号为"
'
+
ids
+
'
"的数据项?
'
).
then
(
function
()
{
const
msgName
=
row
.
contractName
||
this
.
contractNames
;
this
.
$modal
.
confirm
(
'
是否确认删除合同[
'
+
msgName
+
'
]?
'
).
then
(
function
()
{
return
delOutContract
(
ids
);
}).
then
(()
=>
{
this
.
getList
();
...
...
src/views/business/outPersonal/index.vue
View file @
4a796995
...
...
@@ -172,6 +172,7 @@ export default {
loading
:
true
,
// 选中数组
ids
:
[],
userNames
:
[],
// 非单个禁用
single
:
true
,
// 非多个禁用
...
...
@@ -300,6 +301,7 @@ export default {
// 多选框选中数据
handleSelectionChange
(
selection
)
{
this
.
ids
=
selection
.
map
(
item
=>
item
.
id
)
this
.
userNames
=
selection
.
map
(
item
=>
item
.
userName
)
this
.
single
=
selection
.
length
!==
1
this
.
multiple
=
!
selection
.
length
},
...
...
@@ -364,7 +366,8 @@ export default {
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
ids
=
row
.
id
||
this
.
ids
;
this
.
$modal
.
confirm
(
'
是否确认删除收薪人员信息编号为"
'
+
ids
+
'
"的数据项?
'
).
then
(
function
()
{
const
msgName
=
row
.
userName
||
this
.
userNames
this
.
$modal
.
confirm
(
'
是否确认删除收薪人员[
'
+
msgName
+
'
]?
'
).
then
(
function
()
{
return
delOutPersonal
(
ids
);
}).
then
(()
=>
{
this
.
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