Commit edd3a5ef by xuyl

Merge branch 'v2.3.0' of http://192.168.3.233:8090/saas/scrm-micro-custom into xuyl_dev_v2.4.0

2 parents 2ef9b0b3 6e79392a
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<el-button size="small" @click="handleExport" class="export">导出</el-button> <el-button size="small" @click="handleExport" class="export">导出</el-button>
</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>
...@@ -153,7 +153,7 @@ export default { ...@@ -153,7 +153,7 @@ export default {
label: '车架号', label: '车架号',
prop: 'carVin', prop: 'carVin',
minWidth: 140, minWidth: 140,
line:1 line: 1
}, },
{ {
label: '车系', label: '车系',
...@@ -197,6 +197,29 @@ export default { ...@@ -197,6 +197,29 @@ export default {
created() { created() {
let { id } = this let { id } = this
this.init(id) this.init(id)
// 针对广汇替换字段
console.log(location.host)
if (this.id == 1 && location.host == 'scrm.cgacar.com') {
this.tableParams.tableColumns.splice(
3,
3,
{
type: 'input',
name: '',
label: '线索时间'
},
{
type: 'input',
name: '',
label: '意向车型'
},
{
type: 'input',
name: '',
label: '线索来源'
}
)
}
}, },
mounted() { mounted() {
this.getStaffList() this.getStaffList()
...@@ -275,7 +298,7 @@ export default { ...@@ -275,7 +298,7 @@ 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) this.$router.push('/clientDataOverview/index')
} }
} }
} }
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
<!-- <div class="marketingBtn"> <!-- <div class="marketingBtn">
<el-dropdown> <el-dropdown>
<span class="el-dropdown-link"> <span class="el-dropdown-link">
一键营销 一键营销`
<i class="el-icon-arrow-down el-icon--right"></i> <i class="el-icon-arrow-down el-icon--right"></i>
</span> </span>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
...@@ -205,7 +205,7 @@ ...@@ -205,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">占比:{{ (topDataObj.purposeCustomerNAddPercent && topDataObj.purposeCustomerNAddPercent.toFixed(2) || 0) }}%</span> <span class="numPro">占比:{{ (topDataObj.purposeCustomerNAddPercent && topDataObj.purposeCustomerNAddPercent.toFixed(2)) || 0 }}%</span>
</p> </p>
<!-- <div class="marketingBtn"> <!-- <div class="marketingBtn">
智能营销 智能营销
...@@ -234,9 +234,9 @@ ...@@ -234,9 +234,9 @@
<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="nameHover">已加企微,待匹配客户</span>
<span class="intend-phone" @click.stop="goto(201)">(已绑定手机号{{ topDataObj.notMatchCustomerAddPhoneCount ? topDataObj.notMatchCustomerAddPhoneCount : 0 }}人)</span> <span class="intend-phone" @click.stop="goto(20)">(已绑定手机号{{ 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" />
</el-popover> </el-popover>
</p> </p>
...@@ -255,11 +255,11 @@ ...@@ -255,11 +255,11 @@
</div> </div>
</div> </div>
<!-- 未加企微,未匹配客户 --> <!-- 未加企微,未匹配客户 -->
<div class="intended" @click="goto(202)"> <div class="intended" @click="goto(21)">
<p class="intend-name"> <p class="intend-name">
<span>未加企微,未匹配客户</span> <span>未加企微,未匹配客户</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" />
</el-popover> </el-popover>
</p> </p>
...@@ -1172,9 +1172,9 @@ export default { ...@@ -1172,9 +1172,9 @@ export default {
justify-content: space-between; justify-content: space-between;
.item { .item {
width: 25%; width: 25%;
margin-right: 16px;
cursor: pointer; cursor: pointer;
&:last-child{ margin-right: 16px;
&:last-child {
margin-right: 0; margin-right: 0;
} }
.itemTitle { .itemTitle {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!