Sfoglia il codice sorgente

fix:账户提现管理已提现导入功能接口参数bug修复

test 2 anni fa
parent
commit
6b3bbbb0f8

+ 21 - 15
src/views/FinancialManagement/WithdrawalManagement/WithdrawalProceduresEnd.vue

@@ -254,21 +254,27 @@ export default {
   mounted() {},
   methods: {
     exportDetails() {
-      this.$api.task.exportAmountAuditing(this.queryForm).then((res) => {
-        if (res.code == "200") {
-          let url = process.env.BASE_URL + res.msg; // 3.创建一个临时的url指向blob对象
-          let a = document.createElement("a");
-          a.href = url;
-          a.download = "导出文件.xlsx";
-          a.click();
-          window.URL.revokeObjectURL(url);
-        } else {
-          this.$message({
-            type: "error",
-            message: res.msg,
-          });
-        }
-      });
+      this.$api.task
+        .exportAmountAuditing({
+          ...this.pageRequest,
+          ...this.queryForm,
+          amountStatus: "1",
+        })
+        .then((res) => {
+          if (res.code == "200") {
+            let url = process.env.BASE_URL + res.msg; // 3.创建一个临时的url指向blob对象
+            let a = document.createElement("a");
+            a.href = url;
+            a.download = "导出文件.xlsx";
+            a.click();
+            window.URL.revokeObjectURL(url);
+          } else {
+            this.$message({
+              type: "error",
+              message: res.msg,
+            });
+          }
+        });
     },
     handleSearchList(val) {
       this.bankfindPage(val);