diff --git a/src/mixin/formMixin.js b/src/mixin/formMixin.js
index e534eae..f0b643d 100644
--- a/src/mixin/formMixin.js
+++ b/src/mixin/formMixin.js
@@ -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({
diff --git a/src/mixin/selectMixin.js b/src/mixin/selectMixin.js
index a7bd9b4..59ae258 100644
--- a/src/mixin/selectMixin.js
+++ b/src/mixin/selectMixin.js
@@ -133,11 +133,11 @@ export default {
//
is_vip_list: [{
id: 0,
- value: '普通学员',
+ value: '公益',
type: ''
}, {
id: 1,
- value: 'vip学员'
+ value: '付费'
}],
is_schoolmate_list: [{
id: 0,
diff --git a/src/views/student/index.vue b/src/views/student/index.vue
index d2592ea..e951881 100644
--- a/src/views/student/index.vue
+++ b/src/views/student/index.vue
@@ -7,9 +7,9 @@
-
-
-
+
+
+
@@ -17,23 +17,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
@@ -48,8 +62,8 @@
-
-
+
+
@@ -60,11 +74,14 @@
+
+
-
-
+
+
@@ -175,8 +192,8 @@
-
VIP学员
-
普通学员
+
付费
+
公益
@@ -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,
diff --git a/src/views/student/search.vue b/src/views/student/search.vue
index ee37595..bf226c4 100644
--- a/src/views/student/search.vue
+++ b/src/views/student/search.vue
@@ -151,8 +151,8 @@
- VIP学员
- 普通学员
+ 付费
+ 公益