Commit ed4ec52d by 前端

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

更新2.4.0代码

See merge request !102
2 parents c50ba577 903c620d
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
* @returns * @returns
*/ */
import { import {
http3 http3,
http
} from '@/main' } from '@/main'
// const url = 'http://192.168.3.193:8395/rop-scrm-entmicro/router' // const url = 'http://192.168.3.193:8395/rop-scrm-entmicro/router'
...@@ -103,3 +104,39 @@ export function searchCrowdIdByCrowdname(params) { ...@@ -103,3 +104,39 @@ export function searchCrowdIdByCrowdname(params) {
sign: true sign: true
}) })
} }
// 删除sop事件
const deleteSopEventApi = params => {
params.method = 'scrm.api.sop.sopInfo.delete'
return http({
url: 'rop-scrm-sop/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
// 结束sop事件
const endSopEventApi = params => {
params.method = 'scrm.api.sop.sopInfo.updateEndStatus'
return http({
url: 'rop-scrm-sop/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
const getSopInfoListApi = params => {
params.method = 'scrm.api.sop.sopInfo.listWithPage'
return http({
url: '/rop-scrm-sop/router',
method: 'POST',
data: params,
sign: true
})
}
export default { deleteSopEventApi, endSopEventApi, getSopInfoListApi }
\ No newline at end of file \ No newline at end of file
...@@ -7,9 +7,7 @@ ...@@ -7,9 +7,7 @@
* @returns * @returns
*/ */
import { http, http3 } from '@/main' import { http, http3 } from '@/main'
// http 对应的域名http://ismv.branch.glsx.com.cn // http 对应的域名http://ismv.branch.glsx.com.cn
// 查询推荐人群和自定义人群列表 // 查询推荐人群和自定义人群列表
const getCrowdList = params => { const getCrowdList = params => {
params.method = 'scrm.api.datahub.user.queryCrowdTree' params.method = 'scrm.api.datahub.user.queryCrowdTree'
...@@ -22,7 +20,6 @@ const getCrowdList = params => { ...@@ -22,7 +20,6 @@ const getCrowdList = params => {
returnAll: true returnAll: true
}) })
} }
//通过人群Id查询人群详情 //通过人群Id查询人群详情
const getCrowdDetails = params => { const getCrowdDetails = params => {
params.method = 'scrm.api.datahub.user.queryCrowdDetailsById' params.method = 'scrm.api.datahub.user.queryCrowdDetailsById'
...@@ -45,7 +42,6 @@ const addCrowd = params => { ...@@ -45,7 +42,6 @@ const addCrowd = params => {
returnAll: true returnAll: true
}) })
} }
//根据标签组合查询人群客户数 //根据标签组合查询人群客户数
const getCrowdCount = params => { const getCrowdCount = params => {
params.method = 'scrm.api.datahub.user.queryCrowdCountByTagCombine' params.method = 'scrm.api.datahub.user.queryCrowdCountByTagCombine'
...@@ -68,7 +64,6 @@ const getSearchBox = params => { ...@@ -68,7 +64,6 @@ const getSearchBox = params => {
returnAll: true returnAll: true
}) })
} }
//标签组树查询 //标签组树查询
const getLabelTreeList = params => { const getLabelTreeList = params => {
params.method = 'scrm.api.datahub.labelgroup.queryLabelGroupTree' params.method = 'scrm.api.datahub.labelgroup.queryLabelGroupTree'
...@@ -80,12 +75,71 @@ const getLabelTreeList = params => { ...@@ -80,12 +75,71 @@ const getLabelTreeList = params => {
returnAll: true returnAll: true
}) })
} }
//查询分群列表树
const queryCrowdGroupTree = params => {
params.method = 'scrm.api.datahub.crowdgroup.queryCrowdGroupTree'
return http({
url: '/rop-scrm-datahub/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
//创建分群
const addCrowdGroup = params => {
params.method = 'scrm.api.datahub.crowdgroup.addCrowdGroup'
return http({
url: '/rop-scrm-datahub/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
//编辑分群
const editCrowdGroup = params => {
params.method = 'scrm.api.datahub.crowdgroup.editCrowdGroup'
return http({
url: '/rop-scrm-datahub/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
//删除分群
const deleteCrowdGroup = params => {
params.method = 'scrm.api.datahub.crowdgroup.deleteCrowdGroup'
return http({
url: '/rop-scrm-datahub/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
//删除分群
const queryCrowdGroupDetailsByCrowdGroupId = params => {
params.method = 'scrm.api.datahub.crowdgroup.queryCrowdGroupDetailsByCrowdGroupId'
return http({
url: '/rop-scrm-datahub/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
export default { export default {
getCrowdList, getCrowdList,
getCrowdDetails, getCrowdDetails,
addCrowd, addCrowd,
getCrowdCount, getCrowdCount,
getSearchBox, getSearchBox,
getLabelTreeList getLabelTreeList,
queryCrowdGroupTree,
addCrowdGroup,
editCrowdGroup,
deleteCrowdGroup,
queryCrowdGroupDetailsByCrowdGroupId
} }
...@@ -153,67 +153,67 @@ export const Constants = { ...@@ -153,67 +153,67 @@ export const Constants = {
DESCRIBEDATA: [{ DESCRIBEDATA: [{
name: '潜在意向客户', name: '潜在意向客户',
info: '无购车且无其他交易行为的所有客户', info: '无购车且无其他交易行为的所有客户',
id: 1 id: 4
}, },
{ {
name: '潜在意向已加企微客户', name: '潜在意向已加企微客户',
info: '在潜在意向客户中,已加企微的客户', info: '在潜在意向客户中,已加企微的客户',
id: 2 id: 5
}, },
{ {
name: '潜在意向未加企微客户', name: '潜在意向未加企微客户',
info: '在潜在意向客户中,未加企微的客户', info: '在潜在意向客户中,未加企微的客户',
id: 3 id: 6
}, },
{ {
name: '基盘客户', name: '基盘客户',
info: '有购车或其他交易行为的所有客户', info: '有购车或其他交易行为的所有客户',
id: 4 id: 1
}, },
{ {
name: '基盘已加企微客户', name: '基盘已加企微客户',
info: '在基盘客户中,已加企微的客户', info: '在基盘客户中,已加企微的客户',
id: 5 id: 2
}, },
{ {
name: '基盘未加企微客户', name: '基盘未加企微客户',
info: '在基盘客户中,未加企微的客户', info: '在基盘客户中,未加企微的客户',
id: 6 id: 3
},
{
name: '新车客户',
info: '购车时间3个月的客户',
id: 7
},
{
name: '车险待续保客户',
info: '近一个月内车险即将到期的客户',
id: 8
},
{
name: '新车待首保客户',
info: '购车时间5~7个月内,且无保养记录的客户',
id: 9
},
{
name: '沉默客户',
info: '超过180天未到店的客户',
id: 10
}, },
// {
// name: '新车客户',
// info: '购车时间3个月的客户',
// id: 7
// },
// {
// name: '车险待续保客户',
// info: '近一个月内车险即将到期的客户',
// id: 8
// },
// {
// name: '新车待首保客户',
// info: '购车时间5~7个月内,且无保养记录的客户',
// id: 9
// },
// {
// name: '沉默客户',
// info: '超过180天未到店的客户',
// id: 10
// },
{ {
name: '已加企微,待匹配客户', name: '已加企微,待匹配客户',
info: '已加企微,且未匹配到潜在意向或基盘客户的客户', info: '已加企微,且未匹配到潜在意向或基盘客户的客户',
id: 11 id: 7
}, },
{ {
name: '已加企微,待匹配客户(已绑定手机号)', name: '已加企微,待匹配客户(已绑定手机号)',
info: '已加企微,且未匹配到潜在意向或基盘客户的客户(已绑定手机号)', info: '已加企微,且未匹配到潜在意向或基盘客户的客户(已绑定手机号)',
id: 20 id: 8
}, },
{ {
name: '未加企微,未匹配客户', name: '未加企微,未匹配客户',
info: '未添加企微或添加企微后删除好友,且未匹配到意向和基盘客户的客户', info: '未添加企微或添加企微后删除好友,且未匹配到意向和基盘客户的客户',
id: 21 id: 9
} }
] ]
} }
\ 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="goSOPAnalysis(scope.scope.id)">SOP分析</el-button>
<el-button class="blue-text" type="text" @click="goSOPEdit(scope.scope.id)">编辑</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'
import util from '@/utils/util'
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: {
// 跳转SOP分析
goSOPAnalysis(){
this.$history.push(`/marketing/sop/sopAnalysisList?fromPage=${encodeURI('/custom/clientDataOverview/marketingPeople?selectTab=2')}&id=183`)
},
// 跳转SOP编辑页面
goSOPEdit(id) {
this.$history.push(`/marketing/sop/editSop?$title=${encodeURI('编辑SOP')}&fromPage=${encodeURI('/custom/clientDataOverview/marketingPeople?selectTab=2')}&addOrEdit=edit&id=183`)
},
// 确认删除或结束
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>
...@@ -6,8 +6,12 @@ ...@@ -6,8 +6,12 @@
<template slot="options" slot-scope="scope"> <template slot="options" slot-scope="scope">
<el-button class="blue-text" type="text" @click="goSOPAnalysis(scope.scope.id)">SOP分析</el-button> <el-button class="blue-text" type="text" @click="goSOPAnalysis(scope.scope.id)">SOP分析</el-button>
<el-button class="blue-text" type="text" @click="goSOPEdit(scope.scope.id)">编辑</el-button> <el-button class="blue-text" type="text" @click="goSOPEdit(scope.scope.id)">编辑</el-button>
<el-button class="blue-text" type="text" @click="confirm('delete')">删除</el-button> <el-button class="blue-text" type="text" @click="handleDelete(scope.scope)">删除</el-button>
<el-button class="blue-text" type="text" @click="confirm(scope.scope)">结束</el-button> <el-button class="blue-text" type="text" @click="handleEnd(scope.scope)">结束</el-button>
<!-- <el-button v-if="scope.scope.sopStatus != 1" type="text" @click="handleJump('sopAnalysisList', scope.scope)">SOP分析</el-button>
<el-button v-if="scope.scope.sopStatus == 2" type="text" @click="handleEnd(scope.scope)">结束</el-button>
<el-button v-if="scope.scope.sopStatus != 3" type="text" @click="handleEdit('edit', scope.scope)">编辑</el-button>
<el-button v-if="scope.scope.sopStatus == 1" type="text" @click="handleDelete(scope.scope)">删除</el-button> -->
</template> </template>
</GLTable> </GLTable>
</div> </div>
...@@ -16,7 +20,6 @@ ...@@ -16,7 +20,6 @@
<script> <script>
import { getTableList } from '@/api/modules/clientManage' import { getTableList } from '@/api/modules/clientManage'
import util from '@/utils/util'
export default { export default {
data() { data() {
return { return {
...@@ -43,7 +46,7 @@ export default { ...@@ -43,7 +46,7 @@ export default {
placeholder: '请选择' placeholder: '请选择'
} }
], ],
getListApi: getTableList, getListApi: this.$apis.clientDataOverview.getSopInfoListApi,
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' }, pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
tableParams: { tableParams: {
listName: 'data', listName: 'data',
...@@ -88,22 +91,71 @@ export default { ...@@ -88,22 +91,71 @@ export default {
}, 200) }, 200)
}, },
methods: { methods: {
// 结束
handleEnd(row) {
this.secondConfirm('结束', '结束SOP后,将不再进行营销任务自动推送,且不可恢复。是否确定结束?', 'clientDataOverview', 'endSopEventApi', { sopId: row.id })
},
handleDelete(row) {
this.secondConfirm('删除', 'SOP删除后,不可恢复。是否确定删除?', 'clientDataOverview', 'deleteSopEventApi', { sopId: row.id })
},
secondConfirm(title, txt, apiModule, apiName, apiParams, fn) {
this.$confirm(txt, title, {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
callback: action => {
if (action == 'confirm') {
this.$apis[apiModule][apiName](apiParams).then(res => {
this.$message({
message: res.code == '0' ? '操作成功' : res.message,
type: res.code == '0' ? 'success' : 'error'
})
if (res.code == '0') {
fn && fn()
this.searchTable()
}
})
}
}
})
},
// 跳转SOP分析 // 跳转SOP分析
goSOPAnalysis(){ goSOPAnalysis(id) {
this.$history.push(`/marketing/sop/sopAnalysisList?fromPage=${encodeURI('/custom/clientDataOverview/marketingPeople?selectTab=2')}&id=183`) this.$history.push(`/marketing/sop/sopAnalysisList?fromPage=${encodeURI('/custom/clientDataOverview/marketingPeople?selectTab=second')}&id=${id}`)
}, },
// 跳转SOP编辑页面 // 跳转SOP编辑页面
goSOPEdit(id) { // goSOPEdit(id) {
// this.$history.push(`/marketing/sop/editSop?$title=${encodeURI('编辑SOP')}&fromPage=${encodeURI('/custom/clientDataOverview/marketingPeople?selectTab=2')}&addOrEdit=edit&id=183`) // var params = {
// addOrEdit: 'edit',
// fromPage: '/custom/clientDataOverview/marketingPeople?selectTab=second',
// $title: encodeURI('编辑SOP')
// }
// // addOrEdit != 'add' && (params.id = row.id)
// this.$router.push({
// path: '/sop/editSop',
// query: params
// })
// },
// 跳转到营销SOP
goSOPEdit() {
let marketQuery
var params = { var params = {
addOrEdit: 'edit', addOrEdit: 'edit',
fromPage: '/custom/clientDataOverview/marketingPeople?selectTab=2', fromPage: `/custom/clientDataOverview/marketingPeople?crowdId=${this.crowdGroupId}&selectTab=2`,
$title: encodeURI('编辑SOP') $title: encodeURI('编辑SOP'),
info: {
// 人群
customerOptType: 2,
crowdList: []
}
} }
// addOrEdit != 'add' && (params.id = row.id) params.info.crowdList.push(marketQuery)
this.$router.push({ this.$common.utils.storage.set('sopInfo', params)
path: '/sop/editSop', console.log(params)
query: params this.$history.push({
path: 'marketing/sop/editSop'
}) })
}, },
// 确认删除或结束 // 确认删除或结束
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
</div> </div>
<div> <div>
<el-button size="small" @click="handleExport" class="export">导出</el-button> <el-button size="small" @click="handleExport" class="export">导出</el-button>
<el-button plain size="small" @click="createMarketSOP()"> <el-button plain size="small" @click="createMarketSOP()">
营销SOP 营销SOP
</el-button> </el-button>
...@@ -58,7 +57,6 @@ ...@@ -58,7 +57,6 @@
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import { getCustomerList, getcrowdManageList, customerClusterListExport, searchCrowdIdByCrowdname } from '@/api/modules/clientDataOverview' import { getCustomerList, getcrowdManageList, customerClusterListExport, searchCrowdIdByCrowdname } from '@/api/modules/clientDataOverview'
import { getStaffList } from '@/api/modules/clientManage' import { getStaffList } from '@/api/modules/clientManage'
...@@ -246,18 +244,18 @@ export default { ...@@ -246,18 +244,18 @@ export default {
}, },
methods: { methods: {
// 跳转到营销SOP // 跳转到营销SOP
createMarketSOP() { async createMarketSOP() {
let marketQuery let marketQuery
if (this.crowdType == 1 || this.crowdType == 2) { if (this.crowdType == 1 || this.crowdType == 2) {
marketQuery = JSON.parse(this.$route.query.crowdInfo) marketQuery = JSON.parse(this.$route.query.crowdInfo)
} }
if (this.crowdType == 3) { if (this.crowdType == 3) {
let params = { let params = {
'req.crowdName ': '潜在意向客户', 'req.crowdName': this.groupCorwdTitle,
'req.merchantId': 44209846 'req.merchantId': this.merchantId
} }
searchCrowdIdByCrowdname(params).then(res => { await searchCrowdIdByCrowdname(params).then(res => {
console.log(res) this.corwdId = res
}) })
marketQuery = { marketQuery = {
crowdDesc: this.groupCorwdDesc, crowdDesc: this.groupCorwdDesc,
...@@ -268,7 +266,7 @@ export default { ...@@ -268,7 +266,7 @@ export default {
} }
var params = { var params = {
addOrEdit: 'add', addOrEdit: 'add',
fromPage: `/custom/clientDataOverview/group/${this.id}`, fromPage: `/custom/clientDataOverview/group/${this.id}/${this.crowdType}`,
$title: encodeURI('新建SOP'), $title: encodeURI('新建SOP'),
info: { info: {
// 人群 // 人群
...@@ -279,6 +277,9 @@ export default { ...@@ -279,6 +277,9 @@ export default {
params.info.crowdList.push(marketQuery) params.info.crowdList.push(marketQuery)
console.log(params) console.log(params)
this.$common.utils.storage.set('sopInfo', params) this.$common.utils.storage.set('sopInfo', params)
this.$history.push({
path: 'marketing/sop/editSop'
})
}, },
//获取跟进员工 //获取跟进员工
getStaffList() { getStaffList() {
...@@ -296,7 +297,6 @@ export default { ...@@ -296,7 +297,6 @@ export default {
} }
}) })
staff.unshift({ label: '全部', value: '' }) staff.unshift({ label: '全部', value: '' })
this.$nextTick(() => { this.$nextTick(() => {
this.tagsPartFormList[id].optionList = staff this.tagsPartFormList[id].optionList = staff
}) })
...@@ -374,7 +374,6 @@ export default { ...@@ -374,7 +374,6 @@ export default {
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import '@/styles/variables.scss'; @import '@/styles/variables.scss';
.expandImg { .expandImg {
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</div> </div>
<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> -->
<el-button type="text" @click="goDetail(scope.scope.id, scope.scope.custGroupName)" class="blue-text"> <el-button type="text" @click="goDetail(scope.scope.id)" class="blue-text">
查看客户 查看客户
</el-button> </el-button>
<el-button type="text" @click="handleAdd(scope.scope)" class="blue-text"> <el-button type="text" @click="handleAdd(scope.scope)" class="blue-text">
...@@ -246,14 +246,8 @@ export default { ...@@ -246,14 +246,8 @@ export default {
this.isReload = true this.isReload = true
}) })
}, },
goDetail(id, name) { goDetail(id) {
this.$router.push({ this.$router.push(`/clientDataOverview/marketingPeople?crowdId=${id}`)
path: '/clientGroupManage/clientGroupDetail',
query: {
id: id,
groupName: name
}
})
} }
} }
} }
......
...@@ -222,7 +222,6 @@ export default { ...@@ -222,7 +222,6 @@ export default {
height: 17px; height: 17px;
align-items: center; align-items: center;
font-size: 12px; font-size: 12px;
font-family: Helvetica;
color: #8c8c8c; color: #8c8c8c;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</div> </div>
<!-- 引入echart组件 --> <!-- 引入echart组件 -->
<pie-echart width="100%" height="300px" :topDataObj="topDataObj"></pie-echart> <pie-echart width="100%" height="270px" :topDataObj="topDataObj"></pie-echart>
<!-- <pie-echart-copy class="pieCopy" width="100%" height="300px" :topDataObj="topDataObj"></pie-echart-copy> --> <!-- <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> -->
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<div class="itembox"> <div class="itembox">
<div style="display: flex; overflow: hidden"> <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(1)" fn="人群客户列表" mode="div">
<div class="buyTitle"> <div class="buyTitle">
<span class="client">基盘客户</span> <span class="client">基盘客户</span>
<el-popover placement="top" trigger="hover" content="有购车或其他交易行为的所有客户"> <el-popover placement="top" trigger="hover" content="有购车或其他交易行为的所有客户">
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<el-divider></el-divider> <el-divider></el-divider>
<no-data :type="'hasText'" v-if="isEmptyObj"></no-data> <no-data :type="'hasText'" v-if="isEmptyObj"></no-data>
<div class="firmClient"> <div class="firmClient">
<div @click="goto(5)" fn="人群客户列表" mode="div" class="wid50"> <div @click="goto(2)" fn="人群客户列表" mode="div" class="wid50">
<div class="clientCompleted"> <div class="clientCompleted">
<span>已加企微</span> <span>已加企微</span>
<el-popover placement="top" trigger="hover" content="在基盘客户中,已加企微的客户"> <el-popover placement="top" trigger="hover" content="在基盘客户中,已加企微的客户">
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<span class="numPro">占比:{{ topDataObj.purchaseCustomerAddPercent | percentageDeal }}%</span> <span class="numPro">占比:{{ topDataObj.purchaseCustomerAddPercent | percentageDeal }}%</span>
</p> </p>
</div> </div>
<div @click="goto(6)" fn="人群客户列表" mode="div" class="wid50"> <div @click="goto(3)" fn="人群客户列表" mode="div" class="wid50">
<div class="clientCompleted"> <div class="clientCompleted">
<span>未加企微</span> <span>未加企微</span>
<el-popover placement="top" trigger="hover" content="在基盘客户中,未加企微的客户"> <el-popover placement="top" trigger="hover" content="在基盘客户中,未加企微的客户">
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
<!-- <el-divider direction="vertical"></el-divider> --> <!-- <el-divider direction="vertical"></el-divider> -->
</div> </div>
<div class="buy"> <div class="buy">
<div class="buy-total item" @click="goto(1)" fn="人群客户列表" mode="div"> <div class="buy-total item" @click="goto(4)" fn="人群客户列表" mode="div">
<div class="buyTitle"> <div class="buyTitle">
<span class="client">潜在意向客户</span> <span class="client">潜在意向客户</span>
<el-popover placement="top" trigger="hover" content="无购车且无其他交易行为的所有客户"> <el-popover placement="top" trigger="hover" content="无购车且无其他交易行为的所有客户">
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
<no-data :type="'hasText'" v-if="isEmptyObj"></no-data> <no-data :type="'hasText'" v-if="isEmptyObj"></no-data>
<div class="firmClient"> <div class="firmClient">
<div @click="goto(2)" fn="人群客户列表" mode="div" class="wid50"> <div @click="goto(5)" fn="人群客户列表" mode="div" class="wid50">
<div class="clientCompleted"> <div class="clientCompleted">
<span>已加企微</span> <span>已加企微</span>
<el-popover placement="top" trigger="hover" content="在潜在意向客户中,已加企微的客户"> <el-popover placement="top" trigger="hover" content="在潜在意向客户中,已加企微的客户">
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
<span class="numPro">占比:{{ topDataObj.purposeCustomerAddPercent | percentageDeal }}%</span> <span class="numPro">占比:{{ topDataObj.purposeCustomerAddPercent | percentageDeal }}%</span>
</p> </p>
</div> </div>
<div @click="goto(3)" fn="人群客户列表" mode="div" class="wid50"> <div @click="goto(6)" fn="人群客户列表" mode="div" class="wid50">
<div class="clientCompleted"> <div class="clientCompleted">
<span>未加企微</span> <span>未加企微</span>
<el-popover placement="top" trigger="hover" content="在潜在意向客户中,未加企微的客户"> <el-popover placement="top" trigger="hover" content="在潜在意向客户中,未加企微的客户">
...@@ -173,10 +173,10 @@ ...@@ -173,10 +173,10 @@
</div> </div>
<div class="intendedTop"> <div class="intendedTop">
<!-- 已加企微,待匹配客户 --> <!-- 已加企微,待匹配客户 -->
<div class="intended" @click="goto(11)"> <div class="intended" @click="goto(7)">
<p class="intend-name"> <p class="intend-name">
<span class="nameHover">已加企微,待匹配客户</span> <span class="nameHover">已加企微,待匹配客户</span>
<span class="intend-phone" @click.stop="goto(20)">(已绑定手机号{{ (topDataObj.notMatchCustomerAddPhoneCount || 0) | overThousandFilter }}人)</span> <span class="intend-phone" @click.stop="goto(8)">(已绑定手机号{{ (topDataObj.notMatchCustomerAddPhoneCount || 0) | overThousandFilter }}人)</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" />
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
</div> </div>
</div> </div>
<!-- 未加企微,未匹配客户 --> <!-- 未加企微,未匹配客户 -->
<div class="intended" @click="goto(21)"> <div class="intended" @click="goto(9)">
<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="未添加企微或添加企微后删除好友,且未匹配到意向和基盘客户的客户">
......
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
<span slot="customerSex" slot-scope="scope"> <span slot="customerSex" slot-scope="scope">
<span>{{ scope.scope.customerSex == 0 ? '未知' : scope.scope.customerSex == 1 ? '男' : scope.scope.customerSex == 2 ? '女' : '' }}</span> <span>{{ scope.scope.customerSex == 0 ? '未知' : scope.scope.customerSex == 1 ? '男' : scope.scope.customerSex == 2 ? '女' : '' }}</span>
</span> </span>
<div slot="followStaff" class="entmicro" slot-scope="scope"> <!-- <div slot="followStaff" class="entmicro" slot-scope="scope">
<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" v-if="idx < 3">
<el-tag type="info" class="ellipsis-1" v-if="idx < 3" :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 }}
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<el-tag type="info" v-if="followList(scope.scope.followStaff).length > 3 && idx == 3"> <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" >
<el-tag style="margin-left:4px" type="info" v-for="(i, index) in followList(scope.scope.followStaff)" :key="index" :disable-transitions="false"> <el-tag style="margin-left:4px" type="info" v-for="(i, index) in followList(scope.scope.followStaff)" :key="index" :disable-transitions="false">
<i class="el-icon-user-solid" style="color: #75acff"></i> <i class="el-icon-user-solid" style="color: #75acff"></i>
{{ i }} {{ i }}
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</el-popover> </el-popover>
</el-tag> </el-tag>
</div> </div>
</div> </div> -->
<!-- 企微名称 --> <!-- 企微名称 -->
<div slot="nickNameList" slot-scope="scope" class="expandImg"> <div slot="nickNameList" slot-scope="scope" class="expandImg">
<div v-if="!scope.scope.nickNameList.length">--</div> <div v-if="!scope.scope.nickNameList.length">--</div>
...@@ -259,21 +259,21 @@ export default { ...@@ -259,21 +259,21 @@ export default {
{ {
label: '客户ID', label: '客户ID',
prop: 'oneId', prop: 'oneId',
width: 140, width: 290,
line: 1 line: 1
}, },
{ {
label: '客户名称', label: '客户名称',
prop: 'customerName', prop: 'customerName',
addHtml: 'customerName', addHtml: 'customerName',
width: 120, width: 170,
line: 1 line: 1
}, },
{ {
label: '企微名称', label: '企微名称',
prop: 'nickNameList', prop: 'nickNameList',
addHtml: 'nickNameList', addHtml: 'nickNameList',
width: 190, width: 190
}, },
{ {
label: '联系电话', label: '联系电话',
...@@ -289,7 +289,7 @@ export default { ...@@ -289,7 +289,7 @@ export default {
{ {
label: '跟进员工', label: '跟进员工',
prop: 'followStaff', prop: 'followStaff',
addHtml: 'followStaff', // addHtml: 'followStaff',
width: 320 width: 320
}, },
{ {
...@@ -323,13 +323,13 @@ export default { ...@@ -323,13 +323,13 @@ export default {
{ {
label: '车系', label: '车系',
prop: 'audi', prop: 'audi',
width: 120, width: 250,
line: 1 line: 1
}, },
{ {
label: '车架号', label: '车架号',
prop: 'carVin', prop: 'carVin',
width: 180, width: 270,
line: 1 line: 1
}, },
{ {
...@@ -341,7 +341,7 @@ export default { ...@@ -341,7 +341,7 @@ export default {
{ {
label: '购车时间', label: '购车时间',
prop: 'buyDate', prop: 'buyDate',
width: 170, width: 250,
line: 1 line: 1
}, },
{ {
......
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
}, },
methods: { methods: {
jumpUrl() { jumpUrl() {
util.openUrl(location.origin + '/home/followUp/index') util.openUrl(location.origin + '/settings/followUp/index')
}, },
getFollower() { getFollower() {
var params = { var params = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!