cyl/dev
jscyl13849007907 1 year ago
parent 320c3171d5
commit 5a3d90bddc

@ -345,8 +345,8 @@
<div class="maincontentleft" style="padding-top: 16px"> <div class="maincontentleft" style="padding-top: 16px">
<div class="tabBar" @click="changeTab($event)"> <div class="tabBar" @click="changeTab($event)">
<div class="tabSubset" :class="{ active: signType == 0 }" data-type="0">默认</div> <div class="tabSubset" :class="{ active: signType == 0 }" data-type="0">默认</div>
<div class="tabSubset" :class="{ active: signType == 1 }" data-type="1">按距离</div> <!-- <div class="tabSubset" :class="{ active: signType == 1 }" data-type="1">按距离</div> -->
<div class="tabSubset" :class="{ active: signType == 2 }" data-type="2">按工价</div> <div class="tabSubset" :class="{ active: signType == 1 }" data-type="1">按工价</div>
<div class="tabSubset" :class="{ active: signType == 3 }" data-type="3">按佣金</div> <div class="tabSubset" :class="{ active: signType == 3 }" data-type="3">按佣金</div>
<!-- <div class="tabSubset" :class="{ active: signType == 1 }" v-if="loginValue.agencyName == '郑州一才工作' || loginValue.agencyName == '一才工作'" data-type="1"></div> --> <!-- <div class="tabSubset" :class="{ active: signType == 1 }" v-if="loginValue.agencyName == '郑州一才工作' || loginValue.agencyName == '一才工作'" data-type="1"></div> -->
<!-- v-if="loginValue.agencyName == '郑州一才工作' || loginValue.agencyName == '一才工作'" --> <!-- v-if="loginValue.agencyName == '郑州一才工作' || loginValue.agencyName == '一才工作'" -->
@ -1154,7 +1154,7 @@ export default {
this.getJobList(); this.getJobList();
this.getJobNum(); this.getJobNum();
} else { } else {
this.getJobListYicai(); this.getJobList();
} }
this.getRecommendJob(); this.getRecommendJob();
@ -1217,7 +1217,7 @@ export default {
loadMoreData() { loadMoreData() {
this.formvalue.pageNum += 1; // this.formvalue.pageNum += 1; //
if (this.signType != 0) { if (this.signType != 0) {
this.getJobListYicai().then(() => { this.getJobList({isScroll:1}).then(() => {
this.isFetching = false; this.isFetching = false;
}); });
} else { } else {
@ -1435,7 +1435,7 @@ export default {
// console.log(this.formvalue); // console.log(this.formvalue);
if (this.formvalue.signType == 1) { if (this.formvalue.signType == 1) {
this.getJobListYicai(); this.getJobList();
} else { } else {
this.getJobList(); this.getJobList();
} }
@ -1664,7 +1664,7 @@ export default {
this.formvalue.pageNum = e; this.formvalue.pageNum = e;
this.$refs.pageinput.value = ""; this.$refs.pageinput.value = "";
if (this.signType == 1) { if (this.signType == 1) {
this.getJobListYicai(); this.getJobList();
} else { } else {
this.getJobList(); this.getJobList();
} }
@ -1773,7 +1773,7 @@ export default {
this.formvalue.ageStr = ""; this.formvalue.ageStr = "";
console.log("this.formvalue", this.formvalue); console.log("this.formvalue", this.formvalue);
if (this.formvalue.signType == 1) { if (this.formvalue.signType == 1) {
this.getJobListYicai(); this.getJobList();
} else { } else {
this.getJobList(); this.getJobList();
} }
@ -2031,7 +2031,7 @@ export default {
this.visible = false; this.visible = false;
console.log("this.formvalue.signType", this.formvalue.signType); console.log("this.formvalue.signType", this.formvalue.signType);
if (this.signType != 0) { if (this.signType != 0) {
this.getJobListYicai(); this.getJobList();
} else { } else {
this.getJobList(); this.getJobList();
} }
@ -2053,7 +2053,7 @@ export default {
// console.log(this.formvalue); // console.log(this.formvalue);
// this.getJobList(); // this.getJobList();
if (this.formvalue.signType != 0) { if (this.formvalue.signType != 0) {
this.getJobListYicai(); this.getJobList();
} else { } else {
this.getJobList(); this.getJobList();
} }
@ -2096,7 +2096,7 @@ export default {
this.formvalue.provinceName = ""; this.formvalue.provinceName = "";
// this.getJobList(); // this.getJobList();
if (this.formvalue.signType != 0) { if (this.formvalue.signType != 0) {
this.getJobListYicai(); this.getJobList();
} else { } else {
this.getJobList(); this.getJobList();
} }

Loading…
Cancel
Save