master
lion 1 year ago
parent e2cc3e2630
commit eb050823a1

@ -298,381 +298,387 @@ export default {
}],
belong_user_table: 'is_yuanhe',
sort: 0,
}],
}],
// 自定义表单的 扩展字段 可填可不填
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: '男'
name: '姓名',
field: 'username',
rule: 'required',
edit_input: "text",
help: '请输入姓名',
need_fill: 0,
belong_user: 1,
belong_user_table: 'username',
sort: 0,
}, {
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',
edit_input: "text",
help: '请输入身份证号',
need_fill: 0,
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: 'introduce',
rule: '',
edit_input: "text",
help: '请体现个人的优势,详细描述个人学习经历、所在校友会、工作经历、社会职务和其他荣誉等。',
need_fill: 0,
belong_user: 1,
belong_user_table: 'introduce',
sort: 0,
span: 2
}, {
name: '公司',
field: 'company_name',
rule: '',
edit_input: "text",
help: '请填写公司全称,确保无误',
need_fill: 0,
belong_user: 1,
belong_user_table: 'company_name',
sort: 0,
span: 2
}, {
name: '公司简介',
field: 'company_introduce',
rule: '',
edit_input: "text",
help: '请阐述公司近两年销售额、人员规模、专利等情况(请如实填写,这将影响您的报名情况)',
need_fill: 0,
belong_user: 1,
belong_user_table: 'company_introduce',
sort: 0,
span: 2
}, {
name: '公司成立时间',
field: 'company_date',
rule: '',
edit_input: "date",
help: '请选择公司成立时间',
need_fill: 0,
belong_user: 1,
belong_user_table: 'company_date',
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: '有'
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,
}, {
key: '无',
value: '无'
}],
is_open: false,
belong_user_table: 'company_has_share',
sort: 0,
}, {
name: '个人荣誉',
field: 'checkbox',
rule: '',
edit_input: "radio",
help: '请如实填写,后期需提供证明材料',
need_fill: 0,
belong_user: 1,
select_item: [],
is_open: false,
belong_user_table: 'type',
sort: 0,
span: 2
}, {
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',
sort: 0,
span: 2
},
{
name: '是否需要融资',
field: 'company_need_fund',
rule: '',
edit_input: "radio",
help: '请选择',
need_fill: 0,
belong_user: 1,
select_item: [{
key: '是',
value: '是'
}, {
key: '否',
value: '否'
}],
belong_user_table: 'company_need_fund',
sort: 0,
},
{
name: '融资情况',
field: 'company_fund',
rule: '',
edit_input: "text",
help: '请输入融资情况',
need_fill: 0,
belong_user: 1,
belong_user_table: 'company_fund',
sort: 0,
span: 2
}, {
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',
sort: 0,
}, {
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',
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,
span: 2
}, {
name: '公司主营业务',
field: 'company_product',
rule: '',
edit_input: "text",
help: '请详细描述具体内容',
need_fill: 0,
belong_user: 1,
belong_user_table: 'company_product',
sort: 0,
span: 2
}, {
name: '最高学历毕业院校',
field: 'school',
rule: '',
edit_input: "text",
help: '请输入最高学历毕业院校',
need_fill: 0,
belong_user: 1,
belong_user_table: 'school',
sort: 0,
span: 2
}, {
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: [],
belong_user: 1,
belong_user_table: 'sign_from',
sort: 0,
}, {
name: '邮箱',
field: 'email',
rule: 'email',
edit_input: "text",
help: '请填写常用邮箱,以便接收录取结果信息',
need_fill: 0,
belong_user: 1,
belong_user_table: 'email',
sort: 0,
}, {
name: '销售额/亿',
field: 'sales_volume',
rule: '',
edit_input: "text",
help: '请输入销售额/亿',
need_fill: 0,
belong_user: 1,
belong_user_table: 'sales_volume',
sort: 0,
}, {
name: '估值',
field: 'valuation',
rule: '',
edit_input: "text",
help: '请输入估值',
need_fill: 0,
belong_user: 1,
belong_user_table: 'valuation',
sort: 0,
}, {
name: '市值',
field: 'market_value',
rule: '',
edit_input: "text",
help: '请输入市值',
need_fill: 0,
belong_user: 1,
belong_user_table: 'market_value',
sort: 0,
}, {
name: '是否为元禾投资企业',
field: 'is_yuanhe',
rule: '',
edit_input: "radio",
help: '请选择',
need_fill: 0,
belong_user: 1,
select_item: [{
key: '是',
value: '是'
name: '出生年月',
field: 'birthday',
rule: '',
edit_input: "date",
help: '请选择出生年月',
need_fill: 0,
belong_user: 1,
belong_user_table: 'birthday',
sort: 0,
}, {
key: '否',
value: '否'
}],
belong_user_table: 'is_yuanhe',
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',
edit_input: "text",
help: '请输入身份证号',
need_fill: 0,
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: 'introduce',
rule: '',
edit_input: "text",
help: '请体现个人的优势,详细描述个人学习经历、所在校友会、工作经历、社会职务和其他荣誉等。',
need_fill: 0,
belong_user: 1,
belong_user_table: 'introduce',
sort: 0,
span: 2
}, {
name: '公司',
field: 'company_name',
rule: '',
edit_input: "text",
help: '请填写公司全称,确保无误',
need_fill: 0,
belong_user: 1,
belong_user_table: 'company_name',
sort: 0,
span: 2
}, {
name: '公司简介',
field: 'company_introduce',
rule: '',
edit_input: "text",
help: '请阐述公司近两年销售额、人员规模、专利等情况(请如实填写,这将影响您的报名情况)',
need_fill: 0,
belong_user: 1,
belong_user_table: 'company_introduce',
sort: 0,
span: 2
}, {
name: '公司成立时间',
field: 'company_date',
rule: '',
edit_input: "date",
help: '请选择公司成立时间',
need_fill: 0,
belong_user: 1,
belong_user_table: 'company_date',
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: 'checkbox',
rule: '',
edit_input: "radio",
help: '请如实填写,后期需提供证明材料',
need_fill: 0,
belong_user: 1,
select_item: [],
is_open: false,
belong_user_table: 'type',
sort: 0,
span: 2
}, {
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',
sort: 0,
span: 2
},
{
name: '是否需要融资',
field: 'company_need_fund',
rule: '',
edit_input: "radio",
help: '请选择',
need_fill: 0,
belong_user: 1,
select_item: [{
key: '是',
value: '是'
}, {
key: '否',
value: '否'
}],
belong_user_table: 'company_need_fund',
sort: 0,
span: 2
},
{
name: '融资情况',
field: 'company_fund',
rule: '',
edit_input: "text",
help: '请输入融资情况',
need_fill: 0,
belong_user: 1,
belong_user_table: 'company_fund',
sort: 0,
span: 2
}, {
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',
sort: 0,
span: 2
}, {
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',
sort: 0,
span: 2
}, {
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,
span: 2
}, {
name: '公司主营业务',
field: 'company_product',
rule: '',
edit_input: "text",
help: '请详细描述具体内容',
need_fill: 0,
belong_user: 1,
belong_user_table: 'company_product',
sort: 0,
span: 2
}, {
name: '最高学历毕业院校',
field: 'school',
rule: '',
edit_input: "text",
help: '请输入最高学历毕业院校',
need_fill: 0,
belong_user: 1,
belong_user_table: 'school',
sort: 0,
span: 2
}, {
name: '最高学历专业',
field: 'speciality',
rule: '',
edit_input: "text",
help: '请输入最高学历专业',
need_fill: 0,
belong_user: 1,
belong_user_table: 'speciality',
sort: 0,
span: 2
}, {
name: '海外经验',
field: 'overseas_experience',
rule: '',
edit_input: "text",
help: '请输入海外经验',
need_fill: 0,
belong_user: 1,
belong_user_table: 'overseas_experience',
sort: 0,
span: 2
}, {
name: '报名渠道',
field: 'sign_from',
rule: '',
edit_input: "radio",
help: '请选择报名渠道',
need_fill: 0,
select_item: [],
belong_user: 1,
belong_user_table: 'sign_from',
sort: 0,
}, {
name: '邮箱',
field: 'email',
rule: 'email',
edit_input: "text",
help: '请填写常用邮箱,以便接收录取结果信息',
need_fill: 0,
belong_user: 1,
belong_user_table: 'email',
sort: 0,
}, {
name: '销售额/亿',
field: 'sales_volume',
rule: '',
edit_input: "text",
help: '请输入销售额/亿',
need_fill: 0,
belong_user: 1,
belong_user_table: 'sales_volume',
sort: 0,
}, {
name: '估值',
field: 'valuation',
rule: '',
edit_input: "text",
help: '请输入估值',
need_fill: 0,
belong_user: 1,
belong_user_table: 'valuation',
sort: 0,
}, {
name: '市值',
field: 'market_value',
rule: '',
edit_input: "text",
help: '请输入市值',
need_fill: 0,
belong_user: 1,
belong_user_table: 'market_value',
sort: 0,
}, {
name: '是否为元禾投资企业',
field: 'is_yuanhe',
rule: '',
edit_input: "radio",
help: '请选择',
need_fill: 0,
belong_user: 1,
select_item: [{
key: '是',
value: '是'
}, {
key: '否',
value: '否'
}],
belong_user_table: 'is_yuanhe',
sort: 0,
}
],
sexList: [{
key: '男',
value: '男'
}, {
key: '女',
value: '女'
}],
shareList: [{
key: '有',
value: '有'
}, {
key: '无',
value: '无'
}],
yuanheList:[{
key: '是',
value: '是'
}, {
key: '否',
value: '否'
}],
shareList: [{
key: '有',
value: '有'
}, {
key: '无',
value: '无'
}],
yuanheList: [{
key: '是',
value: '是'
}, {
key: '否',
value: '否'
}],
formSelect: {
// company_position: [],
company_type: [],
company_area: [],
company_industry: [],
company_industry: [],
company_industry_detail: [],
type: [],
education: [],

@ -28,7 +28,7 @@
<span style="color: red;font-weight: bold;padding-right: 4px;">*</span>场地名称
</div>
<div class="xy-table-item-content">
<el-input disabled v-model="form.name" placeholder="请输入场地名称" clearable style="width: 100%;"></el-input>
<el-input :disabled="type=='editor'" v-model="form.name" placeholder="请输入场地名称" clearable style="width: 100%;"></el-input>
</div>
</div>
</template>
@ -299,7 +299,23 @@
}
} else {
this.id = ''
this.fileList = []
this.fileList = []
this.form = {
no: '',
sort:0,
name: '',
real_name:'',
address:'',
appointment_type_id:'',
content: '',
total: '',
status: 1,
use_student: 1,
dateRange: ['09:00','17:30'],
file_ids: [],
start_time:'09:00',
end_time:'17:30'
}
this.$refs['dialog'].reset()
}
},

@ -392,7 +392,23 @@
this.id = ''
this.type = "add"
this.typeName = '手动预约'
this.course_id = ''
this.course_id = ''
this.form = {
course_id: '',
user_id: '',
name: '',
mobile: '',
date: '',
timeRange: '',
start_time: '',
end_time: '',
content: '',
site: '',
plate: '',
accompany_total: 0,
status: 1,
reason: ''
}
this.$refs['dialog'].reset()
}
},

@ -235,7 +235,21 @@
}
} else {
this.id = ''
this.fileList = []
this.fileList = []
this.form = {
name: '',
introduce: '',
dateRange: ['09:00', '17:30'],
is_book: 0,
floor: '',
total: '',
sort: 0,
image_id: [],
start_time: '09:00',
end_time: '17:30',
content: '',
tips:''
}
this.showTinymce = false
this.$refs['dialog'].reset()
}

@ -16,7 +16,7 @@
</div>
<div>
<el-select v-model="select.site" placeholder="请选择预约场地" clearable>
<el-option v-for="item in site_options" :key="item.id" :label="item.name" :value="item.id">
<el-option v-for="item in site_options" :key="item.id" :label="item.real_name" :value="item.id">
</el-option>
</el-select>
</div>

@ -246,7 +246,16 @@
}
} else {
this.id = ''
this.imgList = []
this.imgList = []
this.form = {
name: '',
position: '',
jump_type: '',
course_id:'',
jump_url: '',
sort: 0,
image_id: '',
}
this.$refs['dialog'].reset()
}
},

@ -178,7 +178,15 @@
}
} else {
this.id = ''
this.type = "add"
this.type = "add"
this.form = {
username: '',
course: '',
mobile: '',
company_name: '',
company_position: '',
donate: ''
}
this.$refs['dialog'].reset()
}
},

@ -103,7 +103,12 @@
this.getDetail()
}
} else {
this.id = ''
this.id = ''
this.form = {
name: '',
key: '',
value: ''
}
this.$refs['dialog'].reset()
}
},

@ -131,7 +131,13 @@
this.getDetail()
}
} else {
this.id = ''
this.id = ''
this.form = {
name: '',
sex: '',
mobile:'',
introduce: ''
}
this.$refs['dialog'].reset()
}
},

@ -462,6 +462,8 @@
submit() {
if (this.id) {
this.form.id = this.id
}else{
this.form.id = ''
}
//

@ -119,6 +119,8 @@
submit() {
if (this.id) {
this.form.id = this.id
}else{
this.form.id = ''
}
save({
@ -147,12 +149,22 @@
},
watch: {
isShow(newVal) {
if (newVal) {
if (newVal) {
console.log("form",this.form)
if (this.type === 'editor') {
this.getDetail()
}
} else {
this.id = ''
this.id = ''
this.form = {
name:'',
status:1,
wait_tip:"",
pass_tip:"",
fault_tip:'',
back_tip:"",
year_total:""
},
this.$refs['dialog'].reset()
}
},

@ -120,6 +120,8 @@
submit() {
if (this.id) {
this.form.id = this.id
}else{
this.form.id = ''
}
save({
@ -160,7 +162,15 @@
this.getDetail()
}
} else {
this.id = ''
this.id = ''
this.form = {
date: '',
period: '',
teacher_id: "",
theme: '',
address: '',
introduce: '',
}
this.$refs['dialog'].reset()
}
},

@ -381,6 +381,11 @@
},
methods: {
submit() {
if(this.id){
this.form.id = this.id
}else{
this.form.id = ''
}
this.form.type = this.typeList.join(",")
this.form.company_type = this.companyTypeList.join(",")
this.form.name = this.form.username
@ -419,6 +424,37 @@
this.type = 'add'
this.typeList = []
this.companyTypeList = []
this.form = {
username:'',
sex:"",
birthday:"",
mobile:"",
idcard:"",
education:'',
introduce:'',
company_name:'',
company_introduce:'',
company_date:'',
company_position:'',
company_has_share:'',
type:'',
company_type:'',
company_need_fund:'',
company_fund:'',
company_area:'',
company_industry:'',
company_address:'',
company_product:'',
school:'',
speciality:'',
overseas_experience:'',
sign_from:'',
email:'',
sales_volume:"",
valuation:'',
market_value:"",
is_yuanhe:''
}
this.$refs['dialog'].reset()
}
},

Loading…
Cancel
Save