Commit 32757e19 by 王志慧

feat:客户数据概览修改

1 parent 301feecd
......@@ -91,4 +91,7 @@ background: transparent !important;
.mg2{
margin-left:20px;
margin-right:20px;
}
.mgt10{
margin-top:10px;
}
\ No newline at end of file
......@@ -72,8 +72,8 @@ export default {
{
name: '客户总数',
type: 'pie',
radius: '91.5px',
center: ['50%', '68%'],
radius: '118px',
center: ['50%', '65%'],
stillShowZeroSum: false,
data: this.pieData,
// data: [
......
......@@ -176,7 +176,7 @@
</div>
</div>
<GLTable class="table" :hasNum="false" :tableData="clientGroupTableList" :hasPage="false" :tableParams="clientGroupTableParams" :headerStyle="{ height: '54px' }">
<span slot="groupName" slot-scope="scope">
<span slot="groupName" slot-scope="scope" class="groupName">
<span>{{ scope.scope.groupName || '群聊(默认)' }}</span>
</span>
<div class="table-btns" slot="optionBtns" slot-scope="scope">
......@@ -190,9 +190,6 @@
<div style="height: 20px"></div>
<!-- //提示面板组件 -->
<tip-panel class="mg2" panelMinHeight="45px" :panelContent="panelContent"></tip-panel>
<!-- v-if="userType == 2" -->
<el-button type="primary" class="addTagBtn" size="small" @click="btnClick('create')" v-if="userType == 2">设置标签</el-button>
......@@ -421,12 +418,14 @@ export default {
label: '跟进员工',
prop: 'staffName',
align: 'left',
minWidth: 100
minWidth: 90
},
{
label: '所属部门',
prop: 'departmentName',
align: 'left'
align: 'left',
line: 1,
width: 100
},
{
label: '添加时间',
......@@ -457,12 +456,16 @@ export default {
{
label: '备注',
prop: 'remark',
align: 'left'
align: 'left',
line: 1,
width: 150
},
{
label: '描述',
prop: 'description',
align: 'left'
align: 'left',
line: 1,
width: 150
}
]
},
......@@ -475,32 +478,38 @@ export default {
label: '群聊名称',
prop: 'groupName',
addHtml: 'groupName',
align: 'left'
align: 'left',
width: 260
},
{
label: '群主',
prop: 'groupHostName',
align: 'left'
align: 'left',
line: 1,
width: 200
},
{
label: '客户数',
prop: 'membersNumber',
align: 'left'
align: 'left',
width: 180
},
{
label: '本群昵称',
prop: 'groupNickName',
align: 'left'
align: 'left',
line: 1,
width: 200
},
{
label: '入群时间',
prop: 'joinTime',
align: 'left'
align: 'left',
width: 200
},
{
label: '操作',
prop: 'optionBtns',
width: '80px',
addHtml: 'optionBtns',
fixed: 'right'
}
......@@ -1269,10 +1278,8 @@ export default {
}
.table {
padding: 0 20px;
/deep/ .line-ellipsis {
.groupName {
white-space: nowrap;
overflow: visible;
}
}
}
......
......@@ -3,7 +3,7 @@
<el-tabs v-model="activeName" @tab-click="handleClick()">
<el-tab-pane label="推荐人群" name="first"></el-tab-pane>
<el-tab-pane label="自定义人群" name="second">
<GLButton class="addBtn" fn="新建人群" v-if="admin" @click="addClick">
<GLButton class="addBtn" fn="新建人群" v-if="userType == 1" @click="addClick">
<i class="el-icon-plus"></i>
新建人群
</GLButton>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!