From 6dcbf2e669279a95df7a20726a155f0ba219aac8 Mon Sep 17 00:00:00 2001
From: zsk <710162063@qq.com>
Date: Tue, 16 Apr 2024 16:51:16 +0800
Subject: [PATCH] =?UTF-8?q?=E8=81=8C=E4=BD=8D=E6=90=9C=E7=B4=A2=20?=
=?UTF-8?q?=E6=9D=A1=E4=BB=B6=E5=88=A4=E6=96=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/FirstJob/joblist.vue | 39 +++++++++++++++++++++++++++++++------
src/utils/request.js | 4 ++--
2 files changed, 35 insertions(+), 8 deletions(-)
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";