mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
添加加载状态
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div class="header-txt">运营汇总</div>
|
||||
<el-button type="primary" @click="goAccount">开户信息</el-button>
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="header" v-loading="loading">
|
||||
<template v-if="operationStatus == null">
|
||||
<div class="foot1">
|
||||
<div style="margin: 12px 0">没有查询到结算账户</div>
|
||||
@@ -317,7 +317,7 @@
|
||||
:visible.sync="dialogTableVisible"
|
||||
:before-close="orderClose"
|
||||
>
|
||||
<el-table :data="orderList">
|
||||
<el-table :data="orderList" v-loading="loading">
|
||||
<el-table-column property="orderCode" label="订单编号" />
|
||||
<el-table-column property="settleAmount" label="结算金额(元)" />
|
||||
<el-table-column property="clearingStatus" label="清分状态">
|
||||
@@ -356,6 +356,7 @@ export default {
|
||||
dicts: ["bill_status"],
|
||||
data() {
|
||||
return {
|
||||
loading: true,
|
||||
operationStatus: null,
|
||||
adapayMember: {},
|
||||
// 开启
|
||||
@@ -407,12 +408,14 @@ export default {
|
||||
},
|
||||
selectAdapayMember() {
|
||||
console.log("this.merchantId", this.merchantId);
|
||||
// this.loading = true;
|
||||
let param = {
|
||||
merchantId: this.merchantId,
|
||||
};
|
||||
selectAdapayMember(param).then((response) => {
|
||||
console.log("查询结算账户", response);
|
||||
this.operationStatus = response.data;
|
||||
this.loading = false;
|
||||
// console.log("this.operationStatus", this.operationStatus.bankAcctType);
|
||||
// 商家性质:
|
||||
if (response.data != null) {
|
||||
@@ -440,12 +443,15 @@ export default {
|
||||
this.adapayMember = response.data;
|
||||
});
|
||||
},
|
||||
// 订单流水请求
|
||||
getOrderList() {
|
||||
this.loading = true;
|
||||
console.log("this.getOrderParams", this.getOrderParams);
|
||||
getOrderReportDetail(this.getOrderParams).then((res) => {
|
||||
console.log("获取订单列表res", res);
|
||||
this.orderList = res.rows;
|
||||
this.orderTotal = res.total;
|
||||
this.loading = false;
|
||||
// console.log("this.orderTotal", this.orderTotal);
|
||||
});
|
||||
},
|
||||
@@ -531,7 +537,6 @@ export default {
|
||||
this.reportQueryParams.pageNum = 1;
|
||||
this.reportTotal = 0;
|
||||
this.getList();
|
||||
// this.getOrderList();
|
||||
},
|
||||
defaultDate() {
|
||||
//字符串拼接,开始时间,结束时间
|
||||
|
||||
Reference in New Issue
Block a user