Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2bd13cbc
authored
Oct 31, 2025
by
Lin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
perf:空值展示优化
1 parent
adae0308
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
packageEquity/pages/recruitManage/recruitDetail/recruitDetail.js
packageEquity/pages/recruitManage/recruitDetail/recruitDetail.sass
packageEquity/pages/recruitManage/recruitDetail/recruitDetail.js
View file @
2bd13cb
...
@@ -199,12 +199,20 @@ Page({
...
@@ -199,12 +199,20 @@ Page({
recruitment
.
createdDate
=
this
.
formatDate
(
recruitment
.
createdDate
)
recruitment
.
createdDate
=
this
.
formatDate
(
recruitment
.
createdDate
)
}
}
// 根据 businessType 动态过滤招聘信息配置
// 根据字段值是否存在和业务类型动态过滤招聘信息配置
// 当 businessType == 1 时,显示拒绝理由;否则过滤掉拒绝理由项
const
filteredRecruitmentInfoConfig
=
RECRUITMENT_INFO_CONFIG
.
filter
(
item
=>
{
const
filteredRecruitmentInfoConfig
=
RECRUITMENT_INFO_CONFIG
.
filter
(
item
=>
{
// 特殊处理:拒绝理由字段仅在businessType为1时显示
if
(
item
.
field
===
'recallReason'
)
{
if
(
item
.
field
===
'recallReason'
)
{
return
recruitment
.
businessType
==
1
return
recruitment
.
businessType
==
1
&&
recruitment
.
recallReason
}
}
// 如果字段值不存在或为空字符串,则不显示该字段
if
(
recruitment
[
item
.
field
]
===
undefined
||
recruitment
[
item
.
field
]
===
null
||
recruitment
[
item
.
field
]
===
''
)
{
return
false
}
return
true
return
true
})
})
...
...
packageEquity/pages/recruitManage/recruitDetail/recruitDetail.sass
View file @
2bd13cb
...
@@ -247,9 +247,6 @@ page {
...
@@ -247,9 +247,6 @@ page {
}
}
// 招聘信息模块
// 招聘信息模块
.recruit_info
{
.recruit_info
{
.card
{
min-height
:
var
(
--
fontSize428
)
;
}
.info_item
{
.info_item
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
...
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