Commit e67fdda9 by 前端

Merge branch 'xuyl_dev_v2.4.0' into 'v2.4.0'

Xuyl dev v2.4.0

See merge request !91
2 parents 0dddd9c4 c9e06b28
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
"glsx-table": "^1.1.0", "glsx-table": "^1.1.0",
"jquery": "^3.6.0", "jquery": "^3.6.0",
"sha1": "^1.1.1", "sha1": "^1.1.1",
"swiper": "^4.0.0",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-animate-number": "^0.4.2", "vue-animate-number": "^0.4.2",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
......
@import '@/styles/variables.scss'; @import '@/styles/variables.scss';
.glsx-table .emptyBg .noDataImg {
margin-top: 0px !important;
}
.el-tag { .el-tag {
color: #666 !important; color: #666 !important;
font-size: 14px !important; font-size: 14px !important;
...@@ -114,6 +118,10 @@ ...@@ -114,6 +118,10 @@
margin-top: 10px; margin-top: 10px;
} }
.wid50 {
width: 50%;
}
.circleStatusRed { .circleStatusRed {
width: 6px; width: 6px;
height: 6px; height: 6px;
...@@ -163,3 +171,20 @@ ...@@ -163,3 +171,20 @@
vertical-align: middle; vertical-align: middle;
margin-right: 8px; margin-right: 8px;
} }
.normalTitle {
font-size: 16px;
padding-left: 20px;
font-weight: 600;
display: block;
height: 58px;
line-height: 58px;
border-bottom: 1px solid #E5E5E5;
}
.questionImg {
margin-left: 4px;
width: 16px;
height: 16px;
vertical-align: middle;
}
\ No newline at end of file \ No newline at end of file
...@@ -4,8 +4,7 @@ export const Constants = { ...@@ -4,8 +4,7 @@ export const Constants = {
'1': '删除好友, red-text' '1': '删除好友, red-text'
}, },
//性别选项 //性别选项
GENDER_OPTION: [ GENDER_OPTION: [{
{
label: '全部', label: '全部',
value: null value: null
}, },
...@@ -22,8 +21,7 @@ export const Constants = { ...@@ -22,8 +21,7 @@ export const Constants = {
value: 0 value: 0
} }
], ],
SOURCE_OPTION: [ SOURCE_OPTION: [{
{
label: '全部', label: '全部',
value: 0 value: 0
}, },
...@@ -81,8 +79,7 @@ export const Constants = { ...@@ -81,8 +79,7 @@ export const Constants = {
} }
], ],
//标签类型 //标签类型
LABEL_OPTION: [ LABEL_OPTION: [{
{
label: '企业标签', label: '企业标签',
value: '企业标签' value: '企业标签'
}, },
...@@ -153,50 +150,70 @@ export const Constants = { ...@@ -153,50 +150,70 @@ export const Constants = {
1: '已激活', 1: '已激活',
2: '已过期' 2: '已过期'
}, },
DESCRIBEDATA: [ DESCRIBEDATA: [{
{
name: '潜在意向客户', name: '潜在意向客户',
info: '无购车且无其他交易行为的所有客户' info: '无购车且无其他交易行为的所有客户',
id: 1
}, },
{ {
name: '潜在意向客户已加微', name: '潜在意向已加企微客户',
info: '在潜在意向客户中,已加企微的客户' info: '在潜在意向客户中,已加企微的客户',
id: 2
}, },
{ {
name: '潜在意向客户未加微', name: '潜在意向未加企微客户',
info: '在潜在意向客户中,未加企微的客户' info: '在潜在意向客户中,未加企微的客户',
id: 3
}, },
{ {
name: '基盘客户', name: '基盘客户',
info: '有购车或其他交易行为的所有客户' info: '有购车或其他交易行为的所有客户',
id: 4
}, },
{ {
name: '基盘客户已加微', name: '基盘已加企微客户',
info: '在基盘客户中,已加企微的客户' info: '在基盘客户中,已加企微的客户',
id: 5
}, },
{ {
name: '基盘客户未加微', name: '基盘未加企微客户',
info: '在基盘客户中,未加企微的客户' info: '在基盘客户中,未加企微的客户',
id: 6
}, },
{ {
name: '新车客户', name: '新车客户',
info: '购车时间3个月的客户' info: '购车时间3个月的客户',
id: 7
}, },
{ {
name: '车险待续保客户', name: '车险待续保客户',
info: '近一个月内车险即将到期的客户' info: '近一个月内车险即将到期的客户',
id: 8
}, },
{ {
name: '新车待首保客户', name: '新车待首保客户',
info: '购车时间5~7个月内,且无保养记录的客户' info: '购车时间5~7个月内,且无保养记录的客户',
id: 9
}, },
{ {
name: '沉默客户', name: '沉默客户',
info: '超过180天未到店的客户' info: '超过180天未到店的客户',
id: 10
}, },
{ {
name: '已加企微,待匹配客户', name: '已加企微,待匹配客户',
info: '已加企微,且未匹配到潜在意向和基盘客户的客户' info: '已加企微,且未匹配到潜在意向或基盘客户的客户',
id: 11
},
{
name: '已加企微,待匹配客户(已绑定手机号)',
info: '已加企微,且未匹配到潜在意向或基盘客户的客户(已绑定手机号)',
id: 20
},
{
name: '未加企微,未匹配客户',
info: '未添加企微或添加企微后删除好友,且未匹配到意向和基盘客户的客户',
id: 21
} }
] ]
} }
\ No newline at end of file \ No newline at end of file
...@@ -15,9 +15,9 @@ export default { ...@@ -15,9 +15,9 @@ export default {
type: String, type: String,
default: '' default: ''
}, },
isCloseShowNumTag:{ isCloseShowNumTag: {
type:Boolean, type: Boolean,
default:false default: false
}, },
totalData: { totalData: {
type: Array, type: Array,
...@@ -80,12 +80,29 @@ export default { ...@@ -80,12 +80,29 @@ export default {
} }
}, },
formatter: function(datas) { formatter: function(datas) {
var res = datas[0].name + '<br/>' var res = datas[0].name + ' | 新增' + '<br/>'
let circleColor
for (var i = 0, length = datas.length; i < length; i++) { for (var i = 0, length = datas.length; i < length; i++) {
if (datas[i].seriesName == '新增客户' || datas[i].seriesName == '新增企微客户') { // if (datas[i].seriesName == '新增客户' || datas[i].seriesName == '新增企微客户') {
res += datas[i].seriesName + ':' + datas[i].data + '人' + '<br/>' // res += datas[i].seriesName + ':' + datas[i].data + '人' + '<br/>'
} else { // } else {
res += datas[i].seriesName + ':' + datas[i].data + '%' + '<br/>' // res += datas[i].seriesName + ':' + datas[i].data + '%' + '<br/>'
// }
if (datas[i].seriesName == '全部客户') {
circleColor = '#928DFF'
res += `<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:${circleColor};"></span>` + datas[i].seriesName + ':' + datas[i].data + '人' + '<br/>'
}
if (datas[i].seriesName == '全部客户环比') {
circleColor = '#5850FF'
res += `<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:${circleColor};"></span>` + datas[i].seriesName + ':' + datas[i].data + '%' + '<br/>'
}
if (datas[i].seriesName == '企微客户') {
circleColor = '#FEBE6B'
res += `<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:${circleColor};"></span>` + datas[i].seriesName + ':' + datas[i].data + '人' + '<br/>'
}
if (datas[i].seriesName == '企微客户环比') {
circleColor = '#FE9C1C'
res += `<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:${circleColor};"></span>` + datas[i].seriesName + ':' + datas[i].data + '%' + '<br/>'
} }
} }
return res return res
...@@ -116,7 +133,8 @@ export default { ...@@ -116,7 +133,8 @@ export default {
// }, // },
itemGap: 20, //图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。 itemGap: 20, //图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
// data: ['全部客户', '全部客户环比', '企微客户', '企微客户环比'], //图例的数据数组。 // data: ['全部客户', '全部客户环比', '企微客户', '企微客户环比'], //图例的数据数组。
data: ['新增客户', '新增客户环比', '新增企微客户', '新增企微客户环比'], //图例的数据数组。 // data: ['新增客户', '新增客户环比', '新增企微客户', '新增企微客户环比'], //图例的数据数组。
data: ['全部客户', '全部客户环比', '企微客户', '企微客户环比'], //图例的数据数组。
inactiveColor: '#ccc' //图例关闭时的颜色。 inactiveColor: '#ccc' //图例关闭时的颜色。
}, },
grid: { grid: {
...@@ -210,7 +228,7 @@ export default { ...@@ -210,7 +228,7 @@ export default {
], ],
series: [ series: [
{ {
name: '新增客户', name: '全部客户',
type: 'bar', type: 'bar',
data: this.customerCount, //[33600, 18000, 17500, 20000, 17000, 480, 1000, 800, 520, 650, 920, 600], data: this.customerCount, //[33600, 18000, 17500, 20000, 17000, 480, 1000, 800, 520, 650, 920, 600],
label: { label: {
...@@ -220,11 +238,11 @@ export default { ...@@ -220,11 +238,11 @@ export default {
position: 'top' position: 'top'
}, },
itemStyle: { itemStyle: {
color: '#5850ff' color: '#928DFF'
} }
}, },
{ {
name: '新增客户环比', name: '全部客户环比',
type: 'line', type: 'line',
yAxisIndex: 1, yAxisIndex: 1,
data: this.customerRatio, //[2.0, 2.2, -3.3, 4.5, 6.3, -10.2, 20.3, 23.4, 23.0, 16.5, 12.0, 6.2], data: this.customerRatio, //[2.0, 2.2, -3.3, 4.5, 6.3, -10.2, 20.3, 23.4, 23.0, 16.5, 12.0, 6.2],
...@@ -233,11 +251,11 @@ export default { ...@@ -233,11 +251,11 @@ export default {
} }
}, },
{ {
name: '新增企微客户', name: '企微客户',
type: 'bar', type: 'bar',
data: this.entmicroCount, //[22000, 10000, 10000, 13000, 11500, 4000, 7000, 6500, 4500, 5500, 7000, 6000], data: this.entmicroCount, //[22000, 10000, 10000, 13000, 11500, 4000, 7000, 6500, 4500, 5500, 7000, 6000],
itemStyle: { itemStyle: {
color: '#FE9C1C' color: '#FEBE6B'
}, },
label: { label: {
show: this.isCloseShowNumTag ? false : true, show: this.isCloseShowNumTag ? false : true,
...@@ -246,7 +264,7 @@ export default { ...@@ -246,7 +264,7 @@ export default {
} }
}, },
{ {
name: '新增企微客户环比', name: '企微客户环比',
type: 'line', type: 'line',
yAxisIndex: 1, yAxisIndex: 1,
data: this.entmicroRatio, //[2.6, 2.2, 3.0, 3.8, 6.8, 10.9, 18.3, 23.0, 23.9, 16.0, 10.0, 8.2], data: this.entmicroRatio, //[2.6, 2.2, 3.0, 3.8, 6.8, 10.9, 18.3, 23.0, 23.9, 16.0, 10.0, 8.2],
......
...@@ -63,7 +63,7 @@ export default { ...@@ -63,7 +63,7 @@ export default {
trigger: 'item', //模板变量有 {a}、{b}、{c}、{d},分别表示系列名,数据名,数据值,百分比。{d}数据会根据value值计算百分比 trigger: 'item', //模板变量有 {a}、{b}、{c}、{d},分别表示系列名,数据名,数据值,百分比。{d}数据会根据value值计算百分比
formatter: '{b} : {c}人 ({d}%)' formatter: '{b} : {c}人 ({d}%)'
}, },
color: ['#FE9C1C ', '#716AFF'], color: ['#5850FF', '#FFB21F'],
// legend: { // legend: {
// orient: "vertical", // orient: "vertical",
// bottom: "bottom", // bottom: "bottom",
...@@ -72,8 +72,9 @@ export default { ...@@ -72,8 +72,9 @@ export default {
{ {
name: '客户总数', name: '客户总数',
type: 'pie', type: 'pie',
radius: '118px', // radius: '118px',
center: ['50%', '65%'], center: ['50%', '36%'],
radius: ['32%', '48%'],
stillShowZeroSum: false, stillShowZeroSum: false,
data: this.pieData, data: this.pieData,
// data: [ // data: [
...@@ -98,13 +99,20 @@ export default { ...@@ -98,13 +99,20 @@ export default {
// }, // },
label: { label: {
position: 'inner', // position: 'inner',
formatter: '{d}%', // formatter: '{d}%',
show: true, // show: true,
color: '#fff' // color: '#fff'
// formatter: "{b}:\n{c}人({d}%)", // formatter: "{b}:\n{c}人({d}%)",
formatter: '{b}\n{d}%',
// fontWeight: "bold", // fontWeight: "bold",
// color:'red' color: '#666666',
textStyle: {
fontWeight: 'normal',
fontSize: 14,
lineHeight: 21
}
// color: ["#1296db", "#d42378"], // color: ["#1296db", "#d42378"],
}, },
labelLine: { show: true } labelLine: { show: true }
......
<template>
<div class="contain">
<!-- :style="{ width: width, height: height }" -->
<div class="echart" ref="myChart" :style="{ width: width, height: height }"></div>
</div>
</template>
<script>
export default {
props: {
width: {
type: String,
// default: () => {
// return "";
// },
default: ''
},
height: {
type: String,
default: ''
},
topDataObj: {
type: Object,
default: () => {}
}
},
data() {
return {
pieData: [
{ value: 0, name: '未加企微' },
{ value: 0, name: '已加企微' }
]
}
},
mounted() {
this.$nextTick(() => {
console.log(this.topDataObj, '饼图')
this.pieData[0].value = this.topDataObj.entmicroNotAddCustomerCount
this.pieData[1].value = this.topDataObj.entmicroAddCustomerCount
this.initChart()
})
},
methods: {
initChart() {
// 基于准备好的dom,初始化echarts实例
let myChart = this.$echarts.init(this.$refs.myChart)
// 绘制图表
myChart.setOption({
/* title: {
text: '客户总数',
subtext: '已加和未加企微的所有潜客和已购买客户',
left: '20',
top: '20',
textStyle: {
},
subtextStyle: {
fontSize: '12px',
fontWeight: '400',
color: '#808080'
}
},*/
tooltip: {
trigger: 'item', //模板变量有 {a}、{b}、{c}、{d},分别表示系列名,数据名,数据值,百分比。{d}数据会根据value值计算百分比
formatter: '{b} : {c}人 ({d}%)'
},
color: ['#5850FF', '#FFB21F'],
// legend: {
// orient: "vertical",
// bottom: "bottom",
// },
series: [
{
name: '客户总数',
type: 'pie',
// radius: '118px',
center: ['50%', '36%'],
radius: ['32%', '48%'],
stillShowZeroSum: false,
data: this.pieData,
// data: [
// { value: 3000, name: '未加企微' },
// { value: 7000, name: '已加企微' }
// ],
// emphasis: {
itemStyle: {
shadowBlur: 10,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)',
//下面控制显示饼状图上百分比
normal: {
// color: function (params) {
// //自定义颜色
// var colorList = [
// "#00FFFF",
// "#00FF00"
// ];
// return colorList[params.dataIndex];
// },
label: {
position: 'inner',
formatter: '{d}%',
// show: true,
color: '#fff',
// fontSize:14,
// formatter: "{b}:\n{c}人({d}%)",
// fontWeight: "bold",
// color: '#666666'
// color: ["#1296db", "#d42378"],
},
labelLine: { show: true }
}
}
// },
}
]
})
}
}
}
</script>
<style lang="scss" scoped>
.contain {
position: relative;
z-index: 9;
}
</style>
...@@ -127,6 +127,9 @@ export default { ...@@ -127,6 +127,9 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
/deep/.glsx-table .emptyBg .noDataImg {
margin-top: 150px !important;
}
/deep/ .el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner { /deep/ .el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner {
box-shadow: none; box-shadow: none;
} }
......
...@@ -30,16 +30,17 @@ Vue.prototype.$apis = apis ...@@ -30,16 +30,17 @@ Vue.prototype.$apis = apis
Vue.use(glsxTable) Vue.use(glsxTable)
Vue.prototype.$message = message Vue.prototype.$message = message
Vue.prototype.size = 'small' Vue.prototype.size = 'small'
// Vue.prototype.btn_size = 'mini' // Vue.prototype.btn_size = 'mini'
Vue.prototype.$Constants = Constants Vue.prototype.$Constants = Constants
Vue.prototype.$Utils = Util Vue.prototype.$Utils = Util
Vue.prototype.$Commons = common Vue.prototype.$Commons = common
Vue.prototype.$echarts = echarts Vue.prototype.$echarts = echarts
//过滤器统一处理预加载 //过滤器统一处理预加载
Object.keys(filters).forEach(key => { Object.keys(filters).forEach(key => {
Vue.filter(key, filters[key]) Vue.filter(key, filters[key])
}) })
export { bootstrap, mount, unmount } from '@/setup' export { bootstrap, mount, unmount }
from '@/setup'
export const http = params => Vue.prototype.$http(params) export const http = params => Vue.prototype.$http(params)
export const http2 = params => Vue.prototype.$http2(params) export const http2 = params => Vue.prototype.$http2(params)
export const http3 = params => Vue.prototype.$http3(params) export const http3 = params => Vue.prototype.$http3(params)
......
...@@ -23,6 +23,12 @@ const staticRoutes = Object.freeze([{ ...@@ -23,6 +23,12 @@ const staticRoutes = Object.freeze([{
meta: {} meta: {}
}, },
{ {
name: 'marketingPeople',
path: '/clientDataOverview/GroupOperating/marketingPeople',
component: resolve => require([`@/views/clientDataOverview/GroupOperating/marketingPeople`], resolve),
meta: {}
},
{
name: 'clientManage', name: 'clientManage',
path: '/clientManage/index', path: '/clientManage/index',
component: resolve => require([`@/views/clientManage/index.vue`], resolve), component: resolve => require([`@/views/clientManage/index.vue`], resolve),
...@@ -120,7 +126,7 @@ const staticRoutes = Object.freeze([{ ...@@ -120,7 +126,7 @@ const staticRoutes = Object.freeze([{
}, },
{ {
name: 'crowdDetail', name: 'crowdDetail',
path: '/crowdManage/crowdDetail:id', path: '/crowdManage/crowdDetail/:id/:type',
component: resolve => require([`@/views/crowdManage/crowdDetail.vue`], resolve), component: resolve => require([`@/views/crowdManage/crowdDetail.vue`], resolve),
meta: {} meta: {}
}, },
......
import { Message } from "element-ui"; import { Message } from 'element-ui'
import { debounce } from "./index.js"; import { debounce } from './index.js'
// const error = debounce((msg, getToken) => { // const error = debounce((msg, getToken) => {
// if(window.__POWERED_BY_QIANKUN__) { // if(window.__POWERED_BY_QIANKUN__) {
// let stateRes = { // let stateRes = {
...@@ -20,11 +20,11 @@ import { debounce } from "./index.js"; ...@@ -20,11 +20,11 @@ import { debounce } from "./index.js";
// } // }
// } // }
// }, 1000, true); // }, 1000, true);
const error=msg=>{ const error = msg => {
if(msg){ if (msg) {
Message({ Message({
message:msg, message: msg,
type:'error' type: 'error'
}) })
} }
} }
...@@ -32,58 +32,56 @@ const error=msg=>{ ...@@ -32,58 +32,56 @@ const error=msg=>{
const checkStatus = (status, msg) => { const checkStatus = (status, msg) => {
switch (status) { switch (status) {
case 400: case 400:
error(`Bad Request 错误的请求`); error(`Bad Request 错误的请求`)
break; break
case 401: case 401:
error('用户没有权限(令牌、用户名、密码错误)!'); error('用户没有权限(令牌、用户名、密码错误)!')
break; break
case 403: case 403:
error('用户得到授权,但是访问是被禁止的。!'); error('用户得到授权,但是访问是被禁止的。!')
break; break
// 404请求不存在 // 404请求不存在
case 404: case 404:
error('网络请求错误,未找到该资源!'); error('网络请求错误,未找到该资源!')
break; break
case 405: case 405:
error('网络请求错误,请求方法未允许!'); error('网络请求错误,请求方法未允许!')
break; break
case 408: case 408:
error('网络请求超时!'); error('网络请求超时!')
break; break
case 500: case 500:
error('服务器错误,请联系管理员!'); error('服务器错误,请联系管理员!')
break; break
case 501: case 501:
error('网络未实现!'); error('网络未实现!')
break; break
case 502: case 502:
error('网络错误!'); error('网络错误!')
break; break
case 503: case 503:
error('服务不可用,服务器暂时过载或维护!'); error('服务不可用,服务器暂时过载或维护!')
break; break
case 504: case 504:
error('网络超时!'); error('网络超时!')
break; break
case 505: case 505:
error('http版本不支持该请求!'); error('http版本不支持该请求!')
break; break
case 603: case 603:
error('尚未登录或登录已过期,请重新登录', 'removeToken'); error('尚未登录或登录已过期,请重新登录', 'removeToken')
break; break
case 505: case 505:
error('http版本不支持该请求!'); error('http版本不支持该请求!')
break; break
case 'fail': case 'fail':
error('网络连接错误'); error('网络连接错误')
break; break
case 'custom': case 'custom':
error(`${msg}`); error(`${msg}`)
break; break
default: default:
} }
}
export {
checkStatus
} }
export { checkStatus }
\ No newline at end of file \ No newline at end of file
<template>
<div class="scrm-sub-client-container">
<div class="pageContent">
<GLCombiForm :formObj="searchForm" :formData="searchFormList" @handleOk="searchTable" @handleRest="resetTable"></GLCombiForm>
<GLTable v-loading="loading" :hasNum="true" @setTableHeightEvent="setTableHeightEvent" @setTableFinishFun="setTableFinishFun" ref="marketingPlan" :getListApi="getListApi" :searchForm="searchForm" :pageConf="pageConf" :noDataImg="url" :tableParams="tableParams">
<template slot="options" slot-scope="scope">
<el-button class="blue-text" type="text" @click="goBasicInfo(scope.scope)">SOP分析</el-button>
<el-button class="blue-text" type="text" @click="goBasicInfo(scope.scope)">编辑</el-button>
<el-button class="blue-text" type="text" @click="confirm('delete')">删除</el-button>
<el-button class="blue-text" type="text" @click="confirm(scope.scope)">结束</el-button>
</template>
</GLTable>
</div>
</div>
</template>
<script>
import { getTableList } from '@/api/modules/clientManage'
export default {
data() {
return {
searchForm: {},
searchFormList: [
{
type: 'input',
inputType: 'text',
// name: 'keyword',
label: '人群名称'
},
{
type: 'select',
// name: 'type',
label: '营销状态',
optionLabel: 'label',
optionId: 'value',
optionList: [
{
label: '全部',
value: ''
}
],
placeholder: '请选择'
}
],
getListApi: getTableList,
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
tableParams: {
listName: 'data',
tableColumns: [
{
label: '人群名称',
prop: 'orderNo'
},
{
label: 'SOP名称',
prop: 'name'
},
{
label: '营销时间',
prop: 'phone'
},
{
label: '完成度',
prop: 'dsdasd'
},
{
label: '营销状态',
prop: 'dsdasds'
},
{
label: '操作',
prop: 'options',
addHtml: 'options'
}
]
}
}
},
mounted() {
//没数据的时候要算高度
setTimeout(() => {
if (!this.$refs.marketingPlan.data.length) {
this.loading = true
this.$refs.marketingPlan.setTableHeightFun()
this.loading = false
}
}, 200)
},
methods: {
// 确认删除或结束
confirm(type) {
this.$confirm(`是否确认${type == 'delete' ? '删除' : '结束'}?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
this.$message({
type: 'success',
message: '操作成功!'
})
})
.catch(() => {
this.$message({
type: 'info',
message: '已取消操作'
})
})
},
setTableFinishFun() {
this.$refs.marketingPlan.data.length ? (this.$refs.marketingPlan.tableHeightValues = '') : this.$refs.marketingPlan.setTableHeightFun()
},
setTableHeightEvent() {
this.$refs.marketingPlan.setTableHeightFun()
},
// 搜索表格
searchTable() {
console.log(this.searchForm)
this.$refs.marketingPlan.refreshTable()
},
//重置表格
resetTable() {
this.searchForm = {
status: '',
type: ''
}
this.$refs.marketingPlan.refreshTable()
}
}
}
</script>
<style lang="scss" scoped>
.pageContent {
padding: 20px 20px 30px;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
background-color: #fff;
}
</style>
<template>
<div>
<!-- 大标题 -->
<p class="topTitle">
<span class="title">待定保客户</span>
<span class="desc">下个月待定保客户</span>
</p>
<!-- 切换导航栏 -->
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="营销人群" name="first">
<!-- v-if="activeName == 'first'" -->
<div class="pageContent">
<div class="markPeople">
<span>营销人群</span>
<span v-if="itemArr.length > 4 && !closeFlag" @click="expandClick('expand')">
展开营销人群
<i class="el-icon-arrow-down color-58"></i>
</span>
<span v-if="closeFlag" @click="expandClick('close')">
收起营销人群
<i class="el-icon-arrow-up color-58"></i>
</span>
</div>
<el-divider></el-divider>
<!-- 营销人群展示 -->
<div class="bigMarketItem" v-if="closeFlag">
<div v-for="(item, idx) in itemArr" :key="idx" :class="[{ active: isActive == idx }, 'marketItem']" @click="choickItem(idx)">
<template v-if="idx < displayNum">
<p class="peopleName">人群名称</p>
<div class="itemBox">
<p class="peopleNum">
{{ item.num }}
<span>人</span>
</p>
<p class="peopledesc">{{ item.desc }}</p>
<el-button class="createSOP" @click.stop="createMarketSOP()" :disabled="item.type">创建营销SOP</el-button>
</div>
</template>
</div>
</div>
<div v-show="!closeFlag">
<div class="swiper-container" id="swiper">
<div class="swiper-wrapper">
<div v-for="(item, idx) in itemArr" :key="idx" :class="[{ active: isActive == idx }, 'marketItem', 'swiper-slide']" @click="choickItem(idx, item.title)">
<div class="marketItem-border">
<p class="peopleName">{{ item.title }}</p>
<div class="itemBox">
<p class="peopleNum">
{{ item.num }}
<span>人</span>
</p>
<p class="peopledesc">{{ item.desc }}</p>
<el-button class="createSOP" @click.stop="createMarketSOP(item.id)" :disabled="item.type">创建营销SOP</el-button>
</div>
</div>
</div>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
</div>
</div>
</div>
<div class="otherPageContent">
<GLCombiForm v-if="activeName == 'first'" :formObj="searchForm" :formData="marketPeopleFormList" @handleOk="searchTable" @handleRest="resetTable"></GLCombiForm>
<div class="leadList">
<div>
<span>{{ showTitle }}</span>
</div>
<div>
<el-button size="small" @click="handleExport">导出</el-button>
<el-button class="marketSOP" size="small" @click="marketButton()">营销SOP</el-button>
</div>
</div>
<GLTable v-loading="loading" :hasNum="true" @setTableHeightEvent="setTableHeightEvent" @setTableFinishFun="setTableFinishFun" ref="marketPeople" :getListApi="getListApi" :searchForm="searchForm" :pageConf="pageConf" :tableParams="tableParams"></GLTable>
</div>
</el-tab-pane>
<el-tab-pane label="营销计划" name="second">
<marketing-plan v-if="activeName == 'second'"></marketing-plan>
</el-tab-pane>
</el-tabs>
</div>
</template>
<script>
import marketingPlan from './components/marketingPlan.vue'
import Swiper from 'swiper'
import util from '@/utils/util'
import 'swiper/dist/css/swiper.min.css'
export default {
name: 'marketPeople',
components: { marketingPlan },
data() {
return {
activeName: 'first',
searchForm: {},
isActive: -1,
displayNum: 4, //展示的数目
closeFlag: false, //展开收起
showTitle: '', // 展示的标题
itemArr: [
// 后台传一个状态回来
{ title: 'N-23待定保客户', num: 323, desc: '我顶着大太阳,只想为你撑伞', id: 1, type: 'false' },
{ title: 'N-45待定保客户', num: 1312, desc: '你专心在画睫毛,我专心在等你笑', id: 2 },
{ title: 'N-33待定保客户', num: 43133, desc: '气球在我手上,牵着你瞎逛' },
{ title: 'N-1待定保客户', num: 123213, desc: '城堡为爱守着秘密,而我为你守着爱情' },
{ title: 'N-2待定保客户', num: 1233, desc: '喜欢在人潮中,你只属于我的那画面' },
{ title: 'N-7待定保客户', num: 43133, desc: '但偏偏,风渐渐,把距离吹的好远' },
{ title: 'N-6待定保客户', num: 123213, desc: '最美的不是下雨天,是曾与你躲过雨的屋檐' },
{ title: 'N-5待定保客户', num: 1233, desc: '美人鱼的眼泪' },
{ title: 'N-4待定保客户', num: 1233, desc: '我一路向北,离开有你的季节' }
],
marketPeopleFormList: [
{
type: 'input',
inputType: 'text',
name: 'keyword',
label: '车牌号'
},
{
type: 'input',
inputType: 'text',
name: 'keyword',
label: '车系'
},
{
type: 'select',
name: 'status',
label: '跟进员工',
optionLabel: 'label',
optionId: 'value',
optionList: [
{
label: '全部',
value: ''
},
{
label: '待跟进',
value: 0
},
{
label: '跟进中',
value: 1
},
{
label: '已完成',
value: 2
}
],
placeholder: '请选择'
},
{
type: 'input',
inputType: 'text',
name: 'keyword',
label: '联系电话'
},
{
type: 'input',
inputType: 'text',
name: 'keyword',
label: '企微名称'
},
{
type: 'input',
inputType: 'text',
name: 'userName',
label: '客户名称'
},
{
type: 'select',
name: 'isJoin',
label: '是否已加企微',
placeholder: '请选择',
optionLabel: 'label',
optionId: 'value',
optionList: [
{
label: '全部',
value: null
},
{
label: '是',
value: 1
},
{
label: '否',
value: 0
}
]
},
{
type: 'datePicker',
name: 'daterange',
label: '购车',
valueFormat: 'yyyy-MM-dd',
pickerOptions: {
disabledDate(time) {
return time.getTime() > Date.now() || time.getTime() < new Date('2017-12-31').getTime()
}
}
},
{
type: 'datePicker',
name: 'daterange',
label: '车险到期时间',
valueFormat: 'yyyy-MM-dd',
pickerOptions: {
disabledDate(time) {
return time.getTime() > Date.now() || time.getTime() < new Date('2017-12-31').getTime()
}
}
}
],
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'count' },
tableParams: {
listName: 'data',
tableColumns: [
{
label: '客户名称',
prop: 'customerName',
addHtml: 'customerName',
minWidth: 150
},
{
label: '企微名称',
prop: 'customerPhone',
minWidth: 120
},
{
label: '性别',
prop: 'customerSex',
addHtml: 'customerSex'
},
{
label: '入群方式',
prop: 'joinScene',
addHtml: 'joinScene',
minWidth: 140
},
{
label: '邀请人',
prop: 'invitorName',
minWidth: 120
},
{
label: '入群时间',
prop: 'joinTime',
width: 170
}
],
tableOption: {
width: 60,
btnList: [
{
name: '详情',
pType: 'detail'
}
]
}
}
// getListApi: getDetailQuitTableList,
}
},
mounted() {
new Swiper('.swiper-container', {
// paginationClickable: true,
grabCursor: true,
spaceBetween: 16,
mousewheel: true,
slidesPerView: 'auto',
pagination: {
el: '.swiper-pagination',
type: 'progressbar'
}
})
},
methods: {
// 搜索表格
searchTable() {
console.log(this.searchForm)
this.$refs.marketPeople.refreshTable()
},
//重置表格
resetTable() {
this.searchForm = {}
this.$refs.marketPeople.refreshTable()
},
// 跳转到营销SOP
createMarketSOP(id) {
util.openUrl(location.origin + `/marketing/sop/editSop?addOrEdit=add&fromPage=sopList&corwedId=${id}`)
},
expandClick(val) {
if (val == 'expand') {
this.closeFlag = true
this.displayNum = this.itemArr.length
} else {
this.closeFlag = false
this.displayNum = 4
}
},
// 选择的人群
choickItem(idx, title) {
this.isActive = idx
this.showTitle = title
// 发送请求查询列表
},
setTableFinishFun() {
this.$refs.marketPeople.data.length ? (this.$refs.marketPeople.tableHeightValues = '') : this.$refs.marketPeople.setTableHeightFun()
},
setTableHeightEvent() {
this.$refs.marketPeople.setTableHeightFun()
},
handleClick(tab) {
console.log(tab)
}
}
}
</script>
<style lang="scss" scoped>
/deep/.swiper-container-horizontal > .swiper-pagination-progressbar {
width: 5%;
bottom: 0px;
top: auto;
right: 0;
margin: auto;
border-radius: 3px;
background: #dddee0;
.swiper-pagination-progressbar-fill {
background: #5850ff;
border-radius: 3px;
}
}
#swiper {
padding: 0 20px;
.swiper-wrapper {
margin-bottom: 20px;
.swiper-slide {
width: 274px;
.marketItem-border {
min-height: 251px;
.peopleName {
height: 54px;
line-height: 54px;
background: #f7f7fc;
font-size: 16px;
font-weight: 600;
padding-left: 16px;
vertical-align: middle;
}
.itemBox {
border-left: 1px solid #ededf0;
border-right: 1px solid #ededf0;
border-bottom: 1px solid #ededf0;
padding: 0 16px;
box-sizing: border-box;
.peopleNum {
padding: 24px 0;
font-size: 26px;
font-weight: 600;
color: #333333;
span {
font-size: 14px;
font-weight: 400;
}
}
.peopledesc {
font-size: 14px;
color: #999999;
line-height: 20px;
height: 40px;
}
.createSOP {
margin: 24px 0;
border-radius: 4px;
border: 1px solid #5850ff;
width: 100%;
color: #5850ff;
padding: 9px 20px;
}
}
}
}
}
}
.active {
border: 1px solid #5850ff;
}
.topTitle {
.title {
color: #333333;
font-size: 20px;
font-weight: 600;
}
.desc {
margin-left: 8px;
font-size: 14px;
color: #666666;
}
}
/deep/.el-tabs__header {
padding: 5px 0;
.el-tabs__item {
font-size: 16px;
}
}
.pageContent {
padding: 0 0 20px;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
background-color: #fff;
.markPeople {
padding: 20px 20px 0;
display: flex;
justify-content: space-between;
font-weight: 600;
color: #333333;
span:last-child {
color: #5850ff;
cursor: pointer;
}
}
.bigMarketItem {
padding: 0 20px;
display: grid;
grid-template-columns: 25% 25% 25% 25%;
.marketItem {
margin-right: 16px;
margin-bottom: 16px;
// width: 25%;
&:nth-child(4n) {
margin-right: 0;
}
.peopleName {
height: 54px;
line-height: 54px;
background: #f7f7fc;
font-size: 16px;
font-weight: 600;
padding-left: 16px;
vertical-align: middle;
}
.itemBox {
border-left: 1px solid #ededf0;
border-right: 1px solid #ededf0;
border-bottom: 1px solid #ededf0;
padding: 0 16px;
box-sizing: border-box;
.peopleNum {
padding: 24px 0;
font-size: 26px;
font-weight: 600;
color: #333333;
span {
font-size: 14px;
font-weight: 400;
}
}
.peopledesc {
font-size: 14px;
color: #999999;
line-height: 20px;
}
.createSOP {
margin: 24px 0;
border-radius: 4px;
border: 1px solid #5850ff;
width: 100%;
color: #5850ff;
padding: 9px 20px;
}
}
}
}
.progressBar {
width: 40px;
height: 4px;
background: #dddee0;
border-radius: 3px;
margin: 20px auto 0px;
.progress {
background: #5850ff;
height: 4px;
width: 0;
border-radius: 3px;
}
}
}
.otherPageContent {
padding: 20px 20px 30px;
margin-top: 16px;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
background-color: #fff;
.leadList {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
div {
text-align: center;
span:nth-child(1) {
font-weight: 600;
font-size: 20px;
}
}
/deep/ .el-button {
color: #5850ff;
border: 1px solid #5850ff;
}
.marketSOP {
color: #666666;
border: 1px solid #696969;
}
}
}
.PageContent2 {
padding: 20px 20px 30px;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
background-color: #fff;
}
</style>
<template> <template>
<div class="scrm-sub-client-container"> <div class="scrm-sub-client-container">
<div class="head-container"> <div class="head-container">
<template v-if="crowdType == ''"> <template v-if="crowdType == '3'">
<div class="head-container-title color-3 font-20">{{ $Constants.DESCRIBEDATA[id - 1].name }}</div> <div class="head-container-title color-3 font-20">{{ $Constants.DESCRIBEDATA.find(item => item.id == id) ? $Constants.DESCRIBEDATA.find(item => item.id == id).name : '' }}</div>
<div class="head-container-content color-6 font-14">{{ $Constants.DESCRIBEDATA[id - 1].info }}</div> <div class="head-container-content color-6 font-14">{{ $Constants.DESCRIBEDATA.find(item => item.id == id) ? $Constants.DESCRIBEDATA.find(item => item.id == id).info : '' }}</div>
</template> </template>
<template v-else> <template v-else>
<div class="head-container-title color-3 font-20">{{ crowdForm.crowdName }}</div> <div class="head-container-title color-3 font-20">{{ crowdForm.crowdName }}</div>
...@@ -19,10 +19,16 @@ ...@@ -19,10 +19,16 @@
全部客户 全部客户
<span class="main-container-head-number font-14">{{ totalCount }}个</span> <span class="main-container-head-number font-14">{{ totalCount }}个</span>
</div> </div>
<GLButton size="small" @click="handleExport" class="export" fn="导出">导出</GLButton> <div>
<el-button size="small" @click="handleExport" class="export">导出</el-button>
<el-button plain size="small">
营销SOP
</el-button>
</div>
</div> </div>
<GLTable ref="groupRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :noDataImg="url" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="groupRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :noDataImg="url" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<span slot="customerName" slot-scope="scope" style="display:flex;align-items:center"> <span slot="customerName" slot-scope="scope" style="display: flex; align-items: center">
<el-tooltip effect="dark" :content="scope.scope.customerName" placement="top"> <el-tooltip effect="dark" :content="scope.scope.customerName" placement="top">
<span class="ellipsis-1" style="display: inline-block; max-width: 70px; text-align: left">{{ scope.scope.customerName }}</span> <span class="ellipsis-1" style="display: inline-block; max-width: 70px; text-align: left">{{ scope.scope.customerName }}</span>
</el-tooltip> </el-tooltip>
...@@ -56,12 +62,13 @@ ...@@ -56,12 +62,13 @@
<script> <script>
import { getCustomerList, getcrowdManageList, customerClusterListExport } from '@/api/modules/clientDataOverview' import { getCustomerList, getcrowdManageList, customerClusterListExport } from '@/api/modules/clientDataOverview'
import { getStaffList } from '@/api/modules/clientManage' import { getStaffList } from '@/api/modules/clientManage'
// import Constants from '@common/constants.js'
import url from '@/assets/empty.png' import url from '@/assets/empty.png'
export default { export default {
name: 'group', name: 'group',
data() { data() {
return { return {
getListApi: this.$route.params.crowdType ? getcrowdManageList : getCustomerList, getListApi: this.$route.params.crowdType == '1' || this.$route.params.crowdType == '2' ? getcrowdManageList : getCustomerList,
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'count' }, pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'count' },
tableSearchForm: { tableSearchForm: {
customerPhone: '', customerPhone: '',
...@@ -91,11 +98,11 @@ export default { ...@@ -91,11 +98,11 @@ export default {
name: 'nickName', name: 'nickName',
label: '企微名称' label: '企微名称'
}, },
{ // {
type: 'input', // type: 'input',
name: 'customerName', // name: 'customerName',
label: '客户名称' // label: '客户名称'
}, // },
{ {
type: 'select', type: 'select',
name: 'isJoin', name: 'isJoin',
...@@ -131,40 +138,41 @@ export default { ...@@ -131,40 +138,41 @@ export default {
label: '客户名称', label: '客户名称',
prop: 'customerName', prop: 'customerName',
addHtml: 'customerName', addHtml: 'customerName',
minWidth: 150 width: 150
}, },
{ {
label: '企微名称', label: '企微名称',
prop: 'nickNameList', prop: 'nickNameList',
addHtml: 'nickNameList', addHtml: 'nickNameList',
minWidth: 220 width: 220
}, },
{ {
label: '联系电话', label: '联系电话',
prop: 'customerPhone', prop: 'customerPhone',
minWidth: 130 width: 130
}, },
{ {
label: '车牌号', label: '车牌号',
prop: 'carNumber', prop: 'carNumber',
minWidth: 120 width: 120
}, },
{ {
label: '车架号', label: '车架号',
prop: 'carVin', prop: 'carVin',
minWidth: 140, width: 140,
line:1 line: 1
}, },
{ {
label: '车系', label: '车系',
prop: 'audi', prop: 'audi',
minWidth: 170 width: 170
}, },
{ {
label: '跟进员工', label: '跟进员工',
prop: 'followStaff', prop: 'followStaff',
// addHtml: 'followStaff', // addHtml: 'followStaff',
minWidth: 170 width: 170,
line:1
}, },
{ {
label: '是否加企微', //1. 加入,0.未加入 label: '是否加企微', //1. 加入,0.未加入
...@@ -190,13 +198,37 @@ export default { ...@@ -190,13 +198,37 @@ export default {
} }
] ]
}, },
url: url url: url
} }
}, },
created() { created() {
let { id } = this let { id } = this
this.init(id) this.init(id)
// 针对广汇替换字段
if (this.id == 1 && location.host.includes('cgacar')) {
this.tableParams.tableColumns.splice(
3,
3,
{
label: '线索时间',
prop: 'clueTime',
width: 170,
line: 1
},
{
label: '意向车型',
prop: 'intentModel',
width: 170,
line: 1
},
{
label: '线索来源',
prop: 'clueSource',
width: 150,
line: 1
}
)
}
}, },
mounted() { mounted() {
this.getStaffList() this.getStaffList()
...@@ -275,7 +307,23 @@ export default { ...@@ -275,7 +307,23 @@ export default {
this.$refs.groupRef.data.length ? (this.$refs.groupRef.tableHeightValues = '') : this.$refs.groupRef.setTableHeightFun() this.$refs.groupRef.data.length ? (this.$refs.groupRef.tableHeightValues = '') : this.$refs.groupRef.setTableHeightFun()
}, },
goBack() { goBack() {
this.$router.go(-1) if (this.crowdType == 1) {
this.$router.push({
path: '/crowdManage/index',
query: {
selectTab: 1
}
})
} else if (this.crowdType == 2) {
this.$router.push({
path: '/crowdManage/index',
query: {
selectTab: 2
}
})
} else {
this.$router.push('/clientDataOverview/index')
}
} }
} }
} }
...@@ -348,7 +396,7 @@ export default { ...@@ -348,7 +396,7 @@ export default {
padding: 20px; padding: 20px;
box-sizing: border-box; box-sizing: border-box;
.main-container-head { .main-container-head {
margin-bottom: 20px; margin-bottom: 10px;
&-title { &-title {
font-weight: 500; font-weight: 500;
line-height: 20px; line-height: 20px;
......
...@@ -8,30 +8,37 @@ ...@@ -8,30 +8,37 @@
</template> </template>
<!-- @click="goNextPage" --> <!-- @click="goNextPage" -->
<div class="bannerWrapBox" v-if="isHasCustomerCountBanner"> <div class="bannerWrapBox" v-if="isHasCustomerCountBanner">
<!-- <img src="@/assets/clientDetail/defaultAvator.png" class="inTimeBtn" alt="" /> -->
<img class="bannerWrap" usemap="#planetmap" src="@/assets/clientDataOverview/companyBanner.png" alt="" /> <img class="bannerWrap" usemap="#planetmap" src="@/assets/clientDataOverview/companyBanner.png" alt="" />
<map name="planetmap" id="planetmap" style="cursor: pointer"> <map name="planetmap" id="planetmap" style="cursor: pointer">
<!-- href="https://www.baidu.com" -->
<area shape="rect" coords="849,97,933,121" @click="goNextPage" target="_blank" /> <area shape="rect" coords="849,97,933,121" @click="goNextPage" target="_blank" />
</map> </map>
</div> </div>
<h3 class="pageSubTitle">客户分层</h3>
<div class="topmsg"> <div class="topmsg">
<span class="normalTitle">客户分层</span>
<div style="display:flex">
<div class="leftPieEcharts"> <div class="leftPieEcharts">
<div class="leftIntro">
<span class="title">客户总数</span> <span class="title">客户总数</span>
<span class="subtitle" v-if="accountLevel == 4">门店的所有客户数,包括企微客户,导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重</span> <el-popover placement="top" width="400" trigger="hover" content="门店的所有客户数,包括企微客户、导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重">
<span class="subtitle" v-else>企业的所有客户数,包括企业客户和旗下所有门店客户,并根据手机号码识别同一客户后合并去重</span> <span class="dataOverPopover">门店的所有客户数,包括企微客户、导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重</span>
<span class="clientTotal"> <img class="questionImg" v-if="accountLevel == 4" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
</el-popover>
<el-popover placement="top" width="400" trigger="hover" content="企业的所有客户数,包括企业客户和旗下所有门店客户,并根据手机号码识别同一客户后合并去重">
<span class="dataOverPopover">企业的所有客户数,包括企业客户和旗下所有门店客户,并根据手机号码识别同一客户后合并去重</span>
<img class="questionImg" v-if="accountLevel !== 4" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
</el-popover>
</div>
<p class="clientTotal">
<!-- 可以动态跑数字 --> <!-- 可以动态跑数字 -->
<!-- <animate-number from="0" :to="(topDataObj.customerCount || 0) | overThousandFilter" :key="(topDataObj.customerCount || 0) | overThousandFilter" duration="2000"></animate-number> --> <!-- <animate-number from="0" :to="(topDataObj.customerCount || 0) | overThousandFilter" :key="(topDataObj.customerCount || 0) | overThousandFilter" duration="2000"></animate-number> -->
{{ (topDataObj.customerCount || 0) | overThousandFilter }}人 {{ (topDataObj.customerCount || 0) | overThousandFilter }}
<!-- <span class="person-text">人</span> --> <span class="totalUnit">人</span>
</span> </p>
<template v-if="isShowData"> <template v-if="isShowData">
<div class="topIcon"> <!-- <div class="topIcon">
<span class="top-inWechat">已加企微</span> <span class="top-inWechat">已加企微</span>
<span class="top-outWechat">未加企微</span> <span class="top-outWechat">未加企微</span>
</div> </div> -->
<div class="qiwei-total"> <div class="qiwei-total">
<div class="qiwei-describe"> <div class="qiwei-describe">
<div class="inWechat">已加企微</div> <div class="inWechat">已加企微</div>
...@@ -44,108 +51,175 @@ ...@@ -44,108 +51,175 @@
</div> </div>
<!-- 引入echart组件 --> <!-- 引入echart组件 -->
<pie-echart width="100%" height="448px" :topDataObj="topDataObj"></pie-echart> <pie-echart width="100%" height="300px" :topDataObj="topDataObj"></pie-echart>
<!-- <pie-echart-copy class="pieCopy" width="100%" height="300px" :topDataObj="topDataObj"></pie-echart-copy> -->
<div class="personsMap" v-if="topDataObj.entmicroAddCustomerCount > 0"> <div class="personsMap" v-if="topDataObj.entmicroAddCustomerCount > 0">
<!-- <pictorial-bar width="100%" height="500px" :entmicroAddCustomerCount="topDataObj.entmicroAddCustomerCount" :entmicroNotAddCustomerCount="topDataObj.entmicroNotAddCustomerCount"></pictorial-bar> --> <!-- <pictorial-bar width="100%" height="500px" :entmicroAddCustomerCount="topDataObj.entmicroAddCustomerCount" :entmicroNotAddCustomerCount="topDataObj.entmicroNotAddCustomerCount"></pictorial-bar> -->
</div> </div>
</template> </template>
<no-data :type="'hasIconText'" v-if="!isShowData"></no-data> <no-data :type="'hasIconText'" v-if="!isShowData"></no-data>
</div> </div>
<div class="itembox"> <div class="itembox">
<div style="display:flex;overflow:hidden">
<div class="buy"> <div class="buy">
<div class="buy-total item" @click="goto(4)" fn="人群客户列表" mode="div"> <div class="buy-total item" @click="goto(4)" fn="人群客户列表" mode="div">
<!-- <span>购买(存档)客户数</span> --> <div class="buyTitle">
<span>基盘客户数</span> <span class="client">基盘客户</span>
<span>有购车或其他交易行为的所有客户</span> <el-popover placement="top" trigger="hover" content="有购车或其他交易行为的所有客户">
<span v-if="!isEmptyObj"> <span class="dataOverPopover">有购车或其他交易行为的所有客户</span>
{{ (topDataObj.purchaseCustomerCount || 0) | overThousandFilter }}人 <img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
<!-- <span class="person-text">人</span> --> </el-popover>
</div>
<div class="proportion">
<span class="proNum" v-if="!isEmptyObj">
{{ (topDataObj.purchaseCustomerCount || 0) | overThousandFilter }}
<span class="proPerson">人</span>
</span> </span>
<span class="ratio" v-if="!isEmptyObj">
<span v-if="!isEmptyObj"> 占比:
占比:{{ purchasePercent }}% <img src="@/assets/clientDataOverview/upIcon.png" />
<i class="triangle" :class="{ active: isBuyUp === 2 }" v-if="isBuyUp"></i> {{ purchasePercent }}%
<i v-else>--</i> <!-- <i class="triangle-+" :class="{ active: isBuyUp === 2 }" v-if="isBuyUp"></i>
<i v-else>--</i> -->
</span> </span>
</div>
<el-divider></el-divider>
<no-data :type="'hasText'" v-if="isEmptyObj"></no-data> <no-data :type="'hasText'" v-if="isEmptyObj"></no-data>
<!-- <i class="vertical-line"></i> --> <div class="firmClient">
<div @click="goto(5)" fn="人群客户列表" mode="div" class="wid50">
<div class="clientCompleted">
<span>已加企微</span>
<el-popover placement="top" trigger="hover" content="在基盘客户中,已加企微的客户">
<span class="dataOverPopover">在基盘客户中,已加企微的客户</span>
<img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
</el-popover>
</div> </div>
<el-divider direction="vertical"></el-divider> <p class="clientNum">
<div class="rightWrap"> {{ (topDataObj.purchaseCustomerAddCount || 0) | overThousandFilter }}
<div class="inCompanyWechatNum item smallWrap" @click="goto(5)" fn="人群客户列表" mode="div"> <span class="personText">人</span>
<span>已加企微客户数</span> <span class="numPro">占比:{{ topDataObj.purchaseCustomerAddPercent | percentageDeal }}%</span>
<span> </p>
{{ (topDataObj.purchaseCustomerAddCount || 0) | overThousandFilter }}人 <!-- <div class="marketingBtn">
<!-- <span class="person-text">人</span> --> <el-dropdown>
<span class="el-dropdown-link">
一键营销`
<i class="el-icon-arrow-down el-icon--right"></i>
</span> </span>
<span>在基盘客户中,已加企微的客户</span> <el-dropdown-menu slot="dropdown">
<!-- <button class="btn">企微魔方&gt;&gt;</button> --> <el-dropdown-item>智能营销</el-dropdown-item>
<!-- <i class="horizontal-line"></i> --> <el-dropdown-item>群发助手</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div> -->
</div> </div>
<el-divider></el-divider> <div @click="goto(6)" fn="人群客户列表" mode="div" class="wid50">
<div class="outCompanyWechatNum item smallWrap" @click="goto(6)" fn="人群客户列表" mode="div"> <div class="clientCompleted">
<span>未加企微客户数</span> <span>未加企微</span>
<span> <el-popover placement="top" trigger="hover" content="在基盘客户中,未加企微的客户">
{{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }}人 <span class="dataOverPopover">在基盘客户中,未加企微的客户</span>
<!-- <span class="person-text">人</span> --> <img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
</span> </el-popover>
</div>
<p class="clientNum">
{{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }}
<span class="personText">人</span>
<span class="numPro">占比:{{ topDataObj.purchaseCustomerNAddPercent | percentageDeal }}%</span>
</p>
<!-- <div class="marketingBtn">
智能营销
<i class="el-icon-arrow-right"></i>
</div> -->
<!-- <span>未加企微客户数</span>
<span>{{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }}人</span>
<span>在基盘客户中,未加企微的客户</span> <span>在基盘客户中,未加企微的客户</span>
<button class="btn" @click.stop="toGuideCompanyWechat" v-if="accountLevel == 4"> <button class="btn" @click.stop="toGuideCompanyWechat" v-if="accountLevel == 4">
引流企微 引流企微
<i class="el-icon-d-arrow-right"></i> <i class="el-icon-d-arrow-right"></i>
</button> </button> -->
</div>
</div>
</div> </div>
<!-- <el-divider direction="vertical"></el-divider> -->
</div> </div>
<div class="buy">
<div class="buy-total item" @click="goto(1)" fn="人群客户列表" mode="div">
<div class="buyTitle">
<span class="client">潜在意向客户</span>
<el-popover placement="top" trigger="hover" content="无购车且无其他交易行为的所有客户">
<span class="dataOverPopover">无购车且无其他交易行为的所有客户</span>
<img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
</el-popover>
</div> </div>
<div class="no-buy mgt10"> <div class="proportion">
<div class="no-buy-total item" @click="goto(1)" fn="人群客户列表" mode="div"> <span class="proNum" v-if="!isEmptyObj">
<span>潜在意向客户数</span> {{ (topDataObj.purposeCustomerCount || 0) | overThousandFilter }}
<span>无购车且无其他交易行为的所有客户</span> <span class="proPerson">人</span>
<span v-if="!isEmptyObj">
{{ (topDataObj.purposeCustomerCount || 0) | overThousandFilter }}人
<!-- <span class="person-text">人</span> -->
</span> </span>
<span v-if="!isEmptyObj"> <span class="ratio" v-if="!isEmptyObj">
占比:{{ purposePercent }}% 占比:
<!-- active: !isNoBuyUp 有active就是绿色--> <img src="@/assets/clientDataOverview/upIcon.png" />
<i class="triangle" :class="{ active: isNoBuyUp === 2 }" v-if="isNoBuyUp"></i> {{ purposePercent }}%
<i v-else>--</i> <!-- <i class="triangle" :class="{ active: isBuyUp === 2 }" v-if="isBuyUp"></i>
<i v-else>--</i> -->
</span> </span>
<!-- <i class="vertical-line"></i> -->
<no-data :type="'hasText'" v-if="isEmptyObj"></no-data>
</div> </div>
<el-divider></el-divider>
<no-data :type="'hasText'" v-if="isEmptyObj"></no-data>
<el-divider direction="vertical"></el-divider> <div class="firmClient">
<div class="rightWrap"> <div @click="goto(2)" fn="人群客户列表" mode="div" class="wid50">
<div class="inCompanyWechatNum item smallWrap" @click="goto(2)" fn="人群客户列表" mode="div"> <div class="clientCompleted">
<span>已加企微客户数</span> <span>已加企微</span>
<span> <el-popover placement="top" trigger="hover" content="在潜在意向客户中,已加企微的客户">
{{ (topDataObj.purposeCustomerAddCount || 0) | overThousandFilter }}人 <span class="dataOverPopover">在潜在意向客户中,已加企微的客户</span>
<!-- <span class="person-text">人</span> --> <img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
</span> </el-popover>
<span>在潜在意向客户中,已加企微的客户</span>
<!-- <i class="horizontal-line"></i> -->
</div> </div>
<el-divider></el-divider> <p class="clientNum">
<div class="outCompanyWechatNum item smallWrap" @click="goto(3)" fn="人群客户列表" mode="div"> {{ (topDataObj.purposeCustomerAddCount || 0) | overThousandFilter }}
<span>未加企微客户数</span> <span class="personText">人</span>
<span> <!-- <span class="numPro">占比:{{ (topDataObj.purposeCustomerAddPercent && topDataObj.purposeCustomerAddPercent.toFixed(2)) || 0 }}%</span> -->
{{ (topDataObj.purposeCustomerNAddCount || 0) | overThousandFilter }}人 <span class="numPro">占比:{{ topDataObj.purposeCustomerAddPercent | percentageDeal }}%</span>
<!-- <span class="person-text">人</span> --> </p>
<!-- <div class="marketingBtn">
<el-dropdown>
<span class="el-dropdown-link">
一键营销
<i class="el-icon-arrow-down el-icon--right"></i>
</span> </span>
<span>在潜在意向客户中,未加企微的客户</span> <el-dropdown-menu slot="dropdown">
<!-- &nbsp;&nbsp;&gt;&gt;--> <el-dropdown-item>智能营销</el-dropdown-item>
<button class="btn" @click.stop="toGuideCompanyWechat" v-if="accountLevel == 4"> <el-dropdown-item>群发助手</el-dropdown-item>
引流企微 </el-dropdown-menu>
<i class="el-icon-d-arrow-right"></i> </el-dropdown>
</button> </div> -->
</div>
<div @click="goto(3)" fn="人群客户列表" mode="div" class="wid50">
<div class="clientCompleted">
<span>未加企微</span>
<el-popover placement="top" trigger="hover" content="在潜在意向客户中,未加企微的客户">
<span class="dataOverPopover">在潜在意向客户中,未加企微的客户</span>
<img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
</el-popover>
</div> </div>
<p class="clientNum">
{{ (topDataObj.purposeCustomerNAddCount || 0) | overThousandFilter }}
<span class="personText">人</span>
<!-- <span class="numPro">占比:{{ (topDataObj.purposeCustomerNAddPercent && topDataObj.purposeCustomerNAddPercent.toFixed(2)) || 0 }}%</span> -->
<span class="numPro">占比:{{ topDataObj.purposeCustomerNAddPercent | percentageDeal }}%</span>
</p>
<!-- <div class="marketingBtn">
智能营销
<i class="el-icon-arrow-right"></i>
</div> -->
</div> </div>
</div> </div>
</div>
<div class="intended mgt10" @click="goto(11)"> </div>
</div>
<!-- 已加企微,待匹配客户 -->
<!-- <div class="intended mgt10" @click="goto(11)">
<div class="intend-name">已加企微,待匹配客户</div> <div class="intend-name">已加企微,待匹配客户</div>
<div class="intend-info">已加企微,且未匹配到潜在意向和基盘客户的客户</div> <div class="intend-info">已加企微,且未匹配到潜在意向和基盘客户的客户</div>
<div class="intend-statistics"> <div class="intend-statistics">
...@@ -156,21 +230,83 @@ ...@@ -156,21 +230,83 @@
<i v-else>--</i> <i v-else>--</i>
</div> </div>
</div> </div>
</div> -->
<div class="intendedTop">
<!-- 已加企微,待匹配客户 -->
<div class="intended" @click="goto(11)">
<p class="intend-name">
<span class="nameHover">已加企微,待匹配客户</span>
<span class="intend-phone" @click.stop="goto(20)">(已绑定手机号{{ (topDataObj.notMatchCustomerAddPhoneCount || 0) | overThousandFilter }}人)</span>
<el-popover placement="top" trigger="hover" content="已加企微,且未匹配到潜在意向或基盘客户的客户">
<span class="dataOverPopover">已加企微,且未匹配到潜在意向或基盘客户的客户</span>
<img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
</el-popover>
</p>
<div class="proportion">
<span class="proNum" v-if="!isEmptyObj">
{{ (topDataObj.waitMatchCustomerAddCount || 0) | overThousandFilter }}
<span class="proPerson">人</span>
</span>
<span class="ratio" v-if="!isEmptyObj">
占比:
<img src="@/assets/clientDataOverview/upIcon.png" />
{{ (topDataObj.waitMatchPercent && topDataObj.waitMatchPercent.toFixed(2)) || 0 }}%
<i class="triangle" :class="{ active: topDataObj.waitMatchUp === 2 }" v-if="topDataObj.waitMatchUp"></i>
<i v-else>--</i>
</span>
</div>
</div>
<!-- 未加企微,未匹配客户 -->
<div class="intended" @click="goto(21)">
<p class="intend-name">
<span>未加企微,未匹配客户</span>
<el-popover placement="top" trigger="hover" content="未添加企微或添加企微后删除好友,且未匹配到意向和基盘客户的客户">
<span class="dataOverPopover">未添加企微或添加企微后删除好友,且未匹配到意向和基盘客户的客户</span>
<img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
</el-popover>
</p>
<div class="proportion">
<span class="proNum" v-if="!isEmptyObj">
{{ (topDataObj.notMatchCustomerNAddCount || 0) | overThousandFilter }}
<span class="proPerson">人</span>
</span>
<span class="ratio" v-if="!isEmptyObj">
占比:
<img src="@/assets/clientDataOverview/upIcon.png" />
{{ topDataObj.notMatchCustomerNAddPercent | percentageDeal }}%
<i class="triangle" :class="{ active: topDataObj.waitMatchUp === 2 }" v-if="topDataObj.waitMatchUp"></i>
<i v-else>--</i>
</span>
</div>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
<div class="middlemsg"> <div class="middlemsg">
<h3 class="pageSubTitle">客户分群</h3> <div class="settiongBox">
<span class="normalTitle">客户分群</span>
<div class="set">
<span>设置</span>
<i class="el-icon-arrow-right color-58"></i>
</div>
</div>
<div class="itembox"> <div class="itembox">
<template v-for="(item, index) in titles"> <template v-for="(item, index) in titles">
<div class="item" @click="goto(item.id)" fn="人群客户列表" mode="div" :key="index"> <!-- fn="人群客户列表" mode="div" -->
<p>{{ item.name }}</p> <div class="item" @click="goToGroupOperating()" :key="index">
<p>{{ item.subName }}</p> <div class="itemTitle">
<p> <span class="itemName">{{ item.name }}</span>
{{ item.num | overThousandFilter }}人 <el-popover placement="top" trigger="hover" :content="item.subName">
<!-- <span class="person-text">人</span> --> <span class="dataOverPopover">{{ item.subName }}</span>
<img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
</el-popover>
</div>
<div class="itemBottom">
<p class="totalNum">
{{ item.num | overThousandFilter }}
<span class="enum">人</span>
</p> </p>
<img :src="item.url" alt="" />
<div class="middlemsg-qiwei-total"> <div class="middlemsg-qiwei-total">
<div class="qiwei-describe"> <div class="qiwei-describe">
<div class="inWechat">已加企微</div> <div class="inWechat">已加企微</div>
...@@ -188,11 +324,13 @@ ...@@ -188,11 +324,13 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</template> </template>
</div> </div>
</div> </div>
<h3 class="pageSubTitle">客户增长趋势</h3> <!-- <h3 class="pageSubTitle">客户增长趋势</h3> -->
<div class="bottommsg"> <div class="bottommsg">
<span class="normalTitle">客户增长趋势</span>
<no-data :type="'hasIconText'" v-if="!isShowBarMap"></no-data> <no-data :type="'hasIconText'" v-if="!isShowBarMap"></no-data>
<template v-if="isShowBarMap"> <template v-if="isShowBarMap">
<span class="timeDuring">{{ allMapList[0].dateTime }}~{{ allMapList[allMapList.length - 1].dateTime }}</span> <span class="timeDuring">{{ allMapList[0].dateTime }}~{{ allMapList[allMapList.length - 1].dateTime }}</span>
...@@ -201,7 +339,7 @@ ...@@ -201,7 +339,7 @@
<button class="btn7 optionBtn" :class="{ activeDayIcon: this.timeGap == 7 }" @click="clickSeven">近7天</button> <button class="btn7 optionBtn" :class="{ activeDayIcon: this.timeGap == 7 }" @click="clickSeven">近7天</button>
<div class="clientAddTrend"> <div class="clientAddTrend">
<div class="one1"> <div class="one1">
<span>区间统计:</span> <span>区间合计:</span>
<span> <span>
全部客户: 全部客户:
<a>{{ bottomDataObj.customerCount | overThousandFilter }}人</a> <a>{{ bottomDataObj.customerCount | overThousandFilter }}人</a>
...@@ -238,12 +376,8 @@ import { rwdImageMaps } from './jquery.rwdImageMaps.js' ...@@ -238,12 +376,8 @@ import { rwdImageMaps } from './jquery.rwdImageMaps.js'
import { getDataOverview, getDataOverviewBarMap } from '@/api/modules/clientDataOverview' import { getDataOverview, getDataOverviewBarMap } from '@/api/modules/clientDataOverview'
import { getLoginCount } from '@/api/modules/loginCount' import { getLoginCount } from '@/api/modules/loginCount'
import pieEchart from '@/components/echarts/pieEchart' import pieEchart from '@/components/echarts/pieEchart'
// import pieEchartCopy from '@/components/echarts/pieEchartCopy'
import multipleEchart from '@/components/echarts/multipleEchart' import multipleEchart from '@/components/echarts/multipleEchart'
// import pictorialBar from '@/components/echarts/pictorialBar'
import url1 from '../../assets/clientDataOverview/cars.png'
import url2 from '../../assets/clientDataOverview/renewal.png'
import url3 from '../../assets/clientDataOverview/maintenance.png'
import url4 from '../../assets/clientDataOverview/silence.png'
import noData from '@/components/noData/noData' import noData from '@/components/noData/noData'
export default { export default {
name: 'clientDataOverview', name: 'clientDataOverview',
...@@ -252,9 +386,11 @@ export default { ...@@ -252,9 +386,11 @@ export default {
multipleEchart, multipleEchart,
// pictorialBar, // pictorialBar,
noData noData
// pieEchartCopy
}, },
data() { data() {
return { return {
crowdType: 3,
isCloseShowNumTag: false, isCloseShowNumTag: false,
isReload: true, isReload: true,
isShowModal: false, isShowModal: false,
...@@ -285,7 +421,6 @@ export default { ...@@ -285,7 +421,6 @@ export default {
noAdd: obj => { noAdd: obj => {
return obj.newCarCustomerNAddCount return obj.newCarCustomerNAddCount
}, },
url: url1,
id: 7 id: 7
}, },
{ {
...@@ -298,7 +433,6 @@ export default { ...@@ -298,7 +433,6 @@ export default {
noAdd: obj => { noAdd: obj => {
return obj.needRenewalCustomerNAddCount return obj.needRenewalCustomerNAddCount
}, },
url: url2,
id: 8 id: 8
}, },
{ {
...@@ -311,7 +445,6 @@ export default { ...@@ -311,7 +445,6 @@ export default {
noAdd: obj => { noAdd: obj => {
return obj.burseholderCustomerNAddCount return obj.burseholderCustomerNAddCount
}, },
url: url3,
id: 9 id: 9
}, },
{ {
...@@ -324,7 +457,6 @@ export default { ...@@ -324,7 +457,6 @@ export default {
noAdd: obj => { noAdd: obj => {
return obj.silenceCustomerNAddCount return obj.silenceCustomerNAddCount
}, },
url: url4,
id: 10 id: 10
} }
], ],
...@@ -354,6 +486,12 @@ export default { ...@@ -354,6 +486,12 @@ export default {
}) })
}) })
}, },
filters: {
percentageDeal(val) {
if (val) return (val * 100).toFixed(2) || 0
return 0
}
},
computed: { computed: {
isEmptyObj() { isEmptyObj() {
if (Object.keys(this.topDataObj).length == 0) { if (Object.keys(this.topDataObj).length == 0) {
...@@ -387,8 +525,10 @@ export default { ...@@ -387,8 +525,10 @@ export default {
//不是首次进来,登录次数为2,客户总数大于0,不显示banner,小于0,继续显示banner; //不是首次进来,登录次数为2,客户总数大于0,不显示banner,小于0,继续显示banner;
this.getDataOverviewBarMapFun() this.getDataOverviewBarMapFun()
}, },
methods: { methods: {
goToGroupOperating() {
this.$router.push('/clientDataOverview/GroupOperating/marketingPeople')
},
goNextPage() { goNextPage() {
// window.open('https://www.baidu.com', '_blank') // window.open('https://www.baidu.com', '_blank')
// this.dialogVisible = true // this.dialogVisible = true
...@@ -585,7 +725,8 @@ export default { ...@@ -585,7 +725,8 @@ export default {
//跳转到人群客户列表 //跳转到人群客户列表
goto(id) { goto(id) {
if (this.userType == 2) return if (this.userType == 2) return
this.$router.push('/clientDataOverview/group/' + id) // this.$router.push('/clientDataOverview/group/' + id )
this.$router.push(`/clientDataOverview/group/${id}/${this.crowdType}`)
} }
} }
} }
...@@ -594,6 +735,15 @@ export default { ...@@ -594,6 +735,15 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '@/styles/variables.scss'; @import '@/styles/variables.scss';
@import '@/styles/resetelement.scss'; @import '@/styles/resetelement.scss';
.dataOverPopover {
font-size: 12px;
line-height: 18px;
color: #666666;
}
.pieCopy {
//设置两个pie重合
top: -300px;
}
.scrm-sub-client-container { .scrm-sub-client-container {
.person-text { .person-text {
font-size: 16px !important; font-size: 16px !important;
...@@ -638,27 +788,13 @@ export default { ...@@ -638,27 +788,13 @@ export default {
left: 50%; left: 50%;
bottom: 18%; bottom: 18%;
transform: translateX(-50%); transform: translateX(-50%);
// font-size: 16px;
// font-weight: 500;
// color: #fff;
// background-color: $btnBlue;
// border-radius: 4px;
} }
.bannerWrapBox { .bannerWrapBox {
width: 100%; width: 100%;
min-width: 1050px; min-width: 1050px;
// position: relative;
// .inTimeBtn {
// position: absolute;
// bottom: 20px;
// right: 50px;
// }
.bannerWrap { .bannerWrap {
width: 100%; width: 100%;
// height: 146px;
//object-fit: contain; //保持图片的原始比例,最大程度展示 //object-fit: contain; //保持图片的原始比例,最大程度展示
} }
} }
...@@ -673,25 +809,26 @@ export default { ...@@ -673,25 +809,26 @@ export default {
letter-spacing: 1px; letter-spacing: 1px;
} }
.topmsg { .topmsg {
display: flex; // display: flex;
min-width: 1050px; min-width: 1050px;
background: #ffffff;
.leftPieEcharts { .leftPieEcharts {
position: relative; position: relative;
background-color: #fff; background-color: #fff;
width: 372px; width: 372px;
height: 554px; //470 height: 370px;
// height: 480px; //470
box-sizing: border-box; box-sizing: border-box;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); .leftIntro {
margin-top: 20px;
.title { .title {
position: absolute; margin-left: 20px;
left: 20px;
top: 20px;
font-weight: bold; font-weight: bold;
font-size: 16px; font-size: 16px;
color: #333333; color: #333333;
height: 22px;
line-height: 22px;
} }
}
.subtitle { .subtitle {
position: absolute; position: absolute;
padding-right: 16px; padding-right: 16px;
...@@ -703,15 +840,15 @@ export default { ...@@ -703,15 +840,15 @@ export default {
line-height: 20px; line-height: 20px;
} }
.clientTotal { .clientTotal {
position: absolute; margin: 16px 0 0 20px;
right: 20px; font-size: 36px;
top: 20px;
height: 26px;
font-size: 26px;
font-weight: 500;
color: #333333; color: #333333;
line-height: 26px; font-weight: 700;
z-index: 9; .totalUnit {
font-size: 16px;
color: #333333;
font-weight: 400;
}
} }
.topIcon { .topIcon {
position: absolute; position: absolute;
...@@ -756,58 +893,39 @@ export default { ...@@ -756,58 +893,39 @@ export default {
width: 372px; width: 372px;
padding: 0 57px; padding: 0 57px;
position: absolute; position: absolute;
bottom: 38px; bottom: 18px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
box-sizing: border-box; box-sizing: border-box;
} }
.inWechat { .inWechat {
// position: absolute;
// left: 57px;
// top: 365px;
height: 20px;
font-size: 14px; font-size: 14px;
font-weight: 400;
color: #333333; color: #333333;
line-height: 20px;
z-index: 9; z-index: 9;
margin-bottom: 4px; text-align: center;
margin-bottom: 8px;
} }
.blueNum { .blueNum {
// position: absolute;
// left: 57px;
// top: 389px;
height: 25px; height: 25px;
font-size: 18px; font-size: 18px;
text-align: center; text-align: center;
font-weight: 600; font-weight: 600;
color: #716aff; color: #333333;
line-height: 25px; line-height: 25px;
z-index: 9; z-index: 9;
} }
.outWechat { .outWechat {
// position: absolute;
// right: 57px;
// top: 365px;
height: 20px;
font-size: 14px; font-size: 14px;
font-weight: 400;
color: #333333; color: #333333;
line-height: 20px;
background-color: #fff;
z-index: 9; z-index: 9;
margin-bottom: 4px; text-align: center;
margin-bottom: 8px;
} }
.yellowNum { .yellowNum {
// position: absolute;
// right: 57px;
// top: 389px;
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
color: #fe9c1c; color: #333333;
line-height: 25px; line-height: 25px;
text-align: center; text-align: center;
} }
...@@ -820,8 +938,8 @@ export default { ...@@ -820,8 +938,8 @@ export default {
} }
} }
.itembox { .itembox {
width: calc(100% - 382px); width: calc(100% - 392px);
margin-top: 20px;
.item { .item {
// border: 1px solid rgba(121, 121, 121, 1); // border: 1px solid rgba(121, 121, 121, 1);
height: 86px; height: 86px;
...@@ -830,7 +948,7 @@ export default { ...@@ -830,7 +948,7 @@ export default {
.item.no-buy-total, .item.no-buy-total,
.item.buy-total { .item.buy-total {
// height: 238px; // height: 238px;
width: 50%; // width: 50%;
position: relative; position: relative;
height: auto; height: auto;
cursor: pointer; cursor: pointer;
...@@ -918,229 +1036,229 @@ export default { ...@@ -918,229 +1036,229 @@ export default {
.no-buy, .no-buy,
.buy { .buy {
display: flex; display: flex;
margin-left: 10px; margin-left: 16px;
background-color: #fff; width: 50%;
height: 222px; background-color: #f9f9fc;
&:last-child { padding-bottom: 20px;
margin-top: 10px; .buy-total {
width: 100%;
.buyTitle {
margin-top: 16px;
.client {
margin-left: 16px;
font-size: 16px;
color: #333333;
font-weight: 600;
&:hover {
color: #625aff;
} }
} }
.intended { }
height: 90px; .proportion {
background: #ffffff; padding: 24px 0 16px 16px;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); // border-bottom: 1px solid #e5e5e5;
margin-left: 10px; width: 100%;
position: relative;
box-sizing: border-box; box-sizing: border-box;
cursor: pointer; .proNum {
.intend-name { font-size: 26px;
height: 22px;
font-size: 16px;
font-weight: 500;
color: #333333; color: #333333;
line-height: 22px; line-height: 26px;
padding: 20px 0 8px 24px; font-weight: 700;
font-weight: bold; .proPerson {
}
.intend-info {
height: 20px;
font-size: 14px; font-size: 14px;
color: #333333;
font-weight: 400; font-weight: 400;
color: #999999;
line-height: 20px;
margin-left: 24px;
width: calc(100% - 433px);
} }
.intend-statistics { }
position: absolute; .ratio {
margin-left: 16px;
font-size: 14px;
color: #666666;
img {
vertical-align: middle;
}
}
}
/deep/ .el-divider--horizontal {
width: 96%;
margin: 4px auto;
text-align: center;
}
.firmClient {
display: flex; display: flex;
left: 364px; justify-content: space-between;
top: 32px; .clientCompleted {
&-num { margin: 20px 0 10px 16px;
font-size: 26px; display: flex;
font-weight: 600; font-size: 14px;
color: #424242; color: #666666;
line-height: 26px;
letter-spacing: 1px;
margin-right: 12px;
} }
&-rate { .clientNum {
margin: 10px 0px 10px 16px;
font-size: 16px; font-size: 16px;
font-weight: 500; color: #333333;
color: #565656; font-weight: 700;
line-height: 22px; .personText {
font-size: 12px;
color: #333333;
font-weight: 400;
}
.numPro {
margin-left: 16px;
font-size: 12px;
color: #666666;
font-weight: 400;
} }
.triangle {
display: inline-block;
vertical-align: middle;
width: 0px;
height: 0px;
border-bottom: 6px solid #ff2020;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
&.active {
border-bottom: 6px solid #2cca74;
transform: rotate(180deg);
} }
.marketingBtn {
margin: 16px 0 10px 16px;
font-size: 14px;
color: #625aff;
/deep/ .el-dropdown-link {
color: #625aff;
} }
} }
} }
.rightWrap { }
width: 48%; }
margin-left: 20px; .intendedTop {
display: flex;
margin-top: 16px;
.intended {
// height: 110px;
width: 50%;
background: #f9f9fc;
margin-left: 16px;
padding: 16px 32px 20px 16px;
cursor: pointer; cursor: pointer;
position: relative; .intend-name {
.smallWrap {
position: relative;
> span {
position: absolute;
&:first-child {
font-weight: bold;
height: 22px;
font-size: 16px; font-size: 16px;
color: #333333; color: #333333;
line-height: 22px; letter-spacing: 0.8px;
top: 20px;
}
&:nth-child(2) {
height: 26px;
font-size: 26px;
font-weight: 600; font-weight: 600;
color: #333333; white-space: nowrap;
line-height: 26px; .nameHover {
right: 20px; &:hover {
top: 20px; color: #625aff;
} }
&:nth-child(3) { }
top: 50px;
height: 20px; .intend-phone {
font-size: 14px; font-size: 14px;
color: #666666;
font-weight: 400; font-weight: 400;
color: #999999; &:hover {
line-height: 20px; color: #625aff;
} }
} }
.btn { }
position: absolute; .proportion {
top: 82px; padding: 26px 0 0 0px;
padding: 6px 20px; .proNum {
box-sizing: border-box; font-size: 26px;
border-radius: 4px; color: #333333;
border: 1px solid $btnBlue; line-height: 26px;
background-color: #fff; font-weight: 700;
color: #6861ff; .proPerson {
font-size: 14px; font-size: 14px;
color: #333333;
font-weight: 400; font-weight: 400;
} }
} }
.inCompanyWechatNum { .ratio {
// background-color: red; margin-left: 16px;
// position: absolute; font-size: 14px;
width: 100%; color: #666666;
.horizontal-line { img {
position: absolute; vertical-align: middle;
width: 100%; }
height: 1px;
background: #f0f0f0;
bottom: 0;
right: 0;
} }
} }
.el-divider--horizontal {
display: block;
height: 1px;
width: 100%;
margin: 0;
} }
} }
} }
} }
.middlemsg { .middlemsg {
margin-top: 16px;
min-width: 1050px; min-width: 1050px;
background: #ffffff;
padding-bottom: 1px;
.settiongBox {
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #e5e5e5;
.normalTitle {
border-bottom: none;
}
.set {
font-size: 16px;
color: #5850ff;
margin-right: 20px;
}
}
.itembox { .itembox {
margin: 20px;
display: flex; display: flex;
width: 100%; justify-content: space-between;
.item { .item {
width: 25%; width: 25%;
// padding: 20px;
position: relative;
height: 215px;
border: 1px solid #fff;
background-color: #fff;
box-sizing: border-box;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
// border: 1px solid rgba(121, 121, 121, 1);
cursor: pointer; cursor: pointer;
&:not(:first-child) { margin-right: 16px;
margin-left: 20px; &:last-child {
} margin-right: 0;
&:hover {
border: 1px solid $btnBlue;
} }
p { .itemTitle {
position: absolute; height: 54px;
&:first-child { background: #f4f6fc;
left: 20px; display: flex;
top: 20px; align-items: center;
height: 22px; .itemName {
font-size: 16px; font-size: 16px;
font-weight: bold; font-weight: 600;
color: #333333; padding-left: 16px;
line-height: 22px;
} }
&:nth-child(2) {
width: calc(100% - 98px);
left: 20px;
top: 46px;
height: 20px;
font-size: 14px;
font-weight: 400;
color: #999999;
line-height: 20px;
} }
&:nth-child(3) { .itemBottom {
left: 20px; padding-bottom: 20px;
top: 87px; border-left: 1px solid #e5e5e5;
height: 26px; border-right: 1px solid #e5e5e5;
border-bottom: 1px solid #e5e5e5;
.totalNum {
font-size: 26px; font-size: 26px;
font-weight: 600;
color: #333333; color: #333333;
line-height: 26px; line-height: 26px;
font-weight: 700;
padding: 24px 0 32px 16px;
.enum {
font-size: 18px;
font-weight: 400;
color: #333333;
vertical-align: middle;
} }
} }
img { .middlemsg-qiwei-total {
position: absolute;
right: 20px;
top: 20px;
}
}
}
&-qiwei-total {
width: 100%;
padding: 0 20px;
position: absolute;
bottom: 20px;
display: flex; display: flex;
align-items: center;
justify-content: space-between; justify-content: space-between;
box-sizing: border-box;
.qiwei-describe { .qiwei-describe {
font-size: 14px; padding: 0px 16px;
font-weight: 400; .inWechat {
color: #666666; color: #666666;
line-height: 20px; font-size: 14px;
margin-bottom: 4px;
text-align: center;
} }
.num { .num {
margin-top: 4px;
font-size: 16px; font-size: 16px;
font-weight: 600;
color: #333333; color: #333333;
line-height: 22px; font-weight: 600;
text-align: center;
.person-text { .person-text {
font-weight: 500; font-size: 14px;
color: #333333;
font-weight: 400;
}
}
}
}
} }
} }
} }
...@@ -1151,6 +1269,7 @@ export default { ...@@ -1151,6 +1269,7 @@ export default {
min-width: 1050px; min-width: 1050px;
height: 578px; height: 578px;
background-color: #fff; background-color: #fff;
margin-top: 16px;
.timeDuring { .timeDuring {
margin-left: 20px; margin-left: 20px;
margin-top: 20px; margin-top: 20px;
......
...@@ -101,39 +101,44 @@ export default { ...@@ -101,39 +101,44 @@ export default {
{ {
label: '本群昵称', label: '本群昵称',
prop: 'groupNickName', prop: 'groupNickName',
minWidth: 120 width: 170,
line: 1
}, },
{ {
label: '客户名称', label: '客户名称',
prop: 'customerName', prop: 'customerName',
addHtml: 'customerName', addHtml: 'customerName',
minWidth: 150 width: 170,
line: 1
}, },
{ {
label: '手机号码', label: '手机号码',
prop: 'customerPhone', prop: 'customerPhone',
minWidth: 120 line: 1,
width:200
}, },
{ {
label: '性别', label: '性别',
prop: 'customerSex', prop: 'customerSex',
addHtml: 'customerSex' addHtml: 'customerSex',
}, },
{ {
label: '入群方式', label: '入群方式',
prop: 'joinScene', prop: 'joinScene',
addHtml: 'joinScene', addHtml: 'joinScene',
minWidth: 150 width: 190,
line: 1
}, },
{ {
label: '邀请人', label: '邀请人',
prop: 'invitorName', prop: 'invitorName',
minWidth: 120 width: 120,
line: 1
}, },
{ {
label: '入群时间', label: '入群时间',
prop: 'joinTime', prop: 'joinTime',
width: 170 width: 170,
} }
], ],
tableOption: { tableOption: {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</span> </span>
<span slot="delFlag" slot-scope="scope"> <span slot="delFlag" slot-scope="scope">
<span :class="{ circleStatusGreen: scope.scope.delFlag == 0, circleStatusGray: scope.scope.delFlag == -1 }"></span> <span :class="{ circleStatusGreen: scope.scope.delFlag == 0, circleStatusGray: scope.scope.delFlag == -1 }"></span>
{{ scope.scope.delFlag == -1 ? '已解散' : scope.scope.delFlag == 0 ? '正常' : '' }} <span>{{ scope.scope.delFlag == -1 ? '已解散' : scope.scope.delFlag == 0 ? '正常' : '' }}</span>
</span> </span>
<template slot="auth-button" slot-scope="scope" :data="scope.scope"> <template slot="auth-button" slot-scope="scope" :data="scope.scope">
<!-- <auth-button :data="scope.scope"></auth-button> --> <!-- <auth-button :data="scope.scope"></auth-button> -->
...@@ -133,7 +133,7 @@ export default { ...@@ -133,7 +133,7 @@ export default {
label: '群聊名称', label: '群聊名称',
prop: 'custGroupName', prop: 'custGroupName',
line: 1, line: 1,
minWidth: 160 width: 160
}, },
{ {
label: '当前成员总数', label: '当前成员总数',
......
...@@ -619,9 +619,13 @@ export default { ...@@ -619,9 +619,13 @@ export default {
}, },
tabClick(index) { tabClick(index) {
this.currentIndex = index this.currentIndex = index
this.$nextTick(() => {
if (this.currentIndex == 2 && this.clientTagsList.length <= 0) { if (this.currentIndex == 2 && this.clientTagsList.length <= 0) {
this.$refs.clientTagsListRef.setTableHeightFun() this.$refs.clientTagsListRef.setTableHeightFun()
console.log(this.$refs.clientTagsListRef.tableHeightValues, '----------------')
// this.$refs.clientTagsListRef.tableHeightValues =
} }
})
}, },
showTagArray(list) { showTagArray(list) {
if (list.length == 0) { if (list.length == 0) {
...@@ -830,14 +834,15 @@ export default { ...@@ -830,14 +834,15 @@ export default {
}) })
}) })
}) })
const userIdList = this.nickNameList.map(item => item.userId)
let param = { let param = {
'req.OneId': this.id, 'req.OneId': this.id,
'req.merchantId': this.merchantId, 'req.merchantId': this.merchantId,
'req.uuId': this.userid, 'req.uuId': this.userid,
'req.staffId': this.staffId, 'req.staffId': this.staffId,
'req.labelIdAddList': labelIdAddList, 'req.labelIdAddList': labelIdAddList,
'req.labelIdDelList': labelIdDelList 'req.labelIdDelList': labelIdDelList,
'req.userIdList': userIdList
} }
addSingleClientTag(param) addSingleClientTag(param)
.then(res => { .then(res => {
...@@ -1115,6 +1120,18 @@ export default { ...@@ -1115,6 +1120,18 @@ export default {
} }
// 处理客户标签的样式 // 处理客户标签的样式
.clientTagsWrap { .clientTagsWrap {
/deep/ .el-table:before {
background-color: #fff !important;
}
/deep/ .el-table__empty-block {
height: auto;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
/deep/ .glsx-table .emptyBg .noDataImg {
margin-top: 0;
}
.allTagsWrap { .allTagsWrap {
position: relative; position: relative;
.tag-box-wrap { .tag-box-wrap {
......
...@@ -22,13 +22,13 @@ ...@@ -22,13 +22,13 @@
<div v-if="!followList(scope.scope.followStaff).length">--</div> <div v-if="!followList(scope.scope.followStaff).length">--</div>
<div class="entmicro-tag" style="padding-right:3px" v-for="(tag, idx) in followList(scope.scope.followStaff)" :key="idx"> <div class="entmicro-tag" style="padding-right:3px" v-for="(tag, idx) in followList(scope.scope.followStaff)" :key="idx">
<el-tooltip effect="dark" :content="tag" placement="top"> <el-tooltip effect="dark" :content="tag" placement="top">
<el-tag type="info" class="ellipsis-1" v-if="idx < 2" :disable-transitions="false"> <el-tag type="info" class="ellipsis-1" v-if="idx < 3" :disable-transitions="false">
<i class="el-icon-user-solid"></i> <i class="el-icon-user-solid"></i>
{{ tag }} {{ tag }}
</el-tag> </el-tag>
</el-tooltip> </el-tooltip>
<el-tag type="info" v-if="followList(scope.scope.followStaff).length > 2 && idx == 2"> <el-tag type="info" v-if="followList(scope.scope.followStaff).length > 3 && idx == 3">
<el-popover placement="top" width="600" trigger="hover" content="这是一段内容,这是一段内容,这是一段内容,这是一段内容。"> <el-popover placement="top" width="600" trigger="hover" content="这是一段内容,这是一段内容,这是一段内容,这是一段内容。">
<div slot="reference">...({{ followList(scope.scope.followStaff).length }})</div> <div slot="reference">...({{ followList(scope.scope.followStaff).length }})</div>
<div class="entmicro-hover"> <div class="entmicro-hover">
...@@ -222,6 +222,29 @@ export default { ...@@ -222,6 +222,29 @@ export default {
optionId: 'value', optionId: 'value',
placeholder: '请选择性别', placeholder: '请选择性别',
optionList: this.$Constants.GENDER_OPTION optionList: this.$Constants.GENDER_OPTION
},
{
type: 'datePicker',
name: 'purchaseCar',
label: '购车时间',
valueFormat: 'yyyy-MM-dd',
pickerOptions: {
disabledDate(time) {
return time.getTime() > Date.now() || time.getTime() < new Date('2017-12-31').getTime()
}
}
},
{
type: 'input',
inputType: 'text',
name: 'carVin',
label: '车架号'
},
{
type: 'input',
inputType: 'text',
name: 'carNumber',
label: '车牌号'
} }
], ],
...@@ -229,29 +252,33 @@ export default { ...@@ -229,29 +252,33 @@ export default {
tableParams: { tableParams: {
listName: 'data', listName: 'data',
tableOption: false, tableOption: false,
// mutiSelectName: 'employeeList',
// mutiSelectUniqueKey: 'id',
tableColumns: [ tableColumns: [
{ {
label: '客户ID', label: '客户ID',
prop: 'oneId', prop: 'oneId',
minWidth: 170 width:140,
line: 1
}, },
{ {
label: '客户名称', label: '客户名称',
prop: 'customerName', prop: 'customerName',
addHtml: 'customerName', addHtml: 'customerName',
width: 120 width: 120,
line:1
}, },
{ {
label: '企微名称', label: '企微名称',
prop: 'nickNameList', prop: 'nickNameList',
addHtml: 'nickNameList', addHtml: 'nickNameList',
minWidth: 190 width: 190,
}, },
{ {
label: '联系电话', label: '联系电话',
prop: 'customerPhone', prop: 'customerPhone',
addHtml: 'customerPhone', addHtml: 'customerPhone',
minWidth: 130 width: 130
}, },
{ {
label: '性别', label: '性别',
...@@ -262,7 +289,7 @@ export default { ...@@ -262,7 +289,7 @@ export default {
label: '跟进员工', label: '跟进员工',
prop: 'followStaff', prop: 'followStaff',
addHtml: 'followStaff', addHtml: 'followStaff',
minWidth: 280 width: 320
}, },
{ {
label: '是否加企微', //1. 加入,0.未加入 label: '是否加企微', //1. 加入,0.未加入
...@@ -274,17 +301,18 @@ export default { ...@@ -274,17 +301,18 @@ export default {
label: '当前状态', label: '当前状态',
prop: 'status', prop: 'status',
addHtml: 'status', addHtml: 'status',
minWidth: 130 width: 120
}, },
{ {
label: '所属渠道', label: '所属渠道',
prop: 'sourceChannel', prop: 'sourceChannel',
minWidth: 100 width: 140,
line: 1
}, },
{ {
label: '添加来源', label: '添加来源',
prop: 'addWayName', prop: 'addWayName',
minWidth: 120 width: 120
}, },
{ {
label: '添加时间', label: '添加时间',
...@@ -292,6 +320,30 @@ export default { ...@@ -292,6 +320,30 @@ export default {
width: 170 width: 170
}, },
{ {
label: '车系',
prop: 'audi',
width: 120,
line:1
},
{
label: '车架号',
prop: 'carVin',
width: 180,
line:1
},
{
label: '车牌号',
prop: 'carNumber',
width: 140,
line:1
},
{
label: '购车时间',
prop: 'buyDate',
width: 170,
line:1
},
{
label: '操作', label: '操作',
prop: 'optionBtns', prop: 'optionBtns',
width: '65px', width: '65px',
...@@ -364,7 +416,14 @@ export default { ...@@ -364,7 +416,14 @@ export default {
} else { } else {
if (params.beginTime) delete params.beginTime && delete params.endTime if (params.beginTime) delete params.beginTime && delete params.endTime
} }
if (params.purchaseCar) {
params.beginCarBuyDate = this.searchForm.purchaseCar[0]
params.endCarBuyDate = this.searchForm.purchaseCar[1]
} else {
if (params.beginCarBuyDate) delete params.beginCarBuyDate && delete params.endCarBuyDate
}
delete params.daterange delete params.daterange
delete params.purchaseCar
return params return params
}, },
beforeSearchFn() { beforeSearchFn() {
......
...@@ -107,6 +107,7 @@ export default { ...@@ -107,6 +107,7 @@ export default {
crowdDesc: '' crowdDesc: ''
}, },
crowdId: this.$route.params.id ? this.$route.params.id : '', crowdId: this.$route.params.id ? this.$route.params.id : '',
crowdPage: this.$route.params.crowdType ? this.$route.params.crowdType : '',
tableTotal: '', tableTotal: '',
isShowCloseBtn: true, isShowCloseBtn: true,
dialogRuleVisible: false, dialogRuleVisible: false,
...@@ -147,17 +148,18 @@ export default { ...@@ -147,17 +148,18 @@ export default {
} }
}, },
created() { created() {
console.log('this.$route.params.id', this.$route.params.id)
// 通过人群Id查询人群详情 // 通过人群Id查询人群详情
this.getCrowdDetails() this.getCrowdDetails()
}, },
mounted() {}, mounted() {
console.log(this.$route.params)
},
methods: { methods: {
goBack() { goBack() {
this.$router.push({ this.$router.push({
path: '/crowdManage/index', path: '/crowdManage/index',
query: { query: {
selectTab: 1 selectTab: this.crowdPage
} }
}) })
}, },
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
<GLButton type="text" @click="btnClick('detail', scope.scope)" class="blue-text" fn="查看详情">查看详情</GLButton> <GLButton type="text" @click="btnClick('detail', scope.scope)" class="blue-text" fn="查看详情">查看详情</GLButton>
<!-- <span style="margin-left: 20px" @click="btnClick('view', scope.scope)" class="blue-text">查看客户</span> --> <!-- <span style="margin-left: 20px" @click="btnClick('view', scope.scope)" class="blue-text">查看客户</span> -->
<GLButton class="blue-text leftDistance" type="text" fn="客户列表" v-if="userType !== 2" @click="btnClick('view', scope.scope)">查看客户</GLButton> <GLButton class="blue-text leftDistance" type="text" fn="客户列表" v-if="userType !== 2" @click="btnClick('view', scope.scope)">查看客户</GLButton>
<el-button type="text" class="blue-text" >营销SOP</el-button>
</template> </template>
</GLTable> </GLTable>
</div> </div>
...@@ -65,31 +66,26 @@ export default { ...@@ -65,31 +66,26 @@ export default {
{ {
label: '人群名称', label: '人群名称',
prop: 'crowdName', prop: 'crowdName',
addHtml: 'crowdName', addHtml: 'crowdName'
align: 'left', // width: 160
minWidth: 160
// width: 431 // width: 431
}, },
{ {
label: '人群描述', label: '人群描述',
prop: 'crowdDesc', prop: 'crowdDesc',
addHtml: 'crowdDesc', addHtml: 'crowdDesc'
align: 'left', // width: 160
minWidth: 160
}, },
{ {
label: '人数', label: '人数',
prop: 'total', prop: 'total'
// addHtml: 'total',
align: 'left'
}, },
{ {
label: '操作', label: '操作',
prop: 'xxx', prop: 'xxx',
fixed: 'right', fixed: 'right',
addHtml: 'xxx', addHtml: 'xxx',
align: 'left', width: 250
width: 180
} }
] ]
}, },
...@@ -107,15 +103,25 @@ export default { ...@@ -107,15 +103,25 @@ export default {
this.userType = this.$globalState.session.userType this.userType = this.$globalState.session.userType
} }
this.searchForm = { 'req.merchantId': this.merchantId, 'req.crowdType': this.crowdType } this.searchForm = { 'req.merchantId': this.merchantId, 'req.crowdType': this.crowdType }
//标签管理保存初始化保存自定义人群状态
// if (this.$route.query.selectTab == 1) {
// this.activeName = 'second'
// // window.history.pushState(null, null, location.origin + location.pathname)
// }
if (this.$route.query.selectTab) {
this.$route.query.selectTab == 1 ? (this.activeName = 'first') : (this.activeName = 'second')
}
},
mounted() {
console.log(this.$route.params)
}, },
mounted() {},
methods: { methods: {
btnClick(type, data) { btnClick(type, data) {
const crowdType = this.activeName == 'first' ? 1 : 2
if (type == 'detail') { if (type == 'detail') {
this.$router.push(`/crowdManage/crowdDetail/${data.crowdId}`) this.$router.push(`/crowdManage/crowdDetail/${data.crowdId}/${crowdType}`)
} }
if (type == 'view') { if (type == 'view') {
const crowdType = this.activeName == 'first' ? 1 : 2
this.$router.push(`/clientDataOverview/group/${data.crowdId}/${crowdType}`) this.$router.push(`/clientDataOverview/group/${data.crowdId}/${crowdType}`)
} }
}, },
...@@ -123,22 +129,20 @@ export default { ...@@ -123,22 +129,20 @@ export default {
this.$router.push('/crowdManage/crowdAdd') this.$router.push('/crowdManage/crowdAdd')
}, },
setTableFinishFun() { setTableFinishFun() {
console.log(this.$refs.crowdManage.data.length)
if (!this.$refs.crowdManage.data.length) { if (!this.$refs.crowdManage.data.length) {
this.$nextTick(() => this.$refs.crowdManage.setTableHeightFun()) this.$nextTick(() => this.$refs.crowdManage.setTableHeightFun())
} else { } else {
this.$refs.crowdManage.tableHeightValues = '' this.$refs.crowdManage.tableHeightValues = ''
} }
}, },
setTableHeightEvent() {
this.$refs.crowdManage.setTableHeightFun()
},
handleClick() { handleClick() {
this.searchForm = { 'req.keyword': '' } this.searchForm = { 'req.keyword': '' }
this.searchTable() this.searchTable()
}, },
beforeSearchFn() { beforeSearchFn() {
if (this.$route.query.selectTab) {
this.activeName = 'second'
// window.history.pushState(null, null, location.origin + location.pathname)
}
return new Promise(resolve => { return new Promise(resolve => {
const crowdType = this.activeName == 'first' ? 1 : 2 const crowdType = this.activeName == 'first' ? 1 : 2
this.searchForm = Object.assign(this.searchForm, { 'req.merchantId': this.merchantId, 'req.crowdType': crowdType }) this.searchForm = Object.assign(this.searchForm, { 'req.merchantId': this.merchantId, 'req.crowdType': crowdType })
...@@ -184,7 +188,7 @@ export default { ...@@ -184,7 +188,7 @@ export default {
} }
} }
/deep/ .el-tabs__header { /deep/ .el-tabs__header {
margin: 0 0 20px; margin: 0 0 10px;
} }
/deep/ .el-tabs__nav-wrap::after { /deep/ .el-tabs__nav-wrap::after {
content: none; content: none;
...@@ -246,7 +250,7 @@ export default { ...@@ -246,7 +250,7 @@ export default {
} }
} }
.crowdTable { .crowdTable {
padding: 0 20px; // padding: 0 20px;
/deep/ .line-ellipsis { /deep/ .line-ellipsis {
white-space: nowrap; white-space: nowrap;
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</div> </div>
<div class="container"> <div class="container">
<search-form class="searchTop border-shadow" :formModel="searchForm" :formList="searchFormData" labelWidth="70px"> <search-form class="searchTop border-shadow" :formModel="searchForm" :formList="searchFormData" labelWidth="85px">
<span class="inline-b" style="float: right" slot="form-slot"> <span class="inline-b" style="float: right" slot="form-slot">
<el-button type="primary" @click="searchTable">查询</el-button> <el-button type="primary" @click="searchTable">查询</el-button>
</span> </span>
...@@ -18,11 +18,11 @@ ...@@ -18,11 +18,11 @@
<GLTable ref="gueastGroup" @setTableFinishFun="setTableFinishFun" :noDataImg="url" :getListApi="getListApi" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf"> <GLTable ref="gueastGroup" @setTableFinishFun="setTableFinishFun" :noDataImg="url" :getListApi="getListApi" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf">
<div slot="entmicro-name" class="entmicro" slot-scope="scope"> <div slot="entmicro-name" class="entmicro" slot-scope="scope">
<div class="entmicro-tag" v-for="(tag, idx) in scope.scope.userList" :key="idx"> <div class="entmicro-tag" v-for="(tag, idx) in scope.scope.userList" :key="idx">
<el-tag type="info" v-if="idx < 2" :disable-transitions="false"> <el-tag type="info" v-if="idx < 3" :disable-transitions="false">
<i class="el-icon-user-solid"></i> <i class="el-icon-user-solid"></i>
{{ tag.staffName }}{{ tag.departmentName ? `(${tag.departmentName})` : '' }} {{ tag.staffName }}{{ tag.departmentName ? `(${tag.departmentName})` : '' }}
</el-tag> </el-tag>
<el-tag type="info" v-if="scope.scope.userList.length > 2 && idx == 2"> <el-tag type="info" v-if="scope.scope.userList.length > 3 && idx == 3">
<el-popover placement="top" width="600" trigger="hover" content="这是一段内容,这是一段内容,这是一段内容,这是一段内容。"> <el-popover placement="top" width="600" trigger="hover" content="这是一段内容,这是一段内容,这是一段内容,这是一段内容。">
<span slot="reference">...({{ scope.scope.userList.length }})</span> <span slot="reference">...({{ scope.scope.userList.length }})</span>
<div class="entmicro-hover"> <div class="entmicro-hover">
...@@ -69,7 +69,7 @@ export default { ...@@ -69,7 +69,7 @@ export default {
type: 'input', type: 'input',
inputType: 'text', inputType: 'text',
prop: 'groupName', prop: 'groupName',
label: '群聊名称', label: '群聊名称:',
placeholder: '请输入群聊名称搜索', placeholder: '请输入群聊名称搜索',
clearable: true clearable: true
} }
...@@ -92,19 +92,19 @@ export default { ...@@ -92,19 +92,19 @@ export default {
{ {
label: '默认成员', label: '默认成员',
prop: 'entmicroName', prop: 'entmicroName',
minWidth: 250, minWidth: 320,
addHtml: 'entmicro-name' addHtml: 'entmicro-name'
}, },
{ {
label: '创建时间', label: '创建时间',
prop: 'createdTime', prop: 'createdTime',
line: 1, line: 1,
minWidth: 110 // minWidth: 110
}, },
{ {
label: '状态', label: '状态',
prop: 'status', prop: 'status',
minWidth: 130, // minWidth: 130,
addHtml: 'status' addHtml: 'status'
}, },
{ {
...@@ -342,7 +342,7 @@ export default { ...@@ -342,7 +342,7 @@ export default {
} }
} }
.btn-header { .btn-header {
margin-bottom: 20px; margin-bottom: 10px;
} }
.container { .container {
margin-bottom: 20px; margin-bottom: 20px;
......
...@@ -19,9 +19,7 @@ ...@@ -19,9 +19,7 @@
<!-- 线索状态 --> <!-- 线索状态 -->
<template slot="status" slot-scope="scope"> <template slot="status" slot-scope="scope">
<span :class="{ circleStatusYellow: scope.scope.status == 0, circleStatusPurple: scope.scope.status == 1, circleStatusGreen: scope.scope.status == 2 }"></span> <span :class="{ circleStatusYellow: scope.scope.status == 0, circleStatusPurple: scope.scope.status == 1, circleStatusGreen: scope.scope.status == 2 }"></span>
<span> <span>{{ scope.scope.status == 0 ? '待跟进' : scope.scope.status == 1 ? '跟进中' : scope.scope.status == 2 ? '已完成' : '' }}</span>
{{ scope.scope.status == 0 ? '待跟进' : scope.scope.status == 1 ? '跟进中' : scope.scope.status == 2 ? '已完成' : '' }}
</span>
</template> </template>
<!-- 跟进员工 --> <!-- 跟进员工 -->
<template slot="userName" slot-scope="scope"> <template slot="userName" slot-scope="scope">
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<yl-descriptions v-if="leadType == 5 || leadType == 6" ref="ylDeacriptions" :tableModel="orderDescriModel" :showData="leadBaseList" /> <yl-descriptions v-if="leadType == 5 || leadType == 6" ref="ylDeacriptions" :tableModel="orderDescriModel" :showData="leadBaseList" />
</div> </div>
<!-- 跟进记录 --> <!-- 跟进记录 -->
<div class="baseTitle" > <div class="baseTitle">
<p class="title">跟进记录</p> <p class="title">跟进记录</p>
<hr /> <hr />
<div class="timestamp" v-if="this.leadFollowRecord.length > 0"> <div class="timestamp" v-if="this.leadFollowRecord.length > 0">
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</el-timeline-item> </el-timeline-item>
</el-timeline> </el-timeline>
</div> </div>
<div :style="{ 'height': clientHeight- 450 + 'px' }" class="noRecord" v-else> <div :style="{ height: clientHeight - 450 + 'px' }" class="noRecord" v-else>
<img src="@/assets/leadManage/noRecord.png" alt="" /> <img src="@/assets/leadManage/noRecord.png" alt="" />
</div> </div>
</div> </div>
...@@ -53,6 +53,7 @@ export default { ...@@ -53,6 +53,7 @@ export default {
leadType: '', //线索类型 leadType: '', //线索类型
leadBaseList: {}, //线索详情基本信息 leadBaseList: {}, //线索详情基本信息
leadFollowRecord: [], //线索详情跟进记录 leadFollowRecord: [], //线索详情跟进记录
copySameDescri: [],
theSameDescri: [ theSameDescri: [
{ {
colList: [ colList: [
...@@ -103,10 +104,7 @@ export default { ...@@ -103,10 +104,7 @@ export default {
// 维保预约 // 维保预约
orderDescri: [ orderDescri: [
{ {
colList: [ colList: [{ thColspan: 1, tdColspan: 5, label: '试驾车辆', name: 'carName' }]
{ thColspan: 1, tdColspan: 2, label: '车牌号', name: 'plateNum' },
{ thColspan: 1, tdColspan: 2, label: '里程数(km)', name: 'mileage' }
]
}, },
{ {
colList: [{ thColspan: 1, tdColspan: 5, label: '门店', name: 'merchantName' }] colList: [{ thColspan: 1, tdColspan: 5, label: '门店', name: 'merchantName' }]
...@@ -118,6 +116,7 @@ export default { ...@@ -118,6 +116,7 @@ export default {
this.leadId = this.$route.params.id ? this.$route.params.id : '' this.leadId = this.$route.params.id ? this.$route.params.id : ''
this.leadType = this.$route.params.type ? this.$route.params.type : '' this.leadType = this.$route.params.type ? this.$route.params.type : ''
this.getBaseDetail() this.getBaseDetail()
this.addCol()
}, },
mounted() { mounted() {
this.clientHeight = document.documentElement.clientHeight - 140 this.clientHeight = document.documentElement.clientHeight - 140
...@@ -133,10 +132,20 @@ export default { ...@@ -133,10 +132,20 @@ export default {
}, },
// 维保预约 // 维保预约
orderDescriModel() { orderDescriModel() {
return this.theSameDescri.concat(this.orderDescri) return this.copySameDescri.concat(this.orderDescri)
} }
}, },
methods: { methods: {
addCol() {
let addcolList = {
colList: [
{ thColspan: 1, tdColspan: 2, label: '预约时间', name: 'appointDate' },
{ thColspan: 1, tdColspan: 2, label: '到店时间', name: 'appointTime' }
]
}
this.copySameDescri = JSON.parse(JSON.stringify(this.theSameDescri))
this.copySameDescri.splice(3, 0, addcolList)
},
goback() { goback() {
this.$router.push('/leadManage/index') this.$router.push('/leadManage/index')
}, },
...@@ -269,7 +278,7 @@ export default { ...@@ -269,7 +278,7 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
overflow: hidden;//img如果超出这个div会隐藏超出部分 overflow: hidden; //img如果超出这个div会隐藏超出部分
} }
} }
} }
......
...@@ -165,17 +165,30 @@ export default { ...@@ -165,17 +165,30 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
status && this.updateTreeNode() status && this.updateTreeNode()
document.querySelector('.el-tree>.el-tree-node.is-expanded .el-tree-node__children').style.maxHeight = this.$parent.heightBox - 205 + 'px' this.setTreeHeight()
document.querySelector('.el-tree>.el-tree-node.is-expanded .el-tree-node__children').style.overflow = 'auto'
}) })
this.loading = false this.loading = false
}) })
}, },
nodeExpand() { setTreeHeight(domNode) {
document.querySelector('.el-tree>.el-tree-node.is-expanded .el-tree-node__children').style.maxHeight = this.$parent.heightBox - 205 + 'px' const nodeHeight = document.querySelectorAll('.el-tree>.el-tree-node').length * 30
if (domNode) {
domNode.style.maxHeight = this.$parent.heightBox - 80 - nodeHeight + 'px'
domNode.style.overflow = 'auto'
} else {
document.querySelector('.el-tree>.el-tree-node.is-expanded .el-tree-node__children').style.maxHeight = this.$parent.heightBox - 80 - nodeHeight + 'px'
document.querySelector('.el-tree>.el-tree-node.is-expanded .el-tree-node__children').style.overflow = 'auto' document.querySelector('.el-tree>.el-tree-node.is-expanded .el-tree-node__children').style.overflow = 'auto'
} }
}, },
nodeExpand(data, node, target) {
if (data.sort) {
this.$nextTick(() => {
const domNode = target.$refs.node.lastElementChild
this.setTreeHeight(domNode)
})
}
}
},
mounted() { mounted() {
this.getTableList() this.getTableList()
} }
...@@ -184,7 +197,7 @@ export default { ...@@ -184,7 +197,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.content-wrap { .content-wrap {
padding: 16px 3px 16px 16px; padding: 16px 3px 0px 16px;
box-sizing: border-box; box-sizing: border-box;
height: 100%; height: 100%;
.tree-input { .tree-input {
...@@ -201,7 +214,6 @@ export default { ...@@ -201,7 +214,6 @@ export default {
} }
.tag-tree { .tag-tree {
margin-top: 20px; margin-top: 20px;
height: calc(100% - 80px);
overflow-y: auto; overflow-y: auto;
/deep/ { /deep/ {
.el-tree-node { .el-tree-node {
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<i class="el-icon-close" @click="closeInitPanel"></i> <i class="el-icon-close" @click="closeInitPanel"></i>
</div> </div>
<div class="client-main-box"> <div class="client-main-box">
<div class="client-tag" :style="{ height: heightBox + 'px' }"> <div class="client-tag">
<tag-group @getCheckItem="getCheckItem" ref="tagTree" @editTag="btnClick"></tag-group> <tag-group @getCheckItem="getCheckItem" ref="tagTree" @editTag="btnClick"></tag-group>
</div> </div>
<div class="client-tabel"> <div class="client-tabel">
...@@ -95,6 +95,12 @@ ...@@ -95,6 +95,12 @@
> >
保存为人群 保存为人群
</el-button> </el-button>
<el-button
plain
size="small"
>
营销SOP
</el-button>
</div> </div>
</div> </div>
<!-- noDataText="你当前还没有添加的标签" --> <!-- noDataText="你当前还没有添加的标签" -->
...@@ -274,7 +280,7 @@ import { getLoginCount } from '@/api/modules/loginCount' ...@@ -274,7 +280,7 @@ import { getLoginCount } from '@/api/modules/loginCount'
import tagGroup from './components/tagGroup.vue' import tagGroup from './components/tagGroup.vue'
import url from '@/assets/clientDataOverview/nodata.png' import url from '@/assets/clientDataOverview/nodata.png'
import tag from '@/mixins/tag' import tag from '@/mixins/tag'
import util from '@/utils/util' import { utils } from 'glsx-common'
export default { export default {
mixins: [tag], mixins: [tag],
name: 'tagsManage', name: 'tagsManage',
...@@ -702,7 +708,7 @@ export default { ...@@ -702,7 +708,7 @@ export default {
this.tagForm.tagsName = rowData.labelGroup.name //标签组名 this.tagForm.tagsName = rowData.labelGroup.name //标签组名
this.tagForm.initTagsGroup = rowData.labelType == '企业标签' || rowData.labelType == '集团标签' ? 1 : rowData.labelType == '自店标签' ? 2 : '' //标签组类型 this.tagForm.initTagsGroup = rowData.labelType == '企业标签' || rowData.labelType == '集团标签' ? 1 : rowData.labelType == '自店标签' ? 2 : '' //标签组类型
}, },
handleConfirm() { handleConfirm: utils.debounce(function() {
this.$refs.tagForm.$children[0].validate(valid => { this.$refs.tagForm.$children[0].validate(valid => {
if (!valid) { if (!valid) {
if (this.tagForm.tagsList.length <= 0 && this.tagDialogTitle == '添加标签组') { if (this.tagForm.tagsList.length <= 0 && this.tagDialogTitle == '添加标签组') {
...@@ -732,7 +738,7 @@ export default { ...@@ -732,7 +738,7 @@ export default {
this.$message.error('不能提交相同的标签,请修改') this.$message.error('不能提交相同的标签,请修改')
return return
} }
this.newAddTagFun() this.newAddTagFun(1)
//this.handleClose() //这里不管 //this.handleClose() //这里不管
} else { } else {
//修改标签(允许同时增加标签) //修改标签(允许同时增加标签)
...@@ -758,12 +764,75 @@ export default { ...@@ -758,12 +764,75 @@ export default {
return return
} }
} }
console.log('点击了几次')
this.updateTagFun() this.updateTagFun()
this.newAddTagFun() this.newAddTagFun()
// this.handleClose() // this.handleClose()
} }
}) })
}, }, 300),
// handleConfirm() {
// this.$refs.tagForm.$children[0].validate(valid => {
// if (!valid) {
// if (this.tagForm.tagsList.length <= 0 && this.tagDialogTitle == '添加标签组') {
// this.tagNameRules = true
// this.$message.error('至少要添加一个标签')
// // return
// }
// return
// }
// if (this.tagForm.tagsList.length <= 0 && this.tagDialogTitle == '添加标签组') {
// this.tagNameRules = true
// this.$message.error('至少要添加一个标签')
// return
// }
// if (this.tagDialogTitle == '添加标签组') {
// //过滤掉没有输入值得标签输入框
// this.tagForm.tagsList = this.tagForm.tagsList.filter(item => item.name != '')
// if (this.tagForm.tagsList.length <= 0) {
// this.$message.error('不能提交空标签')
// return
// }
// //如果存在添加标签的输入框的内容的标签相同则不提交
// let isSameTagFlag = false
// var tempArr = this.tagForm.tagsList.map(item => item.name)
// isSameTagFlag = this.isHasSome(tempArr)
// if (isSameTagFlag) {
// this.$message.error('不能提交相同的标签,请修改')
// return
// }
// this.newAddTagFun(1)
// //this.handleClose() //这里不管
// } else {
// //修改标签(允许同时增加标签)
// let isHasEmpty = this.editTagList.some(ele => ele.name == '')
// if (isHasEmpty) {
// this.$message.error('不能提交空的编辑标签')
// return
// }
// if (this.tagForm.tagsList.length > 0) {
// //过滤掉没有输入值得标签输入框
// this.tagForm.tagsList = this.tagForm.tagsList.filter(item => item.name != '')
// //如果存在添加标签的输入框的内容和可编辑的标签相同则不提交
// let ishasSameTagFlag = false
// this.editTagList.forEach(item => {
// for (let i = 0; i < this.tagForm.tagsList.length; i++) {
// if (this.tagForm.tagsList[i].name == item.name) {
// ishasSameTagFlag = true
// }
// }
// })
// if (ishasSameTagFlag) {
// this.$message.error('不能提交已存在的标签,请修改')
// return
// }
// }
// this.updateTagFun()
// this.newAddTagFun()
// // this.handleClose()
// }
// })
// },
handleRuleClose() { handleRuleClose() {
this.dialogRuleVisible = false this.dialogRuleVisible = false
}, },
...@@ -783,7 +852,7 @@ export default { ...@@ -783,7 +852,7 @@ export default {
this.tagForm.tagsList = [] //取消时清空新增标签 this.tagForm.tagsList = [] //取消时清空新增标签
this.tagVisible = !this.tagVisible this.tagVisible = !this.tagVisible
}, },
newAddTagFun() { newAddTagFun(status) {
//满足条件进行提交 //满足条件进行提交
let params = {} let params = {}
params['labelDTO.dataFrom'] = 'cs' params['labelDTO.dataFrom'] = 'cs'
...@@ -801,7 +870,8 @@ export default { ...@@ -801,7 +870,8 @@ export default {
} }
if (res.data.code == 0) { if (res.data.code == 0) {
if (this.tagForm.tagsList.length > 0) { if (this.tagForm.tagsList.length > 0) {
this.$message.success('添加成功') // this.$message.success('添加成功')
status && this.$message.success('添加成功')
} }
if (this.tagDialogTitle == '编辑标签组') { if (this.tagDialogTitle == '编辑标签组') {
this.tagForm.tagsName = '' this.tagForm.tagsName = ''
...@@ -847,7 +917,7 @@ export default { ...@@ -847,7 +917,7 @@ export default {
// this.tagForm.tagsName = '' // this.tagForm.tagsName = ''
// this.tagForm.initTagsGroup = '' // this.tagForm.initTagsGroup = ''
// this.tagForm.tagsList = [] // this.tagForm.tagsList = []
this.$refs.tagTree.getTableList(true) //刷新下表格 // this.$refs.tagTree.getTableList(true) //刷新下表格 //重复请求了
}) })
}, },
//删除一行标签 //删除一行标签
...@@ -1218,7 +1288,7 @@ export default { ...@@ -1218,7 +1288,7 @@ export default {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding-top: 14px; padding-top: 14px;
padding-bottom: 20px; padding-bottom: 10px;
letter-spacing: 1px; letter-spacing: 1px;
.clientNum { .clientNum {
// display: flex; // display: flex;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!