|
@@ -209,19 +209,14 @@
|
|
|
let that = this;
|
|
|
that.loading = true;
|
|
|
that.params = that.$route.params;
|
|
|
- Object.assign(
|
|
|
- that.queryParams,
|
|
|
- that.params
|
|
|
- )
|
|
|
- // let params = Object.assign({pageNum: that.queryParams.pageNum}, this.$route.query )
|
|
|
- // console.log(params)
|
|
|
- // this.$router.push({params})
|
|
|
- if(that.queryParams.education){
|
|
|
- that.queryParams.education = that.queryParams.education.join("&");
|
|
|
- }
|
|
|
+ console.log(that.$route.params)
|
|
|
+ var newQueryParams = {...that.queryParams,...that.params};
|
|
|
|
|
|
- // console.log(this.$route.params)
|
|
|
- listCustomer(that.queryParams).then(response => {
|
|
|
+ if(newQueryParams.education){
|
|
|
+ newQueryParams.education = newQueryParams.education.join("&");
|
|
|
+ }
|
|
|
+ console.log(newQueryParams)
|
|
|
+ listCustomer(newQueryParams).then(response => {
|
|
|
console.log(response);
|
|
|
this.customerList = response.data.list;
|
|
|
// if(response.data.scrollId != undefined && response.data.scrollId !=""){
|