zweizhao 7 anni fa
parent
commit
9764f1e982
1 ha cambiato i file con 10 aggiunte e 8 eliminazioni
  1. 10 8
      pages/main/index/cloud_job.vue

+ 10 - 8
pages/main/index/cloud_job.vue

@@ -6,19 +6,19 @@
         <div class="top-info-left">
           <span>
             审核中:
-            <b>{{totalFee}}</b>
+            <b>{{nums.waitCheckNum && nums.waitCheckNum.num}}</b>
           </span>
           <span>
             对接面试中:
-            <b>{{totalFee}}</b>
+            <b>{{nums.selectDeveloperNum && nums.selectDeveloperNum.num}}</b>
           </span>
           <span>
             待托管费用:
-            <b>{{totalFee}}</b>
+            <b>{{nums.waitPayNum && nums.waitPayNum.num}}</b>
           </span>
           <span>
             开发中:
-            <b>{{totalFee}}</b>
+            <b>{{nums.waitSettNum && nums.waitSettNum.num}}</b>
           </span>
         </div>
         <div class="top-info-right">
@@ -133,9 +133,9 @@ const tableProps = [
   "remark_user_from",
   "remark_checked_user",
   "createTime",
-  "createTime",
-  "createTime",
-  "start_time",
+  "current_deposit_num",
+  "next_deposit_num",
+  "startTime",
   "end_time",
   "send_salary_time",
 ]
@@ -161,7 +161,8 @@ export default {
       // 列表头字段
       tableProps,
       // 列表数据
-      tableData: []
+      tableData: [],
+      nums: {},
     }
   },
   mounted() {
@@ -256,6 +257,7 @@ export default {
       let res = await this.$post('/api/admin/job/getJobStatus')
       if(res) {
         let numObj = res.data.status_num
+        this.nums = numObj
         this.statuses = res.data.status_name.map(name => {
           let item = { name }
           if(name === '全部') item.num = numObj.all.num