Commit b2639681 by xuyl

更新606的代码

1 parent 623306a6
......@@ -127,6 +127,9 @@ export default {
}
</script>
<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 {
box-shadow: none;
}
......
......@@ -20,9 +20,11 @@
<div class="leftIntro">
<span class="title">客户总数</span>
<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>
<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>
......@@ -75,7 +77,7 @@
<span class="proPerson">人</span>
</span>
<span class="ratio" v-if="!isEmptyObj">
占比:
占比:
<img src="@/assets/clientDataOverview/upIcon.png" />
{{ purchasePercent }}%
<!-- <i class="triangle-+" :class="{ active: isBuyUp === 2 }" v-if="isBuyUp"></i>
......@@ -96,7 +98,7 @@
<p class="clientNum">
{{ (topDataObj.purchaseCustomerAddCount || 0) | overThousandFilter }}
<span class="personText">人</span>
<span class="numPro">占比:</span>
<span class="numPro">占比:{{ topDataObj.purchaseCustomerAddPercent }}</span>
</p>
<!-- <div class="marketingBtn">
<el-dropdown>
......@@ -122,7 +124,7 @@
<p class="clientNum">
{{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }}
<span class="personText">人</span>
<span class="numPro">占比:</span>
<span class="numPro">占比:{{ topDataObj.purchaseCustomerNAddPercent }}</span>
</p>
<!-- <div class="marketingBtn">
智能营销
......@@ -155,7 +157,7 @@
<span class="proPerson">人</span>
</span>
<span class="ratio" v-if="!isEmptyObj">
占比:
占比:
<img src="@/assets/clientDataOverview/upIcon.png" />
{{ purposePercent }}%
<!-- <i class="triangle" :class="{ active: isBuyUp === 2 }" v-if="isBuyUp"></i>
......@@ -177,7 +179,7 @@
<p class="clientNum">
{{ (topDataObj.purposeCustomerAddCount || 0) | overThousandFilter }}
<span class="personText">人</span>
<span class="numPro">占比:</span>
<span class="numPro">占比:{{ topDataObj.purposeCustomerAddPercent }}</span>
</p>
<!-- <div class="marketingBtn">
<el-dropdown>
......@@ -203,7 +205,7 @@
<p class="clientNum">
{{ (topDataObj.purposeCustomerNAddCount || 0) | overThousandFilter }}
<span class="personText">人</span>
<span class="numPro">占比:</span>
<span class="numPro">占比:{{ topDataObj.purposeCustomerNAddPercent }}</span>
</p>
<!-- <div class="marketingBtn">
智能营销
......@@ -231,8 +233,8 @@
<!-- 已加企微,待匹配客户 -->
<div class="intended" @click="goto(11)">
<p class="intend-name">
已加企微,待匹配客户
<span class="intend-phone">(已绑定手机号8人)</span>
<span class="nameHover">已加企微,待匹配客户</span>
<span class="intend-phone" @click.stop="goto(201)">(已绑定手机号{{ topDataObj.notMatchCustomerAddPhoneCount ? topDataObj.notMatchCustomerAddPhoneCount : 0 }}人)</span>
<el-popover placement="top" trigger="hover" content="已加企微,且未匹配到潜在意向和基盘客户的客户">
<span class="dataOverPopover">已加企微,且未匹配到潜在意向和基盘客户的客户</span>
<img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
......@@ -244,7 +246,7 @@
<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>
......@@ -253,10 +255,9 @@
</div>
</div>
<!-- 未加企微,未匹配客户 -->
<div class="intended" @click="goto(11)">
<div class="intended" @click="goto(202)">
<p class="intend-name">
<span>未加企微,未匹配客户</span>
<!-- <span class="intend-phone">(已绑定手机号8人)</span> -->
<el-popover placement="top" trigger="hover" content="未加企微,且未匹配到潜在意向和基盘客户的客户">
<span class="dataOverPopover">未加企微,且未匹配到潜在意向和基盘客户的客户</span>
<img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
......@@ -264,13 +265,13 @@
</p>
<div class="proportion">
<span class="proNum" v-if="!isEmptyObj">
{{ (topDataObj.waitMatchCustomerAddCount || 0) | overThousandFilter }}
{{ (topDataObj.notMatchCustomerNAddCount || 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 }}%
{{ (topDataObj.notMatchCustomerNAddPercent && topDataObj.notMatchCustomerNAddPercent.toFixed(2)) || 0 }}%
<i class="triangle" :class="{ active: topDataObj.waitMatchUp === 2 }" v-if="topDataObj.waitMatchUp"></i>
<i v-else>--</i>
</span>
......@@ -288,7 +289,7 @@
<div class="itemTitle">
<span class="itemName">{{ item.name }}</span>
<el-popover placement="top" trigger="hover" :content="item.subName">
<span class="dataOverPopover">{{ item.subName }}</span>
<span class="dataOverPopover">{{ item.subName }}</span>
<img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
</el-popover>
</div>
......@@ -795,7 +796,7 @@ export default {
position: relative;
background-color: #fff;
width: 372px;
height: 388px;
height: 370px;
// height: 480px; //470
box-sizing: border-box;
.leftIntro {
......@@ -819,7 +820,7 @@ export default {
line-height: 20px;
}
.clientTotal {
margin: 28px 0 0 20px;
margin: 16px 0 0 20px;
font-size: 36px;
color: #333333;
font-weight: 700;
......@@ -872,7 +873,7 @@ export default {
width: 372px;
padding: 0 57px;
position: absolute;
bottom: 16px;
bottom: 18px;
display: flex;
align-items: center;
justify-content: space-between;
......@@ -1022,7 +1023,7 @@ export default {
.buy-total {
width: 100%;
.buyTitle {
margin-top: 20px;
margin-top: 16px;
.client {
margin-left: 16px;
font-size: 16px;
......@@ -1105,25 +1106,35 @@ export default {
display: flex;
margin-top: 16px;
.intended {
height: 110px;
// height: 110px;
width: 50%;
background: #f9f9fc;
margin-left: 10px;
padding: 16px 32px 0px 16px;
padding: 16px 32px 20px 16px;
cursor: pointer;
.intend-name {
font-size: 16px;
color: #333333;
letter-spacing: 0.8px;
font-weight: 600;
white-space: nowrap;
.nameHover {
&:hover {
color: #625aff;
}
}
.intend-phone {
font-size: 14px;
color: #666666;
font-weight: 400;
&:hover {
color: #625aff;
}
}
}
.proportion {
padding: 32px 0 0 16px;
padding: 26px 0 0 0px;
.proNum {
font-size: 26px;
color: #333333;
......
......@@ -101,18 +101,21 @@ export default {
{
label: '本群昵称',
prop: 'groupNickName',
minWidth: 120
width: 120,
line: 1
},
{
label: '客户名称',
prop: 'customerName',
addHtml: 'customerName',
minWidth: 150
width: 150,
line: 1
},
{
label: '手机号码',
prop: 'customerPhone',
minWidth: 120
line: 1,
width: 120
},
{
label: '性别',
......@@ -123,12 +126,14 @@ export default {
label: '入群方式',
prop: 'joinScene',
addHtml: 'joinScene',
minWidth: 150
width: 150,
line: 1
},
{
label: '邀请人',
prop: 'invitorName',
minWidth: 120
width: 120,
line: 1
},
{
label: '入群时间',
......
......@@ -223,32 +223,32 @@ export default {
placeholder: '请选择性别',
optionList: this.$Constants.GENDER_OPTION
},
{
type: 'datePicker',
// prop: 'daterange',
name: 'daterange',
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',
// prop: 'nickName',
name: 'nickName',
label: '车架号'
},
{
type: 'input',
inputType: 'text',
// prop: 'nickName',
name: 'nickName',
label: '车牌号'
}
// {
// type: 'datePicker',
// // prop: 'daterange',
// name: '',
// 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',
// // prop: 'nickName',
// name: '',
// label: '车架号'
// },
// {
// type: 'input',
// inputType: 'text',
// // prop: 'nickName',
// name: '',
// label: '车牌号'
// }
],
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'count' },
......@@ -321,26 +321,26 @@ export default {
prop: 'addTime',
width: 170
},
{
label: '车系',
prop: 'addTime',
width: 110
},
{
label: '车架号',
prop: 'addTime',
width: 110
},
{
label: '车牌号',
prop: 'addTime',
width: 170
},
{
label: '购车时间',
prop: 'addTime',
width: 170
},
// {
// label: '车系',
// prop: '',
// width: 110
// },
// {
// label: '车架号',
// prop: '',
// width: 110
// },
// {
// label: '车牌号',
// prop: '',
// width: 170
// },
// {
// label: '购车时间',
// prop: '',
// width: 170
// },
{
label: '操作',
prop: 'optionBtns',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!