diff --git a/src/api/user.js b/src/api/user.js index e5865db..99be234 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -54,3 +54,11 @@ export function getApplyList(data) { data }) } +// 推广人列表 +export function promoter_list(data) { + return request({ + url: '/api/promoter/promoter_list', + method: 'post', + data + }) +} diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index f3e8ed4..6c1d5d7 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -5,88 +5,98 @@ :data="tableData" height="800" border + fit + highlight-current-row style="width: 100%" > - + - + + @@ -100,4 +110,11 @@ export default { line-height: 46px; } } +.el-pagination { + text-align: center; + margin-top: 20px; +} +.el-table th.status-col { + width: 120px; +} diff --git a/src/views/table/index.vue b/src/views/table/index.vue index b06daba..03dd354 100644 --- a/src/views/table/index.vue +++ b/src/views/table/index.vue @@ -45,7 +45,11 @@ @@ -57,7 +61,7 @@ - + @@ -72,17 +76,16 @@ - + - + - + @@ -97,7 +100,16 @@ - +