lion 1 year ago
parent eff0a466a2
commit e5e9167958

@ -446,7 +446,7 @@ export default {
sort: 0,
}, {
name: '个人荣誉',
field: 'type',
field: 'checkbox',
rule: '',
edit_input: "radio",
help: '请如实填写,后期需提供证明材料',
@ -470,7 +470,26 @@ export default {
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: '',
@ -653,7 +672,8 @@ export default {
// company_position: [],
company_type: [],
company_area: [],
company_industry: [],
company_industry: [],
company_industry_detail: [],
type: [],
education: [],
sign_from: []
@ -668,7 +688,7 @@ export default {
mounted() {},
methods: {
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'
]
getparameter({

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

@ -7,9 +7,9 @@
<div slot="content">
<div class="searchwrap" style="display: flex;align-items: center;">
<div>
<div>
<el-input v-model="select.keyword" placeholder="请输入关键词"></el-input>
<div>
<div>
<el-input v-model="select.keyword" placeholder="请输入关键词"></el-input>
</div>
<div>
<el-input v-model="select.course_name" placeholder="请输入课程名称"></el-input>
@ -17,23 +17,37 @@
<div>
<el-input v-model="select.name" placeholder="请输入姓名"></el-input>
</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>
<el-input v-model="select.mobile" placeholder="请输入手机号"></el-input>
</div>
<div>
<el-input v-model="select.school" placeholder="请输入最高毕业院校"></el-input>
</div>
<div>
<el-input v-model="select.company_name" placeholder="请输入公司名称"></el-input>
</div>
<div>
<el-input v-model="select.company_position" placeholder="请输入职务"></el-input>
</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 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>
<el-input v-model="select.company_position" placeholder="请输入职务"></el-input>
</div>
<div>
<el-select v-model="select.company_has_share" placeholder="是否有股份" clearable>
@ -48,8 +62,8 @@
</el-option>
</el-select>
</div>
<div>
<el-select v-model="select.company_type" placeholder="请选择企业资质" clearable>
<div style="width:250px">
<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"
:value="item.value">
</el-option>
@ -60,11 +74,14 @@
<el-select v-model="select.company_industry" placeholder="请选择所属领域" clearable>
<el-option v-for="item in formSelect.company_industry" :key="item.id" :label="item.value"
:value="item.value">
</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>
</div>
<div>
<el-select v-model="select.type" placeholder="请选择个人荣誉" clearable>
<div style="width:250px">
<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>
</el-select>
@ -175,8 +192,8 @@
<!-- <div v-for="item in is_schoolmate_list">
<div v-if="scope.row.is_vip===item.id">{{item.value}}</div>
</div> -->
<div v-if="scope.row.is_vip===1">VIP</div>
<div v-else></div>
<div v-if="scope.row.is_vip===1"></div>
<div v-else></div>
</template>
</el-table-column>
</template>
@ -222,17 +239,24 @@
},
data() {
return {
path: '',
companyDates:[],
select: {
keyword:'',
path: '',
companyDates: [],
birthdayDates: [],
companyType:[],
typeSelect:[],
select: {
keyword: '',
name: '',
mobile: '',
course_name: '',
company_name: '',
school: '',
start_birthday: '',
end_birthday: '',
start_company_date: '',
end_company_date: '',
company_has_share: '',
company_has_share: '',
company_need_fund:'',
company_position: '',
company_area: '',
company_type: '',
@ -324,15 +348,39 @@
this.getCourseType()
},
methods: {
changeCompanyDates(e){
changeCompanyType(e){
if(e){
this.select.company_type = e.join(",")
}else{
this.select.company_type = ''
}
},
changeTypeSelect(e){
if(e){
this.select.start_company_date = e[0]
this.select.end_company_date = e[1]
this.select.type = e.join(",")
}else{
this.select.start_company_date = ''
this.select.end_company_date = ''
this.select.type = ''
}
},
changeCompanyDates(e) {
if (e) {
this.select.start_company_date = e[0]
this.select.end_company_date = e[1]
} else {
this.select.start_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) {
// this.$refs.imports.tableData = {
// 'data[course_id]': row.course_id,
@ -357,14 +405,21 @@
return index
},
resetSelect() {
this.companyType = []
this.typeSelect = []
this.select.keyword = ''
this.select.name = ''
this.select.mobile = ''
this.select.company_name = ''
this.select.school = ''
this.select.company_has_share = ''
this.select.start_company_date = ''
this.select.end_company_date = ''
this.companyDates=[]
this.select.company_need_fund = ''
this.select.start_company_date = ''
this.select.start_birthday = ''
this.birthdayDates = []
this.select.end_birthday = ''
this.select.end_company_date = ''
this.companyDates = []
this.select.course_name = ''
this.select.company_position = ''
this.select.company_area = ''
@ -383,15 +438,19 @@
async getList() {
const res = await indexStudy({
page: this.select.page,
page_size: this.select.page_size,
keyword:this.select.keyword,
page_size: this.select.page_size,
keyword: this.select.keyword,
name: this.select.name,
mobile: this.select.mobile,
company_name: this.select.company_name,
start_company_date:this.select.start_company_date,
end_company_date:this.select.end_company_date,
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,
end_company_date: this.select.end_company_date,
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_area: this.select.company_area,
company_type: this.select.company_type,

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

Loading…
Cancel
Save