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 cef7083e
authored
Jan 11, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改一客一群
1 parent
b6a2840c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
src/views/guestGroup/components/selectFollow.vue
src/views/guestGroup/detail.vue
src/views/guestGroup/index.vue
src/views/guestGroup/components/selectFollow.vue
View file @
cef7083
...
...
@@ -67,7 +67,7 @@ export default {
}
]
},
layout
:
'
pager
'
,
layout
:
'
total
'
,
tableData
:
[],
tableTotal
:
0
,
selectItem
:
[],
...
...
@@ -88,7 +88,7 @@ export default {
this
.
tableData
=
res
.
data
this
.
tableTotal
=
res
.
count
if
(
res
.
count
>
10
)
{
this
.
layout
=
'pager'
this
.
layout
=
'
total,
pager'
}
this
.
tableData
.
forEach
(
item
=>
{
this
.
selectEmp
.
forEach
((
itm
,
index
)
=>
{
...
...
src/views/guestGroup/detail.vue
View file @
cef7083
...
...
@@ -129,7 +129,7 @@ export default {
return
{
WECHANT_TYPE
:
WECHANT_TYPE
,
searchForm
:
{
}
,
//
getListApi: this.$apis.groupGuest.customerList,
getListApi
:
this
.
$apis
.
groupGuest
.
customerList
,
tableData
:
[
{
id
:
1
,
...
...
src/views/guestGroup/index.vue
View file @
cef7083
<
template
>
<div
class=
"scrm-sub-client-container"
>
<div
class=
"btn-header"
>
<
el-button
class=
"addBtn"
@
click=
"btnClick('create')"
>
新建群组
</el-button
>
<
!--
<el-button
class=
"addBtn"
@
click=
"btnClick('create')"
>
新建群组
</el-button>
--
>
<GLButton
class=
"addBtn"
@
click=
"btnClick('create')"
fn=
"新建群组"
>
新建群组
</GLButton>
<span
class=
"toptips"
>
<span>
配置群聊不会自动拉群,邀请客户入群后群聊才会正式生效,一个客户默认拉一个群聊。
</span>
...
...
@@ -70,10 +70,10 @@
>
{{
scope
.
scope
.
status
==
'1'
?
'启用'
:
'停用'
}}
<
/span
>
<
/span
>
<
div
class
=
"table-btns"
slot
=
"optionBtns"
slot
-
scope
=
"scope"
>
<
el
-
button
type
=
"text"
@
click
=
"btnClick('edit', scope.scope)"
>
修改
<
/el-button
>
<
el
-
button
type
=
"text"
@
click
=
"btnClick('detail', scope.scope)"
>
查看详情
<
/el-button
>
<
GLButton
type
=
"text"
@
click
=
"btnClick('detail', scope.scope)"
fn
=
"客户群详情"
>
查看详情
<
/GLButton
>
<!--
<
el
-
button
type
=
"text"
@
click
=
"btnClick('edit', scope.scope)"
>
修改
<
/el-button
>
<
el
-
button
type
=
"text"
@
click
=
"btnClick('detail', scope.scope)"
>
查看详情
<
/el-button> --
>
<
GLButton
type
=
"text"
@
click
=
"btnClick('edit', scope.scope)"
fn
=
"修改群组"
>
修改
<
/GLButton
>
<
GLButton
type
=
"text"
@
click
=
"btnClick('detail', scope.scope)"
fn
=
"客户群详情"
>
查看详情
<
/GLButton
>
<
GLButton
type
=
"text"
@
click
=
"btnClick('status', scope.scope)"
...
...
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