Commit 8e674d75 by 前端

Merge branch 'v3.12.0' into 'master'

fixed

See merge request !48
2 parents 6b488e79 38bf47e2
<template>
<div class="square-main">
<div class="square-main" v-loading="loading">
<div class="square-title">
<span>数据魔方</span>
<el-popover placement="top" width="400" trigger="hover" content="通过导入的客户基础信息,过滤出系统策略所匹配的目标营销人群,从而引导门店分门别类的配置营销方案,并监控实施效果。">
......@@ -171,6 +171,7 @@ export default {
name: 'square',
data() {
return {
loading: false,
pickerOptions: {
disabledDate: time => {
return time.getTime() > Date.now()
......@@ -350,6 +351,7 @@ export default {
})
},
queryCrowdTree() {
this.loading = true
const params = {
req: {
pageSize: 1000,
......@@ -359,8 +361,9 @@ export default {
}
}
this.$apis.square.queryCrowdTree(params).then(res => {
this.loading = false
if (res && res.crowdUnitList) {
const crowdUnitList = res.crowdUnitList.find(item => item.crowdName == '已加企微,待匹配客户')
const crowdUnitList = res.crowdUnitList.find(item => item.crowdName == '基盘未加企微客户')
this.crowdId = crowdUnitList ? crowdUnitList.crowdId : ''
}
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!