Browse Source

提现和支付宝用户删选

gHost 1 year ago
parent
commit
2c57714407
2 changed files with 15 additions and 1 deletions
  1. 6 0
      components/list/user_settlement_cw.vue
  2. 9 1
      pages/main/index/withdraw.vue

+ 6 - 0
components/list/user_settlement_cw.vue

@@ -27,6 +27,12 @@
       <div class="flex_1" />
     </div>
 
+    <div style="margin-bottom: 10px">
+      <el-input v-model="search.uid" size="small" style="width: 200px" placeholder="用户的UID"></el-input>
+      <el-button size="small"  @click="search_" type="primary">搜索</el-button>
+      <div class="flex_1" />
+    </div>
+
     <div style="width: 100%">
       <el-table row-key="id" :data="list">
         <el-table-column prop="order_no" fixed width="170px" label="订单编号">

+ 9 - 1
pages/main/index/withdraw.vue

@@ -2,7 +2,7 @@
   <div id="withdraw">
     <el-form>
       <el-form-item label="订单状态">
-        <el-select @change="changeSelect" v-model="selectValue" placeholder="请选择">
+        <el-select @change="changeSelect" size="small" v-model="selectValue" placeholder="请选择">
           <el-option
             v-for="item in options"
             :key="item.value"
@@ -10,6 +10,8 @@
             :value="item.value"
           ></el-option>
         </el-select>
+        <el-input v-model="uid" size="small" style="width: 200px" placeholder="用户的UID"></el-input>
+        <el-button size="small"  @click="search_" type="primary">搜索</el-button>
       </el-form-item>
     </el-form>
     <div class="table">
@@ -113,6 +115,7 @@ export default {
         }
       ],
       selectValue: -1,
+      uid:"",
       // 数据总条目
       totalCount: 0,
       currentPage: 1,
@@ -146,6 +149,10 @@ export default {
     changeSelect(status) {
       this.getTableData();
     },
+    search_()
+    {
+      this.getTableData();
+    },
     // 点击重试
     async clickRetry(id) {
       const res = await this.$post("/api/admin/payment/redoDraw", { id });
@@ -182,6 +189,7 @@ export default {
       let query = {
         page,
         status: this.selectValue,
+        uid:this.uid,
       };
       if(this.queryData.start_time && this.queryData.end_time){
         query.start_time = this.queryData.start_time;