This commit is contained in:
18500206848
2024-03-29 09:39:01 +08:00
parent 08fa30f020
commit 9f231627ff
11 changed files with 52 additions and 257 deletions

View File

@@ -256,26 +256,6 @@ export default {
},
option() {
const self = this;
// const tradeId = (rule, value, callback) => {
// if(this.tradeState == null || this.tradeState == undefined || this.tradeState == ""){
// callback(
// new Error(
// "请选择行业类型"
// )
// )
// }else{
// if(!this.tradeBtnState){
// callback(
// new Error(
// "新增行业要添加后才能使用"
// )
// )
// }else{
// callback();
// }
// }
// };
const validatePass = (rule, value, callback)=>{
let specialKey = "[`~#$^&*()=|{}\\[\\]<>/~#¥……&*()——|{}【】《》%@‘”“']'";
let flagValue = true;
@@ -426,24 +406,6 @@ export default {
],
span: 12,
},
// {
// label: "行业类型",
// prop: "tradeId",
// type: "select",
// dicData: this.tradeData,
// props: {
// label: "name",
// value: "id",
// },
// rules: [
// {
// required: true,
// // validator: tradeId,
// trigger: "blur",
// },
// ],
// span: 12,
// },
{
label: "工种",
prop: "workSkills",
@@ -498,25 +460,6 @@ export default {
prop: "personRequire",
arrow: false,
column: [
// {
// label: "人员属性",
// type: "select",
// prop: "userNature",
// dicData: [
// {
// value: "灵活用工",
// label: "灵活用工",
// },
// ],
// rules: [
// {
// required: true,
// message: "请选择人员属性",
// trigger: ["change", "blur"],
// },
// ],
// span: 8,
// },
{
label: "年龄要求",
type: "select",