Commit 89ff0022 by 前端

fixed

1 parent 35a4c2d5
<!-- 编辑sop -->
<template>
<div class="marketing edit-box"
v-loading="marketingSOPLoading">
v-loading="marketingSOPLoading || marketingcrowLoading">
<div class="sop-base-info">
<div class="container m-b-20">
<p class="edit-title">{{ title }}</p>
......@@ -406,6 +406,7 @@ export default {
url: url,
marketingEventLoading: false,
marketingSOPLoading: false,
marketingcrowLoading: false,
editChildRef: 'editChildRef',
editStatus: false,
editDisabled: false,
......@@ -996,6 +997,7 @@ export default {
// 判断有没有旧数据
await this.processOldSOPData(res).then(res => {
this.marketingEventLoading = false
})
this.editForm.eventList = res.eventList
......@@ -1026,6 +1028,7 @@ export default {
},
// 群标签 预估
getGroupByTagList() {
this.marketingcrowLoading = true
var params = {
combineType: 2,
pageSize: 1,
......@@ -1047,11 +1050,16 @@ export default {
})
})
this.$apis.sop.getCustomerByGroupTagListApi(params).then(res => {
this.$nextTick(() => {
this.marketingcrowLoading = false
})
this.customerDataList[this.currentCustomerIdx].customerCount = res.count
})
},
getCustomerByTagList() {
this.marketingcrowLoading = true
var params = {
combineType: 2,
pageSize: 1,
......@@ -1072,6 +1080,7 @@ export default {
})
})
this.$apis.sop.getCustomerByTagListApi(params).then(res => {
this.marketingcrowLoading = false
this.customerDataList[this.currentCustomerIdx].customerCount = res.count
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!