职位搜索 条件判断

cyl/dev
zsk 2 years ago
parent 2c97cac169
commit 6dcbf2e669

@ -580,7 +580,7 @@
</button> </button>
</a> </a>
<!-- </a-popover> --> <!-- </a-popover> -->
<button class="apply br4" @click="torecord(item)" v-if="item.recruitment == '1'"></button> <button class="apply br4" @click="torecord(item)" v-if="item.recruitment == '1'">{{item.id}}</button>
<button class="norecruitment" v-else></button> <button class="norecruitment" v-else></button>
<!-- <button @click="showmodal(item)" @click="">报名</button> --> <!-- <button @click="showmodal(item)" @click="">报名</button> -->
@ -1418,11 +1418,17 @@ export default {
this.formvalue.ageStr = this.searchValue.trim(); this.formvalue.ageStr = this.searchValue.trim();
} else { } else {
this.formvalue.aliasName = this.searchValue.trim(); this.formvalue.aliasName = this.searchValue.trim();
this.formvalue.keys = this.searchValue.trim();
} }
// console.log("search1"); // console.log("search1");
// this.formvalue.aliasName = this.searchValue; // this.formvalue.aliasName = this.searchValue;
// console.log(this.formvalue); // console.log(this.formvalue);
if(this.formvalue.signType == 1){
this.getJobListYicai();
}else{
this.getJobList(); this.getJobList();
}
this.isdownHotStoreShow = false; this.isdownHotStoreShow = false;
} }
@ -1746,9 +1752,15 @@ export default {
// console.log(e); // console.log(e);
if (e.target.value.length === 0) { if (e.target.value.length === 0) {
this.formvalue.aliasName = ""; this.formvalue.aliasName = "";
this.formvalue.keys = "";
this.formvalue.ageStr = ""; this.formvalue.ageStr = "";
if (this.formvalue.signType != 0) {
this.getJobListYicai();
} else {
this.getJobList(); this.getJobList();
} }
}
// this.$router.push("/list").catch((err) => { // this.$router.push("/list").catch((err) => {
// console.log(err); // console.log(err);
// }); // });
@ -1997,8 +2009,13 @@ export default {
} }
this.formvalue.levelType = item.levelType; this.formvalue.levelType = item.levelType;
this.currentCity = item.name; this.currentCity = item.name;
this.getJobList(); // this.getJobList();
this.visible = false; this.visible = false;
if (this.formvalue.signType != 0) {
this.getJobListYicai();
} else {
this.getJobList();
}
}, },
getHotStoreList(item) { getHotStoreList(item) {
// console.log(item); // console.log(item);
@ -2015,7 +2032,12 @@ export default {
this.formvalue.hotStoreId = ""; this.formvalue.hotStoreId = "";
this.currentCity = "全国"; this.currentCity = "全国";
// console.log(this.formvalue); // console.log(this.formvalue);
// this.getJobList();
if (this.formvalue.signType != 0) {
this.getJobListYicai();
} else {
this.getJobList(); this.getJobList();
}
}, },
copyText(event, ind) { copyText(event, ind) {
// //
@ -2053,7 +2075,12 @@ export default {
this.formvalue.cityName = ""; this.formvalue.cityName = "";
this.formvalue.levelType = ""; this.formvalue.levelType = "";
this.formvalue.provinceName = ""; this.formvalue.provinceName = "";
// this.getJobList();
if (this.formvalue.signType != 0) {
this.getJobListYicai();
} else {
this.getJobList(); this.getJobList();
}
}, },
/** /**
* 前往详情页 * 前往详情页

@ -5,8 +5,8 @@ import qs from "qs";
// import Vue from "vue"; // import Vue from "vue";
// const baseURL = "http://1shoudan.com"; // 正式环境线上 废弃 // const baseURL = "http://1shoudan.com"; // 正式环境线上 废弃
// const baseURL = "//idaotian.com"; // 正式环境线上 const baseURL = "//idaotian.com"; // 正式环境线上
const baseURL = "//test.renminshitang.com.cn/daotian/api_dev"; // 测试环境本地 // const baseURL = "//test.renminshitang.com.cn/daotian/api_dev"; // 测试环境本地
// const baseURL = "//idagou.cn"; // 正式环境线上 废弃 // const baseURL = "//idagou.cn"; // 正式环境线上 废弃
// console.log(baseURL); // console.log(baseURL);
// const baseURL = "http://localhost:8001"; // const baseURL = "http://localhost:8001";

Loading…
Cancel
Save