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
1c78c50f
Commit
1c78c50f
authored
Aug 05, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 分组列表删除修改
parent
e49a737e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
index.vue
src/views/salesleads/actCodeManage/staffActCode/index.vue
+0
-1
act-code-table.vue
...leads/actCodeManage/staffActCode/views/act-code-table.vue
+0
-1
group-list.vue
...alesleads/actCodeManage/staffActCode/views/group-list.vue
+2
-4
No files found.
src/views/salesleads/actCodeManage/staffActCode/index.vue
View file @
1c78c50f
...
@@ -40,7 +40,6 @@ export default {
...
@@ -40,7 +40,6 @@ export default {
watch
:
{
watch
:
{
currentGroupId
:
{
currentGroupId
:
{
handler
:
function
(
val
)
{
handler
:
function
(
val
)
{
console
.
log
(
val
,
111
);
// if (val != null) {
// if (val != null) {
this
.
currentGroupId
=
val
;
this
.
currentGroupId
=
val
;
// }
// }
...
...
src/views/salesleads/actCodeManage/staffActCode/views/act-code-table.vue
View file @
1c78c50f
...
@@ -178,7 +178,6 @@ export default {
...
@@ -178,7 +178,6 @@ export default {
const
SELECTDOWN_DOM
=
el
.
querySelector
(
'.el-select-dropdown .el-select-dropdown__wrap'
);
const
SELECTDOWN_DOM
=
el
.
querySelector
(
'.el-select-dropdown .el-select-dropdown__wrap'
);
SELECTDOWN_DOM
.
addEventListener
(
'scroll'
,
function
()
{
SELECTDOWN_DOM
.
addEventListener
(
'scroll'
,
function
()
{
const
CONDITION
=
this
.
clientHeight
+
this
.
scrollTop
+
20
>=
this
.
scrollHeight
;
const
CONDITION
=
this
.
clientHeight
+
this
.
scrollTop
+
20
>=
this
.
scrollHeight
;
console
.
log
(
this
.
scrollTop
);
if
(
CONDITION
)
{
if
(
CONDITION
)
{
binding
.
value
();
binding
.
value
();
}
}
...
...
src/views/salesleads/actCodeManage/staffActCode/views/group-list.vue
View file @
1c78c50f
...
@@ -175,12 +175,13 @@ export default {
...
@@ -175,12 +175,13 @@ export default {
type
:
'success'
,
type
:
'success'
,
message
:
'删除成功!'
message
:
'删除成功!'
}
);
}
);
this
.
groupList
.
splice
(
listItemIndex
,
1
);
//
this.groupList.splice(listItemIndex, 1);
if
(
this
.
currentListItemUuid
==
listItem
.
groupId
)
{
if
(
this
.
currentListItemUuid
==
listItem
.
groupId
)
{
this
.
pageP
.
pageNum
=
1
;
this
.
pageP
.
pageNum
=
1
;
this
.
currentListItemUuid
=
-
1
;
this
.
currentListItemUuid
=
-
1
;
this
.
$emit
(
'updateList'
,
this
.
currentListItemUuid
);
this
.
$emit
(
'updateList'
,
this
.
currentListItemUuid
);
}
}
this
.
pageP
.
pageNum
=
1
;
this
.
searchGroup
();
this
.
searchGroup
();
}
}
}
);
}
);
...
@@ -215,9 +216,6 @@ export default {
...
@@ -215,9 +216,6 @@ export default {
if (this.isEditGroup) {
if (this.isEditGroup) {
const groupListItem = this.groupList.find(({ groupId
}
) => groupId == this.groupListForm.groupId);
const groupListItem = this.groupList.find(({ groupId
}
) => groupId == this.groupListForm.groupId);
groupListItem.groupName = this.groupListForm.groupName;
groupListItem.groupName = this.groupListForm.groupName;
}
else {
// this.pageP.pageNum = 1;
// this.searchGroup();
}
}
this.pageP.pageNum = 1;
this.pageP.pageNum = 1;
this.searchGroup();
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