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 d9967575
authored
Apr 01, 2026
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
招聘接口联调
1 parent
d3066d3b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
80 additions
and
44 deletions
src/api/recruitment.js
src/common/constants.js
src/views/residentManage/recruitmentManagement/addRecruitment.vue
src/views/residentManage/recruitmentManagement/index.vue
src/api/recruitment.js
View file @
d996757
...
...
@@ -2,7 +2,7 @@
* @Author: 'wangzhihui' '1733904062@qq.com'
* @Date: 2026-03-30 17:36:59
* @LastEditors: 'wangzhihui' '1733904062@qq.com'
* @LastEditTime: 2026-0
3-31 14:27:00
* @LastEditTime: 2026-0
4-01 16:58:21
* @FilePath: \dj-car-life-system\src\api\recruitment.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -85,3 +85,19 @@ export function associateRecruitmentDemand(data) {
data
.
method
=
`dj.staff.api.recruitment.demand.relate`
;
return
request
(
data
);
}
// 招聘需求批量变更
export
function
batchChangeRecruitment
(
data
)
{
data
.
method
=
`dj.staff.api.recruitment.demand.batch.change`
;
return
request
(
data
);
}
// 单店信息督导和员工查询
export
function
findMerchantStaffList
(
data
)
{
// data.method = `${path2}workbench.findMerchantStaffList`
data
.
method
=
`dj.api.smartcarlife.workbench.findMerchantStaffFilterList`
;
return
request
(
data
);
}
// 招聘需求关联系统门店
export
function
linkMerchant
(
data
)
{
data
.
method
=
`dj.staff.api.recruitment.demand.link.merchant`
;
return
request
(
data
);
}
\ No newline at end of file
src/common/constants.js
View file @
d996757
...
...
@@ -936,7 +936,7 @@ export const downloadReportManage_reportType = [
{
confId
:
"BIAnalysisReport"
,
confValue
:
"BI数据分析表"
,
}
}
,
];
// 下载报表 业务类型
...
...
@@ -2026,3 +2026,23 @@ export const reviewCaseStatusOptMap = {
1
:
"#2CCA74"
,
2
:
"#EB4E4E"
,
};
export
const
connectionFlagOpt
=
[
{
confId
:
1
,
confValue
:
"已关联"
,
},
{
confId
:
0
,
confValue
:
"未关联"
,
},
];
export
const
connectionFlagOptMap
=
{
true
:
"#2CCA74"
,
false
:
"#EB4E4E"
,
};
export
const
changeTypeOpt
=
[
{
confId
:
1
,
confValue
:
"区域运营"
},
{
confId
:
2
,
confValue
:
"技师督导"
},
{
confId
:
3
,
confValue
:
"招聘负责人"
},
{
confId
:
4
,
confValue
:
"创建人"
}
];
src/views/residentManage/recruitmentManagement/addRecruitment.vue
View file @
d996757
...
...
@@ -28,7 +28,7 @@
</
template
>
<
template
#
merchantHtml
>
<div
style=
"display: flex; align-items: center; width: 100%;"
>
<el-select
v-if=
"!addForm.
isNew
Merchant"
<el-select
v-if=
"!addForm.
bySystem
Merchant"
v-model=
"addForm.merchantId"
filterable
placeholder=
"请选择门店名称"
...
...
@@ -46,7 +46,7 @@
placeholder=
"请输入门店名称"
style=
"width: 260px;"
>
</el-input>
<el-checkbox
v-model=
"addForm.
isNew
Merchant"
<el-checkbox
v-model=
"addForm.
bySystem
Merchant"
style=
"margin-left: 10px;"
@
change=
"handleIsNewMerchantChange"
>
未创建系统门店
...
...
@@ -109,14 +109,12 @@ export default {
recruitmentTypeName
:
""
,
requirementDescription
:
""
,
urgent
:
0
,
// 0-非急招 1-急招 ,
isNew
Merchant
:
false
,
newCarS
alesVolume
:
""
,
mainB
rand
:
[],
bySystem
Merchant
:
false
,
s
alesVolume
:
""
,
b
rand
:
[],
merchantAddress
:
""
,
provinceCode
:
""
,
provinceName
:
""
,
cityCode
:
""
,
cityName
:
""
,
province
:
""
,
},
labelWidth
:
"150px"
,
defaultWidth
:
"530px"
,
...
...
@@ -130,7 +128,7 @@ export default {
},
{
label
:
"近一月新车销量"
,
name
:
"
newCarS
alesVolume"
,
name
:
"
s
alesVolume"
,
type
:
"input"
,
isClear
:
true
,
maxlength
:
4
,
...
...
@@ -138,13 +136,13 @@ export default {
},
{
label
:
"主营品牌"
,
name
:
"
mainB
rand"
,
name
:
"
b
rand"
,
type
:
"select"
,
isClear
:
true
,
multiple
:
true
,
noFilter
:
false
,
optionList
:
[],
optionId
:
"brand
Id
"
,
optionId
:
"brand
Name
"
,
optionLabel
:
"brandName"
,
optionsName
:
"brandList"
,
isHide
:
true
,
...
...
@@ -241,11 +239,11 @@ export default {
merchantId
:
[
{
required
:
true
,
message
:
"请输入/选择门店名称"
,
trigger
:
[
"change"
,
"blur"
]
},
],
newCarS
alesVolume
:
[
s
alesVolume
:
[
{
required
:
true
,
validator
:
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
addForm
.
isNew
Merchant
)
{
if
(
this
.
addForm
.
bySystem
Merchant
)
{
if
(
!
value
)
{
callback
(
new
Error
(
"请输入近一月新车销量"
));
}
else
if
(
!
/^
[
1-9
]\d
*$/
.
test
(
value
))
{
...
...
@@ -260,11 +258,11 @@ export default {
trigger
:
[
"change"
,
"blur"
],
},
],
mainB
rand
:
[
b
rand
:
[
{
required
:
true
,
validator
:
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
addForm
.
isNew
Merchant
)
{
if
(
this
.
addForm
.
bySystem
Merchant
)
{
if
(
!
value
||
value
.
length
===
0
)
{
callback
(
new
Error
(
"请选择主营品牌"
));
}
else
{
...
...
@@ -281,8 +279,8 @@ export default {
{
required
:
true
,
validator
:
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
addForm
.
isNew
Merchant
)
{
if
(
!
this
.
addForm
.
province
Code
||
!
this
.
addForm
.
cityCode
)
{
if
(
this
.
addForm
.
bySystem
Merchant
)
{
if
(
!
this
.
addForm
.
province
||
!
this
.
addForm
.
merchantAddress
)
{
callback
(
new
Error
(
"请选择门店地址"
));
}
else
{
callback
();
...
...
@@ -417,7 +415,7 @@ export default {
this
.
addForm
.
merchantName
=
item
?
item
.
merchantName
:
""
;
},
handleIsNewMerchantChange
(
val
)
{
const
fieldsToToggle
=
[
"
newCarSalesVolume"
,
"mainB
rand"
,
"merchantAddress"
];
const
fieldsToToggle
=
[
"
salesVolume"
,
"b
rand"
,
"merchantAddress"
];
fieldsToToggle
.
forEach
((
name
)
=>
{
const
index
=
this
.
editFormData
.
findIndex
(
k
=>
k
.
name
===
name
);
if
(
index
>
-
1
)
{
...
...
@@ -428,12 +426,12 @@ export default {
this
.
addForm
.
merchantId
=
""
;
this
.
addForm
.
merchantName
=
""
;
if
(
!
val
)
{
this
.
addForm
.
newCarS
alesVolume
=
""
;
this
.
addForm
.
mainB
rand
=
[];
this
.
addForm
.
provinceCode
=
""
;
this
.
addForm
.
province
Name
=
""
;
this
.
addForm
.
cityCode
=
""
;
this
.
addForm
.
cityName
=
""
;
this
.
addForm
.
s
alesVolume
=
""
;
this
.
addForm
.
b
rand
=
[];
//
this.addForm.provinceCode = "";
this
.
addForm
.
province
=
""
;
//
this.addForm.cityCode = "";
//
this.addForm.cityName = "";
this
.
addForm
.
merchantAddress
=
""
;
if
(
this
.
$refs
.
provinceCityRef
)
{
this
.
$refs
.
provinceCityRef
.
init
(
""
,
""
,
""
);
...
...
@@ -442,16 +440,16 @@ export default {
this
.
$refs
[
this
.
editChildRef
]
&&
this
.
$refs
[
this
.
editChildRef
].
$refs
.
form
.
clearValidate
();
},
handleSelectProvince
(
val
)
{
this
.
addForm
.
provinceCode
=
val
.
provinceCode
;
this
.
addForm
.
province
Name
=
val
.
provinceName
;
this
.
addForm
.
cityCode
=
""
;
this
.
addForm
.
cityName
=
""
;
this
.
addForm
.
merchantAddress
=
val
.
province
Cod
e
;
//
this.addForm.provinceCode = val.provinceCode;
this
.
addForm
.
province
=
val
.
provinceName
;
//
this.addForm.cityCode = "";
//
this.addForm.cityName = "";
this
.
addForm
.
merchantAddress
=
val
.
province
Nam
e
;
},
handleSelectCity
(
val
)
{
this
.
addForm
.
cityCode
=
val
.
cityCode
;
this
.
addForm
.
cityName
=
val
.
cityName
;
this
.
addForm
.
merchantAddress
=
this
.
addForm
.
province
Code
+
""
+
val
.
cityCod
e
;
//
this.addForm.cityCode = val.cityCode;
//
this.addForm.cityName = val.cityName;
this
.
addForm
.
merchantAddress
=
this
.
addForm
.
province
+
""
+
val
.
cityNam
e
;
},
handleSave
()
{
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
((
valid
)
=>
{
...
...
@@ -463,25 +461,27 @@ export default {
type
:
"warning"
,
}).
then
(()
=>
{
let
params
=
{
merchantId
:
this
.
addForm
.
isNew
Merchant
?
""
:
this
.
addForm
.
merchantId
,
merchantId
:
this
.
addForm
.
bySystem
Merchant
?
""
:
this
.
addForm
.
merchantId
,
regionOperationId
:
this
.
addForm
.
regionOperationId
,
businessType
:
this
.
addForm
.
businessType
,
recruitmentQuantity
:
this
.
addForm
.
recruitmentQuantity
,
recruitmentType
:
this
.
addForm
.
recruitmentType
,
requirementDescription
:
this
.
addForm
.
requirementDescription
,
merchantName
:
this
.
addForm
.
isNew
Merchant
?
this
.
addForm
.
merchantId
:
this
.
addForm
.
merchantName
,
merchantName
:
this
.
addForm
.
bySystem
Merchant
?
this
.
addForm
.
merchantId
:
this
.
addForm
.
merchantName
,
regionOperationName
:
this
.
addForm
.
regionOperationName
,
businessTypeName
:
this
.
addForm
.
businessTypeName
,
recruitmentTypeName
:
this
.
addForm
.
recruitmentTypeName
,
urgent
:
this
.
addForm
.
urgent
,
isNewMerchant
:
this
.
addForm
.
isNewMerchant
?
1
:
0
,
newCarSalesVolume
:
this
.
addForm
.
newCarSalesVolume
,
mainBrandIds
:
this
.
addForm
.
mainBrand
.
join
(
","
),
provinceCode
:
this
.
addForm
.
provinceCode
,
provinceName
:
this
.
addForm
.
provinceName
,
cityCode
:
this
.
addForm
.
cityCode
,
cityName
:
this
.
addForm
.
cityName
,
bySystemMerchant
:
this
.
addForm
.
bySystemMerchant
,
};
if
(
this
.
addForm
.
bySystemMerchant
)
{
params
.
salesVolume
=
this
.
addForm
.
salesVolume
;
params
.
brand
=
this
.
addForm
.
brand
.
join
(
"/"
);
params
.
merchantAddress
=
this
.
addForm
.
merchantAddress
;
params
.
province
=
this
.
addForm
.
provinceName
;
}
this
.
btnLoding
=
true
;
addRecruitment
(
params
).
then
((
res
)
=>
{
if
(
res
)
{
...
...
src/views/residentManage/recruitmentManagement/index.vue
View file @
d996757
This diff is collapsed.
Click to expand it.
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