Ver Fonte

职位发布默认值

Xiao_123 há 1 ano atrás
pai
commit
11e624901b

+ 5 - 0
src/views/recruit/enterprise/positionManagement/components/baseInfo.vue

@@ -260,6 +260,11 @@ const getQuery = async () => {
     if (e.noParam) return
     else obj[e.key] = e.value
   })
+  // 不是众聘岗位的默认给0
+  if (!obj.hire) {
+    obj.hirePoint = 0
+    obj.hirePrice = 0
+  }
   query = Object.assign(query, obj)
   return query
 }