Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 c741d5ae
authored
Apr 17, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增试岗状态选项及相关逻辑
1 parent
c1606a17
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
1 deletions
src/common/constants.js
src/views/residentManage/recruitmentManagement/index.vue
src/common/constants.js
View file @
c741d5a
...
...
@@ -2053,6 +2053,16 @@ export const connectionFlagOpt = [
confValue
:
"未关联"
,
},
];
export
const
trialStatusOpt
=
[
{
confId
:
1
,
confValue
:
"试岗中"
,
},
{
confId
:
2
,
confValue
:
"无试岗"
,
},
];
export
const
connectionFlagOptMap
=
{
true
:
"#2CCA74"
,
false
:
"#EB4E4E"
,
...
...
src/views/residentManage/recruitmentManagement/index.vue
View file @
c741d5a
...
...
@@ -168,7 +168,7 @@ import {
}
from
"@api/recruitment"
;
import
{
mapActions
,
mapState
}
from
"vuex"
;
import
{
changeTypeOpt
,
connectionFlagOpt
,
connectionFlagOptMap
,
inviteStatusOpt
,
inviteStatusOptMap
}
from
"@/common/constants.js"
;
import
{
changeTypeOpt
,
connectionFlagOpt
,
connectionFlagOptMap
,
inviteStatusOpt
,
inviteStatusOptMap
,
trialStatusOpt
}
from
"@/common/constants.js"
;
import
{
deepClone
,
Util
}
from
"@/common/util"
;
import
reportTrackPageMixin
from
"@/mixins/reportTrackPageMixin"
;
...
...
@@ -361,6 +361,13 @@ export default {
:
cellValue
.
allOfOnboarding
;
},
},
{
label
:
"待招人数"
,
prop
:
"pendingCount"
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
pendingCount
===
0
?
0
:
cellValue
.
pendingCount
||
"-"
;
},
},
{
label
:
"状态"
,
...
...
@@ -369,6 +376,18 @@ export default {
addHtml
:
"statusHtml"
,
},
{
label
:
"试岗状态"
,
prop
:
"trialStatus"
,
width
:
120
,
formatter
:
(
cellValue
)
=>
{
const
trialStatusMap
=
{
1
:
"试岗中"
,
2
:
"无试岗"
,
};
return
trialStatusMap
[
cellValue
.
trialStatus
]
||
"-"
;
},
},
{
label
:
"关联状态"
,
prop
:
"connectionFlag"
,
width
:
100
,
...
...
@@ -389,6 +408,7 @@ export default {
recruitmentType
:
""
,
createdDate
:
[],
status
:
""
,
trialStatus
:
""
,
recruiterName
:
""
,
regionOperationName
:
""
,
createdBy
:
""
,
...
...
@@ -504,6 +524,16 @@ export default {
optionLabel
:
"confValue"
,
optionsName
:
"connectionFlagOpt"
,
},
{
label
:
"试岗状态"
,
name
:
"trialStatus"
,
type
:
"select"
,
isClear
:
true
,
optionList
:
[],
optionId
:
"confId"
,
optionLabel
:
"confValue"
,
optionsName
:
"trialStatusOpt"
,
},
],
baseData
:
{
...
...
@@ -519,6 +549,7 @@ export default {
inviteStatusOptMap
:
deepClone
(
inviteStatusOptMap
),
connectionFlagOptMap
:
deepClone
(
connectionFlagOptMap
),
connectionFlagOpt
:
deepClone
(
connectionFlagOpt
),
trialStatusOpt
:
deepClone
(
trialStatusOpt
),
changeTypeOpt
:
deepClone
(
changeTypeOpt
),
receiverOpt
:
[],
relateMerchantOpt
:
[],
...
...
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