Commit cef7083e by 胡悦

修改一客一群

1 parent b6a2840c
......@@ -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) => {
......
......@@ -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,
......
<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)"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!