|
@@ -21,7 +21,7 @@
|
|
<div class="filter_name">院校省份:</div>
|
|
<div class="filter_name">院校省份:</div>
|
|
<div class="items fx-row">
|
|
<div class="items fx-row">
|
|
<div class="no_limited">
|
|
<div class="no_limited">
|
|
- <el-checkbox @change="change('province',$event)" v-model="provinceIsAll" >不限</el-checkbox>
|
|
|
|
|
|
+ <el-checkbox @change="change('province',$event)" v-model="isAll.province" >不限</el-checkbox>
|
|
</div>
|
|
</div>
|
|
<el-checkbox-group v-model="filter_form.provinces">
|
|
<el-checkbox-group v-model="filter_form.provinces">
|
|
<el-checkbox v-for="provinces in filters.locations" :label="provinces" :key="provinces">{{provinces}}</el-checkbox>
|
|
<el-checkbox v-for="provinces in filters.locations" :label="provinces" :key="provinces">{{provinces}}</el-checkbox>
|
|
@@ -32,7 +32,7 @@
|
|
<div class="filter_name">专业类别:</div>
|
|
<div class="filter_name">专业类别:</div>
|
|
<div class="items fx-row">
|
|
<div class="items fx-row">
|
|
<div class="no_limited">
|
|
<div class="no_limited">
|
|
- <el-checkbox @change="change('major',$event)" v-model="majorIsAll" >不限</el-checkbox>
|
|
|
|
|
|
+ <el-checkbox @change="change('major',$event)" v-model="isAll.major" >不限</el-checkbox>
|
|
</div>
|
|
</div>
|
|
<el-radio-group v-model="filter_form.major">
|
|
<el-radio-group v-model="filter_form.major">
|
|
<el-radio v-for="major in filters.marjors" :label="major.value" :key="major.value">{{major.label}}</el-radio>
|
|
<el-radio v-for="major in filters.marjors" :label="major.value" :key="major.value">{{major.label}}</el-radio>
|
|
@@ -43,7 +43,7 @@
|
|
<div class="filter_name">院校类型:</div>
|
|
<div class="filter_name">院校类型:</div>
|
|
<div class="items fx-row">
|
|
<div class="items fx-row">
|
|
<div class="no_limited">
|
|
<div class="no_limited">
|
|
- <el-checkbox @change="change('type',$event)" v-model="typeIsAll" >不限</el-checkbox>
|
|
|
|
|
|
+ <el-checkbox @change="change('type',$event)" v-model="isAll.type" >不限</el-checkbox>
|
|
</div>
|
|
</div>
|
|
<el-checkbox-group v-model="filter_form.type">
|
|
<el-checkbox-group v-model="filter_form.type">
|
|
<el-checkbox v-for="filter in filters.types" :label="filter" :key="filter">{{filter}}</el-checkbox>
|
|
<el-checkbox v-for="filter in filters.types" :label="filter" :key="filter">{{filter}}</el-checkbox>
|
|
@@ -54,7 +54,7 @@
|
|
<div class="filter_name">院校特性:</div>
|
|
<div class="filter_name">院校特性:</div>
|
|
<div class="items fx-row">
|
|
<div class="items fx-row">
|
|
<div class="no_limited">
|
|
<div class="no_limited">
|
|
- <el-checkbox @change="change('feature',$event)" v-model="featureIsAll" >不限</el-checkbox>
|
|
|
|
|
|
+ <el-checkbox @change="change('feature',$event)" v-model="isAll.feature" >不限</el-checkbox>
|
|
</div>
|
|
</div>
|
|
<el-checkbox-group v-model="filter_form.feature">
|
|
<el-checkbox-group v-model="filter_form.feature">
|
|
<el-checkbox v-for="feature in localFilters.features" :label="feature.value" :key="feature.value">{{feature.label}}</el-checkbox>
|
|
<el-checkbox v-for="feature in localFilters.features" :label="feature.value" :key="feature.value">{{feature.label}}</el-checkbox>
|
|
@@ -65,7 +65,7 @@
|
|
<div class="filter_name">推荐类型:</div>
|
|
<div class="filter_name">推荐类型:</div>
|
|
<div class="items fx-row">
|
|
<div class="items fx-row">
|
|
<div class="no_limited">
|
|
<div class="no_limited">
|
|
- <el-checkbox @change="change('pick',$event)" v-model="pickIsAll" >不限</el-checkbox>
|
|
|
|
|
|
+ <el-checkbox @change="change('pick',$event)" v-model="isAll.pickType" >不限</el-checkbox>
|
|
</div>
|
|
</div>
|
|
<el-radio-group v-model="filter_form.pickType">
|
|
<el-radio-group v-model="filter_form.pickType">
|
|
<el-radio v-for="pick in localFilters.picks" :label="pick.value" :key="pick.value">{{pick.label}}</el-radio>
|
|
<el-radio v-for="pick in localFilters.picks" :label="pick.value" :key="pick.value">{{pick.label}}</el-radio>
|
|
@@ -75,7 +75,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="zhiyuan-list">
|
|
<div class="zhiyuan-list">
|
|
-
|
|
|
|
|
|
+ <mx-table :propDefines="propDefines" :rows="rows"></mx-table>
|
|
</div>
|
|
</div>
|
|
<!-- <span @click="close">关闭</span>-->
|
|
<!-- <span @click="close">关闭</span>-->
|
|
</div>
|
|
</div>
|
|
@@ -107,8 +107,28 @@ export default {
|
|
{label: '保守型',value:'2'},
|
|
{label: '保守型',value:'2'},
|
|
],
|
|
],
|
|
},
|
|
},
|
|
- major: '',
|
|
|
|
- filters:{}
|
|
|
|
|
|
+ filters:{},
|
|
|
|
+ rows:[{}],
|
|
|
|
+ propDefines: {
|
|
|
|
+ name:{
|
|
|
|
+ label:'院校名称'
|
|
|
|
+ },
|
|
|
|
+ local:{
|
|
|
|
+ label:'所在地'
|
|
|
|
+ },
|
|
|
|
+ subject:{
|
|
|
|
+ label:'选科要求'
|
|
|
|
+ },
|
|
|
|
+ count:{
|
|
|
|
+ label:'招生人数'
|
|
|
|
+ },
|
|
|
|
+ year:{
|
|
|
|
+ label:'年份'
|
|
|
|
+ },
|
|
|
|
+ action:{
|
|
|
|
+ label:'填报'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
props: {
|
|
props: {
|
|
@@ -123,35 +143,18 @@ export default {
|
|
}))
|
|
}))
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
- typeIsAll:{
|
|
|
|
- get() {
|
|
|
|
- return !this.filter_form.type.length
|
|
|
|
- },
|
|
|
|
- set(){}
|
|
|
|
- },
|
|
|
|
- pickIsAll:{
|
|
|
|
- get() {
|
|
|
|
- return !this.filter_form.pickType
|
|
|
|
- },
|
|
|
|
- set(){}
|
|
|
|
- },
|
|
|
|
- featureIsAll:{
|
|
|
|
|
|
+ isAll: {
|
|
get() {
|
|
get() {
|
|
- return !this.filter_form.feature.length
|
|
|
|
- },
|
|
|
|
- set(){}
|
|
|
|
- },
|
|
|
|
- provinceIsAll:{
|
|
|
|
- get() {
|
|
|
|
- return !this.filter_form.provinces.length
|
|
|
|
- },
|
|
|
|
- set(){}
|
|
|
|
- },
|
|
|
|
- majorIsAll:{
|
|
|
|
- get() {
|
|
|
|
- return !this.filter_form.major
|
|
|
|
|
|
+ return {
|
|
|
|
+ type: !this.filter_form.type.length,
|
|
|
|
+ pickType: !this.filter_form.pickType,
|
|
|
|
+ feature: !this.filter_form.feature.length,
|
|
|
|
+ province: !this.filter_form.provinces.length,
|
|
|
|
+ major: !this.filter_form.major.length,
|
|
|
|
+ }
|
|
},
|
|
},
|
|
- set(){}
|
|
|
|
|
|
+ set() {
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
@@ -206,7 +209,9 @@ export default {
|
|
display: flex;
|
|
display: flex;
|
|
border-bottom: 1px solid #eee;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+.filters .filter:last-child{
|
|
|
|
+ border-bottom: 0;
|
|
|
|
+}
|
|
.zhiyuan-filter .filters .filter >>> .el-checkbox, .zhiyuan-filter .filters .filter >>> .el-radio {
|
|
.zhiyuan-filter .filters .filter >>> .el-checkbox, .zhiyuan-filter .filters .filter >>> .el-radio {
|
|
-webkit-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|