Commit 80c0e581 authored by 罗超's avatar 罗超

1

parent 1be941ac
<template> <template>
<div class="jiahe"> <div class="jiahe">
<Header :menuList="menuList" :curMenu="menuList[6].Name" :type="2" /> <Header :menuList="menuList" :curMenu="menuList[6].Name" :type="2" />
<div class="bannerBox" :style="{ backgroundImage: 'url(' + swiperData[0].BgImg + ')' }"> <div
<div class="banner_title"><span class="jh">甲鹤</span>-{{swiperData[0].NavTitle}}</div> class="bannerBox"
:style="{ backgroundImage: 'url(' + swiperData[0].BgImg + ')' }"
>
<div class="banner_title">
<span class="jh">甲鹤</span>-{{ swiperData[0].NavTitle }}
</div>
</div> </div>
<div class="join_main"> <div class="join_main">
<div class="joinUs_imgBox"> <div class="joinUs_imgBox">
<div v-for="item in recruitmentTypeList" :key="item.Id" class="imgItem" @click="checkType(item)"> <div
v-for="item in recruitmentTypeList"
:key="item.Id"
class="imgItem"
@click="checkType(item)"
>
<div class="main_title">{{ item.TypeName }}</div> <div class="main_title">{{ item.TypeName }}</div>
<img :src="item.CheckImg" alt="" class="imgItem" v-if="item.Id==currentId"/> <img
:src="item.CheckImg"
alt=""
class="imgItem"
v-if="item.Id == currentId"
/>
<img :src="item.ImgCover" alt="" class="imgItem" v-else /> <img :src="item.ImgCover" alt="" class="imgItem" v-else />
</div> </div>
</div> </div>
<div class="conBox" v-if="jobList.length>0"> <div class="conBox" v-if="jobList.length > 0">
<div v-for="item in jobList" :key="item.Id" class="jobItem" > <div v-for="item in jobList" :key="item.Id" class="jobItem">
<div class="job_info1" @click="jumpJobDetail(item.Id)"> <div class="job_info1" @click="jumpJobDetail(item.Id)">
<div class="job_title">{{ item.PositionName }}</div> <div class="job_title">{{ item.PositionName }}</div>
<div class="job_info1_sub"> <div class="job_info1_sub">
<div class="job_price">{{ item.Salary }}</div> <div class="job_price">{{ item.Salary }}</div>
<div class="job_other"> <div class="job_other">
{{ item.Experience }}<span style="margin: 0 0.5vw">|</span>{{ item.Education }} {{ item.Experience }}<span style="margin: 0 0.5vw">|</span
>{{ item.Education }}
</div> </div>
</div> </div>
</div> </div>
...@@ -32,7 +48,7 @@ ...@@ -32,7 +48,7 @@
</div> </div>
</div> </div>
</div> </div>
<NoData v-if="jobList.length==0"></NoData> <NoData v-if="jobList.length == 0"></NoData>
<template> <template>
<q-dialog ref="dialog" @hide="onDialogHide"> <q-dialog ref="dialog" @hide="onDialogHide">
...@@ -67,17 +83,15 @@ ...@@ -67,17 +83,15 @@
/> />
</div> </div>
<div> <div>
<q-btn label="提交" type="Submit" style="background-color: #45766D ;color:#ffffff" />
<q-btn <q-btn
label="重置" label="提交"
type="reset" type="Submit"
flat style="background-color: #45766d; color: #ffffff"
class="q-ml-sm"
/> />
<q-btn label="重置" type="reset" flat class="q-ml-sm" />
</div> </div>
</q-form> </q-form>
</div> </div>
</q-card> </q-card>
</q-dialog> </q-dialog>
</template> </template>
...@@ -113,11 +127,11 @@ export default { ...@@ -113,11 +127,11 @@ export default {
components: { components: {
Header, Header,
Footer, Footer,
NoData NoData,
}, },
data() { data() {
return { return {
swiperData: [{BgImg:"",NavTitle:""}], swiperData: [{ BgImg: "", NavTitle: "" }],
currentPage: 1, currentPage: 1,
pageCount: 1, pageCount: 1,
menuList: [ menuList: [
...@@ -131,7 +145,7 @@ export default { ...@@ -131,7 +145,7 @@ export default {
Name: "", Name: "",
}, },
], ],
currentId:"", currentId: "",
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 10, pageSize: 10,
...@@ -161,19 +175,25 @@ export default { ...@@ -161,19 +175,25 @@ export default {
this.getWebRecruitmentPage(); this.getWebRecruitmentPage();
}, },
// 切换职位类型 // 切换职位类型
checkType(item){ checkType(item) {
this.currentId=item.Id if (this.currentId == item.Id) {
this.msg.TypeId=item.Id this.currentId = "";
this.getWebRecruitmentPage() this.msg.TypeId = "";
this.getWebRecruitmentPage();
} else {
this.currentId = item.Id;
this.msg.TypeId = item.Id;
this.getWebRecruitmentPage();
}
}, },
//跳转职位详情 //跳转职位详情
jumpJobDetail(id){ jumpJobDetail(id) {
this.$router.push({path:"/jobDetail",query:{id:id}}) this.$router.push({ path: "/jobDetail", query: { id: id } });
}, },
//获取招聘信息分页列表 //获取招聘信息分页列表
async getWebRecruitmentTypeList() { async getWebRecruitmentTypeList() {
let res = await getWebRecruitmentTypeList(); let res = await getWebRecruitmentTypeList();
this.recruitmentTypeList = res.Data this.recruitmentTypeList = res.Data;
}, },
//获取招聘信息分页列表 //获取招聘信息分页列表
async getWebRecruitmentPage() { async getWebRecruitmentPage() {
...@@ -190,13 +210,13 @@ export default { ...@@ -190,13 +210,13 @@ export default {
let res = await addWebJobApply(this.applymsg); let res = await addWebJobApply(this.applymsg);
if (res.Code === 1) { if (res.Code === 1) {
this.$q.notify({ this.$q.notify({
type:"positive", type: "positive",
icon: 'done', icon: "done",
position:'top', position: "top",
color: 'positive', color: "positive",
message: res.Message message: res.Message,
}) });
this.hide() this.hide();
} }
}, },
//对话框 //对话框
...@@ -241,7 +261,7 @@ export default { ...@@ -241,7 +261,7 @@ export default {
this.menuList = JSON.parse(localStorage.getItem("menuList")); this.menuList = JSON.parse(localStorage.getItem("menuList"));
this.getWebRecruitmentTypeList(); this.getWebRecruitmentTypeList();
this.getWebRecruitmentPage(); this.getWebRecruitmentPage();
this.getWebNavList() this.getWebNavList();
}, },
}; };
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment