소스 검색

deldel

master
Soleilw 1 년 전
부모
커밋
80d594a9e5

BIN
public/images/bg.jpg 파일 보기


+ 53
- 41
src/components/company/search/index.vue 파일 보기

<a-row :gutter="20"> <a-row :gutter="20">
<a-col span="12"> <a-col span="12">
<a-form-item label="关键字" name="keyword"> <a-form-item label="关键字" name="keyword">
<a-input v-model:value="commomParams.search.keyword" placeholder="请输入关键字" size="large"/>
</a-form-item>
</a-col>
<a-col span="12">
<a-form-item label="职称">
<a-xuanze :dict="2012" placeholder="请选择职称" @saveSelect="saveTitle"
:select_content="commomParams.search.title"></a-xuanze>
<a-input v-model:value="commomParams.search.keyword" placeholder="请输入关键字" size="large" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="12"> <a-col span="12">
<a-form-item label="性别" name="sex"> <a-form-item label="性别" name="sex">
<a-radio-group v-model:value="commomParams.search.gender" button-style="solid" style="width: 100%;" size="large">
<a-radio-group v-model:value="commomParams.search.gender" button-style="solid"
style="width: 100%;" size="large">
<a-radio-button value="男" style="width: calc(100% / 3);">男</a-radio-button> <a-radio-button value="男" style="width: calc(100% / 3);">男</a-radio-button>
<a-radio-button value="女" style="width: calc(100% / 3);">女</a-radio-button> <a-radio-button value="女" style="width: calc(100% / 3);">女</a-radio-button>
<a-radio-button value="不限" style="width: calc(100% / 3);">不限</a-radio-button> <a-radio-button value="不限" style="width: calc(100% / 3);">不限</a-radio-button>
</a-radio-group> </a-radio-group>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="12">
<a-form-item label="职称">
<a-xuanze :dict="2014" placeholder="请选择职称" @saveSelect="saveTitle"
:select_content="commomParams.search.title"></a-xuanze>
</a-form-item>
</a-col>

<a-col span="12"> <a-col span="12">
<a-form-item label="学历"> <a-form-item label="学历">
<a-xuanze :dict="2012" placeholder="请选择学历" @saveSelect="saveEducation"
<a-xuanze :dict="2006" placeholder="请选择学历" @saveSelect="saveEducation"
:select_content="commomParams.search.education"></a-xuanze> :select_content="commomParams.search.education"></a-xuanze>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="12"> <a-col span="12">
<a-form-item label="户口所在地">
<a-xuanze :dict="2012" placeholder="请选择民族" @saveSelect="saveEthnicity"
<a-form-item label="婚姻状况">
<a-xuanze :dict="2011" placeholder="请选择婚姻状况" @saveSelect="saveMaritalStatus"
:select_content="commomParams.search.marital_status"></a-xuanze> :select_content="commomParams.search.marital_status"></a-xuanze>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="12"> <a-col span="12">
<a-form-item label="学历">
<a-xuanze :dict="2006" placeholder="请选择学历" @saveSelect="saveSchoolDegree"
<a-form-item label="政治面貌">
<a-xuanze :dict="2010" placeholder="请选择政治面貌" @saveSelect="savePoliticalStatus"
:select_content="commomParams.search.political_status"></a-xuanze> :select_content="commomParams.search.political_status"></a-xuanze>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="12"> <a-col span="12">
<a-form-item label="含最高学历" name="degree_better">
<a-xuanze :dict="2012" placeholder="请选择民族" @saveSelect="saveEthnicity"
<a-form-item label="可到职日期">
<a-xuanze :dict="2013" placeholder="请选择可到职日期" @saveSelect="saveAvailableDateDesire"
:select_content="commomParams.search.available_date_desire"></a-xuanze> :select_content="commomParams.search.available_date_desire"></a-xuanze>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="12"> <a-col span="12">
<a-form-item required label="英语">
<a-xuanze :dict="2012" placeholder="请选择民族" @saveSelect="saveEthnicity"
<a-form-item label="英语">
<a-xuanze :dict="2008" placeholder="请选择掌握程度" @saveSelect="saveEnglish"
:select_content="commomParams.search.english"></a-xuanze> :select_content="commomParams.search.english"></a-xuanze>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="12"> <a-col span="12">
<a-form-item required label="国语">
<a-xuanze :dict="2012" placeholder="请选择民族" @saveSelect="saveEthnicity"
:select_content="commomParams.search.ethnicity"></a-xuanze>
<a-form-item label="国语">
<a-xuanze :dict="2008" placeholder="请选择掌握程度" @saveSelect="saveMandarin"
:select_content="commomParams.search.mandarin"></a-xuanze>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="12"> <a-col span="12">
<a-form-item required label="粤语">
<a-xuanze :dict="2012" placeholder="请选择民族" @saveSelect="saveEthnicity"
<a-form-item label="粤语">
<a-xuanze :dict="2008" placeholder="请选择掌握程度" @saveSelect="saveCantonese"
:select_content="commomParams.search.cantonese"></a-xuanze> :select_content="commomParams.search.cantonese"></a-xuanze>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="12"> <a-col span="12">
<a-form-item required label="第二外语">
<a-xuanze :dict="2012" placeholder="请选择民族" @saveSelect="saveEthnicity"
<a-form-item label="第二外语">
<a-xuanze :dict="2007" placeholder="请选择第二外语" @saveSelect="saveOtherLanguage"
:select_content="commomParams.search.other_language"></a-xuanze> :select_content="commomParams.search.other_language"></a-xuanze>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="12"> <a-col span="12">
<a-form-item required label="计算机能力">
<a-input v-model:value="value" placeholder="请输入计算机能力" size="large"/>
<a-form-item label="计算机能力">
<a-input v-model:value="value" placeholder="请输入计算机能力" size="large" />
</a-form-item>
</a-col>

<a-col span="12">
<a-form-item label="工作经验">
<a-xuanze :dict="2021" placeholder="请选择工作经验" @saveSelect="saveEthnicity"
:select_content="commomParams.search.ethnicity"></a-xuanze>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="12"> <a-col span="12">
<a-form-item required label="工作经验">
<a-form-item label="最小年龄" name="age_min">
<a-xuanze :dict="2012" placeholder="请选择民族" @saveSelect="saveEthnicity" <a-xuanze :dict="2012" placeholder="请选择民族" @saveSelect="saveEthnicity"
:select_content="commomParams.search.ethnicity"></a-xuanze> :select_content="commomParams.search.ethnicity"></a-xuanze>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="12">
<a-form-item label="最大年龄" name="age_max">
<a-xuanze :dict="2012" placeholder="请选择民族" @saveSelect="saveEthnicity"
:select_content="commomParams.search.ethnicity"></a-xuanze>
</a-form-item>
</a-col>

<a-col span="12"> <a-col span="12">
<a-form-item label="最小年龄" name="age_min"> <a-form-item label="最小年龄" name="age_min">
<a-xuanze :dict="2012" placeholder="请选择民族" @saveSelect="saveEthnicity" <a-xuanze :dict="2012" placeholder="请选择民族" @saveSelect="saveEthnicity"
:select_content="commomParams.search.ethnicity"></a-xuanze> :select_content="commomParams.search.ethnicity"></a-xuanze>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="12"> <a-col span="12">
<a-form-item label="最大年龄" name="age_max"> <a-form-item label="最大年龄" name="age_max">
<a-xuanze :dict="2012" placeholder="请选择民族" @saveSelect="saveEthnicity" <a-xuanze :dict="2012" placeholder="请选择民族" @saveSelect="saveEthnicity"
let { store, commomParams, dayjs, richOption, ExclamationCircleOutlined, Modal } = useCommon(); let { store, commomParams, dayjs, richOption, ExclamationCircleOutlined, Modal } = useCommon();
let props = defineProps(['search_params']); let props = defineProps(['search_params']);
const emit = defineEmits(); const emit = defineEmits();
interface listType { interface listType {
title ?: Number, title ?: Number,
education ?: Number, education ?: Number,
other_language ?: Number, other_language ?: Number,
max_work_experience ?: Number, max_work_experience ?: Number,
min_work_experience ?: Number, min_work_experience ?: Number,
gender ?: Number,
gender ?: String,
maxheight ?: Number, maxheight ?: Number,
minheight ?: Number, minheight ?: Number,
maxweight ?: Number, maxweight ?: Number,
minweight ?: Number, minweight ?: Number,
} }
commomParams.value.search = commomParams.value.search as listType; commomParams.value.search = commomParams.value.search as listType;
commomParams.value.search.title = 0; commomParams.value.search.title = 0;
commomParams.value.search.education = 0; commomParams.value.search.education = 0;
commomParams.value.search.other_language = ''; commomParams.value.search.other_language = '';
commomParams.value.search.max_work_experience = 0; commomParams.value.search.max_work_experience = 0;
commomParams.value.search.min_work_experience = 0; commomParams.value.search.min_work_experience = 0;
commomParams.value.search.gender = 0;
commomParams.value.search.gender = '不限';
commomParams.value.search.maxheight = 0; commomParams.value.search.maxheight = 0;
commomParams.value.search.minheight = 0; commomParams.value.search.minheight = 0;
commomParams.value.search.maxweight = 0; commomParams.value.search.maxweight = 0;
commomParams.value.search.minweight = 0; commomParams.value.search.minweight = 0;
watch(() => props.search_params, (newVal) => { watch(() => props.search_params, (newVal) => {
emit('searchData', commomParams.value.search) emit('searchData', commomParams.value.search)
}, { }, {
immediate: true immediate: true
}) })
const getData = () => { const getData = () => {
emit('searchData', commomParams.value.search) emit('searchData', commomParams.value.search)
} }
// 清空搜索 // 清空搜索
const clearSearch = () => { const clearSearch = () => {
commomParams.value.search = { commomParams.value.search = {
sortby: 'asc', sortby: 'asc',
keyword: '' keyword: ''
} }
emit('clearData', commomParams.value.search) emit('clearData', commomParams.value.search)
} }
</script> </script>


<style> <style>

+ 14
- 6
src/components/layout/header/aHeader.vue 파일 보기

<a-menu-item key="1"> <a-menu-item key="1">
<a-space :size="80"> <a-space :size="80">
<div>发布中</div> <div>发布中</div>
<div>0分</div>
<div></div>
</a-space> </a-space>
</a-menu-item> </a-menu-item>
<a-menu-item key="2"> <a-menu-item key="2">
<a-menu-item key="1"> <a-menu-item key="1">
<a-space :size="80"> <a-space :size="80">
<div>面试通知</div> <div>面试通知</div>
<div>0分</div>
<div>{{interviewListLength}}个</div>
</a-space> </a-space>
</a-menu-item> </a-menu-item>
<a-menu-item key="2">
<!-- <a-menu-item key="2">
<a-space :size="80"> <a-space :size="80">
<div>简历完成度</div> <div>简历完成度</div>
<div><a-rate v-model:value="value" /></div> <div><a-rate v-model:value="value" /></div>
</a-space> </a-space>
</a-menu-item>
</a-menu-item> -->
<a-menu-item key="3" v-if="pageType != 'personal'"> <a-menu-item key="3" v-if="pageType != 'personal'">
<a-space :size="80"> <a-space :size="80">
<div>管理中心</div> <div>管理中心</div>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, onMounted, computed, defineProps, defineEmits } from 'vue'; import { ref, onMounted, computed, defineProps, defineEmits } from 'vue';
import ATopMenu from '@/components/layout/menu/aMenu.vue'; import ATopMenu from '@/components/layout/menu/aMenu.vue';
import { PostCustomerVerify } from '@/apis/models';
import { PostCustomerVerify, GetPersonInterviewList } from '@/apis/models';
import { warnToast, successToast } from '@/utils/toastHelper'; import { warnToast, successToast } from '@/utils/toastHelper';
import { store } from '@/store/index'; import { store } from '@/store/index';
import { router } from '@/router/index'; import { router } from '@/router/index';
router.push('/personal') router.push('/personal')
} }
if (val.key == 6) { if (val.key == 6) {
debugger
openHr.value = true openHr.value = true
form.value.code = '' form.value.code = ''
} }
} }


} }
let interviewListLength = ref<Number>(0)
onMounted(() => {
GetPersonInterviewList({ status: 0 }).then(res => {
interviewListLength.value = res.data.list.length
})
})
</script> </script>


<style lang="less" scoped> <style lang="less" scoped>

+ 1
- 0
src/components/layout/index.vue 파일 보기

background-color: #f0f0f0 !important; background-color: #f0f0f0 !important;
padding-top: 64px; padding-top: 64px;
padding-bottom: 30px; padding-bottom: 30px;
background-image: linear-gradient(to bottom, #e0f2f4, #f2f4f7);
// background-image: url('https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/V-_oS6r-i7wAAAAAAAAAAAAAFl94AQBr'); // background-image: url('https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/V-_oS6r-i7wAAAAAAAAAAAAAFl94AQBr');


} }

+ 63
- 51
src/style.css 파일 보기

:root { :root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
} }


a { a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
font-weight: 500;
color: #646cff;
text-decoration: inherit;
} }

a:hover { a:hover {
color: #535bf2;
color: #535bf2;
} }


body { body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
} }


h1 { h1 {
font-size: 3.2em;
line-height: 1.1;
font-size: 3.2em;
line-height: 1.1;
} }


button { button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
} }

button:hover { button:hover {
border-color: #646cff;
border-color: #646cff;
} }

button:focus, button:focus,
button:focus-visible { button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
outline: 4px auto -webkit-focus-ring-color;
} }


.card { .card {
padding: 2em;
padding: 2em;
} }


#app { #app {
width: 100%;
height: 100%;
overflow: hidden;
overflow: auto;
background-color: #f0f0f0 !important;
width: 100%;
height: 100%;
overflow: hidden;
overflow: auto;
background-color: #f0f0f0 !important;
}

::-webkit-scrollbar {
/* 设置滚动条宽度 */
width: 0px;
height: 0px;
} }


@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
:root {
color: #213547;
background-color: #ffffff;
}

a:hover {
color: #747bff;
}

button {
background-color: #f9f9f9;
}
} }


.content-padding-inline { .content-padding-inline {
padding-inline: 50px; padding-inline: 50px;
} }

/* 从右开始 */ /* 从右开始 */
.horizontal-flex-end { .horizontal-flex-end {
display: flex; display: flex;


.main-color { .main-color {
color: #4FBE70; color: #4FBE70;
}
}

+ 1
- 1
src/views/jobseeker/home/index.vue 파일 보기

</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item> <a-descriptions-item>
<a-button type="link" class="main-color"> <a-button type="link" class="main-color">
<RedoOutlined style="color: #4FBE70" />预览简历
<RedoOutlined style="color: #4FBE70" />刷新简历
</a-button> </a-button>
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="简历是否在家政可见"> <a-descriptions-item label="简历是否在家政可见">

+ 2
- 1
src/views/login/login.less 파일 보기

.login-box { .login-box {
width: 100%; width: 100%;
height: 100%; height: 100%;
background-image: url('https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/V-_oS6r-i7wAAAAAAAAAAAAAFl94AQBr');
background-image: linear-gradient(to bottom, #e0f2f4, #f2f4f7);
// background-image: url('https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/V-_oS6r-i7wAAAAAAAAAAAAAFl94AQBr');
} }


.login-content { .login-content {

+ 16
- 0
src/views/login/login.vue 파일 보기

createForm.value = reset().dataForm as LoginType.LoginFormType; createForm.value = reset().dataForm as LoginType.LoginFormType;
personalForm.value = reset().dataForm as RegisterType.RegisterPersonalFormType; personalForm.value = reset().dataForm as RegisterType.RegisterPersonalFormType;
companyForm.value = reset().dataForm as RegisterType.RegisterCompanyFormType; companyForm.value = reset().dataForm as RegisterType.RegisterCompanyFormType;
smsForm.value = reset().dataForm as LoginType.SmsFormType;
smsLoginForm.value = reset().dataForm as LoginType.SmsLoginFormType;
getCaptcha() getCaptcha()
} }


const resetForm = () => {
createForm.value = reset().dataForm as LoginType.LoginFormType;
personalForm.value = reset().dataForm as RegisterType.RegisterPersonalFormType;
companyForm.value = reset().dataForm as RegisterType.RegisterCompanyFormType;
smsForm.value = reset().dataForm as LoginType.SmsFormType;
smsLoginForm.value = reset().dataForm as LoginType.SmsLoginFormType;
getCaptcha()
}


const getCaptcha = () => { const getCaptcha = () => {
capt_id.value = ''
createForm.value.captcha = ''; createForm.value.captcha = '';
GetCaptcha().then(res => { GetCaptcha().then(res => {
capt_id.value = res.data.capt_id; capt_id.value = res.data.capt_id;
sessionStorage.setItem('id', res.data.company_id) sessionStorage.setItem('id', res.data.company_id)
store.commit('permissions/SET_PERMISSION', null) store.commit('permissions/SET_PERMISSION', null)
store.commit('permissions/SET_MENU', []) store.commit('permissions/SET_MENU', [])
resetForm()
router.push('/manage/home') router.push('/manage/home')
}).catch(err => { }).catch(err => {
getCaptcha() getCaptcha()
sessionStorage.setItem('id', res.data.customerid) sessionStorage.setItem('id', res.data.customerid)
store.commit('permissions/SET_PERMISSION', null) store.commit('permissions/SET_PERMISSION', null)
store.commit('permissions/SET_MENU', []) store.commit('permissions/SET_MENU', [])
resetForm()
router.push('/jobseeker/home') router.push('/jobseeker/home')
}).catch(err => { }).catch(err => {
getCaptcha() getCaptcha()
sessionStorage.setItem('id', res.data.company_id) sessionStorage.setItem('id', res.data.company_id)
store.commit('permissions/SET_PERMISSION', null) store.commit('permissions/SET_PERMISSION', null)
store.commit('permissions/SET_MENU', []) store.commit('permissions/SET_MENU', [])
resetForm()
router.push('/manage/home') router.push('/manage/home')
}).catch(err => { }).catch(err => {
getCaptcha() getCaptcha()

Loading…
취소
저장