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

bug修复

parent 20d4e1e5
......@@ -249,7 +249,7 @@ const next = () => {
if (pinias.formData.negotiableSalary == 0) {
if (!(pinias.formData.maxSalary && pinias.formData.minSalary)) {
xma.showToast({
title: "请选择岗位薪资",
title: "请选择岗位薪资",
icon: "none"
});
return;
......
......@@ -328,7 +328,7 @@ const initViewData = async () => {
majorSelectValue.value = majorSelectValue1;
certificateInputValue.value = certificateInputValue1;
certificateSelectValue.value = certificateSelectValue1;
majorText.value = pinias.formData.majorRequirement?.split("-")[1] || "";
majorText.value = pinias.formData.majorRequirement?.split("-")[1] || "不限";
};
initViewData();
......
......@@ -50,7 +50,7 @@ import { useReleasePostionStore } from "./store";
const pinias = useReleasePostionStore();
import { validateForm } from "@/utils/utils";
const submit = () => {
if (!validateForm(pinias.formData, ["number", "contactPhone", "contactPerson"], "post")) {
if (!validateForm(pinias.formData, ["recruitmentNumber", "contactPhone", "contactPerson"], "post")) {
return;
}
xma.hideKeyboard();
......
......@@ -36,6 +36,7 @@ export const useReleasePostionStore = defineStore("useReleasePostionStore", () =
jobTypeId: null,
jobTypePid: "",
jobTypeName: "",
positionDesc: "",
postitDesc: "",
negotiableSalary: 0,
settlementType: 4,
......@@ -73,6 +74,7 @@ export const useReleasePostionStore = defineStore("useReleasePostionStore", () =
jobTypePid: "",
jobTypeName: "",
postitDesc: "",
positionDesc: "",
negotiableSalary: 0,
settlementType: 4,
minSalary: null,
......
......@@ -92,7 +92,7 @@ export const validateForm = (formData, requiredFields, type) => {
identityRequirement: "身份",
educationRequirement: "学历",
maxAgeRequirement: "年龄",
number: "招聘人数",
recruitmentNumber: "招聘人数",
contactPerson: "联系人",
jobType: "职位类型",
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