Commit 32757e19 by 王志慧

feat:客户数据概览修改

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