|
@@ -492,6 +492,7 @@ export default {
|
|
departmentList: [],
|
|
departmentList: [],
|
|
lock: false,
|
|
lock: false,
|
|
searchNum: 0,
|
|
searchNum: 0,
|
|
|
|
+ professionSearchData: {}
|
|
};
|
|
};
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -639,12 +640,19 @@ export default {
|
|
SizeChangeEvent(val) {
|
|
SizeChangeEvent(val) {
|
|
this.paginationData.pageSize = val;
|
|
this.paginationData.pageSize = val;
|
|
const num = this.lock ? 1 : 0;
|
|
const num = this.lock ? 1 : 0;
|
|
- this.funQuery(num);
|
|
|
|
|
|
+ if (this.choice == 2) {
|
|
|
|
+ this.handleProfessionSearch(this.professionSearchData)
|
|
|
|
+ } else {
|
|
|
|
+ this.funQuery(num);
|
|
|
|
+ }
|
|
},
|
|
},
|
|
pageHasChanged() {
|
|
pageHasChanged() {
|
|
const num = this.lock ? 1 : 0;
|
|
const num = this.lock ? 1 : 0;
|
|
- this.funQuery(num);
|
|
|
|
- console.log('点击了分页');
|
|
|
|
|
|
+ if (this.choice == 2) {
|
|
|
|
+ this.handleProfessionSearch(this.professionSearchData)
|
|
|
|
+ } else {
|
|
|
|
+ this.funQuery(num);
|
|
|
|
+ }
|
|
},
|
|
},
|
|
funBlur() {
|
|
funBlur() {
|
|
if (this.formData1.ageday > 356) {
|
|
if (this.formData1.ageday > 356) {
|
|
@@ -764,6 +772,7 @@ export default {
|
|
// 专业检索
|
|
// 专业检索
|
|
handleProfessionSearch(params) {
|
|
handleProfessionSearch(params) {
|
|
this.paginationData.currentPage = 1
|
|
this.paginationData.currentPage = 1
|
|
|
|
+ this.professionSearchData = params
|
|
this.$axios3.post('/bl/serach', params).then(res => {
|
|
this.$axios3.post('/bl/serach', params).then(res => {
|
|
this.tableData = res.data.list || [];
|
|
this.tableData = res.data.list || [];
|
|
this.tableDataDetails = res.data.detail || [];
|
|
this.tableDataDetails = res.data.detail || [];
|
|
@@ -812,9 +821,10 @@ export default {
|
|
},
|
|
},
|
|
// 检索类型变化
|
|
// 检索类型变化
|
|
handleRadioChange(val) {
|
|
handleRadioChange(val) {
|
|
- console.log(val)
|
|
|
|
if (val == 2) {
|
|
if (val == 2) {
|
|
this.handleProfessionSearch({})
|
|
this.handleProfessionSearch({})
|
|
|
|
+ } else {
|
|
|
|
+ this.professionSearchData = {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|