Commit d6be21f2 authored by 李明环(东信)'s avatar 李明环(东信)

bug修复

parent 20d4e1e5
...@@ -249,7 +249,7 @@ const next = () => { ...@@ -249,7 +249,7 @@ const next = () => {
if (pinias.formData.negotiableSalary == 0) { if (pinias.formData.negotiableSalary == 0) {
if (!(pinias.formData.maxSalary && pinias.formData.minSalary)) { if (!(pinias.formData.maxSalary && pinias.formData.minSalary)) {
xma.showToast({ xma.showToast({
title: "请选择岗位薪资", title: "请选择岗位薪资",
icon: "none" icon: "none"
}); });
return; return;
......
...@@ -328,7 +328,7 @@ const initViewData = async () => { ...@@ -328,7 +328,7 @@ const initViewData = async () => {
majorSelectValue.value = majorSelectValue1; majorSelectValue.value = majorSelectValue1;
certificateInputValue.value = certificateInputValue1; certificateInputValue.value = certificateInputValue1;
certificateSelectValue.value = certificateSelectValue1; certificateSelectValue.value = certificateSelectValue1;
majorText.value = pinias.formData.majorRequirement?.split("-")[1] || ""; majorText.value = pinias.formData.majorRequirement?.split("-")[1] || "不限";
}; };
initViewData(); initViewData();
......
...@@ -50,7 +50,7 @@ import { useReleasePostionStore } from "./store"; ...@@ -50,7 +50,7 @@ import { useReleasePostionStore } from "./store";
const pinias = useReleasePostionStore(); const pinias = useReleasePostionStore();
import { validateForm } from "@/utils/utils"; import { validateForm } from "@/utils/utils";
const submit = () => { const submit = () => {
if (!validateForm(pinias.formData, ["number", "contactPhone", "contactPerson"], "post")) { if (!validateForm(pinias.formData, ["recruitmentNumber", "contactPhone", "contactPerson"], "post")) {
return; return;
} }
xma.hideKeyboard(); xma.hideKeyboard();
......
...@@ -36,6 +36,7 @@ export const useReleasePostionStore = defineStore("useReleasePostionStore", () = ...@@ -36,6 +36,7 @@ export const useReleasePostionStore = defineStore("useReleasePostionStore", () =
jobTypeId: null, jobTypeId: null,
jobTypePid: "", jobTypePid: "",
jobTypeName: "", jobTypeName: "",
positionDesc: "",
postitDesc: "", postitDesc: "",
negotiableSalary: 0, negotiableSalary: 0,
settlementType: 4, settlementType: 4,
...@@ -73,6 +74,7 @@ export const useReleasePostionStore = defineStore("useReleasePostionStore", () = ...@@ -73,6 +74,7 @@ export const useReleasePostionStore = defineStore("useReleasePostionStore", () =
jobTypePid: "", jobTypePid: "",
jobTypeName: "", jobTypeName: "",
postitDesc: "", postitDesc: "",
positionDesc: "",
negotiableSalary: 0, negotiableSalary: 0,
settlementType: 4, settlementType: 4,
minSalary: null, minSalary: null,
......
...@@ -92,7 +92,7 @@ export const validateForm = (formData, requiredFields, type) => { ...@@ -92,7 +92,7 @@ export const validateForm = (formData, requiredFields, type) => {
identityRequirement: "身份", identityRequirement: "身份",
educationRequirement: "学历", educationRequirement: "学历",
maxAgeRequirement: "年龄", maxAgeRequirement: "年龄",
number: "招聘人数", recruitmentNumber: "招聘人数",
contactPerson: "联系人", contactPerson: "联系人",
jobType: "职位类型", jobType: "职位类型",
position: "职位", position: "职位",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment