Commit 46c4aa63 by xuyl

更新代码

1 parent 59367801
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
return { return {
groupCorwdTitle: '', groupCorwdTitle: '',
groupCorwdDesc: '', groupCorwdDesc: '',
corwdId:'',//传到营销SOP的crowId corwdId: '', //传到营销SOP的crowId
getListApi: this.$route.params.crowdType == '1' || this.$route.params.crowdType == '2' ? 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: {
...@@ -254,11 +254,10 @@ export default { ...@@ -254,11 +254,10 @@ export default {
if (this.crowdType == 3) { if (this.crowdType == 3) {
let params = { let params = {
'req.crowdName ': '潜在意向客户', 'req.crowdName ': '潜在意向客户',
// this.merchantId
'req.merchantId': 44209846 'req.merchantId': 44209846
} }
searchCrowdIdByCrowdname(params).then(res => { searchCrowdIdByCrowdname(params).then(res => {
this.corwdId = res.data console.log(res)
}) })
marketQuery = { marketQuery = {
crowdDesc: this.groupCorwdDesc, crowdDesc: this.groupCorwdDesc,
...@@ -269,7 +268,7 @@ export default { ...@@ -269,7 +268,7 @@ export default {
} }
var params = { var params = {
addOrEdit: 'add', addOrEdit: 'add',
fromPage: '/custom/clientDataOverview/group', fromPage: `/custom/clientDataOverview/group/${this.id}`,
$title: encodeURI('新建SOP'), $title: encodeURI('新建SOP'),
info: { info: {
// 人群 // 人群
...@@ -280,9 +279,6 @@ export default { ...@@ -280,9 +279,6 @@ 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() {
......
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
<div class="settiongBox"> <div class="settiongBox">
<span class="normalTitle">客户分群</span> <span class="normalTitle">客户分群</span>
<div class="set"> <div class="set">
<span>设置</span> <span @click="goToGrouping()">设置</span>
<i class="el-icon-arrow-right color-58"></i> <i class="el-icon-arrow-right color-58"></i>
</div> </div>
</div> </div>
...@@ -469,9 +469,13 @@ export default { ...@@ -469,9 +469,13 @@ export default {
this.customerListShow() this.customerListShow()
}, },
methods: { methods: {
goToGrouping() {
this.$router.push('/clientDataOverview/grouping')
},
customerListShow() { customerListShow() {
let param = { let param = {
'req.merchantId': this.merchantId // this.merchantId
'req.merchantId': 44209846
} }
customerClusterListShow(param).then(res => { customerClusterListShow(param).then(res => {
this.customerSegmentation = res.crowdGroupUnitList this.customerSegmentation = res.crowdGroupUnitList
...@@ -1120,13 +1124,16 @@ export default { ...@@ -1120,13 +1124,16 @@ export default {
} }
.itembox { .itembox {
margin: 20px; margin: 20px;
display: flex; // display: flex;
justify-content: space-between; // justify-content: space-between;
display: grid;
grid-template-columns: 25% 25% 25% 25%;
.item { .item {
width: 25%;
cursor: pointer; cursor: pointer;
margin-right: 16px; margin-right: 16px;
&:last-child { margin-bottom: 16px;
// width: 25%;
&:nth-child(4n) {
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!