xiaozhen 6 years ago
parent
commit
958352bdd1
41 changed files with 78 additions and 85 deletions
  1. 2 2
      dist/200.html
  2. 1 0
      dist/_nuxt/35edec569043a56f075f.js
  3. 0 1
      dist/_nuxt/422d2c54e7f085c52015.js
  4. 1 1
      dist/_nuxt/055513da7f4cc2ff6bd4.js
  5. 1 0
      dist/_nuxt/62a1ac921ba1917c8872.js
  6. 0 1
      dist/_nuxt/e7ce4b222a3584d6e6af.js
  7. 2 2
      dist/index.html
  8. 2 2
      dist/login/index.html
  9. 2 2
      dist/main/404/index.html
  10. 2 2
      dist/main/artificial_order/index.html
  11. 2 2
      dist/main/artificial_orders/index.html
  12. 2 2
      dist/main/balance_change/index.html
  13. 2 2
      dist/main/cats copy/index.html
  14. 2 2
      dist/main/cats/index.html
  15. 2 2
      dist/main/cert_check/index.html
  16. 2 2
      dist/main/cert_edit/index.html
  17. 2 2
      dist/main/cert_pro/index.html
  18. 2 2
      dist/main/cloud_balance/index.html
  19. 2 2
      dist/main/cloud_developer/index.html
  20. 2 2
      dist/main/cloud_job/index.html
  21. 2 2
      dist/main/cloud_order copy/index.html
  22. 2 2
      dist/main/dev_check/index.html
  23. 2 2
      dist/main/dev_check_detail/index.html
  24. 2 2
      dist/main/dev_show/index.html
  25. 2 2
      dist/main/gongmall/index.html
  26. 2 2
      dist/main/group_list/index.html
  27. 2 2
      dist/main/index.html
  28. 2 2
      dist/main/orders/index.html
  29. 2 2
      dist/main/orders_detail/index.html
  30. 2 2
      dist/main/orders_frozen/index.html
  31. 2 2
      dist/main/outsource_bill/index.html
  32. 2 2
      dist/main/user_bills/index.html
  33. 2 2
      dist/main/vip_manager/index.html
  34. 2 2
      dist/main/vip_order/index.html
  35. 2 2
      dist/main/vip_setting/index.html
  36. 2 2
      dist/main/wage_details/index.html
  37. 2 2
      dist/main/wage_settlement/index.html
  38. 2 2
      dist/main/withdraw/index.html
  39. 2 2
      dist/main/work_bill/index.html
  40. 6 13
      pages/main/index/artificial_orders.vue
  41. 1 1
      pages/main/index/orders.vue

File diff suppressed because it is too large
+ 2 - 2
dist/200.html


File diff suppressed because it is too large
+ 1 - 0
dist/_nuxt/35edec569043a56f075f.js


File diff suppressed because it is too large
+ 0 - 1
dist/_nuxt/422d2c54e7f085c52015.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/055513da7f4cc2ff6bd4.js


File diff suppressed because it is too large
+ 1 - 0
dist/_nuxt/62a1ac921ba1917c8872.js


File diff suppressed because it is too large
+ 0 - 1
dist/_nuxt/e7ce4b222a3584d6e6af.js


File diff suppressed because it is too large
+ 2 - 2
dist/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/login/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/404/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/artificial_order/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/artificial_orders/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/balance_change/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cats copy/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cats/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cert_check/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cert_edit/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cert_pro/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_balance/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_developer/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_job/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_order copy/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/dev_check/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/dev_check_detail/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/dev_show/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/gongmall/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/group_list/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/orders/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/orders_detail/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/orders_frozen/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/outsource_bill/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/user_bills/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/vip_manager/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/vip_order/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/vip_setting/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/wage_details/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/wage_settlement/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/withdraw/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/work_bill/index.html


+ 6 - 13
pages/main/index/artificial_orders.vue

@@ -1,8 +1,5 @@
 <template>
-  <div id="cloud-balance">
-    <!-- <section class="top"> -->
-    <!-- <h3>交易订单中心</h3> -->
-    <!-- <section> -->
+  <div id="cloud-balance" v-if="hasAuth">
     <div class="type-boxs">
       <div class="clear">
         <div class="floatr">
@@ -11,14 +8,10 @@
         </div>
       </div>
     </div>
-    <!-- </section> -->
-    <!-- </section> -->
     <div class="trcenter" style="height: calc(100%) ">
-      <!-- height="250" -->
       <el-table :data="finaceList" border style="width: 100%;" height="100%">
         <el-table-column label="订单名称">
           <template slot-scope="scope">
-            <!-- @click="clickDev(scope.row.uid)"  -->
             <span class="lblue point">
               <nuxt-link
                 :to="{path:'/main/orders_detail?id='+scope.row.order_no}"
@@ -174,6 +167,7 @@ const tableWidths = [
 export default {
   data() {
     return {
+      hasAuth:1,
       tradeList: [
         {
           id: 0,
@@ -296,6 +290,9 @@ export default {
         channel:'admin_confirm'
       };
       const res = await this.$post("/api/admin/order/get_orders", body);
+      if (res.status==-504){
+        this.hasAuth=0;
+      }
       var data = res.data;
       this.finaceList = data.orders;
       this.totalCount = Number(data.count);
@@ -306,11 +303,7 @@ export default {
         page_size: this.currentPageSize,
         artificial_mark: 1
       };
-      // const res = await this.$get("/api/admin/order/get_orders", body);
-      // http://local-rooter.proginn.com:20201/api/admin/order/get_orders?page=1&page_size=20&artificial_mark=1
-      var url =
-        window.location.host + "/api/admin/order/export?" + "artificial_mark=1";
-      console.log(url);
+      var url = window.location.host + "/api/admin/order/export?" + "artificial_mark=1";
       window.location.href = "http://" + url;
     },
     createOrder() {

+ 1 - 1
pages/main/index/orders.vue

@@ -829,7 +829,7 @@ export default {
       };
       const res = await this.$post("/api/admin/order/get_orders", body);
       var data = res.data;
-      if (data.status==-504)this.hasAuth=0;
+      if (res.status==-504)this.hasAuth=0;
       this.financeList = data.orders;
       this.totalCount = Number(data.count);
       this.successCount = data.successCount;