|
|
@@ -1,6 +1,67 @@
|
|
|
<template>
|
|
|
<div class="back-line-main">
|
|
|
<div class="back-line-header">
|
|
|
+ <div class="back-line-header-amount">
|
|
|
+ <h2>合计</h2>
|
|
|
+ <div>
|
|
|
+ <dl>
|
|
|
+ <dt><span>总提现金额</span></dt>
|
|
|
+ <dd>
|
|
|
+ <span>{{ amount.allWithdrawalAmount || 0 }}</span>
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl>
|
|
|
+ <dt><span>总提现笔数</span></dt>
|
|
|
+ <dd>
|
|
|
+ <span>{{ amount.allWithdrawalNumber || 0 }}</span>
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl>
|
|
|
+ <dt><span>已提现金额</span></dt>
|
|
|
+ <dd>
|
|
|
+ <span>{{ amount.withdrawalAmount || 0 }}</span>
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl>
|
|
|
+ <dt><span>已提现笔数</span></dt>
|
|
|
+ <dd>
|
|
|
+ <span>{{ amount.withdrawalNumber || 0 }}</span>
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl>
|
|
|
+ <dt><span>未提现金额</span></dt>
|
|
|
+ <dd>
|
|
|
+ <span>
|
|
|
+ {{ amount.notWithdrawalAmount || 0 }}
|
|
|
+ </span>
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl>
|
|
|
+ <dt><span>未提现笔数</span></dt>
|
|
|
+ <dd>
|
|
|
+ <span>
|
|
|
+ {{ amount.notAllWithdrawalNumber || 0 }}
|
|
|
+ </span>
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl>
|
|
|
+ <dt><span>提现驳回金额</span></dt>
|
|
|
+ <dd>
|
|
|
+ <span>
|
|
|
+ {{ amount.failedWithdrawalAmount || 0 }}
|
|
|
+ </span>
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl>
|
|
|
+ <dt><span>提现驳回笔数</span></dt>
|
|
|
+ <dd>
|
|
|
+ <span>
|
|
|
+ {{ amount.failedWithdrawalNumber || 0 }}
|
|
|
+ </span>
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="back-line-header-title">
|
|
|
<h2>提现任务</h2>
|
|
|
<div>
|
|
|
@@ -218,7 +279,7 @@
|
|
|
</div>
|
|
|
<standard-table
|
|
|
bordered
|
|
|
- :columns="columns1"
|
|
|
+ :columns="[]"
|
|
|
:dataSource="detailList"
|
|
|
:pagination="pageInfo"
|
|
|
@change="detailsChange"
|
|
|
@@ -273,52 +334,27 @@ import StandardTable from "@/components/table/StandardTable";
|
|
|
import mixin from "../../minins/mixin";
|
|
|
|
|
|
const columns = [
|
|
|
+ //数据列
|
|
|
+ { dataIndex: "id", title: "提现单号" },
|
|
|
+ { dataIndex: "userId", title: "业务员工号" },
|
|
|
+ { dataIndex: "userName", title: "业务员姓名" },
|
|
|
{
|
|
|
- title: "用户名称",
|
|
|
- dataIndex: "userName",
|
|
|
- },
|
|
|
-
|
|
|
- {
|
|
|
- title: "真实姓名",
|
|
|
- dataIndex: "realUserName",
|
|
|
- // scopedSlots: { customRender: "qutationCount" },
|
|
|
- },
|
|
|
- {
|
|
|
- title: "银行卡号",
|
|
|
- dataIndex: "bankNumber",
|
|
|
- // scopedSlots: { customRender: "qutationCount" },
|
|
|
- },
|
|
|
- {
|
|
|
- title: "开户行",
|
|
|
- dataIndex: "bankAccount",
|
|
|
- // scopedSlots: { customRender: "qutationCount" },
|
|
|
- },
|
|
|
- {
|
|
|
- title: "开户行地址",
|
|
|
- dataIndex: "bankAddress",
|
|
|
- // scopedSlots: { customRender: "qutationCount" },
|
|
|
-
|
|
|
- // sorter: true,
|
|
|
- needTotal: true,
|
|
|
- },
|
|
|
- {
|
|
|
- title: "创建时间",
|
|
|
- dataIndex: "createTime",
|
|
|
- needTotal: true,
|
|
|
- // scopedSlots: { customRender: "qutationCount" },
|
|
|
- },
|
|
|
- {
|
|
|
- title: "审核时间",
|
|
|
- dataIndex: "auditTime",
|
|
|
- // scopedSlots: { customRender: "qutationCount" },
|
|
|
- },
|
|
|
- {
|
|
|
- title: "审核人名称",
|
|
|
- dataIndex: "auditUserName",
|
|
|
- // fixed: "right",
|
|
|
- // width: 100,
|
|
|
- // scopedSlots: { title: "title_slot", customRender: "quotationRate" },
|
|
|
+ dataIndex: "source",
|
|
|
+ title: "业务来源",
|
|
|
+ // formatter: this.managementSourceFormatter,
|
|
|
},
|
|
|
+ { dataIndex: "leaderId", title: "维护人工号" },
|
|
|
+ { dataIndex: "leaderName", title: "维护人" },
|
|
|
+ { dataIndex: "mobile", title: "电话" },
|
|
|
+ { dataIndex: "deptId", title: "机构代码" },
|
|
|
+ { dataIndex: "deptName", title: "机构名称" },
|
|
|
+ { dataIndex: "amount", title: "提现金额" },
|
|
|
+ { dataIndex: "surplusAmount", title: "账户余额" },
|
|
|
+ { dataIndex: "realUserName", title: "真实姓名" },
|
|
|
+ { dataIndex: "bankAddress", title: "开户行" },
|
|
|
+ { dataIndex: "bankAccount", title: "银行" },
|
|
|
+ { dataIndex: "bankNumber", title: "账号" },
|
|
|
+ { dataIndex: "createTime", title: "提现时间" },
|
|
|
];
|
|
|
import manageminxin from "../../minins/manageMixin";
|
|
|
import moment from "moment";
|
|
|
@@ -344,6 +380,7 @@ export default {
|
|
|
endDate: moment().format("YYYY-MM-DD"),
|
|
|
beginDate: moment().format("YYYY-MM-DD"),
|
|
|
},
|
|
|
+ amount: {},
|
|
|
visible: false,
|
|
|
headerStyle: {
|
|
|
display: "flex",
|
|
|
@@ -486,6 +523,19 @@ export default {
|
|
|
this.pagination.total = 0;
|
|
|
}
|
|
|
});
|
|
|
+
|
|
|
+ this.$API.task
|
|
|
+ .getWithdrawalDrawal({
|
|
|
+ // pageNum: this.pagination.current,
|
|
|
+ // pageSize: this.pagination.defaultPageSize,
|
|
|
+ ...this.formState,
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.data.code === 200) {
|
|
|
+ this.amount = { ...res.data.data };
|
|
|
+ // this.detailList = res.data.data.records;
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
onClear() {
|
|
|
this.$message.info("您清空了勾选的所有行");
|
|
|
@@ -593,44 +643,113 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-dl {
|
|
|
- width: 346px;
|
|
|
- height: 78px;
|
|
|
- background: #ffffff;
|
|
|
- border-radius: 4px 4px 4px 4px;
|
|
|
- border: 1px solid #f87f2c;
|
|
|
- display: flex;
|
|
|
- margin-left: 15px;
|
|
|
- span {
|
|
|
- color: #f87f2c;
|
|
|
+// dl {
|
|
|
+// width: 346px;
|
|
|
+// height: 78px;
|
|
|
+// background: #ffffff;
|
|
|
+// border-radius: 4px 4px 4px 4px;
|
|
|
+// border: 1px solid #f87f2c;
|
|
|
+// display: flex;
|
|
|
+// margin-left: 15px;
|
|
|
+// span {
|
|
|
+// color: #f87f2c;
|
|
|
+// }
|
|
|
+// dt {
|
|
|
+// width: 64px;
|
|
|
+// height: 100%;
|
|
|
+// background: #fff9f7;
|
|
|
+// display: flex;
|
|
|
+// align-items: center;
|
|
|
+// justify-content: center;
|
|
|
+// border-radius: 4px 0 0 4px;
|
|
|
+// img {
|
|
|
+// width: 40px;
|
|
|
+// height: 40px;
|
|
|
+// }
|
|
|
+// }
|
|
|
+// dd {
|
|
|
+// padding: 8px 0;
|
|
|
+// box-sizing: border-box;
|
|
|
+// margin-left: 10px;
|
|
|
+// p {
|
|
|
+// margin: 0;
|
|
|
+// }
|
|
|
+// p:first-child {
|
|
|
+// color: #aaa;
|
|
|
+// }
|
|
|
+// display: flex;
|
|
|
+// flex-direction: column;
|
|
|
+// // align-items: ;
|
|
|
+// justify-content: space-between;
|
|
|
+// }
|
|
|
+// }
|
|
|
+.back-line-header-amount {
|
|
|
+ h2 {
|
|
|
+ margin: 0;
|
|
|
}
|
|
|
- dt {
|
|
|
- width: 64px;
|
|
|
- height: 100%;
|
|
|
- background: #fff9f7;
|
|
|
+ > div {
|
|
|
+ flex: 1;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- justify-content: center;
|
|
|
- border-radius: 4px 0 0 4px;
|
|
|
- img {
|
|
|
- width: 40px;
|
|
|
- height: 40px;
|
|
|
+ justify-content: space-between;
|
|
|
+ > dl {
|
|
|
+ flex: none;
|
|
|
+ width: 180px;
|
|
|
+ height: 80px;
|
|
|
+ display: flex;
|
|
|
+ // align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ flex-direction: column;
|
|
|
+ padding: 10px;
|
|
|
+ box-sizing: border-box;
|
|
|
+
|
|
|
+ border-radius: 4px 4px 4px 4px;
|
|
|
+
|
|
|
+ > dd {
|
|
|
+ display: flex;
|
|
|
+ // align-items: center;
|
|
|
+ justify-content: flex-end;
|
|
|
+ margin: 0;
|
|
|
+ font-family: PingFang SC, PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 24px;
|
|
|
+ // color: rgba(0, 0, 0, 0.85);
|
|
|
+ // padding-left: 15px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- dd {
|
|
|
- padding: 8px 0;
|
|
|
- box-sizing: border-box;
|
|
|
- margin-left: 10px;
|
|
|
- p {
|
|
|
- margin: 0;
|
|
|
+ > dl:first-child {
|
|
|
+ background: url("../../assets/img/business1.png");
|
|
|
+ color: #11a6d3;
|
|
|
}
|
|
|
- p:first-child {
|
|
|
- color: #aaa;
|
|
|
+ > dl:nth-child(2) {
|
|
|
+ background: url("../../assets/img/business2.png");
|
|
|
+ color: #f87f2c;
|
|
|
+ }
|
|
|
+ > dl:nth-child(3) {
|
|
|
+ background: url("../../assets/img/business3.png");
|
|
|
+ color: #fab600;
|
|
|
+ }
|
|
|
+ > dl:nth-child(4) {
|
|
|
+ background: url("../../assets/img/business4.png");
|
|
|
+ color: #80be38;
|
|
|
+ }
|
|
|
+ > dl:nth-child(5) {
|
|
|
+ background: url("../../assets/img/business5.png");
|
|
|
+ color: #906cef;
|
|
|
+ }
|
|
|
+ > dl:nth-child(6) {
|
|
|
+ background: url("../../assets/img/business6.png");
|
|
|
+ color: #47a2eb;
|
|
|
+ }
|
|
|
+ > dl:nth-child(7) {
|
|
|
+ background: url("../../assets/img/business6.png");
|
|
|
+ color: #f879cd;
|
|
|
+ }
|
|
|
+ > dl:nth-child(8) {
|
|
|
+ background: url("../../assets/img/business1.png");
|
|
|
+ color: #11a6d3;
|
|
|
}
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- // align-items: ;
|
|
|
- justify-content: space-between;
|
|
|
}
|
|
|
}
|
|
|
</style>
|