|
|
@@ -25,7 +25,7 @@
|
|
|
<el-pagination
|
|
|
@current-change="changePagination"
|
|
|
:current-page.sync="currentPage"
|
|
|
- :page-size="20"
|
|
|
+ :page-size="10"
|
|
|
layout="total, prev, pager, next"
|
|
|
:total="totalCount"
|
|
|
></el-pagination>
|
|
|
@@ -85,7 +85,7 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
whole() {
|
|
|
- return this.listData.whole || {};
|
|
|
+ return this.listData.whole || {}
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
@@ -97,7 +97,7 @@ export default {
|
|
|
},
|
|
|
projectLink(i) {
|
|
|
const type = i.entity_type
|
|
|
- let link = 'javascript:void(0);'
|
|
|
+ let link = 'javascript:void(0)'
|
|
|
if(type === '1') link = `/rooter/outsourceitem/${i.entity_id}>`
|
|
|
else if(type === '3') link = `/rooter/wagedetails?job_id=${i.entity_id}`
|
|
|
return link
|
|
|
@@ -134,13 +134,13 @@ export default {
|
|
|
const p = this.currentPage
|
|
|
const res = await this.$post("/api/admin/vip/getVipOrders", { page: this.currentPage, page_size: 10 })
|
|
|
// console.log(res)
|
|
|
- const data = res.data;
|
|
|
+ const data = res.data
|
|
|
env = data.current_env
|
|
|
- const list = data.list;
|
|
|
- this.listData = data;
|
|
|
- this.tableData = list; // this.formatTableData(list, data);
|
|
|
- this.totalCount = Number(data.total);
|
|
|
- this.totalPage = data.pages;
|
|
|
+ const list = data.list
|
|
|
+ this.listData = data
|
|
|
+ this.tableData = list // this.formatTableData(list, data)
|
|
|
+ this.totalCount = Number(data.total)
|
|
|
+ this.totalPage = data.pages
|
|
|
}
|
|
|
}
|
|
|
}
|