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
ea329239
Commit
ea329239
authored
Nov 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
d6be21f2
853c086a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
12 deletions
+41
-12
addPost.vue
src/pages/signUp/addPost.vue
+3
-12
index.vue
src/pages/user/feedbackDetails/index.vue
+30
-0
request.js
src/utils/request.js
+6
-0
utils.js
src/utils/utils.js
+2
-0
No files found.
src/pages/signUp/addPost.vue
View file @
ea329239
...
...
@@ -169,7 +169,7 @@
use-default-slot
>
<p
:class=
"
{ placeholder: !item.majorText }" class="text-single" style="width: 100%">
{{
item
.
majorText
||
"
请选择专业
"
}}
{{
item
.
majorText
||
"
不限
"
}}
</p>
</wd-col-picker>
</form-item>
...
...
@@ -237,12 +237,7 @@
</form-item>
<form-row
:fill=
"false"
>
<form-item
title=
"招聘人数"
icon=
"edit"
:required=
"true"
>
<input
@
input=
"inputWorkNum($event, item)"
type=
"number"
v-model=
"item.recruitmentNumber"
placeholder=
"请输入招聘人数"
/>
<input
type=
"number"
v-model=
"item.recruitmentNumber"
placeholder=
"请输入招聘人数"
/>
</form-item>
<form-item
title=
"联系电话"
icon=
"edit"
:required=
"true"
>
<input
type=
"number"
v-model=
"item.contactPhone"
placeholder=
"请输入联系电话"
/>
...
...
@@ -432,9 +427,6 @@ onLoad(({ articleId, type }) => {
}
});
});
function
inputWorkNum
(
e
,
item
)
{
console
.
log
(
"e"
,
e
,
item
);
}
getMajorTreeApi
().
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
code
===
200
)
{
...
...
@@ -836,8 +828,7 @@ const submitFrom = () => {
"minAgeRequirement"
,
"contactPhone"
,
"contactPerson"
,
"recruitmentNumber"
,
"majorRequirement"
"recruitmentNumber"
],
"post"
)
...
...
src/pages/user/feedbackDetails/index.vue
View file @
ea329239
...
...
@@ -22,6 +22,18 @@
</view>
</view>
<view
class=
"tip"
v-if=
"!id"
>
上传图片(可上传0-3张图片)
</view>
<view
class=
"msg-t"
>
<view
class=
"title"
>
投诉时间
</view>
<view
class=
"hf"
>
{{
$formatTimestamp
(
detail
.
createTime
,
"YYYY-MM-DD hh:mm"
)
}}
</view>
</view>
<view
class=
"msg-t"
>
<view
class=
"title"
>
回复时间
</view>
<view
class=
"hf"
>
{{
$formatTimestamp
(
detail
.
updateTime
,
"YYYY-MM-DD hh:mm"
)
}}
</view>
</view>
<view
class=
"msg-t"
>
<view
class=
"title"
>
回复人
</view>
<view
class=
"hf"
>
{{
detail
.
operator
||
""
}}
</view>
</view>
<view
class=
"msg"
>
<view
class=
"title"
>
平台回复
</view>
<view
class=
"hf"
>
{{
detail
.
replyMessage
||
"暂无回复"
}}
</view>
...
...
@@ -144,6 +156,24 @@ const feedbackAddFn = () => {
margin-top
:
16rpx
;
}
}
.msg-t
{
padding-top
:
32rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
.title
{
font-size
:
32rpx
;
font-weight
:
600
;
color
:
#1b2026
;
position
:
relative
;
}
.hf
{
font-size
:
28rpx
;
line-height
:
36rpx
;
color
:
#4e5969
;
margin-top
:
16rpx
;
}
}
.title
{
font-size
:
32rpx
;
font-weight
:
600
;
...
...
src/utils/request.js
View file @
ea329239
...
...
@@ -106,6 +106,12 @@ instance.interceptors.response.use(
}
});
}
else
if
(
code
==
5
)
{
uni
.
showModal
({
title
:
"企业用户被禁用"
,
showCancel
:
false
,
confirmText
:
"确定"
});
}
},
error
=>
{
...
...
src/utils/utils.js
View file @
ea329239
...
...
@@ -120,6 +120,8 @@ export const validateForm = (formData, requiredFields, type) => {
}
else
if
(
fieldValue
===
null
||
fieldValue
===
undefined
||
fieldValue
===
""
)
{
// const title = fieldMapping[field] || (type === "post" ? "岗位信息" : "表单");
console
.
log
(
'fieldMapping[field]'
,
field
);
const
title
=
fieldMapping
[
field
]
||
(
type
===
"post"
?
"相关信息"
:
"相关信息"
);
uni
.
showToast
({
title
:
`请
${
type
===
"post"
?
"完善"
:
"完善"
}${
title
}
!`
,
...
...
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