diff --git a/src/components/FirstJob/joblist.vue b/src/components/FirstJob/joblist.vue index a29296f..51030a2 100644 --- a/src/components/FirstJob/joblist.vue +++ b/src/components/FirstJob/joblist.vue @@ -580,7 +580,7 @@ - + @@ -1418,11 +1418,17 @@ export default { this.formvalue.ageStr = this.searchValue.trim(); } else { this.formvalue.aliasName = this.searchValue.trim(); + this.formvalue.keys = this.searchValue.trim(); } // console.log("search1"); // this.formvalue.aliasName = this.searchValue; // console.log(this.formvalue); - this.getJobList(); + + if(this.formvalue.signType == 1){ + this.getJobListYicai(); + }else{ + this.getJobList(); + } this.isdownHotStoreShow = false; } @@ -1746,8 +1752,14 @@ export default { // console.log(e); if (e.target.value.length === 0) { this.formvalue.aliasName = ""; + this.formvalue.keys = ""; this.formvalue.ageStr = ""; - this.getJobList(); + + if (this.formvalue.signType != 0) { + this.getJobListYicai(); + } else { + this.getJobList(); + } } // this.$router.push("/list").catch((err) => { // console.log(err); @@ -1997,8 +2009,13 @@ export default { } this.formvalue.levelType = item.levelType; this.currentCity = item.name; - this.getJobList(); + // this.getJobList(); this.visible = false; + if (this.formvalue.signType != 0) { + this.getJobListYicai(); + } else { + this.getJobList(); + } }, getHotStoreList(item) { // console.log(item); @@ -2015,7 +2032,12 @@ export default { this.formvalue.hotStoreId = ""; this.currentCity = "全国"; // console.log(this.formvalue); - this.getJobList(); + // this.getJobList(); + if (this.formvalue.signType != 0) { + this.getJobListYicai(); + } else { + this.getJobList(); + } }, copyText(event, ind) { // 复制文本内容 @@ -2053,7 +2075,12 @@ export default { this.formvalue.cityName = ""; this.formvalue.levelType = ""; this.formvalue.provinceName = ""; - this.getJobList(); + // this.getJobList(); + if (this.formvalue.signType != 0) { + this.getJobListYicai(); + } else { + this.getJobList(); + } }, /** * 前往详情页 diff --git a/src/utils/request.js b/src/utils/request.js index 61d96fa..accc528 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -5,8 +5,8 @@ import qs from "qs"; // import Vue from "vue"; // const baseURL = "http://1shoudan.com"; // 正式环境线上 废弃 -// const baseURL = "//idaotian.com"; // 正式环境线上 -const baseURL = "//test.renminshitang.com.cn/daotian/api_dev"; // 测试环境本地 +const baseURL = "//idaotian.com"; // 正式环境线上 +// const baseURL = "//test.renminshitang.com.cn/daotian/api_dev"; // 测试环境本地 // const baseURL = "//idagou.cn"; // 正式环境线上 废弃 // console.log(baseURL); // const baseURL = "http://localhost:8001";