+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {changeSelectType(e,'education')}" multiple collapse-tags placeholder="请选择学历" clearable>
+
+
+
+
+
+ {changeSelectType(e,'type')}" multiple collapse-tags
+ placeholder="请选择个人荣誉" clearable>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {changeSelectType(e,'company_area')}"
+ placeholder="请选择所属区域" clearable>
+
+
+
+
+
+ {changeSelectType(e,'company_type')}" multiple collapse-tags
+ placeholder="请选择企业资质" clearable>
+
+
+
+
+
+
+ {changeSelectType(e,'company_industry')}" placeholder="请选择所属领域" clearable>
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
查询
重置
@@ -191,24 +237,40 @@
data() {
return {
path: '',
- select: {
- name: '',
- mobile: '',
- course_name: '',
- company_name: '',
- company_position: '',
- company_area: '',
- company_type: '',
- company_industry: '',
- is_vip: '',
- is_schoolmate: '',
- courses_end_date: '',
- education: '',
- type: '',
- status: "",
- course_type: '',
- page: 1,
- page_size: 10,
+ // 多选 获取
+ companyDates: [],
+ birthdayDates: [],
+ companyType: [],
+ typeSelect: [],
+ educationType:[],
+ companyIndustry:[],
+ companyArea:[],
+ select: {
+ keyword: '',
+ name: '',
+ mobile: '',
+ course_name: '',
+ company_name: '',
+ school: '',
+ start_birthday: '',
+ end_birthday: '',
+ start_company_date: '',
+ end_company_date: '',
+ company_has_share: '',
+ company_need_fund: '',
+ company_position: '',
+ company_area: '',
+ company_type: '',
+ company_industry: '',
+ is_vip: '',
+ is_schoolmate: '',
+ courses_end_date: '',
+ education: '',
+ type: '',
+ status: "",
+ course_type: '',
+ page: 1,
+ page_size: 10,
},
courseTypeList: [],
list: [],
@@ -283,7 +345,33 @@
this.getList()
this.getCourseType()
},
- methods: {
+ methods: {
+ changeSelectType(e, selectName) {
+ if (e) {
+ this.select[selectName] = e.join(",")
+ } else {
+ this.select[selectName] = ''
+ }
+ },
+ 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 = ''
+ }
+ },
+
pageIndexChange(e) {
this.select.page = e
this.getList()
@@ -298,43 +386,66 @@
let index = perSize + e + 1
return index
},
- resetSelect() {
- this.select.name = ''
- this.select.mobile = ''
- this.select.company_name = ''
- this.select.course_name = ''
- this.select.company_position = ''
- this.select.company_area = ''
- this.select.company_type = ''
- this.select.company_industry = ''
- this.select.is_vip = ''
- this.select.courses_end_date = ''
- this.select.is_schoolmate = ''
- this.select.education = ''
- this.select.type = ''
- this.select.status = ''
- this.select.course_type = ''
+ resetSelect() {
+ this.companyType = []
+ this.typeSelect = []
+ this.educationType=[]
+ this.companyIndustry=[]
+ this.companyArea=[]
+ this.select.keyword = ''
+ this.select.name = ''
+ this.select.mobile = ''
+ this.select.company_name = ''
+ this.select.school = ''
+ this.select.company_has_share = ''
+ 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 = ''
+ this.select.company_type = ''
+ this.select.company_industry = ''
+ this.select.is_vip = ''
+ this.select.courses_end_date = ''
+ this.select.is_schoolmate = ''
+ this.select.education = ''
+ this.select.type = ''
+ this.select.status = ''
+ this.select.course_type = ''
this.select.page = 1
this.getList()
},
async getList() {
const res = await indexStudy({
- page: this.select.page,
- page_size: this.select.page_size,
- name: this.select.name,
- mobile: this.select.mobile,
- company_name: this.select.company_name,
- course_name: this.select.course_name,
- company_position: this.select.company_position,
- company_area: this.select.company_area,
- company_type: this.select.company_type,
- company_industry: this.select.company_industry,
- is_vip: this.select.is_vip,
- courses_end_date: this.select.courses_end_date,
- is_schoolmate: this.select.is_schoolmate,
- education: this.select.education,
- type: this.select.type,
- status: this.select.status,
+ page: this.select.page,
+ page_size: this.select.page_size,
+ keyword: this.select.keyword,
+ name: this.select.name,
+ mobile: this.select.mobile,
+ 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_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,
+ company_industry: this.select.company_industry,
+ is_vip: this.select.is_vip,
+ courses_end_date: this.select.courses_end_date,
+ is_schoolmate: this.select.is_schoolmate,
+ education: this.select.education,
+ type: this.select.type,
+ status: this.select.status,
course_type: this.select.course_type
})
this.list = res.list.data
@@ -368,25 +479,33 @@
download(
'/api/admin/users/study',
'get', {
- export_fields: _export,
- name: this.select.name,
- mobile: this.select.mobile,
- company_name: this.select.company_name,
- course_name: this.select.course_name,
- company_position: this.select.company_position,
- company_area: this.select.company_area,
- company_type: this.select.company_type,
- company_industry: this.select.company_industry,
- is_vip: this.select.is_vip,
- courses_end_date: this.select.courses_end_date,
- is_schoolmate: this.select.is_schoolmate,
- education: this.select.education,
- type: this.select.type,
- status: this.select.status,
+ export_fields: _export,
+ keyword: this.select.keyword,
+ name: this.select.name,
+ mobile: this.select.mobile,
+ 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_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,
+ company_industry: this.select.company_industry,
+ is_vip: this.select.is_vip,
+ courses_end_date: this.select.courses_end_date,
+ is_schoolmate: this.select.is_schoolmate,
+ education: this.select.education,
+ type: this.select.type,
+ status: this.select.status,
course_type: this.select.course_type,
is_export: 1,
page: 1,
- page_size: 999
+ page_size: 99999
},
`学员信息.xlsx`)
},