Commit a84d7dfd authored by 潘自豪's avatar 潘自豪

新增流失客户优化

parent 9bb7c7e1
......@@ -24,7 +24,7 @@
<tbody>
<tr v-for="(row, idx) in rightDatas" :key="idx" :style="{height: 100 / rightDatas.length + '%'}">
<td v-if="showIcon">
<div class="col_number">{{ idx + 21 }}</div>
<div class="col_number">{{ idx + (pageSize/2) +1 }}</div>
</td>
<td class="winner_span" :style="columnsStyle['title']">{{ row.title }}</td>
<td v-for="(col, idz) in row.column" :key="idz" :style="columnsStyle[col.key]">
......@@ -44,9 +44,9 @@
export default {
name: "pagingList",
props: {
curPage: {
type: menubar,
default: 1
pageSize: {
type: Number,
default: 40
},
showIcon: {
type: Boolean,
......
......@@ -4,12 +4,12 @@
<paging-list class="list_data" style="overflow: auto;" id="ar_company_list"
:columns-style="{'title':{'width':'30%'}}"
:leftDatas="pageData.leftData" :rightDatas="pageData.rightData"
:curPage = "curPage"
:pageSize = "pageSize"
/>
<div class="bottom">
<el-pagination
background
:page-size="40"
:page-size="pageSize"
:pager-count="11"
:current-page="curPage"
layout="prev, pager, next"
......@@ -36,6 +36,7 @@ export default {
today: moment().format("yyyy-MM-DD"),
curPageTitle: this.$route.query.code === 1 ? "新增客户(较去年)" : "流失客户(较去年)",
pageData :{},
pageSize:40,
curPage:1,
}
},
......
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