Commit 8c8f6e21 authored by shangtx's avatar shangtx

feat: 推广统计

parent a5fba3c8
import { axios } from '@/util/axios/request'
const BASE_URL = '/service/promote'
export function getPage(data) {
return axios({
url: `${BASE_URL}/page`,
method: 'post',
data
})
}
<template>
<table-template :soul="this"> </table-template>
</template>
<script>
import { TableTemplate, TableScript, SearchType } from '@/components/table'
import { getPage } from '@/api/promote'
const columns = [
{
title: '用户名',
width: 150,
dataIndex: 'userName',
filter: { type: SearchType.STRING }
},
{
title: '推广数量',
width: 150,
dataIndex: 'count'
},
{ title: ' ', dataIndex: 'x' }
]
export default {
name: 'PromotionList',
mixins: [TableScript],
components: { TableTemplate },
data() {
return {
columns,
useYScroll: true,
title: '推广管理'
}
},
methods: {
queryData: getPage
}
}
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment