前端财务中心页面添加分页

This commit is contained in:
Lemon
2023-07-07 09:11:55 +08:00
parent 37a8562861
commit bbaa7aed67
2 changed files with 5 additions and 2 deletions

View File

@@ -171,6 +171,7 @@ export default {
getMerchantOrderList(param).then((response) => {
console.log("getMerchantOrderList", response)
this.merchantOrderList = response.rows;
this.total = response.total;
})
}
}

View File

@@ -167,7 +167,6 @@
</template>
</el-table-column>
</el-table>
<pagination
v-show="total > 0"
:total="total"
@@ -176,6 +175,7 @@
@pagination="getFinancialMerchantList"
/>
</div>
</template>
<script>
@@ -244,8 +244,10 @@ export default {
// 获取运营商列表
getFinancialMerchantList() {
getFinancialMerchantList().then((response) => {
console.log("merchantList", response)
console.log("response", response)
this.merchantList = response.rows;
console.log("response.total", response.total)
this.total = response.total;
})
},
// 取消按钮