From e5919c0e9058fd417fb4a8ca5b37013f17ab5b37 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 12 Jan 2026 15:21:16 +0800
Subject: [PATCH] 1

---
 src/views/capital/withdrawallist.vue |   49 ++-----------------------------------------------
 1 files changed, 2 insertions(+), 47 deletions(-)

diff --git a/src/views/capital/withdrawallist.vue b/src/views/capital/withdrawallist.vue
index affcefc..6f3c9f5 100644
--- a/src/views/capital/withdrawallist.vue
+++ b/src/views/capital/withdrawallist.vue
@@ -16,16 +16,6 @@
                 </a-form-item>
               </a-col>
               <a-col :md="12" :lg="6" :sm="24">
-                <a-form-item label="下级代理">
-                  <a-select v-model="queryParam.agentId" placeholder="请选择下级代理" @focus="getagentlist"
-                    :loading="agentloading">
-                    <a-select-option v-for="(item, index) in agentlist" :key="index" :value="item.id">
-                      {{ item.agentName }}
-                    </a-select-option>
-                  </a-select>
-                </a-form-item>
-              </a-col>
-              <a-col :md="12" :lg="6" :sm="24">
                 <a-form-item label="用户Id">
                   <a-input v-model="queryParam.userId" style="width: 100%" placeholder="请输入用户Id" />
                 </a-form-item>
@@ -51,9 +41,6 @@
                     <a-button @click="getqueryParam" icon="redo"> 重置</a-button>
                     <a-button type="primary" icon="search" style="margin-left: 8px"
                       @click=";(queryParam.pageNum = 1), getlist()">查询
-                    </a-button>
-                    <a-button type="primary" icon="vertical-align-bottom" style="margin-left: 8px"
-                      @click="getexport">导出搜索数据
                     </a-button>
                   </span>
                 </a-form-item>
@@ -127,8 +114,8 @@
       <div slot="footer" style="display: flex; justify-content: center; align-items: center">
         <a-button type="primary" style="background-color: " @click="OkeditOrderdialog(3)">驳回</a-button>
         <a-button type="primary" @click="OkeditOrderdialog(2)">通过</a-button>
-        <a-button type="primary" @click="OkeditOrderdialog(1)">代付1</a-button>
-        <a-button type="primary" @click="OkeditOrderdialog(4)">代付2</a-button>
+        <!-- <a-button type="primary" @click="OkeditOrderdialog(1)">代付1</a-button>
+        <a-button type="primary" @click="OkeditOrderdialog(4)">代付2</a-button> -->
       </div>
     </a-modal>
   </page-header-wrapper>
@@ -137,11 +124,7 @@
   import {
     withdrawlist,
     withdrawupdateState,
-    withdrawexport
   } from '@/api/capital'
-  import {
-    nextagent
-  } from '@/api/home'
   import pick from 'lodash.pick'
   import fileDownload from 'js-file-download'
   import moment from 'moment'
@@ -164,18 +147,8 @@
             align: 'center',
           },
           {
-            title: '代理id',
-            dataIndex: 'agentId',
-            align: 'center',
-          },
-          {
             title: '客户电话',
             dataIndex: 'userPhone',
-            align: 'center',
-          },
-          {
-            title: '代理ID',
-            dataIndex: 'agentId',
             align: 'center',
           },
           {
@@ -270,7 +243,6 @@
         queryParam: {
           pageNum: 1,
           pageSize: 10,
-          agentId: undefined,
           state: undefined,
           userId: '',
           realName: '',
@@ -278,7 +250,6 @@
           endTime: '',
         },
         datalist: [],
-        agentlist: [],
         agentloading: false,
         times: [],
         editOrderform: this.$form.createForm(this),
@@ -296,11 +267,6 @@
       this.getlist()
     },
     methods: {
-      getexport() {
-        withdrawexport(this.queryParam).then((res) => {
-          fileDownload(res, '提现列表.xls')
-        })
-      },
       // 点击修改提现状态
       getEditorder(val) {
         this.withId = val.id
@@ -350,7 +316,6 @@
         this.queryParam = {
           pageNum: 1,
           pageSize: 10,
-          agentId: undefined,
           state: undefined,
           userId: '',
           realName: '',
@@ -358,16 +323,6 @@
           endTime: '',
         }
         this.times = []
-      },
-      getagentlist() {
-        var that = this
-        this.agentloading = true
-        nextagent(this.agentqueryParam).then((res) => {
-          this.agentlist = res.data.list
-          setTimeout(() => {
-            that.agentloading = false
-          }, 500)
-        })
       },
       getlist() {
         var that = this

--
Gitblit v1.9.3