TaskTable.vue
1.58 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<template>
<d2-table
class="my-row-height"
ref="withdrawalTable"
:hasNum="true"
:tableParams="withdrawalTableParams"
:searchForm="withdrawalSearchForm"
:getListApi="getListApi"
:pageConf="pageConf"
>
</d2-table>
</template>
<script>
export default {
name: 'TaskTable',
data(){
return{
pageConf: {
pageSize: 'pageSize',
pageNum: 'pageNum',
totalCount: 'data.total',
},
// getListApi: customerApi.searchCustomerList,
withdrawalTableParams: {
mutiSelectUniqueKey:new Date().getTime() + parseInt(Math.random() * 1000),
mutiSelectName:'1111',
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: 'data.list',
tableColumns: [
{
label: '员工名称',
prop: 'withdrawalName',
},
{
label: '微信昵称',
prop: 'withdrawalId',
},
{
label: '员工手机号',
prop: 'mainBrandName',
},
{
label: '部门',
prop: 'customerNumber',
},
{
label: '任务状态',
prop: 'validCustomerNumber',
},
{
label: '已获得收益',
prop: 'batchNo',
},
{
label: '门店渠道',
prop: 'status',
addHtml: 'status',
},
{
label: '提现时间',
prop: 'createdBy',
}
],
},
}
}
}
</script>
<style scoped>
</style>