statDialog.vue
1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<template>
<GLDialog title="SOP执行统计" :visible.sync="statVisible" width="70%" :before-close="handleClose" :hasFooter="false">
<div class="dialog-body">
<GLTable v-loading="loading" :hasNum="true" @setTableHeightEvent="setTableHeightEvent" @setTableFinishFun="setTableFinishFun" ref="leadManage" :getListApi="getListApi" :searchForm="searchForm" :pageConf="pageConf" :noDataImg="url" :tableParams="tableParams"></GLTable>
</div>
</GLDialog>
</template>
<script>
import { getTableList } from '@/api/modules/leadManage'
export default {
props: {
statVisible: Boolean
},
data() {
return {
getListApi: getTableList,
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
tableParams: {
listName: 'list',
tableColumns: [
{
label: '营销计划',
prop: 'orderNo'
},
{
label: '触达方式',
prop: 'name'
},
{
label: '今日营销客户数',
prop: 'phone'
},
{
label: '今日下发任务数',
prop: 'type',
addHtml: 'type'
},
{
label: '累计营销客户数',
prop: 'status'
},
{
label: '累计下发任务数',
prop: 'userName'
}
]
}
}
},
methods: {
handleClose() {
this.$parent.statVisible = false
}
}
}
</script>
<style scoped lang="scss"></style>