Commit 89ff0022 by 前端

fixed

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