Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
regional-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 585e2cf1
authored
Jan 13, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug修复
1 parent
ac8f47e3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
5 deletions
config.js
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.js
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.wxml
packageWorkspace/pages/recruitManage/recruitInsert/recruitInsert.js
config.js
View file @
585e2cf
...
...
@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布
* 5cdptest
*/
let
index
=
1
let
index
=
2
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
envName
=
accountInfo
.
miniProgram
.
envVersion
...
...
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.js
View file @
585e2cf
...
...
@@ -103,6 +103,12 @@ Page({
if
(
type
===
'day'
)
{
return
`
${
value
}
日`
}
if
(
type
===
'hour'
)
{
return
`
${
value
}
时`
}
if
(
type
===
'minute'
)
{
return
`
${
value
}
分`
}
return
value
}
},
...
...
@@ -160,8 +166,11 @@ Page({
const
year
=
date
.
getFullYear
()
const
month
=
String
(
date
.
getMonth
()
+
1
).
padStart
(
2
,
'0'
)
const
day
=
String
(
date
.
getDate
()).
padStart
(
2
,
'0'
)
const
formattedDate
=
`
${
year
}
年
${
month
}
月
${
day
}
日`
const
apiDate
=
`
${
year
}
-
${
month
}
-
${
day
}
00:00:00`
const
hours
=
String
(
date
.
getHours
()).
padStart
(
2
,
'0'
)
const
minutes
=
String
(
date
.
getMinutes
()).
padStart
(
2
,
'0'
)
const
seconds
=
String
(
date
.
getSeconds
()).
padStart
(
2
,
'0'
)
const
formattedDate
=
`
${
year
}
年
${
month
}
月
${
day
}
日
${
hours
}
:
${
minutes
}
:
${
seconds
}
`
const
apiDate
=
`
${
year
}
-
${
month
}
-
${
day
}
${
hours
}
:
${
minutes
}
:
${
seconds
}
`
const
{
formData
,
pageScrollTop
,
popupType
}
=
this
.
data
...
...
@@ -352,7 +361,7 @@ Page({
if
(
trialOnboardingPlans
&&
trialOnboardingPlans
?.
length
>
0
)
{
trialOnboardingPlans
=
trialOnboardingPlans
.
map
(
item
=>
({
...
item
,
onboardingDate
:
this
.
formatDate
(
item
.
onboardingDat
e
)
onboardingDate
:
this
.
formatDate
(
item
.
trialTim
e
)
}))
}
...
...
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.wxml
View file @
585e2cf
...
...
@@ -290,7 +290,7 @@
<!-- 时间选择器 -->
<van-popup show="{{ timeShow }}" position="bottom" round bind:close="calcelDate" catchtouchmove="preventTouchMove">
<van-datetime-picker
type="date"
type="date
time
"
value="{{ currentDate }}"
formatter="{{ formatter }}"
min-date="{{ minDate }}"
...
...
packageWorkspace/pages/recruitManage/recruitInsert/recruitInsert.js
View file @
585e2cf
...
...
@@ -391,6 +391,29 @@ Page({
},
switch1Change
(
e
)
{
const
checked
=
!!
(
e
&&
e
.
detail
&&
e
.
detail
.
value
)
if
(
checked
)
{
// 如果是开启急招,需要弹窗确认
Dialog
.
confirm
({
title
:
'提示'
,
message
:
'申请急招,在招聘负责人推送简历后,需在24小时内完成简历跟进处理,否则将自动上报总部,请知悉!'
,
confirmButtonText
:
'确定'
}).
then
(()
=>
{
// 确认开启
this
.
updateUrgentStatus
(
true
)
}).
catch
(()
=>
{
// 取消开启,需要重置开关状态
this
.
setData
({
switch1Checked
:
false
})
})
}
else
{
// 关闭急招直接执行
this
.
updateUrgentStatus
(
false
)
}
},
updateUrgentStatus
(
checked
)
{
const
urgent
=
checked
?
1
:
0
const
{
formList
}
=
this
.
data
if
(
Array
.
isArray
(
formList
)
&&
formList
[
FORM_FIELDS
.
URGENT
])
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment