Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 3affafe9
authored
Dec 26, 2021
by
test
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug fixed
1 parent
4bda8c7e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
16 deletions
linkwe-ui/src/views/communityOperating/groupSOP/aev.vue
linkwe-ui/src/views/friendCircle/enterprise.vue
linkwe-ui/src/views/groupMessage/add.vue
linkwe-ui/src/views/communityOperating/groupSOP/aev.vue
View file @
3affafe
This diff is collapsed.
Click to expand it.
linkwe-ui/src/views/friendCircle/enterprise.vue
View file @
3affafe
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
methods
:
{
methods
:
{
gotoRoute
()
{
gotoRoute
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/customerMaintain/
enterpris
e/publish'
path
:
'/customerMaintain/
friendCircl
e/publish'
})
})
},
},
setTimeChange
(
e
)
{
setTimeChange
(
e
)
{
...
...
linkwe-ui/src/views/groupMessage/add.vue
View file @
3affafe
...
@@ -25,9 +25,10 @@
...
@@ -25,9 +25,10 @@
<div>
<div>
<div
class=
"item-magin aic"
>
<div
class=
"item-magin aic"
>
<div
class=
"item-name"
>
选择群主:
</div>
<div
class=
"item-name"
>
选择群主:
</div>
<el-tag
v-for=
"(unit, unique) in selectCustomerGroupList"
:key=
"unique"
>
<
!--
<
el-tag
v-for=
"(unit, unique) in selectCustomerGroupList"
:key=
"unique"
>
{{
unit
.
groupLeaderName
}}
{{
unit
.
groupLeaderName
}}
</el-tag>
</el-tag>
-->
<el-tag
v-for=
"item in selectCustomerGroupList"
:key=
"item.userId"
>
{{
item
.
name
}}
</el-tag>
<el-button
type=
"primary"
size=
"mini"
:class=
"selectCustomerGroupList.length == 1 && 'ml10'"
icon=
"el-icon-circle-plus-outline"
plain
@
click=
"onSelectCustomerGroup"
>
选择群主
</el-button>
<el-button
type=
"primary"
size=
"mini"
:class=
"selectCustomerGroupList.length == 1 && 'ml10'"
icon=
"el-icon-circle-plus-outline"
plain
@
click=
"onSelectCustomerGroup"
>
选择群主
</el-button>
</div>
</div>
</div>
</div>
...
@@ -111,7 +112,8 @@
...
@@ -111,7 +112,8 @@
</SelectTag>
</SelectTag>
<!-- 选择客户群聊 -->
<!-- 选择客户群聊 -->
<SelectCustomerGroup
:visible
.
sync=
"dialogVisibleSelectCustomerGroup"
@
success=
"submitSelectCustomerGroup"
:multiSelect=
"true"
></SelectCustomerGroup>
<!-- <SelectCustomerGroup :visible.sync="dialogVisibleSelectCustomerGroup" @success="submitSelectCustomerGroup" :multiSelect="true"></SelectCustomerGroup> -->
<SelectUser
:visible
.
sync=
"dialogVisibleSelectCustomerGroup"
title=
"选择添加人"
:isOnlyLeaf=
"false"
destroyOnClose
:defaultValues=
"selectCustomerGroupList"
@
success=
"submitSelectCustomerGroup"
></SelectUser>
</div>
</div>
</template>
</template>
...
@@ -354,7 +356,7 @@
...
@@ -354,7 +356,7 @@
data
.
isAll
=
data
.
pushRange
===
0
?
true
:
false
data
.
isAll
=
data
.
pushRange
===
0
?
true
:
false
}
else
{
}
else
{
if
(
data
.
clientGroup
===
1
)
{
if
(
data
.
clientGroup
===
1
)
{
data
.
senderList
=
this
.
selectCustomerGroupList
.
map
((
i
)
=>
{
return
{
userId
:
i
.
owner
}
})
data
.
senderList
=
this
.
selectCustomerGroupList
.
map
((
i
)
=>
{
return
{
userId
:
i
.
userId
}
})
}
else
{
}
else
{
data
.
senderList
=
[]
data
.
senderList
=
[]
}
}
...
@@ -392,17 +394,18 @@
...
@@ -392,17 +394,18 @@
},
},
// 选择群主
// 选择群主
submitSelectCustomerGroup
(
data
)
{
submitSelectCustomerGroup
(
data
)
{
let
newData
=
[]
this
.
selectCustomerGroupList
=
data
if
(
data
&&
data
.
length
>
0
)
{
// let newData = []
let
keyMap
=
new
Set
()
// if (data && data.length > 0) {
data
.
forEach
(
i
=>
{
// let keyMap = new Set()
if
(
!
keyMap
.
has
(
i
.
owner
))
{
// data.forEach(i => {
newData
.
push
(
i
)
// if (!keyMap.has(i.owner)) {
keyMap
.
add
(
i
.
owner
)
// newData.push(i)
}
// keyMap.add(i.owner)
})
// }
}
// })
this
.
selectCustomerGroupList
=
newData
// }
// this.selectCustomerGroupList = newData
this
.
$refs
.
form
.
clearValidate
(
'clientGroup'
)
this
.
$refs
.
form
.
clearValidate
(
'clientGroup'
)
},
},
onSelectTag
()
{
onSelectTag
()
{
...
...
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