Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1b97ee74
authored
Jan 17, 2022
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
合并修改
2 parents
9d3132dc
89c32f35
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
16 deletions
src/views/guestGroup/add.vue
src/views/guestGroup/components/selectFollow.vue
src/views/guestGroup/components/selectMember.vue
src/views/guestGroup/add.vue
View file @
1b97ee7
...
...
@@ -375,7 +375,8 @@ export default {
},
// 成员弹窗
handleConfirm
()
{
this
.
basicForm
.
userList
=
this
.
$refs
.
membersForm
.
innerTags
// this.basicForm.userList = this.$refs.membersForm.innerTags
this
.
$set
(
this
.
basicForm
,
'userList'
,
this
.
$refs
.
membersForm
.
innerTags
)
this
.
selectData
=
this
.
basicForm
.
userList
this
.
openMembers
()
},
...
...
src/views/guestGroup/components/selectFollow.vue
View file @
1b97ee7
...
...
@@ -13,7 +13,7 @@
<GLTable
:key=
"key"
v-if=
"dialogVisible"
ref=
"
t
able"
ref=
"
followT
able"
:layout=
"layout"
:tableData=
"tableData"
:hasNum=
"false"
...
...
@@ -86,8 +86,8 @@ export default {
getFollower
()
{
var
params
=
{
...
JSON
.
parse
(
JSON
.
stringify
(
this
.
tableSearchForm
)),
pageSize
:
this
.
$refs
.
t
able
.
page
.
pageSize
,
pageNum
:
this
.
$refs
.
t
able
.
page
.
pageNum
pageSize
:
this
.
$refs
.
followT
able
.
page
.
pageSize
,
pageNum
:
this
.
$refs
.
followT
able
.
page
.
pageNum
}
this
.
$apis
.
groupGuest
.
getFollower
(
params
).
then
(
res
=>
{
this
.
tableData
=
res
.
data
...
...
@@ -98,24 +98,20 @@ export default {
this
.
tableData
.
forEach
(
item
=>
{
this
.
selectEmp
.
forEach
((
itm
,
index
)
=>
{
if
(
itm
.
staffId
==
item
.
id
)
{
this
.
$refs
.
table
.
$refs
.
salelistMutiTable
.
toggleRowSelection
(
item
)
this
.
selectEmp
.
splice
(
index
,
1
)
this
.
$refs
.
followTable
.
$refs
.
salelistMutiTable
.
toggleRowSelection
(
item
)
}
})
console
.
log
(
this
.
checkSelect
)
this
.
tableParams
.
checkSelectVal
=
this
.
checkSelect
this
.
key
=
new
Date
()
if
(
this
.
checkSelect
)
this
.
tableParams
.
checkSelectVal
=
this
.
checkSelect
})
})
},
init
(
item
,
checkMember
)
{
console
.
log
(
checkMember
)
this
.
checkSelect
=
checkMember
this
.
tableSearchForm
=
{}
this
.
selectEmp
=
JSON
.
parse
(
JSON
.
stringify
(
item
))
this
.
dialogVisible
=
true
this
.
$nextTick
(()
=>
{
this
.
$refs
.
t
able
.
page
.
pageNum
=
1
this
.
$refs
.
followT
able
.
page
.
pageNum
=
1
this
.
getFollower
()
})
},
...
...
@@ -130,11 +126,11 @@ export default {
},
rowClick
(
row
)
{
if
(
this
.
checkSelect
.
find
(
i
=>
i
==
row
.
id
))
return
this
.
$refs
.
t
able
.
$refs
.
salelistMutiTable
.
toggleRowSelection
(
row
)
this
.
$refs
.
followT
able
.
$refs
.
salelistMutiTable
.
toggleRowSelection
(
row
)
},
handleCancel
:
utils
.
debounce
(
function
()
{
this
.
dialogVisible
=
false
this
.
$refs
.
t
able
.
$refs
.
salelistMutiTable
.
clearSelection
()
this
.
$refs
.
followT
able
.
$refs
.
salelistMutiTable
.
clearSelection
()
},
300
),
handleSelect
:
utils
.
debounce
(
function
()
{
this
.
loading
=
true
...
...
@@ -152,7 +148,7 @@ export default {
this
.
loading
=
false
this
.
dialogVisible
=
false
this
.
$emit
(
'selectTable'
,
this
.
selectItem
.
concat
(
selectEmp
))
this
.
$refs
.
t
able
.
$refs
.
salelistMutiTable
.
clearSelection
()
this
.
$refs
.
followT
able
.
$refs
.
salelistMutiTable
.
clearSelection
()
},
300
)
}
}
...
...
src/views/guestGroup/components/selectMember.vue
View file @
1b97ee7
...
...
@@ -185,8 +185,8 @@ export default {
this
.
$refs
.
empTable
.
$refs
.
salelistMutiTable
.
toggleRowSelection
(
item
)
})
}
this
.
tableParams
.
checkSelectVal
=
this
.
followData
this
.
key
=
new
Date
()
if
(
this
.
followData
)
this
.
tableParams
.
checkSelectVal
=
this
.
followData
//
this.key = new Date()
}
else
{
this
.
treeData
=
[]
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment