xxm 6 lat temu
rodzic
commit
cf60422567

BIN
.DS_Store


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


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


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


Plik diff jest za duży
+ 1 - 1
dist/_nuxt/f234ece217586c2e3210.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/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


+ 24 - 22
pages/main/index/orders.vue

@@ -504,7 +504,7 @@ export default {
   },
   mounted() {
     this.getAllChice();
-    this.getTableData();
+    // this.getTableData();
     this.getFinanceList();
   },
   methods: {
@@ -705,23 +705,23 @@ export default {
       this.getFinanceList();
     },
     // 获取列表数据
-    async getTableData() {
-      this.tableData = [];
-      let url = "/api/admin/job/get_all_periods";
-      let body = { page: this.currentPage, page_size: this.currentPageSize };
-      if (this.status) body.j_status = this.status;
-      if (this.period) body.p_status = this.period;
-      if (this.checkUser) body.chk_user = this.checkUser;
-      if (this.jobID) body.job_id = this.jobID;
-      const res = await this.$post(url, body);
-      const data = res.data;
-      this.tableData = this.formatTableData(data.list);
-      this.totalData = data;
-      // // console.log(this.tableData)
-      this.totalCount = Number(data.total);
-      this.totalPage = data.totalPage;
-      this.localData.env = data.current_env;
-    },
+    // async getTableData() {
+    //   this.tableData = [];
+    //   let url = "/api/admin/job/get_all_periods";
+    //   let body = { page: this.currentPage, page_size: this.currentPageSize };
+    //   if (this.status) body.j_status = this.status;
+    //   if (this.period) body.p_status = this.period;
+    //   if (this.checkUser) body.chk_user = this.checkUser;
+    //   if (this.jobID) body.job_id = this.jobID;
+    //   const res = await this.$post(url, body);
+    //   const data = res.data;
+    //   this.tableData = this.formatTableData(data.list);
+    //   this.totalData = data;
+    //   // // console.log(this.tableData)
+    //   this.totalCount = Number(data.total);
+    //   this.totalPage = data.totalPage;
+    //   this.localData.env = data.current_env;
+    // },
     async downFinanceList() {
       var checkedTF = 0;
       // console.log(this.checked);
@@ -806,8 +806,9 @@ export default {
       window.location.href = "http://" + url;
     },
     async getFinanceList() {
-      // console.log("timeRange:", this.timeRange);
-      // return false;
+      if (this.$router.currentRoute.query.user) {
+        this.checkUser = this.$router.currentRoute.query.user;
+      }
       var checkedTF = 0;
       //  console.log("000",this.timeRange.length)
       if (this.checked) {
@@ -886,9 +887,10 @@ export default {
       this.finaceList = data.orders;
       this.totalCount = Number(data.count);
       this.successCount = data.successCount;
-      (this.totalHave = data.income_sum),
-        (this.totalSuccess = data.income_success_sum);
+      this.totalHave = data.income_sum;
+      this.totalSuccess = data.income_success_sum;
       this.PayCount = data.expense_sum;
+      // this.totalCount = data.count;
       this.paySuccess = data.expense_success_sum;
     },
     async getAllChice() {