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
a61f8e84
Commit
a61f8e84
authored
Oct 29, 2024
by
石建新(贵阳日报)
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of…
Merge branch 'master' of
https://codeup.aliyun.com/62eb413b37e2c6c98549e0c9/gsh-hr-department/mp-enterprise-people-recruitment-h5
parents
cbd10a5b
fcbe0593
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
67 additions
and
39 deletions
+67
-39
settings.json
.vscode/settings.json
+1
-1
postion.js
src/api/postion.js
+7
-7
pages.json
src/pages.json
+7
-1
index.vue
src/pages/recommend/index.vue
+0
-2
step1.vue
src/pages/recommend/releasePostion/step1.vue
+4
-4
step3.vue
src/pages/recommend/releasePostion/step3.vue
+11
-12
step4.vue
src/pages/recommend/releasePostion/step4.vue
+11
-0
step5.vue
src/pages/recommend/releasePostion/step5.vue
+1
-1
store.js
src/pages/recommend/releasePostion/store.js
+2
-0
index.vue
src/pages/user/index.vue
+23
-11
index.vue
src/pages/user/positionManagement/index.vue
+0
-0
No files found.
.vscode/settings.json
View file @
a61f8e84
...
...
@@ -8,7 +8,7 @@
"files.eol"
:
"
\n
"
,
"typescript.tsdk"
:
"node_modules/typescript/lib"
,
"[vue]"
:
{
"editor.defaultFormatter"
:
"
octref.vetur
"
"editor.defaultFormatter"
:
"
esbenp.prettier-vscode
"
},
"[typescript]"
:
{
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
...
...
src/api/postion.js
View file @
a61f8e84
...
...
@@ -4,7 +4,7 @@ import instance from "@/utils/request";
export
const
createJobApi
=
params
=>
instance
.
post
(
"/b/position/add"
,
params
);
//更新岗位
export
const
updateJobApi
=
params
=>
instance
.
post
(
"/
company/job
/update"
,
params
);
export
const
updateJobApi
=
params
=>
instance
.
post
(
"/
b/position
/update"
,
params
);
// 职位列表
export
const
getJobListApi
=
params
=>
instance
.
post
(
"/company/job/list"
,
params
);
...
...
@@ -13,10 +13,10 @@ export const getJobListApi = params => instance.post("/company/job/list", params
export
const
getResumeRecommendListApi
=
params
=>
instance
.
post
(
"/company/job/getResumeRecommendList"
,
params
);
// 查询职位信息
export
const
getJobByIdApi
=
id
=>
instance
.
post
(
`/
company/job
/
${
id
}
`
);
export
const
getJobByIdApi
=
id
=>
instance
.
post
(
`/
b/position
/
${
id
}
`
);
// 统计职位投递信息
export
const
getListStatisticsApi
=
params
=>
instance
.
post
(
"/
company/job/listS
tatistics"
,
params
);
export
const
getListStatisticsApi
=
params
=>
instance
.
post
(
"/
b/position/s
tatistics"
,
params
);
//获取投递信息通过id
export
const
getApplicationByIdApi
=
id
=>
instance
.
post
(
`/company/job/getApplication/
${
id
}
`
);
...
...
@@ -31,14 +31,14 @@ export const getApplicationListApi = params => instance.post("/company/job/getAp
export
const
getUserResumeApi
=
params
=>
instance
.
post
(
`/company/job/getUserResume`
,
params
);
// 职位发布(上线)
export
const
jobReleaseApi
=
id
=>
instance
.
post
(
`/
company/job
/release/
${
id
}
`
);
export
const
jobReleaseApi
=
id
=>
instance
.
post
(
`/
b/position
/release/
${
id
}
`
);
// 职位下线
export
const
jobOfflineApi
=
id
=>
instance
.
post
(
`/
company/job
/offline/
${
id
}
`
);
export
const
jobOfflineApi
=
id
=>
instance
.
post
(
`/
b/position
/offline/
${
id
}
`
);
// 职位置顶
export
const
jobOfftopApi
=
id
=>
instance
.
post
(
`/
company/job
/top/
${
id
}
`
);
export
const
jobOfftopApi
=
id
=>
instance
.
post
(
`/
b/position
/top/
${
id
}
`
);
// 职位置顶
export
const
jobOffuntopApi
=
id
=>
instance
.
post
(
`/
company/job
/untop/
${
id
}
`
);
export
const
jobOffuntopApi
=
id
=>
instance
.
post
(
`/
b/position
/untop/
${
id
}
`
);
// 拒绝申请
export
const
rejectApplicationApi
=
id
=>
instance
.
post
(
`/company/job/rejectApplication/
${
id
}
`
);
src/pages.json
View file @
a61f8e84
...
...
@@ -86,6 +86,12 @@
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"pages/user/positionManagement/index"
,
"style"
:
{
"navigationBarTitleText"
:
"职位管理"
}
},
{
"path"
:
"pages/dynamic/index"
,
"style"
:
{
...
...
@@ -233,7 +239,7 @@
"borderStyle"
:
"black"
,
"backgroundColor"
:
"#FFFFFF"
,
"position"
:
"bottom"
,
"iconWidth"
:
"52rpx"
,
"iconWidth"
:
"52rpx"
,
"list"
:
[
{
"pagePath"
:
"pages/recommend/index"
,
...
...
src/pages/recommend/index.vue
View file @
a61f8e84
...
...
@@ -584,7 +584,6 @@ const editJob = ({ id, status }) => {
display
:
flex
;
flex-direction
:
column
;
flex-grow
:
1
;
.release-postion
{
position
:
fixed
;
right
:
22rpx
;
...
...
@@ -862,7 +861,6 @@ const editJob = ({ id, status }) => {
width
:
28rpx
;
height
:
28rpx
;
}
.top
{
width
:
20rpx
;
height
:
20rpx
;
...
...
src/pages/recommend/releasePostion/step1.vue
View file @
a61f8e84
<
template
>
<div
class=
"page"
>
<NavBar
:showIcon=
"true"
:showTitle=
"false"
title=
""
backgroundBox=
"#FFFFFF"
></NavBar>
<!--
<Filter
/>
-->
<!--
<Filter
/>
-->
<view
class=
"title"
>
<view
class=
"t1"
>
1/5填写职位信息
</view>
<view
class=
"t2"
>
选择对应的职位并填写职位信息
</view>
...
...
@@ -110,14 +110,14 @@ const columnChange = ({ selectedItem, resolve, finish }) => {
};
const
handleConfirm
=
({
selectedItems
,
value
})
=>
{
pinias
.
setFormDataKey
(
"jobTypeName"
,
selectedItems
[
1
].
name
);
pinias
.
setFormDataKey
(
"jobType
Pi
d"
,
selectedItems
[
1
].
id
);
pinias
.
setFormDataKey
(
"jobTypeP
arentI
d"
,
selectedItems
[
0
].
id
);
pinias
.
setFormDataKey
(
"jobType
I
d"
,
selectedItems
[
1
].
id
);
pinias
.
setFormDataKey
(
"jobTypeP
i
d"
,
selectedItems
[
0
].
id
);
};
const
next
=
()
=>
{
xma
.
hideKeyboard
();
console
.
log
(
pinias
.
formData
);
if
(
validateForm
(
pinias
.
formData
,
[
"jobType
Pi
d"
,
"jobTypeName"
,
"name"
,
"positionDesc"
]))
{
if
(
validateForm
(
pinias
.
formData
,
[
"jobType
I
d"
,
"jobTypeName"
,
"name"
,
"positionDesc"
]))
{
uni
.
navigateTo
({
url
:
"/pages/recommend/releasePostion/step2"
});
...
...
src/pages/recommend/releasePostion/step3.vue
View file @
a61f8e84
...
...
@@ -72,24 +72,23 @@ const columnChangeCity = ({ selectedItem, resolve, finish }) => {
}
};
const
handleConfirmCity
=
({
selectedItems
})
=>
{
cityText
.
value
=
selectedItems
.
map
(
v
=>
v
.
name
||
''
).
join
(
"-"
);
cityText
.
value
=
selectedItems
.
map
(
v
=>
v
.
name
||
""
).
join
(
"-"
);
citySelectedItems
=
selectedItems
;
const
[
city
,
district
,
street
]
=
selectedItems
;
pinias
.
formData
.
address
=
selectedItems
.
map
(
v
=>
v
.
name
||
''
).
join
(
""
);
pinias
.
formData
.
address
=
selectedItems
.
map
(
v
=>
v
.
name
||
""
).
join
(
""
);
pinias
.
formData
.
provinceCode
=
520000
;
pinias
.
formData
.
cityCode
=
city
.
code
;
pinias
.
formData
.
cityName
=
district
.
name
;
pinias
.
formData
.
districtCode
=
district
.
code
;
pinias
.
formData
.
street
=
street
?
street
.
name
:
''
;
/*params.provinceCode = province.code;
params.provinceName = province.name;
params.cityCode = city.code;
params.cityName = city.name;
params.districtCode = district.code;
params.districtName = district.name;
console.log(cityValue); */
pinias
.
formData
.
street
=
street
?
street
.
name
:
""
;
};
// 数据回显
const
reviewData
=
()
=>
{
if
(
pinias
.
formData
.
id
)
cityText
.
value
=
pinias
.
formData
.
address
;
};
onLoad
(()
=>
{
reviewData
();
});
const
next
=
()
=>
{
if
(
validateForm
(
pinias
.
formData
,
[
"address"
]))
{
uni
.
navigateTo
({
...
...
src/pages/recommend/releasePostion/step4.vue
View file @
a61f8e84
...
...
@@ -210,13 +210,24 @@ const specialLicenseValue = ref("");
/* 初始化页面数据 */
const
initViewData
=
async
()
=>
{
if
(
pinias
.
formData
.
id
)
{
// 编辑
identityText
.
value
=
await
getEnumText
(
"EnumIdentityRequirement"
,
pinias
.
formData
.
identityRequirement
);
educationText
.
value
=
await
getEnumText
(
"EnumEducationRequirement"
,
pinias
.
formData
.
educationRequirement
);
// 年龄
if
(
pinias
.
formData
.
maxAgeRequirement
)
{
ageText
.
value
=
`
${
pinias
.
formData
.
minAgeRequirement
}
~
${
pinias
.
formData
.
maxAgeRequirement
}
`
;
}
else
{
ageText
.
value
=
"不限"
;
}
// 证书
/* positionalTitle majorInputValue.value + "-" + majorSelectValue.value
professionalCertificates certificateInputValue.value + "-" + certificateSelectValue.value */
const
[
majorInputValue1
,
majorSelectValue1
]
=
pinias
.
formData
.
positionalTitle
.
split
(
"-"
);
const
[
certificateInputValue1
,
certificateSelectValue1
]
=
pinias
.
formData
.
professionalCertificates
.
split
(
"-"
);
majorInputValue
.
value
=
majorInputValue1
;
majorSelectValue
.
value
=
majorSelectValue1
;
certificateInputValue
.
value
=
certificateInputValue1
;
certificateSelectValue
.
value
=
certificateSelectValue1
;
}
};
initViewData
();
...
...
src/pages/recommend/releasePostion/step5.vue
View file @
a61f8e84
...
...
@@ -70,7 +70,7 @@ const submit = () => {
},
2000
);
setTimeout
(()
=>
{
uni
.
switchTab
({
url
:
"/pages/
recommend
/index"
url
:
"/pages/
user/positionManagement
/index"
});
},
3000
);
}
else
{
...
...
src/pages/recommend/releasePostion/store.js
View file @
a61f8e84
...
...
@@ -49,6 +49,7 @@ export const useReleasePostionStore = defineStore("useReleasePostionStore", () =
recruitmentNumber
:
1
,
accommodation
:
0
,
provinceCode
:
""
,
cityName
:
""
,
cityCode
:
""
,
districtCode
:
""
,
street
:
""
,
...
...
@@ -84,6 +85,7 @@ export const useReleasePostionStore = defineStore("useReleasePostionStore", () =
accommodation
:
0
,
provinceCode
:
""
,
cityCode
:
""
,
cityName
:
""
,
districtCode
:
""
,
street
:
""
,
address
:
""
,
...
...
src/pages/user/index.vue
View file @
a61f8e84
...
...
@@ -103,7 +103,20 @@ const navList = reactive([
subText
:
""
,
auditStatus
:
""
},
{
icon
:
new
URL
(
"@/static/image/user/history.png"
,
import
.
meta
.
url
).
href
,
url
:
"/pages/user/positionManagement/index"
,
text
:
"职位管理"
,
subText
:
""
,
auditStatus
:
""
},
{
icon
:
new
URL
(
"@/static/image/user/history.png"
,
import
.
meta
.
url
).
href
,
url
:
"/pages/recommend/releasePostion/step1"
,
text
:
"岗位发布"
,
subText
:
""
,
auditStatus
:
""
},
{
icon
:
new
URL
(
"@/static/image/user/question.png"
,
import
.
meta
.
url
).
href
,
url
:
"/pages/user/problemRecord/index"
,
...
...
@@ -214,7 +227,6 @@ onShow(() => {
.user-container
{
padding-top
:
1rpx
;
}
.popup-wrapper
{
display
:
flex
;
align-items
:
center
;
...
...
@@ -281,16 +293,16 @@ onShow(() => {
justify-content
:
center
;
height
:
100%
;
.sumbit-error
{
position
:
relative
;
box-sizing
:
border-box
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
width
:
600rpx
;
min-height
:
668rpx
;
padding
:
0
32rpx
32rpx
;
background-color
:
#ffffff
;
border-radius
:
10rpx
;
min-height
:
668rpx
;
display
:
flex
;
flex-direction
:
column
;
position
:
relative
;
align-items
:
center
;
image
{
position
:
absolute
;
width
:
448rpx
;
...
...
@@ -298,12 +310,12 @@ onShow(() => {
}
.title
{
padding
:
32rpx
0
;
margin-top
:
300rpx
;
font-size
:
28rpx
;
font-weight
:
600
;
line-height
:
54rpx
;
color
:
#1b2026
;
text-align
:
center
;
margin-top
:
300rpx
;
}
.txt
{
width
:
400rpx
;
...
...
@@ -321,13 +333,13 @@ onShow(() => {
border-radius
:
12rpx
;
}
.cancel-button
{
background
:
rgba
(
31
,
134
,
255
,
0
.1
);
color
:
#1f86ff
;
background
:
rgb
(
31
134
255
/
10%
);
}
.tz-btn
{
background
:
#1f86ff
;
color
:
#fff
;
margin-left
:
72rpx
;
color
:
#ffffff
;
background
:
#1f86ff
;
}
}
}
...
...
src/pages/user/positionManagement/index.vue
0 → 100644
View file @
a61f8e84
This diff is collapsed.
Click to expand it.
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