Przeglądaj źródła

余额变动管理页标签优化

wanyongkang 6 lat temu
rodzic
commit
8bb7a6ca35
38 zmienionych plików z 93 dodań i 84 usunięć
  1. 2 2
      dist/200.html
  2. 1 1
      dist/_nuxt/fe646ffb97df57dde8a7.js
  3. 0 1
      dist/_nuxt/a8377bbacf11eabd1100.js
  4. 1 0
      dist/_nuxt/b1315fa2d718405b1d87.js
  5. 2 2
      dist/index.html
  6. 2 2
      dist/login/index.html
  7. 2 2
      dist/main/404/index.html
  8. 2 2
      dist/main/artificial_order/index.html
  9. 2 2
      dist/main/artificial_orders/index.html
  10. 2 2
      dist/main/balance_change/index.html
  11. 2 2
      dist/main/cats copy/index.html
  12. 2 2
      dist/main/cats/index.html
  13. 2 2
      dist/main/cert_check/index.html
  14. 2 2
      dist/main/cert_edit/index.html
  15. 2 2
      dist/main/cert_pro/index.html
  16. 2 2
      dist/main/cloud_balance/index.html
  17. 2 2
      dist/main/cloud_developer/index.html
  18. 2 2
      dist/main/cloud_job/index.html
  19. 2 2
      dist/main/cloud_order copy/index.html
  20. 2 2
      dist/main/dev_check/index.html
  21. 2 2
      dist/main/dev_check_detail/index.html
  22. 2 2
      dist/main/dev_show/index.html
  23. 2 2
      dist/main/gongmall/index.html
  24. 2 2
      dist/main/group_list/index.html
  25. 2 2
      dist/main/index.html
  26. 2 2
      dist/main/orders/index.html
  27. 2 2
      dist/main/orders_detail/index.html
  28. 2 2
      dist/main/orders_frozen/index.html
  29. 2 2
      dist/main/outsource_bill/index.html
  30. 2 2
      dist/main/user_bills/index.html
  31. 2 2
      dist/main/vip_manager/index.html
  32. 2 2
      dist/main/vip_order/index.html
  33. 2 2
      dist/main/vip_setting/index.html
  34. 2 2
      dist/main/wage_details/index.html
  35. 2 2
      dist/main/wage_settlement/index.html
  36. 2 2
      dist/main/withdraw/index.html
  37. 2 2
      dist/main/work_bill/index.html
  38. 23 14
      pages/main/index/balance_change.vue

Plik diff jest za duży
+ 2 - 2
dist/200.html


Plik diff jest za duży
+ 1 - 1
dist/_nuxt/fe646ffb97df57dde8a7.js


Plik diff jest za duży
+ 0 - 1
dist/_nuxt/a8377bbacf11eabd1100.js


Plik diff jest za duży
+ 1 - 0
dist/_nuxt/b1315fa2d718405b1d87.js


Plik diff jest za duży
+ 2 - 2
dist/index.html


Plik diff jest za duży
+ 2 - 2
dist/login/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/404/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/artificial_order/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/artificial_orders/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/balance_change/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/cats copy/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/cats/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/cert_check/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/cert_edit/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/cert_pro/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/cloud_balance/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/cloud_developer/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/cloud_job/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/cloud_order copy/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/dev_check/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/dev_check_detail/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/dev_show/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/gongmall/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/group_list/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/orders/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/orders_detail/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/orders_frozen/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/outsource_bill/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/user_bills/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/vip_manager/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/vip_order/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/vip_setting/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/wage_details/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/wage_settlement/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/withdraw/index.html


Plik diff jest za duży
+ 2 - 2
dist/main/work_bill/index.html


+ 23 - 14
pages/main/index/balance_change.vue

@@ -2,16 +2,14 @@
   <div id="mainBody" v-if="coins">
   <div id="mainBody" v-if="coins">
     <el-row>
     <el-row>
       <el-col :span="24">
       <el-col :span="24">
-        <div class="grid-content top">
-          <h3>用户余额订单</h3>
-          <el-switch
-            name="allorder"
-            v-model="all"
-            active-text="全部"
-            inactive-color="#13ce66"
-            @change="orderStatus"
-            inactive-text="可用余额">
-          </el-switch>
+        <h3>用户余额订单</h3>
+        <div  class="type-boxs top">
+          <span class="vsub">订单类型:</span>
+          <div class="inlineb">
+            <el-checkbox-group v-model="orderType" @change="orderStatus" size="mini">
+              <el-checkbox-button  v-for="allorder in orders" :label="allorder" :key="allorder">{{allorder}}</el-checkbox-button>
+            </el-checkbox-group>
+          </div>
         </div>
         </div>
       </el-col>
       </el-col>
     </el-row>
     </el-row>
@@ -141,6 +139,7 @@
 </template>
 </template>
 
 
 <script>
 <script>
+    const allorderOptions = ['全部', '可用余额'];
 export default {
 export default {
   data(){
   data(){
     return {
     return {
@@ -151,7 +150,8 @@ export default {
       user:'',
       user:'',
       order_no:'',
       order_no:'',
       timeRange:[],
       timeRange:[],
-      all: true,
+        orderType: ['全部'],
+        orders: allorderOptions
     }
     }
   },
   },
   mounted() {
   mounted() {
@@ -168,7 +168,7 @@ export default {
         page: this.currentPage,
         page: this.currentPage,
         size: this.currentPageSize,
         size: this.currentPageSize,
         user:this.user,
         user:this.user,
-        all: this.all
+          orderType: this.orderType
       };
       };
       if (this.order_no){
       if (this.order_no){
         body.order_no=this.order_no;
         body.order_no=this.order_no;
@@ -192,12 +192,21 @@ export default {
       window.location.href = "http://" + url;
       window.location.href = "http://" + url;
     },
     },
       async orderStatus(val){
       async orderStatus(val){
+
+          // this.orderType = ['全部'];
+          if (this.orderType[0]=='全部'){
+              this.orderType = ['可用余额']
+          }else if (this.orderType[0]=='可用余额'){
+              this.orderType = ['全部']
+          }else {
+              this.orderType = ['全部']
+          }
           let body = {
           let body = {
               page: this.currentPage,
               page: this.currentPage,
               size: this.currentPageSize,
               size: this.currentPageSize,
           };
           };
-          if (this.all){
-              body.all=this.all;
+          if (this.orderType){
+              body.orderType=this.orderType;
           }
           }
           const res = await this.$post("/api/admin/order/get_coins", body);
           const res = await this.$post("/api/admin/order/get_coins", body);
           this.coins = res.data.list;
           this.coins = res.data.list;