Commit 64b26969 by 王志慧

Merge branch 'v2.4.0' of http://192.168.3.233:8090/saas/scrm-micro-drainage into v2.4.0

2 parents 47c5c539 e5307d0f
......@@ -108,6 +108,7 @@ export default {
this.getCrowdList()
})
},
// this.$refs.crowdTable.tableHeightValues = '250'
getCrowdList() {
var params = {
req: {
......@@ -119,6 +120,7 @@ export default {
pageNum: this.$refs.crowdTable.page.pageNum
}
}
this.$apis.channel.queryCrowdtree(params).then(res => {
this.tableData = res.crowdUnitList
this.tableTotal = res.total
......
......@@ -12,19 +12,19 @@ import Vue from 'vue'
import store from '@/store'
import { VueRouter } from '@/router'
const render = (base, routes) => {
const router = new VueRouter({
base,
routes,
mode: 'history'
})
router.afterEach(() => {
document.querySelector("#app").scrollTop = 0;
})
const vm = new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')
return { router, vm }
const router = new VueRouter({
base,
routes,
mode: 'history'
})
router.afterEach(() => {
document.querySelector('#app').scrollTop = 0
})
const vm = new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')
return { router, vm }
}
export default render
\ No newline at end of file
export default render
......@@ -426,6 +426,8 @@ export default {
.then(() => {
this.labeling = []
this.crowding = []
this.contactNum = 0
console.log('清空')
})
.catch(() => {
this.selectType = oldVal
......@@ -439,6 +441,7 @@ export default {
})
.then(() => {
this.clearFile()
console.log('清空了')
})
.catch(() => {
this.selectType = oldVal
......@@ -539,6 +542,7 @@ export default {
},
handleSaveImport() {
const groupIds = this.crowding.map(item => item.crowdId)
if (groupIds.length == 0) return
this.loading = true
let params = {
exportUrl: this.exportUrl,
......@@ -547,7 +551,6 @@ export default {
groupIds
}
this.$apis.marketing.exportAdd(params).then(res => {
console.log(res)
if (res) {
if (this.selectType == 1) {
this.contactNum = res.totalCount
......@@ -662,6 +665,7 @@ export default {
this.$refs.screenTagForm.init(this.labeling)
},
handleCrowd() {
console.log(this.crowding)
this.$refs.selectCrowdForm.init(this.crowding)
},
crowdChecked(item) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!