Parcourir la source

修复列表bugs

zweizhao il y a 7 ans
Parent
commit
1d16c3881a
1 fichiers modifiés avec 14 ajouts et 1 suppressions
  1. 14 1
      pages/main/index/cloud_job.vue

+ 14 - 1
pages/main/index/cloud_job.vue

@@ -125,7 +125,11 @@ const tableHeaders = [
   "纳税",
   "企业方费用",
   "开发者工资",
-
+  "试用期",
+  "开票",
+  "纳税",
+  "企业方费用",
+  "开发者薪资",
 ]
 const tableProps = [
   "id",
@@ -143,6 +147,11 @@ const tableProps = [
   "startTime",
   "endTime",
   "sendSalaryTime",
+  "isNeedProbation",
+  "isInvoice",
+  "devIsInvoice",
+  "companyTotalPrice",
+  "personTotalPrice",
 ]
 
 export default {
@@ -329,7 +338,11 @@ export default {
         direction: i.developerUser ? i.developerUser.direction_name : '',
         workHours: i.hours === '0' ? (i.workHours ? i.workHours.name.replace('小时', '') : '') : i.hours,
         endTime: `每月${i.end_time}号`,
+        salary: i.salary !== '0' ? i.salary : `${i.match_salary_min}-${i.match_salary_max}`,
         sendSalaryTime: `每月${i.send_salary_time}号`,
+        isNeedProbation: i.is_need_probation === '1' ? i.probation_days : '--',
+        isInvoice: i.is_invoice === '1' ? '是' : '否',
+        devIsInvoice: i.dev_is_invoice === '1' ? '是' : '否',
       }))
     },
     // 页码变动