优化
This commit is contained in:
@@ -102,12 +102,7 @@ export default {
|
||||
label: "手机号码",
|
||||
prop: "telphone",
|
||||
display: false,
|
||||
},
|
||||
// {
|
||||
// label: "结算比例",
|
||||
// prop: "percent",
|
||||
// display: false,
|
||||
// },
|
||||
}
|
||||
],
|
||||
group: [
|
||||
{
|
||||
@@ -149,23 +144,6 @@ export default {
|
||||
},
|
||||
],
|
||||
},
|
||||
// {
|
||||
// type: "number",
|
||||
// label: "结算比例",
|
||||
// span: 12,
|
||||
// size: "small",
|
||||
// prop: "percent",
|
||||
// rules: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: "请输入结算比例",
|
||||
// },
|
||||
// { type: "number", message: "结算比例为数字值" },
|
||||
// ],
|
||||
// minRows: 0,
|
||||
// maxRows: 1,
|
||||
// precision: 2,
|
||||
// },
|
||||
{
|
||||
type: "input",
|
||||
label: "法人姓名",
|
||||
@@ -319,16 +297,16 @@ export default {
|
||||
},
|
||||
{
|
||||
type: "textarea",
|
||||
label: "备注",
|
||||
label: "企业介绍",
|
||||
span: 20,
|
||||
display: true,
|
||||
size: "small",
|
||||
prop: "remarks",
|
||||
prop: "companyDesc",
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
whitespace: true,
|
||||
message: "请输入备注",
|
||||
message: "请输入企业介绍",
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -460,7 +438,7 @@ export default {
|
||||
authUrlId: row.authUrlId,
|
||||
nature: row.nature,
|
||||
tradeId: row.tradeId,
|
||||
remarks: row.remarks,
|
||||
companyDesc: row.companyDesc,
|
||||
cityId: row.cityId,
|
||||
companyAddress: row.companyAddress,
|
||||
companyName: row.companyName,
|
||||
@@ -498,7 +476,7 @@ export default {
|
||||
id: row.id,
|
||||
nature: row.nature,
|
||||
tradeId: row.tradeId,
|
||||
remarks: row.remarks,
|
||||
companyDesc: row.companyDesc,
|
||||
authUrlId: row.authUrlId,
|
||||
cityId: row.cityId,
|
||||
companyAddress: row.companyAddress,
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -164,57 +164,6 @@ export default {
|
||||
dialogType: "drawer",
|
||||
dialogWidth: "60%",
|
||||
dialogClickModal: false,
|
||||
// column: [
|
||||
// {
|
||||
// label: "任务名称",
|
||||
// prop: "missionTitle",
|
||||
// slot: true,
|
||||
// display: false,
|
||||
// },
|
||||
// {
|
||||
// label: "任务编码",
|
||||
// prop: "missionNo",
|
||||
// display: false,
|
||||
// },
|
||||
// {
|
||||
// label: "开始时间",
|
||||
// prop: "stime",
|
||||
// display: false,
|
||||
// width: 130,
|
||||
// slot:true
|
||||
// },
|
||||
// {
|
||||
// label: "完成时间",
|
||||
// prop: "etime",
|
||||
// display: false,
|
||||
// width: 130,
|
||||
// slot:true
|
||||
// },
|
||||
// // {
|
||||
// // label: "任务时间",
|
||||
// // prop: "missionDate",
|
||||
// // slot: true,
|
||||
// // display: false,
|
||||
// // width: 200,
|
||||
// // },
|
||||
// {
|
||||
// label: "申请人数",
|
||||
// prop: "signUpCount",
|
||||
// slot: true,
|
||||
// display: false,
|
||||
// },
|
||||
// {
|
||||
// label: "录用人数",
|
||||
// prop: "takeOnCount",
|
||||
// slot: true,
|
||||
// display: false,
|
||||
// },
|
||||
// {
|
||||
// label: "备注",
|
||||
// prop: "remarks",
|
||||
// display: false,
|
||||
// },
|
||||
// ],
|
||||
column: [
|
||||
{
|
||||
label: "任务名称",
|
||||
@@ -228,15 +177,7 @@ export default {
|
||||
display: false,
|
||||
},
|
||||
{
|
||||
label: "报名截止日期",
|
||||
prop: "etimePub",
|
||||
display: false,
|
||||
format: "yyyy-MM-dd",
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "开始日期",
|
||||
label: "发布时间",
|
||||
prop: "stime",
|
||||
display: false,
|
||||
width: 130,
|
||||
@@ -249,6 +190,13 @@ export default {
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "招聘人数",
|
||||
prop: "peopleNum",
|
||||
slot: true,
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
{
|
||||
label: "申请人数",
|
||||
prop: "signUpCount",
|
||||
@@ -262,15 +210,7 @@ export default {
|
||||
slot: true,
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
|
||||
// {
|
||||
// label: "提示",
|
||||
// prop: "toStart",
|
||||
// slot: true,
|
||||
// display: false,
|
||||
// width: 200,
|
||||
// },
|
||||
}
|
||||
],
|
||||
};
|
||||
},
|
||||
|
||||
@@ -266,14 +266,6 @@ export default {
|
||||
prop: "missionNo",
|
||||
display: false,
|
||||
},
|
||||
{
|
||||
label: "报名截止日期",
|
||||
prop: "etimePub",
|
||||
display: false,
|
||||
format: "yyyy-MM-dd",
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "开始日期",
|
||||
prop: "stime",
|
||||
@@ -288,6 +280,13 @@ export default {
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "招聘人数",
|
||||
prop: "peopleNum",
|
||||
slot: true,
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
{
|
||||
label: "申请人数",
|
||||
prop: "signUpCount",
|
||||
@@ -301,15 +300,7 @@ export default {
|
||||
slot: true,
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
|
||||
// {
|
||||
// label: "提示",
|
||||
// prop: "toStart",
|
||||
// slot: true,
|
||||
// display: false,
|
||||
// width: 200,
|
||||
// },
|
||||
}
|
||||
],
|
||||
};
|
||||
},
|
||||
|
||||
@@ -123,7 +123,7 @@ import saveButton from "./saveButton";
|
||||
|
||||
export default {
|
||||
comments: {
|
||||
|
||||
|
||||
},
|
||||
filters: {
|
||||
ellipsis(value) {
|
||||
@@ -245,14 +245,6 @@ export default {
|
||||
prop: "missionNo",
|
||||
display: false,
|
||||
},
|
||||
{
|
||||
label: "报名截止日期",
|
||||
prop: "etimePub",
|
||||
display: false,
|
||||
format: "yyyy-MM-dd",
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "开始日期",
|
||||
prop: "stime",
|
||||
@@ -267,6 +259,13 @@ export default {
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "招聘人数",
|
||||
prop: "peopleNum",
|
||||
slot: true,
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
{
|
||||
label: "申请人数",
|
||||
prop: "signUpCount",
|
||||
@@ -408,4 +407,4 @@ export default {
|
||||
.el-form-item {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -238,6 +238,13 @@ export default {
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "招聘人数",
|
||||
prop: "peopleNum",
|
||||
slot: true,
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
{
|
||||
label: "申请人数",
|
||||
prop: "signUpCount",
|
||||
@@ -252,14 +259,6 @@ export default {
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
/* {
|
||||
label: "状态",
|
||||
prop: "status",
|
||||
// slot: true,
|
||||
dicData: missionState,
|
||||
display: false,
|
||||
// width: 200,
|
||||
}, */
|
||||
],
|
||||
};
|
||||
},
|
||||
|
||||
@@ -591,25 +591,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",
|
||||
|
||||
@@ -62,13 +62,6 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- <el-row>
|
||||
<el-col span="24">
|
||||
<el-form-item label="技能要求:">
|
||||
<el-tag :key="skill" v-for="skill in getSkill(model.skillNames)">{{ skill }}</el-tag>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row> -->
|
||||
<el-row>
|
||||
<el-col span="24">
|
||||
<el-form-item label="任务描述:">{{
|
||||
@@ -90,9 +83,6 @@
|
||||
model.userNature
|
||||
}}</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-col span="8">
|
||||
<el-form-item label="性别要求:">{{ gender[model.sex] }}</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col span="8">
|
||||
<el-form-item label="年龄要求:">{{
|
||||
model.ageDesc
|
||||
@@ -100,7 +90,6 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
|
||||
<el-col span="16">
|
||||
<el-form-item label="学历要求:">{{
|
||||
education[model.education]
|
||||
|
||||
@@ -61,13 +61,6 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- <el-row>
|
||||
<el-col span="24">
|
||||
<el-form-item label="技能要求:">
|
||||
<el-tag :key="skill" v-for="skill in getSkill(model.skillNames)">{{ skill }}</el-tag>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row> -->
|
||||
<el-row>
|
||||
<el-col span="24">
|
||||
<el-form-item label="岗位描述:">{{
|
||||
@@ -84,11 +77,6 @@
|
||||
</div>
|
||||
</template>
|
||||
<el-row>
|
||||
<!-- <el-col span="16">
|
||||
<el-form-item label="人员属性:">{{
|
||||
model.userNature
|
||||
}}</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col span="16">
|
||||
<el-form-item label="性别要求:">{{ gender[model.sex] }}</el-form-item>
|
||||
</el-col>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-collapse-item>
|
||||
|
||||
|
||||
<el-collapse-item title="岗位要求" name="2" disabled="true">
|
||||
<template slot="title">
|
||||
<div class="avue-group__header">
|
||||
@@ -64,13 +64,6 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- <el-row>
|
||||
<el-col span="24">
|
||||
<el-form-item label="技能要求:">
|
||||
<el-tag :key="skill" v-for="skill in getSkill(model.skillNames)">{{ skill }}</el-tag>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row> -->
|
||||
<el-row>
|
||||
<el-col span="24">
|
||||
<el-form-item label="岗位描述:">{{
|
||||
@@ -79,7 +72,7 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-collapse-item>
|
||||
|
||||
|
||||
<el-collapse-item title="人员要求" name="3" disabled="true">
|
||||
<template slot="title">
|
||||
<div class="avue-group__header">
|
||||
@@ -92,9 +85,6 @@
|
||||
model.userNature
|
||||
}}</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-col span="8">
|
||||
<el-form-item label="性别要求:">{{ gender[model.sex] }}</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col span="8">
|
||||
<el-form-item label="年龄要求:">{{
|
||||
model.ageDesc
|
||||
@@ -102,7 +92,7 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
|
||||
|
||||
<el-col span="16">
|
||||
<el-form-item label="学历要求:">{{
|
||||
education[model.education]
|
||||
@@ -115,7 +105,7 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-collapse-item>
|
||||
|
||||
|
||||
<el-collapse-item title="联系人" name="4" disabled="true">
|
||||
<template slot="title">
|
||||
<div class="avue-group__header">
|
||||
@@ -188,7 +178,7 @@
|
||||
</el-form>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<script>
|
||||
import SelectMap from "@/components/map/selectLocation";
|
||||
import { mapGetters } from "vuex";
|
||||
@@ -198,7 +188,7 @@
|
||||
educationState,
|
||||
genderState,
|
||||
} from "@/common/dic";
|
||||
|
||||
|
||||
function getDic(arr) {
|
||||
let rel = {};
|
||||
arr.forEach((element) => {
|
||||
@@ -206,7 +196,7 @@
|
||||
});
|
||||
return rel;
|
||||
}
|
||||
|
||||
|
||||
export default {
|
||||
components: { SelectMap },
|
||||
props: { model: Object },
|
||||
@@ -237,26 +227,25 @@
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
<style>
|
||||
.mission-view .el-tag+.el-tag {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
|
||||
.mission-view .el-form {
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
|
||||
.mission-view .el-form .el-col {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
|
||||
.mission-view .el-form .el-col .el-form-item {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
|
||||
.mission-view .el-collapse {
|
||||
border-top: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user