Commit b9208d06 by 前端

Merge branch 'xuyl_dev_v2.3.0' into 'v2.3.0'

更新606的代码

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