Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
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
office
haoban-3
Commits
6e87c823
Commit
6e87c823
authored
Aug 02, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 分组列表修改
parent
22ec4549
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
group-list.vue
...alesleads/actCodeManage/staffActCode/views/group-list.vue
+8
-6
No files found.
src/views/salesleads/actCodeManage/staffActCode/views/group-list.vue
View file @
6e87c823
...
...
@@ -164,8 +164,8 @@ export default {
}
)
.
then
(()
=>
{
// 删除操作
//
const listItemIndex = this.groupList.findIndex(item => item.groupId === listItem.groupId);
//
if (listItemIndex < 0) return;
const
listItemIndex
=
this
.
groupList
.
findIndex
(
item
=>
item
.
groupId
===
listItem
.
groupId
);
if
(
listItemIndex
<
0
)
return
;
let
params
=
{
groupId
:
listItem
.
groupId
}
;
...
...
@@ -175,10 +175,12 @@ export default {
type
:
'success'
,
message
:
'删除成功!'
}
);
// this.groupList.splice(listItemIndex, 1);
this
.
pageP
.
pageNum
=
1
;
this
.
currentListItemUuid
=
-
1
;
this
.
$emit
(
'updateList'
,
this
.
currentListItemUuid
);
this
.
groupList
.
splice
(
listItemIndex
,
1
);
if
(
this
.
currentListItemUuid
==
listItem
.
groupId
)
{
this
.
pageP
.
pageNum
=
1
;
this
.
currentListItemUuid
=
-
1
;
this
.
$emit
(
'updateList'
,
this
.
currentListItemUuid
);
}
this
.
searchGroup
();
}
}
);
...
...
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