lion 1 year ago
parent eff0a466a2
commit e5e9167958

@ -446,7 +446,7 @@ export default {
sort: 0, sort: 0,
}, { }, {
name: '个人荣誉', name: '个人荣誉',
field: 'type', field: 'checkbox',
rule: '', rule: '',
edit_input: "radio", edit_input: "radio",
help: '请如实填写,后期需提供证明材料', help: '请如实填写,后期需提供证明材料',
@ -470,7 +470,26 @@ export default {
belong_user_table: 'company_type', belong_user_table: 'company_type',
sort: 0, sort: 0,
span: 2 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: '融资情况', name: '融资情况',
field: 'company_fund', field: 'company_fund',
rule: '', rule: '',
@ -654,6 +673,7 @@ export default {
company_type: [], company_type: [],
company_area: [], company_area: [],
company_industry: [], company_industry: [],
company_industry_detail: [],
type: [], type: [],
education: [], education: [],
sign_from: [] sign_from: []
@ -668,7 +688,7 @@ export default {
mounted() {}, mounted() {},
methods: { methods: {
getAllPara() { getAllPara() {
let number = ['company_type', 'company_area', 'company_industry', 'type', 'education', let number = ['company_type', 'company_area', 'company_industry', 'company_industry_detail', 'type', 'education',
'sign_from' 'sign_from'
] ]
getparameter({ getparameter({

@ -133,11 +133,11 @@ export default {
// //
is_vip_list: [{ is_vip_list: [{
id: 0, id: 0,
value: '普通学员', value: '公益',
type: '' type: ''
}, { }, {
id: 1, id: 1,
value: 'vip学员' value: '付费'
}], }],
is_schoolmate_list: [{ is_schoolmate_list: [{
id: 0, id: 0,

@ -17,23 +17,37 @@
<div> <div>
<el-input v-model="select.name" placeholder="请输入姓名"></el-input> <el-input v-model="select.name" placeholder="请输入姓名"></el-input>
</div> </div>
<div style="width:250px">
<el-date-picker v-model="birthdayDates" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width:100%" @change="changeBirthdayDates" type="daterange" range-separator="至"
start-placeholder="出生日期" end-placeholder="出生日期">
</el-date-picker>
</div>
<div> <div>
<el-input v-model="select.mobile" placeholder="请输入手机号"></el-input> <el-input v-model="select.mobile" placeholder="请输入手机号"></el-input>
</div> </div>
<div> <div>
<el-input v-model="select.company_name" placeholder="请输入公司名称"></el-input> <el-input v-model="select.school" placeholder="请输入最高毕业院校"></el-input>
</div> </div>
<div style="width:250px"> <div>
<el-date-picker v-model="companyDates" <el-input v-model="select.company_name" placeholder="请输入公司名称"></el-input>
format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width:100%"
@change="changeCompanyDates" type="daterange" range-separator="至" start-placeholder="公司成立日期"
end-placeholder="公司成立日期">
</el-date-picker>
</div> </div>
<div> <div>
<el-input v-model="select.company_position" placeholder="请输入职务"></el-input> <el-input v-model="select.company_position" placeholder="请输入职务"></el-input>
</div> </div>
<div>
<el-select v-model="select.company_need_fund" placeholder="是否需要融资" clearable>
<el-option v-for="item in yuanheList" :key="item.value" :label="item.value" :value="item.value">
</el-option>
</el-select>
</div>
<div style="width:250px">
<el-date-picker v-model="companyDates" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width:100%" @change="changeCompanyDates" type="daterange" range-separator="至"
start-placeholder="公司成立日期" end-placeholder="公司成立日期">
</el-date-picker>
</div>
<div> <div>
<el-select v-model="select.company_has_share" placeholder="是否有股份" clearable> <el-select v-model="select.company_has_share" placeholder="是否有股份" clearable>
@ -48,8 +62,8 @@
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
<div> <div style="width:250px">
<el-select v-model="select.company_type" placeholder="请选择企业资质" clearable> <el-select style="width:100%" v-model="companyType" @change="changeCompanyType" multiple collapse-tags placeholder="请选择企业资质" clearable>
<el-option v-for="item in formSelect.company_type" :key="item.id" :label="item.value" <el-option v-for="item in formSelect.company_type" :key="item.id" :label="item.value"
:value="item.value"> :value="item.value">
</el-option> </el-option>
@ -61,10 +75,13 @@
<el-option v-for="item in formSelect.company_industry" :key="item.id" :label="item.value" <el-option v-for="item in formSelect.company_industry" :key="item.id" :label="item.value"
:value="item.value"> :value="item.value">
</el-option> </el-option>
<el-option v-for="item in formSelect.company_industry_detail" :key="item.id" :label="item.value"
:value="item.value">
</el-option>
</el-select> </el-select>
</div> </div>
<div> <div style="width:250px">
<el-select v-model="select.type" placeholder="请选择个人荣誉" clearable> <el-select v-model="typeSelect" @change="changeTypeSelect" multiple collapse-tags placeholder="请选择个人荣誉" clearable>
<el-option v-for="item in formSelect.type" :key="item.id" :label="item.value" :value="item.value"> <el-option v-for="item in formSelect.type" :key="item.id" :label="item.value" :value="item.value">
</el-option> </el-option>
</el-select> </el-select>
@ -175,8 +192,8 @@
<!-- <div v-for="item in is_schoolmate_list"> <!-- <div v-for="item in is_schoolmate_list">
<div v-if="scope.row.is_vip===item.id">{{item.value}}</div> <div v-if="scope.row.is_vip===item.id">{{item.value}}</div>
</div> --> </div> -->
<div v-if="scope.row.is_vip===1">VIP</div> <div v-if="scope.row.is_vip===1"></div>
<div v-else></div> <div v-else></div>
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
@ -224,15 +241,22 @@
return { return {
path: '', path: '',
companyDates: [], companyDates: [],
birthdayDates: [],
companyType:[],
typeSelect:[],
select: { select: {
keyword: '', keyword: '',
name: '', name: '',
mobile: '', mobile: '',
course_name: '', course_name: '',
company_name: '', company_name: '',
school: '',
start_birthday: '',
end_birthday: '',
start_company_date: '', start_company_date: '',
end_company_date: '', end_company_date: '',
company_has_share: '', company_has_share: '',
company_need_fund:'',
company_position: '', company_position: '',
company_area: '', company_area: '',
company_type: '', company_type: '',
@ -324,6 +348,20 @@
this.getCourseType() this.getCourseType()
}, },
methods: { methods: {
changeCompanyType(e){
if(e){
this.select.company_type = e.join(",")
}else{
this.select.company_type = ''
}
},
changeTypeSelect(e){
if(e){
this.select.type = e.join(",")
}else{
this.select.type = ''
}
},
changeCompanyDates(e) { changeCompanyDates(e) {
if (e) { if (e) {
this.select.start_company_date = e[0] this.select.start_company_date = e[0]
@ -333,6 +371,16 @@
this.select.end_company_date = '' this.select.end_company_date = ''
} }
}, },
changeBirthdayDates(e) {
if (e) {
this.select.start_birthday = e[0]
this.select.end_birthday = e[1]
} else {
this.select.start_birthday = ''
this.select.end_birthday = ''
}
},
importTable(row) { importTable(row) {
// this.$refs.imports.tableData = { // this.$refs.imports.tableData = {
// 'data[course_id]': row.course_id, // 'data[course_id]': row.course_id,
@ -357,12 +405,19 @@
return index return index
}, },
resetSelect() { resetSelect() {
this.companyType = []
this.typeSelect = []
this.select.keyword = '' this.select.keyword = ''
this.select.name = '' this.select.name = ''
this.select.mobile = '' this.select.mobile = ''
this.select.company_name = '' this.select.company_name = ''
this.select.school = ''
this.select.company_has_share = '' this.select.company_has_share = ''
this.select.company_need_fund = ''
this.select.start_company_date = '' this.select.start_company_date = ''
this.select.start_birthday = ''
this.birthdayDates = []
this.select.end_birthday = ''
this.select.end_company_date = '' this.select.end_company_date = ''
this.companyDates = [] this.companyDates = []
this.select.course_name = '' this.select.course_name = ''
@ -388,10 +443,14 @@
name: this.select.name, name: this.select.name,
mobile: this.select.mobile, mobile: this.select.mobile,
company_name: this.select.company_name, company_name: this.select.company_name,
school: this.select.school,
start_birthday: this.select.start_birthday,
end_birthday: this.select.end_birthday,
start_company_date: this.select.start_company_date, start_company_date: this.select.start_company_date,
end_company_date: this.select.end_company_date, end_company_date: this.select.end_company_date,
course_name: this.select.course_name, course_name: this.select.course_name,
company_has_share: this.select.company_has_share, company_has_share: this.select.company_has_share,
company_need_fund:this.select.company_need_fund,
company_position: this.select.company_position, company_position: this.select.company_position,
company_area: this.select.company_area, company_area: this.select.company_area,
company_type: this.select.company_type, company_type: this.select.company_type,

@ -151,8 +151,8 @@
<template v-slot:is_vip> <template v-slot:is_vip>
<el-table-column align='center' label="学员身份" width="120" header-align="center"> <el-table-column align='center' label="学员身份" width="120" header-align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.is_vip===1">VIP</div> <div v-if="scope.row.is_vip===1"></div>
<div v-else></div> <div v-else></div>
</template> </template>
</el-table-column> </el-table-column>
</template> </template>

Loading…
Cancel
Save