Commit 9bb7c7e1 authored by 潘自豪's avatar 潘自豪

新增流失客户优化

parent 4bfec5bd
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<tbody> <tbody>
<tr v-for="(row, idx) in rightDatas" :key="idx" :style="{height: 100 / rightDatas.length + '%'}"> <tr v-for="(row, idx) in rightDatas" :key="idx" :style="{height: 100 / rightDatas.length + '%'}">
<td v-if="showIcon"> <td v-if="showIcon">
<div class="col_number">{{ idx + 26 }}</div> <div class="col_number">{{ idx + 21 }}</div>
</td> </td>
<td class="winner_span" :style="columnsStyle['title']">{{ row.title }}</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]"> <td v-for="(col, idz) in row.column" :key="idz" :style="columnsStyle[col.key]">
......
...@@ -10,8 +10,8 @@ export const getAllDatas = async function (cur_day, type,cur_page) { ...@@ -10,8 +10,8 @@ export const getAllDatas = async function (cur_day, type,cur_page) {
let curPage = 1; let curPage = 1;
let res = await getOrderAddCustomerDetail(cur_day, type,cur_page); let res = await getOrderAddCustomerDetail(cur_day, type,cur_page);
let lostAdd = resultProcess(res.data.data); let lostAdd = resultProcess(res.data.data);
pageData.leftData = lostAdd.slice(0,25); pageData.leftData = lostAdd.slice(0,20);
pageData.rightData = lostAdd.slice(25,50); pageData.rightData = lostAdd.slice(20,40);
pageData.curPage = res.data.cur_page; pageData.curPage = res.data.cur_page;
pageData.total = res.data.total; pageData.total = res.data.total;
return pageData; return pageData;
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<div class="bottom"> <div class="bottom">
<el-pagination <el-pagination
background background
:page-size="50" :page-size="40"
:pager-count="11" :pager-count="11"
:current-page="curPage" :current-page="curPage"
layout="prev, pager, next" layout="prev, pager, next"
......
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