Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
O
on-site-service-admin-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
external
on-site-service-admin-view
Commits
8c8f6e21
Commit
8c8f6e21
authored
Jul 22, 2022
by
shangtx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 推广统计
parent
a5fba3c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
0 deletions
+49
-0
promote.js
src/api/promote.js
+11
-0
PromotionList.vue
src/views/promotion/PromotionList.vue
+38
-0
No files found.
src/api/promote.js
0 → 100644
View file @
8c8f6e21
import
{
axios
}
from
'@/util/axios/request'
const
BASE_URL
=
'/service/promote'
export
function
getPage
(
data
)
{
return
axios
({
url
:
`
${
BASE_URL
}
/page`
,
method
:
'post'
,
data
})
}
src/views/promotion/PromotionList.vue
0 → 100644
View file @
8c8f6e21
<
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment