Commit 31cac4d5 authored by 石建新(贵阳日报)'s avatar 石建新(贵阳日报)
parents 1de5c33b aa5e2a37
......@@ -120,7 +120,15 @@ const handleConfirm = ({ selectedItems, value }) => {
};
const next = () => {
xma.hideKeyboard();
if (validateForm(pinias.formData, ["jobTypeId", "jobTypeName", "name", "positionDesc"], "post")) {
if (!pinias.formData.name) {
uni.showToast({
title: `请填写岗位名称`,
icon: "none",
duration: 2000
});
return false;
}
if (validateForm(pinias.formData, ["jobTypeId", "jobTypeName", "positionDesc"], "post")) {
/* uni.redirectTo({
url: "/pages/recommend/releasePostion/step2"
}); */
......
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