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 1bf5e2dd
authored
Jan 13, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 功能修改
1 parent
f63a2418
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
10 deletions
packageWorkspace/pages/recruitDetail/recruitDetail.js
packageWorkspace/pages/recruitDetail/recruitDetail.sass
packageWorkspace/pages/recruitDetail/recruitDetail.wxml
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.js
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.sass
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.wxml
packageWorkspace/pages/recruitDetail/recruitDetail.js
View file @
1bf5e2d
...
...
@@ -37,7 +37,7 @@ const RECRUITMENT_INFO_CONFIG = [
const
RECRUIT_STATUS_CONFIG
=
{
// mixResult状态映射
0
:
{
text
:
'待处理'
,
class
:
'pending'
,
canProcess
:
true
},
1
:
{
text
:
'人员不
匹配
'
,
class
:
'mismatch'
,
canProcess
:
false
},
1
:
{
text
:
'人员不
符合
'
,
class
:
'mismatch'
,
canProcess
:
false
},
2
:
{
text
:
'面试通过'
,
class
:
'pass'
,
canProcess
:
false
},
3
:
{
text
:
'面试不通过'
,
class
:
'fail'
,
canProcess
:
false
}
}
...
...
@@ -400,7 +400,7 @@ Page({
// 当切换"处理结果"标签时,初始化相关表单数据
if
(
field
===
'processResult'
)
{
// 切换到"人员不
匹配
"时,清空面试相关字段
// 切换到"人员不
符合
"时,清空面试相关字段
if
(
value
==
1
)
{
formData
.
interviewTime
=
''
formData
.
dipalyTime
=
''
...
...
packageWorkspace/pages/recruitDetail/recruitDetail.sass
View file @
1bf5e2d
...
...
@@ -155,7 +155,7 @@ page {
background
:
#52c41a
1a
;
}
// 人员不
匹配
状态
// 人员不
符合
状态
&
.tag-mismatch
{
color
:
#ff4d4f
;
background
:
#ff4d4f
1a
;
...
...
packageWorkspace/pages/recruitDetail/recruitDetail.wxml
View file @
1bf5e2d
This diff is collapsed.
Click to expand it.
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.js
View file @
1bf5e2d
...
...
@@ -44,7 +44,7 @@ const RECRUITMENT_INFO_CONFIG = [
const
RECRUIT_STATUS_CONFIG
=
{
// mixResult状态映射
0
:
{
text
:
'待处理'
,
class
:
'pending'
,
canProcess
:
true
},
1
:
{
text
:
'人员不
匹配
'
,
class
:
'mismatch'
,
canProcess
:
false
},
1
:
{
text
:
'人员不
符合
'
,
class
:
'mismatch'
,
canProcess
:
false
},
2
:
{
text
:
'面试通过'
,
class
:
'pass'
,
canProcess
:
false
},
3
:
{
text
:
'面试不通过'
,
class
:
'fail'
,
canProcess
:
false
}
}
...
...
@@ -85,7 +85,8 @@ Page({
handleShowMessagePop
:
false
,
// 控制弹窗显示
timeShow
:
false
,
// 控制时间选择器显示
currentDate
:
new
Date
().
getTime
(),
today
:
new
Date
().
getTime
(),
// 当前日期,用于限制日期选择器的最大值
minDate
:
new
Date
().
getTime
(),
// 最小日期
maxDate
:
new
Date
().
getTime
(),
// 最大日期
formData
:
{},
// 弹窗表单数据
detailLoaded
:
false
,
// 标识是否已加载详情
curDataId
:
''
,
...
...
@@ -127,10 +128,26 @@ Page({
})
}
const
{
popupType
}
=
this
.
data
const
now
=
new
Date
().
getTime
()
let
minDate
,
maxDate
if
(
popupType
===
'initial'
)
{
// 预计面试时间:当前及之后
minDate
=
now
maxDate
=
now
+
10
*
365
*
24
*
60
*
60
*
1000
// 10年后
}
else
{
// 面试时间:当前及之前
minDate
=
now
-
10
*
365
*
24
*
60
*
60
*
1000
// 10年前
maxDate
=
now
}
// 重置为当前日期
this
.
setData
({
timeShow
:
true
,
currentDate
:
new
Date
().
getTime
()
currentDate
:
now
,
minDate
,
maxDate
})
},
...
...
@@ -423,7 +440,7 @@ Page({
// 当切换"处理结果"标签时,初始化相关表单数据
if
(
field
===
'processResult'
)
{
// 切换到"人员不
匹配
"时,清空面试相关字段
// 切换到"人员不
符合
"时,清空面试相关字段
if
(
value
==
1
)
{
formData
.
interviewTime
=
''
formData
.
dipalyTime
=
''
...
...
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.sass
View file @
1bf5e2d
...
...
@@ -191,7 +191,7 @@ page {
background
:
#52c41a
1a
;
}
// 人员不
匹配
状态
// 人员不
符合
状态
&
.tag-mismatch
{
color
:
#ff4d4f
;
background
:
#ff4d4f
1a
;
...
...
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.wxml
View file @
1bf5e2d
...
...
@@ -102,7 +102,7 @@
<view
class="tag tag-{{ item.mixResult !== undefined ? (item.mixResult === 0 ? 'pending' : item.mixResult === 1 ? 'mismatch' : item.mixResult === 2 ? 'pass' : 'fail') : 'completed' }}"
>
{{item.mixResult !== undefined ? (item.mixResult === 0 ? '待处理' : item.mixResult === 1 ? '人员不
匹配
' : item.mixResult === 2 ? '面试通过' : '面试不通过') : (item.status === 0 ? '待处理' : '已完成')}}
{{item.mixResult !== undefined ? (item.mixResult === 0 ? '待处理' : item.mixResult === 1 ? '人员不
符合
' : item.mixResult === 2 ? '面试通过' : '面试不通过') : (item.status === 0 ? '待处理' : '已完成')}}
</view>
</view>
<view class="user_bottom">
...
...
@@ -293,7 +293,8 @@
type="date"
value="{{ currentDate }}"
formatter="{{ formatter }}"
max-date="{{ today }}"
min-date="{{ minDate }}"
max-date="{{ maxDate }}"
bind:confirm="bindDateChange"
bind:cancel="calcelDate"
/>
...
...
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