Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mp-enterprise-people-recruitment-h5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭佳妮(贵阳日报)
mp-enterprise-people-recruitment-h5
Commits
55501178
Commit
55501178
authored
Nov 02, 2024
by
李明环(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20241102问题修复
parent
bf6d8f88
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
44 additions
and
31 deletions
+44
-31
index.vue
src/components/filter/index.vue
+11
-8
index.vue
src/components/jobSeekersCard/index.vue
+1
-1
main.ts
src/main.ts
+1
-1
index.vue
src/pages/recommend/deliveryManagement/index.vue
+1
-1
index.vue
src/pages/recommend/index.vue
+17
-5
index.vue
src/pages/recommend/invitation/index.vue
+1
-1
addPost.vue
src/pages/signUp/addPost.vue
+12
-14
No files found.
src/components/filter/index.vue
View file @
55501178
<
template
>
<div
class=
"filter"
id=
"filter"
>
<div
class=
"filter"
:style=
"
{paddingTop: statusBarHeight+'px'}"
id="filter">
<div
class=
"menu"
>
<p
v-for=
"v in menuList"
:class=
"
{ active: v.active }" :key="v.name" @click="onClickMenu(v)">
{{
v
.
name
}}
</p>
</div>
...
...
@@ -21,10 +21,13 @@
</div>
<!-- 年龄要求 -->
<div
class=
"filter-item age"
>
<p
class=
"title"
style=
"margin-
bottom: 0
"
>
年龄要求
</p>
<p
class=
"title"
style=
"margin-
top: 0;
"
>
年龄要求
</p>
<wd-slider
style=
"margin: 0 25rpx"
v-model=
"age"
:step=
"1"
hide-min-max
:max=
"100"
inactive-color=
"rgba(31, 134, 255,0.3)"
active-color=
"rgba(31, 134, 255,1)"
/>
...
...
@@ -85,6 +88,10 @@
<
script
setup
>
import
{
getEumData
}
from
"@/utils/utils"
;
import
{
dictJobTypeApi
}
from
"@/api/common"
;
const
statusBarHeight
=
ref
(
uni
.
getWindowInfo
().
screenTop
)
// 导航
const
menuList
=
ref
([]);
const
onClickMenu
=
data
=>
{
...
...
@@ -120,10 +127,7 @@ const onClickMajor = v => {
};
// 初始化数据
const
initData
=
async
()
=>
{
uni
.
showLoading
({
title
:
"加载中..."
,
mask
:
true
});
/* 初始化菜单 */
menuList
.
value
=
[
{
active
:
true
,
name
:
"学历"
,
className
:
"education"
},
...
...
@@ -169,7 +173,6 @@ const initData = async () => {
];
const
dictJobType
=
await
dictJobTypeApi
({});
dictJobTypeList
.
value
=
dictJobType
.
data
;
// uni.hideLoading();
};
initData
();
/*
...
...
@@ -197,7 +200,7 @@ const onConfirm = () => {
.filter
{
position
:
fixed
;
inset
:
0
;
z-index
:
6666666
6
;
z-index
:
6666666
;
display
:
flex
;
background-color
:
#ffffff
;
.menu
{
...
...
src/components/jobSeekersCard/index.vue
View file @
55501178
...
...
@@ -5,7 +5,7 @@
<view
class=
"text-wrap"
>
<view
class=
"name"
>
{{
data
.
name
||
"名字"
}}
<text>
{{
data
.
positionName
||
''
}}
</text>
<text>
{{
data
.
positionName
?
`岗位:${data.positionName
}
`
:
''
}}
<
/text
>
<
/view
>
<
view
class
=
"other"
>
{{
data
.
workAge
}}
年
|
{{
educationLevelText
}}
|
{{
data
.
minSalary
+
"~"
+
data
.
maxSalary
}}
...
...
src/main.ts
View file @
55501178
...
...
@@ -4,7 +4,7 @@ import store from "./store";
import
Vconsole
from
"vconsole"
;
import
NavBar
from
"@/components/navBar/index.vue"
;
// 字体
import
'@/assets/font.css'
;
import
"@/assets/font.css"
;
import
{
formatTimestamp
}
from
"@/utils/utils"
;
export
function
createApp
()
{
const
app
=
createSSRApp
(
App
);
...
...
src/pages/recommend/deliveryManagement/index.vue
View file @
55501178
...
...
@@ -30,7 +30,7 @@ import { getApplicationListApi } from "@/api/postion";
/* 过滤条件 */
const
EnumJobApplication
=
ref
([]);
const
getFilterData
=
async
()
=>
{
EnumJobApplication
.
value
=
await
getEumData
(
"Enum
Job
Application"
);
EnumJobApplication
.
value
=
await
getEumData
(
"Enum
Position
Application"
);
EnumJobApplication
.
value
.
unshift
({
text
:
"总投递"
,
code
:
""
...
...
src/pages/recommend/index.vue
View file @
55501178
...
...
@@ -19,7 +19,7 @@
@
confirm=
"positionConfirm"
use-default-slot
>
<view
class=
"t2"
>
{{
jobTypeText
||
"
全部
"
}}
</view>
<view
class=
"t2"
>
{{
jobTypeText
||
"
无
"
}}
</view>
<view
class=
"arrow"
></view>
</wd-picker>
</view>
...
...
@@ -56,7 +56,7 @@
</view>
</view>
<!-- 筛选弹窗 -->
<Filter
v-
show
=
"showOtherFilter"
@
confirm=
"filterConfirm"
@
cancel=
"showOtherFilter = false"
/>
<Filter
v-
if
=
"showOtherFilter"
@
confirm=
"filterConfirm"
@
cancel=
"showOtherFilter = false"
/>
</div>
</
template
>
<
script
setup
>
...
...
@@ -84,7 +84,9 @@ const contentHeight = ref("50px");
const
activeTab
=
ref
(
"求职推荐"
);
const
changeActiveTab
=
tab
=>
{
activeTab
.
value
=
tab
;
resetParams
();
isEnd
.
value
=
false
;
applicationList
.
value
=
[]
// resetParams();
getResumeRecommendList
();
/* getTopFilter();
getJobListApiFn(); */
...
...
@@ -102,6 +104,11 @@ function getJobListApiFn() {
getPositionListApi
({
status
:
3
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
jobListColumns
.
value
=
res
.
data
;
if
(
res
.
data
.
length
)
{
getResumeRecommendListParams
.
value
.
positionId
=
res
.
data
[
0
].
id
jobTypeText
.
value
=
res
.
data
[
0
].
name
}
getResumeRecommendList
()
}
});
}
...
...
@@ -235,7 +242,7 @@ const getResumeRecommendList = () => {
});
}
};
companyReviewInfoFn
=
()
=>
{
co
nst
co
mpanyReviewInfoFn
=
()
=>
{
companyReviewInfo
().
then
(
res
=>
{
if
(
!
res
.
data
)
{
uni
.
navigateTo
({
...
...
@@ -245,9 +252,14 @@ companyReviewInfoFn = () => {
});
};
companyReviewInfoFn
();
// 第一次不执行推荐列表需要(需要拉取到列表在执行)
let
notFirst
=
false
onShow
(()
=>
{
resetPageParams
();
getResumeRecommendList
();
if
(
notFirst
)
{
getResumeRecommendList
();
}
notFirst
=
true
getUserInfo
();
});
// 城市筛选
...
...
src/pages/recommend/invitation/index.vue
View file @
55501178
...
...
@@ -34,7 +34,7 @@
<!--
<view
class=
"data"
>
{{
data
.
positionName
}}
,
{{
data
.
salary
}}
</view>
-->
<!-- 需要选择岗位 -->
<template
v-if=
"jobIdTemp"
>
<view
class=
"data"
>
{{
data
.
positionName
}}
,
{{
data
.
salary
}}
</view>
<view
class=
"data"
>
{{
data
.
positionName
}}
,
{{
data
.
negotiableSalary
?
'面议'
:
data
.
salary
}}
</view>
</
template
>
<
template
v-else
>
<wd-picker
...
...
src/pages/signUp/addPost.vue
View file @
55501178
...
...
@@ -808,8 +808,6 @@ function addPost() {
</
script
>
<
style
lang=
"scss"
scoped
>
page
{
}
.page
{
width
:
100%
;
.title-box
{
...
...
@@ -824,9 +822,9 @@ page {
flex-direction
:
column
;
width
:
100%
;
.wd-cell-item
{
box-sizing
:
border-box
;
display
:
flex
;
width
:
100%
;
box-sizing
:
border-box
;
padding
:
32rpx
28rpx
;
border-bottom
:
2rpx
solid
#e0e0e1
;
.right
{
...
...
@@ -846,22 +844,22 @@ page {
}
}
.from-2
{
width
:
100%
;
box-sizing
:
border-box
;
display
:
flex
;
flex-direction
:
column
;
width
:
100%
;
padding
:
32rpx
;
margin-top
:
32rpx
;
background
:
#fff
;
background
:
#fff
fff
;
.title
{
font-size
:
48rpx
;
font-weight
:
500
;
color
:
#1b2026
;
width
:
100%
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
justify-content
:
space-between
;
width
:
100%
;
margin-bottom
:
32rpx
;
font-size
:
48rpx
;
font-weight
:
500
;
color
:
#1b2026
;
}
textarea
{
box-sizing
:
border-box
;
...
...
@@ -875,17 +873,17 @@ page {
text-wrap
:
nowrap
;
}
.checkbox
{
white-space
:
nowrap
;
flex-shrink
:
0
;
white-space
:
nowrap
;
}
.transverse
{
display
:
flex
;
align-items
:
baseline
;
justify-content
:
space-between
;
:deep
(
.uni-checkbox-input
)
{
border-radius
:
50%
!
important
;
margin-left
:
20rpx
;
flex-shrink
:
0
;
margin-left
:
20rpx
;
border-radius
:
50%
!
important
;
}
}
.welfare
{
...
...
@@ -908,9 +906,9 @@ page {
}
.text-single
{
width
:
100%
;
white-space
:
wrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
wrap
;
}
}
.footer
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment