岗位管理字段添加

This commit is contained in:
zxy
2024-02-15 21:07:21 +08:00
parent 6de1660feb
commit 095dff5c69

View File

@@ -93,13 +93,13 @@
show-word-limit show-word-limit
ref="selectTradeId" ref="selectTradeId"
> >
<el-button <!-- <el-button
type="primary" type="primary"
:disabled = "tradeBtnState" :disabled = "tradeBtnState"
slot="suffix" slot="suffix"
@click="handleIconClick" @click="handleIconClick"
size="mini" size="mini"
>+添加</el-button> >+添加</el-button> -->
<!-- <i class="el-icon-arrow-down" slot="suffix" @click="handleIconClickArrowDown"></i> --> <!-- <i class="el-icon-arrow-down" slot="suffix" @click="handleIconClickArrowDown"></i> -->
<template slot-scope="{ item }"> <template slot-scope="{ item }">
<div class="name">{{item.value}}</div> <div class="name">{{item.value}}</div>
@@ -120,13 +120,13 @@
show-word-limit show-word-limit
:disabled = "worktypeDisabled" :disabled = "worktypeDisabled"
> >
<el-button <!-- <el-button
type="primary" type="primary"
:disabled = "workTypeBtnState" :disabled = "workTypeBtnState"
slot="suffix" slot="suffix"
@click="handleIconClickWorkType" @click="handleIconClickWorkType"
size="mini" size="mini"
>+添加</el-button> >+添加</el-button> -->
<!-- <i class="el-icon-arrow-down" slot="suffix" @click="handleIconClickArrowDown"></i> --> <!-- <i class="el-icon-arrow-down" slot="suffix" @click="handleIconClickArrowDown"></i> -->
<template slot-scope="{ item }"> <template slot-scope="{ item }">
<div class="name">{{item.value}}</div> <div class="name">{{item.value}}</div>
@@ -304,13 +304,13 @@ export default {
}, },
option() { option() {
const self = this; const self = this;
var skill = function (rule, value, callback) { // var skill = function (rule, value, callback) {
if (self.selectedSkills.length <= 0) { // if (self.selectedSkills.length <= 0) {
callback(new Error("请选择技能标签")); // callback(new Error("请选择技能标签"));
} else { // } else {
callback(); // callback();
} // }
}; // };
const wage = (rule, value, callback) => { const wage = (rule, value, callback) => {
if(value == ""){ if(value == ""){
callback( callback(
@@ -615,17 +615,17 @@ export default {
// ], // ],
span: 12, span: 12,
}, },
{ // {
label: "技能要求", // label: "技能要求",
prop: "skillIds", // prop: "skillIds",
formslot: true, // formslot: true,
labelslot: false, // labelslot: false,
errorslot: false, // errorslot: false,
rules: [ // rules: [
{ required: true, validator: skill, trigger: "change" }, // { required: true, validator: skill, trigger: "change" },
], // ],
span: 24, // span: 24,
}, // },
{ {
label: "岗位描述", label: "岗位描述",
prop: "missionDesc", prop: "missionDesc",
@@ -769,10 +769,65 @@ export default {
], ],
}, },
{ {
label: "联系人", label: "企业信息",
prop: "contactsRequire", prop: "contactsRequire",
arrow: false, arrow: false,
column: [ column: [
{
label: "企业名称",
prop: "jobCompanyName",
rules: [
{
required: true,
trigger: "blur",
},
],
span: 8,
},
{
label: "企业规模",
prop: "jobCompanyScale",
rules: [
{
required: true,
trigger: "blur",
},
],
span: 8,
},
{
label: "所属行业",
prop: "jobCompanyIndustry",
rules: [
{
required: true,
trigger: "blur",
},
],
span: 8,
},
{
label: "企业性质",
prop: "jobCompanyNature",
rules: [
{
required: true,
trigger: "blur",
},
],
span: 8,
},
{
label: "企业介绍",
prop: "jobCompanyDescription",
rules: [
{
required: true,
trigger: "blur",
},
],
span: 8,
},
{ {
label: "联系人", label: "联系人",
prop: "callName", prop: "callName",