|
|
|
|
@ -1,4 +1,6 @@
|
|
|
|
|
import {getparameter} from "@/api/system/dictionary.js"
|
|
|
|
|
import {
|
|
|
|
|
getparameter
|
|
|
|
|
} from "@/api/system/dictionary.js"
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
@ -8,46 +10,269 @@ export default {
|
|
|
|
|
field: 'username',
|
|
|
|
|
rule: 'required',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入姓名'
|
|
|
|
|
help: '请输入姓名',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'username'
|
|
|
|
|
}, {
|
|
|
|
|
name: '性别',
|
|
|
|
|
field: 'sex',
|
|
|
|
|
rule: 'required',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请选择性别'
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择性别',
|
|
|
|
|
select_item: [{
|
|
|
|
|
key: '男',
|
|
|
|
|
value: '男'
|
|
|
|
|
}, {
|
|
|
|
|
key: '女',
|
|
|
|
|
value: '女'
|
|
|
|
|
}],
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'sex'
|
|
|
|
|
}, {
|
|
|
|
|
name: '出生日期',
|
|
|
|
|
field: 'birthday',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "date",
|
|
|
|
|
help: '请选择出生日期',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'birthday'
|
|
|
|
|
}, {
|
|
|
|
|
name: '联系方式',
|
|
|
|
|
field: 'mobile',
|
|
|
|
|
rule: 'required',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入联系方式'
|
|
|
|
|
help: '请输入联系方式',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'mobile'
|
|
|
|
|
}, {
|
|
|
|
|
name: '出生日期',
|
|
|
|
|
field: 'birthday',
|
|
|
|
|
rule: '',
|
|
|
|
|
name: '身份证号',
|
|
|
|
|
field: 'idcard',
|
|
|
|
|
rule: 'idcard',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请选择出生日期'
|
|
|
|
|
help: '请输入身份证号',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'idcard'
|
|
|
|
|
}, {
|
|
|
|
|
name: '邮箱',
|
|
|
|
|
field: 'email',
|
|
|
|
|
name: '学历',
|
|
|
|
|
field: 'education',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入邮箱'
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择学历',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'education'
|
|
|
|
|
}, {
|
|
|
|
|
name: '公司名称',
|
|
|
|
|
field: 'company_name',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入公司名称'
|
|
|
|
|
help: '请输入公司名称',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'company_name'
|
|
|
|
|
}, {
|
|
|
|
|
name: '职务',
|
|
|
|
|
field: 'company_position',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请选择职务'
|
|
|
|
|
help: '请输入职务',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'company_position'
|
|
|
|
|
}, {
|
|
|
|
|
name: '有无股份',
|
|
|
|
|
field: 'company_has_share',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择有无股份',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [{
|
|
|
|
|
key: '有',
|
|
|
|
|
value: '有'
|
|
|
|
|
}, {
|
|
|
|
|
key: '无',
|
|
|
|
|
value: '无'
|
|
|
|
|
}],
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'company_has_share'
|
|
|
|
|
}, {
|
|
|
|
|
name: '人才类型',
|
|
|
|
|
field: 'type',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择人才类型',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'type'
|
|
|
|
|
}, {
|
|
|
|
|
name: '企业性质',
|
|
|
|
|
field: 'company_type',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "checkbox",
|
|
|
|
|
help: '请选择企业性质',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false, // 控制开启关闭的 参数不做保存
|
|
|
|
|
belong_user_table: 'company_type'
|
|
|
|
|
}, {
|
|
|
|
|
name: '融资情况',
|
|
|
|
|
field: 'company_fund',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入融资情况',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'company_fund'
|
|
|
|
|
}, {
|
|
|
|
|
name: '所在区域',
|
|
|
|
|
field: 'company_area',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择所在区域',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'company_area'
|
|
|
|
|
}, {
|
|
|
|
|
name: '公司地址',
|
|
|
|
|
field: 'company_address',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请填写公司地址',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'company_address'
|
|
|
|
|
}, {
|
|
|
|
|
name: '所属行业',
|
|
|
|
|
field: 'company_industry',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择所属行业',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'company_industry'
|
|
|
|
|
}, {
|
|
|
|
|
name: '产品',
|
|
|
|
|
field: 'company_product',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入产品',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'company_product'
|
|
|
|
|
}, {
|
|
|
|
|
name: '毕业院校',
|
|
|
|
|
field: 'school',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入产品',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'school'
|
|
|
|
|
}, {
|
|
|
|
|
name: '专业',
|
|
|
|
|
field: 'speciality',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入专业',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'speciality'
|
|
|
|
|
}, {
|
|
|
|
|
name: '海外经验',
|
|
|
|
|
field: 'overseas_experience',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入海外经验',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'overseas_experience'
|
|
|
|
|
}, {
|
|
|
|
|
name: '报名渠道',
|
|
|
|
|
field: 'sign_from',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择报名渠道',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'sign_from'
|
|
|
|
|
}, {
|
|
|
|
|
name: '邮箱',
|
|
|
|
|
field: 'email',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入邮箱',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'email'
|
|
|
|
|
}],
|
|
|
|
|
// 自定义表单的 扩展字段 可填可不填
|
|
|
|
|
selectFormList: [{
|
|
|
|
|
name: '姓名',
|
|
|
|
|
field: 'username',
|
|
|
|
|
rule: 'required',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入姓名',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'username',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '性别',
|
|
|
|
|
field: 'sex',
|
|
|
|
|
rule: 'required',
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择性别',
|
|
|
|
|
select_item: [{
|
|
|
|
|
key: '男',
|
|
|
|
|
value: '男'
|
|
|
|
|
}, {
|
|
|
|
|
key: '女',
|
|
|
|
|
value: '女'
|
|
|
|
|
}],
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'sex',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '出生日期',
|
|
|
|
|
field: 'birthday',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "date",
|
|
|
|
|
help: '请选择出生日期',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'birthday',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '联系方式',
|
|
|
|
|
field: 'mobile',
|
|
|
|
|
rule: 'required',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入联系方式',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'mobile',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '身份证号',
|
|
|
|
|
field: 'idcard',
|
|
|
|
|
rule: 'idcard',
|
|
|
|
|
@ -57,16 +282,92 @@ export default {
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'idcard',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '学历',
|
|
|
|
|
field: 'education',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择学历',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'education',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '公司名称',
|
|
|
|
|
field: 'company_name',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入公司名称',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'company_name',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '职务',
|
|
|
|
|
field: 'company_position',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入职务',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'company_position',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '有无股份',
|
|
|
|
|
field: 'company_has_share',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择有无股份',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [{
|
|
|
|
|
key: '有',
|
|
|
|
|
value: '有'
|
|
|
|
|
}, {
|
|
|
|
|
key: '无',
|
|
|
|
|
value: '无'
|
|
|
|
|
}],
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'company_has_share',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '人才类型',
|
|
|
|
|
field: 'type',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择人才类型',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'type',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '企业性质',
|
|
|
|
|
field: 'company_type',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
edit_input: "checkbox",
|
|
|
|
|
help: '请选择企业性质',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false, // 控制开启关闭的 参数不做保存
|
|
|
|
|
belong_user_table: 'company_type',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '融资情况',
|
|
|
|
|
field: 'company_fund',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入融资情况',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'company_fund',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '所在区域',
|
|
|
|
|
field: 'company_area',
|
|
|
|
|
@ -76,7 +377,20 @@ export default {
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'company_area',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '公司地址',
|
|
|
|
|
field: 'company_address',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请填写公司地址',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'company_address',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '所属行业',
|
|
|
|
|
field: 'company_industry',
|
|
|
|
|
@ -86,35 +400,79 @@ export default {
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false
|
|
|
|
|
is_open: false,
|
|
|
|
|
belong_user_table: 'company_industry',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '人才类型',
|
|
|
|
|
field: 'type',
|
|
|
|
|
name: '产品',
|
|
|
|
|
field: 'company_product',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择人才类型',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入产品',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false
|
|
|
|
|
belong_user_table: 'company_product',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '学历',
|
|
|
|
|
field: 'education',
|
|
|
|
|
name: '毕业院校',
|
|
|
|
|
field: 'school',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择学历',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入产品',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'school',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '专业',
|
|
|
|
|
field: 'speciality',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入专业',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'speciality',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '海外经验',
|
|
|
|
|
field: 'overseas_experience',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入海外经验',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'overseas_experience',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '报名渠道',
|
|
|
|
|
field: 'sign_from',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "radio",
|
|
|
|
|
help: '请选择报名渠道',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
select_item: [],
|
|
|
|
|
is_open: false
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'sign_from',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}, {
|
|
|
|
|
name: '邮箱',
|
|
|
|
|
field: 'email',
|
|
|
|
|
rule: '',
|
|
|
|
|
edit_input: "text",
|
|
|
|
|
help: '请输入邮箱',
|
|
|
|
|
need_fill: 0,
|
|
|
|
|
belong_user: 1,
|
|
|
|
|
belong_user_table: 'email',
|
|
|
|
|
sort: 0,
|
|
|
|
|
}],
|
|
|
|
|
formSelect: {
|
|
|
|
|
company_position:[],
|
|
|
|
|
// company_position: [],
|
|
|
|
|
company_type: [],
|
|
|
|
|
company_area: [],
|
|
|
|
|
company_industry: [],
|
|
|
|
|
type: [],
|
|
|
|
|
education:[]
|
|
|
|
|
education: [],
|
|
|
|
|
sign_from: []
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
@ -126,7 +484,9 @@ export default {
|
|
|
|
|
mounted() {},
|
|
|
|
|
methods: {
|
|
|
|
|
getAllPara() {
|
|
|
|
|
let number = ['company_position','company_type','company_area','company_industry','type','education']
|
|
|
|
|
let number = ['company_type', 'company_area', 'company_industry', 'type', 'education',
|
|
|
|
|
'sign_from'
|
|
|
|
|
]
|
|
|
|
|
getparameter({
|
|
|
|
|
number: number
|
|
|
|
|
}).then(res => {
|
|
|
|
|
|