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 60d8a459
authored
Jul 14, 2026
by
Lin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat; 招聘管理潜客表单优化修改
1 parent
d76dd5a7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
198 additions
and
180 deletions
src/api/recruitment.js
src/views/residentManage/recruitmentManagement/addRecruitment.vue
src/views/residentManage/recruitmentManagement/components/recruitInfo.vue
src/views/residentManage/recruitmentManagement/index.vue
src/views/residentManage/recruitmentManagement/lookRecruitment.vue
src/api/recruitment.js
View file @
60d8a45
...
@@ -118,4 +118,10 @@ export function getTrialOnboardingStoreList(data) {
...
@@ -118,4 +118,10 @@ export function getTrialOnboardingStoreList(data) {
export
function
getRecruitmentDemandSubSceneList
(
data
)
{
export
function
getRecruitmentDemandSubSceneList
(
data
)
{
data
.
method
=
`dj.staff.api.recruitment.demand.sub.scene.list`
;
data
.
method
=
`dj.staff.api.recruitment.demand.sub.scene.list`
;
return
request
(
data
);
return
request
(
data
);
}
// 潜在客户列表
export
function
getPotentialCustomersList
(
data
)
{
data
.
method
=
`dj.api.smartcarlife.sale.potentialCustomers.page`
;
return
request
(
data
);
}
}
\ No newline at end of file
\ No newline at end of file
src/views/residentManage/recruitmentManagement/addRecruitment.vue
View file @
60d8a45
...
@@ -99,6 +99,7 @@ import {
...
@@ -99,6 +99,7 @@ import {
addRecruitment
,
addRecruitment
,
getDemandMerchant
,
getDemandMerchant
,
getDictList
,
getDictList
,
getPotentialCustomersList
,
}
from
"@api/recruitment"
;
}
from
"@api/recruitment"
;
import
{
deepClone
,
Util
}
from
"@/common/util"
;
import
{
deepClone
,
Util
}
from
"@/common/util"
;
import
ProvinceCity
from
"@/components/province-city/index.vue"
;
import
ProvinceCity
from
"@/components/province-city/index.vue"
;
...
@@ -507,6 +508,17 @@ export default {
...
@@ -507,6 +508,17 @@ export default {
}).
catch
(()
=>
{
}).
catch
(()
=>
{
});
});
},
},
getPotentialCustomersList
()
{
getPotentialCustomersList
({
merchantName
:
this
.
queryMerchantName
,
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
}).
then
((
res
)
=>
{
this
.
baseData
.
potentialCustomerStoreList
=
res
.
list
;
}).
catch
(()
=>
{
this
.
baseData
.
potentialCustomerStoreList
=
[];
});
},
handleIsNewMerchantChange
(
val
)
{
handleIsNewMerchantChange
(
val
)
{
this
.
addForm
.
merchantId
=
""
;
this
.
addForm
.
merchantId
=
""
;
this
.
addForm
.
merchantName
=
""
;
this
.
addForm
.
merchantName
=
""
;
...
...
src/views/residentManage/recruitmentManagement/components/recruitInfo.vue
View file @
60d8a45
This diff is collapsed.
Click to expand it.
src/views/residentManage/recruitmentManagement/index.vue
View file @
60d8a45
This diff is collapsed.
Click to expand it.
src/views/residentManage/recruitmentManagement/lookRecruitment.vue
View file @
60d8a45
<!-- 查看招聘需求 -->
<!-- 查看招聘需求 -->
<
template
>
<
template
>
<div
class=
"look-recruitment"
v-loading=
"loading
"
>
<div
v-loading=
"loading"
class=
"look-recruitment
"
>
<div
class=
"layout"
>
<div
class=
"layout"
>
<baseInfo
:detail
I
nfo=
"detailInfo"
></baseInfo>
<baseInfo
:detail
-i
nfo=
"detailInfo"
></baseInfo>
<recruitInfo
:
resumes=
"detailInfo.resumes"
:isBtn=
"isBtn
"
></recruitInfo>
<recruitInfo
:
is-btn=
"isBtn"
:resumes=
"detailInfo.resumes
"
></recruitInfo>
<!-- 试岗 -->
<!-- 试岗 -->
<trialOnboard
<trialOnboard
:is-btn=
"isBtn"
:trialOnboardings=
"detailInfo.trialOnboardings"
:trial-onboardings=
"detailInfo.trialOnboardings"
:isBtn=
"isBtn"
@
handleViewResult=
"handleViewResult"
>
@
handleViewResult=
"handleViewResult"
</trialOnboard>
></trialOnboard>
<entryInfo
:is-btn=
"isBtn"
<entryInfo
:onboarding-plans=
"detailInfo.onboardingPlans"
>
:onboardingPlans=
"detailInfo.onboardingPlans"
</entryInfo>
:isBtn=
"isBtn"
<operate-list
v-if=
"detailInfo.logs && detailInfo.logs.length > 0"
></entryInfo>
:logs=
"detailInfo.logs"
>
<operate-list
</operate-list>
:logs=
"detailInfo.logs"
v-if=
"detailInfo.logs && detailInfo.logs.length > 0"
></operate-list>
</div>
</div>
<div
class=
"footer"
>
<div
class=
"footer"
>
<el-button
class=
"cancel-btn"
size=
"small"
@
click=
"handleCancel"
<el-button
class=
"cancel-btn"
>
关闭
</el-button
size=
"small"
>
@
click=
"handleCancel"
>
关闭
</el-button>
</div>
</div>
<glsk-form-dialog
<glsk-form-dialog
v-if=
"trialViewResultVisible"
v-if=
"trialViewResultVisible"
class=
"trial-view-result-dialog"
class=
"trial-view-result-dialog"
dialog-width=
"640px"
dialog-width=
"640px"
:dialog-config=
"trialViewDialogConfig"
:dialog-config=
"trialViewDialogConfig"
:edit-data=
"trialViewResultForm"
:edit-data=
"trialViewResultForm"
:edit-form-data=
"trialViewResultFormData"
:edit-form-data=
"trialViewResultFormData"
:select-visible=
"trialViewResultVisible"
:select-visible=
"trialViewResultVisible"
@
handleClose=
"handleTrialViewResultClose"
@
handleClose=
"handleTrialViewResultClose"
@
handleConfirm=
"handleTrialViewResultClose"
>
@
handleConfirm=
"handleTrialViewResultClose"
>
</glsk-form-dialog>
</glsk-form-dialog>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
Util
,
deepClone
}
from
"@/common/util"
import
{
deepClone
,
Util
}
from
"@/common/util"
;
import
{
recruitMixin
}
from
"./components/recruitMixin"
import
{
recruitMixin
}
from
"./components/recruitMixin"
;
export
default
{
export
default
{
mixins
:
[
recruitMixin
],
mixins
:
[
recruitMixin
],
data
()
{
data
()
{
const
editItemStyle
=
{
const
editItemStyle
=
{
marginBottom
:
"10px"
,
marginBottom
:
"10px"
,
}
};
const
contentStyle
=
{
const
contentStyle
=
{
width
:
"406px"
,
"width"
:
"406px"
,
display
:
'inline-block'
,
"display"
:
"inline-block"
,
'word-break'
:
'break-all'
,
"word-break"
:
"break-all"
,
'white-space'
:
'pre-wrap'
,
"white-space"
:
"pre-wrap"
,
'line-height'
:
'22px'
,
"line-height"
:
"22px"
,
'margin-top'
:
'4px'
"margin-top"
:
"4px"
,
}
};
return
{
return
{
loading
:
false
,
loading
:
false
,
detailInfo
:
{},
detailInfo
:
{},
isBtn
:
false
,
isBtn
:
false
,
trialViewResultVisible
:
false
,
trialViewResultVisible
:
false
,
trialViewDialogConfig
:
{
trialViewDialogConfig
:
{
title
:
"查看结果"
,
title
:
"查看结果"
,
okText
:
"返回"
,
okText
:
"返回"
,
hideClose
:
true
hideClose
:
true
,
},
},
trialViewResultForm
:
{},
trialViewResultForm
:
{},
trialViewResultFormData
:
[
trialViewResultFormData
:
[
{
{
label
:
"处理结果"
,
label
:
"处理结果"
,
name
:
"processResult"
,
name
:
"processResult"
,
type
:
"showTxt"
,
type
:
"showTxt"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
const
obj
=
{
const
obj
=
{
"1"
:
"通过"
,
1
:
"通过"
,
"0"
:
"不通过"
0
:
"不通过"
,
}
}
;
return
obj
[
String
(
row
.
processResult
)]
||
"-"
return
obj
[
String
(
row
.
processResult
)]
||
"-"
;
},
},
style
:
editItemStyle
},
{
label
:
"说明"
,
name
:
"processRemark"
,
type
:
"showTxt"
,
formatter
:
(
row
)
=>
row
.
processRemark
||
"-"
,
style
:
editItemStyle
,
style
:
editItemStyle
,
txtStyle
:
contentStyle
,
},
},
{
{
label
:
"说明"
,
label
:
"处理人"
,
name
:
"processRemark"
,
name
:
"processorName"
,
type
:
"showTxt"
,
type
:
"showTxt"
,
formatter
:
row
=>
row
.
processRemark
||
"-"
,
style
:
editItemStyle
style
:
editItemStyle
,
},
txtStyle
:
contentStyle
,
{
},
label
:
"处理时间"
,
{
name
:
"frontUpdatedDate"
,
label
:
"处理人"
,
type
:
"showTxt"
,
name
:
"processorName"
,
formatter
:
(
row
)
=>
{
type
:
"showTxt"
,
const
date
=
row
.
frontUpdatedDate
||
row
.
updatedDate
style
:
editItemStyle
,
return
date
?
Util
.
dateFormate
(
new
Date
(
date
),
"YYYY-MM-DD HH:mm"
)
:
"-"
},
{
label
:
"处理时间"
,
name
:
"frontUpdatedDate"
,
type
:
"showTxt"
,
formatter
:
(
row
)
=>
{
const
date
=
row
.
frontUpdatedDate
||
row
.
updatedDate
;
return
date
?
Util
.
dateFormate
(
new
Date
(
date
),
"YYYY-MM-DD HH:mm"
)
:
"-"
;
},
},
style
:
editItemStyle
style
:
editItemStyle
,
}
},
]
],
}
};
},
},
mounted
()
{
mounted
()
{
// this.loading = true
// this.loading = true
},
},
methods
:
{
methods
:
{
handleCancel
()
{
handleCancel
()
{
this
.
$router
.
push
(
"/recruitmentManagement"
)
this
.
$router
.
push
(
"/recruitmentManagement"
);
},
},
// 试岗计划 - 查看结果
// 试岗计划 - 查看结果
handleViewResult
(
data
)
{
handleViewResult
(
data
)
{
this
.
trialViewResultForm
=
deepClone
({
...
data
})
this
.
trialViewResultForm
=
deepClone
({
...
data
});
this
.
trialViewResultVisible
=
true
this
.
trialViewResultVisible
=
true
;
},
},
handleTrialViewResultClose
()
{
handleTrialViewResultClose
()
{
this
.
trialViewResultVisible
=
false
this
.
trialViewResultVisible
=
false
;
},
},
}
},
}
}
;
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.look-recruitment
{
.look-recruitment
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
right
:
0
;
right
:
0
;
bottom
:
0
;
bottom
:
0
;
min-width
:
1240px
;
min-width
:
1240px
;
overflow
:
scroll
;
overflow
:
scroll
;
.footer
{
.footer
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
padding-top
:
20px
;
padding-top
:
20px
;
.save-btn
{
.save-btn
{
//
width
:
60px
;
//
width
:
60px
;
padding
:
5px
14px
;
padding
:
5px
14px
;
line-height
:
22px
;
line-height
:
22px
;
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#2a58ad
;
border
:
1px
solid
#2a58ad
;
background
:
#2a58ad
;
background
:
#2a58ad
;
color
:
#ffffff
;
color
:
#ffffff
;
font-size
:
14px
;
font-size
:
14px
;
height
:
32px
;
height
:
32px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
.cancel-btn
{
.cancel-btn
{
color
:
#666666
;
color
:
#666666
;
font-size
:
14px
;
font-size
:
14px
;
width
:
56px
;
width
:
56px
;
height
:
32px
;
height
:
32px
;
padding
:
5px
14px
;
padding
:
5px
14px
;
border-radius
:
4px
;
border-radius
:
4px
;
background
:
#e8e8e8
;
background
:
#e8e8e8
;
line-height
:
22px
;
line-height
:
22px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
}
}
.layout
{
.layout
{
height
:
calc
(
100%
-
65px
);
height
:
calc
(
100%
-
65px
);
overflow-y
:
scroll
;
overflow-y
:
scroll
;
//
也为.layout内的滚动条设置透明样式
//
也为.layout内的滚动条设置透明样式
&::-webkit-scrollbar
{
&::-webkit-scrollbar
{
width
:
1px
;
width
:
1px
;
height
:
1px
;
height
:
1px
;
}
}
&
::-webkit-scrollbar-thumb
{
&
::-webkit-scrollbar-thumb
{
background-color
:
transparent
;
background-color
:
transparent
;
border-radius
:
1px
;
border-radius
:
1px
;
}
}
&
::-webkit-scrollbar-track
{
&
::-webkit-scrollbar-track
{
background-color
:
transparent
;
background-color
:
transparent
;
}
}
&
::-webkit-scrollbar-corner
{
&
::-webkit-scrollbar-corner
{
background-color
:
transparent
;
background-color
:
transparent
;
}
}
}
}
//
修改滚动条样式为透明
//
修改滚动条样式为透明
&
::-webkit-scrollbar
{
&
::-webkit-scrollbar
{
width
:
1px
;
width
:
1px
;
height
:
1px
;
height
:
1px
;
}
}
&
::-webkit-scrollbar-thumb
{
&
::-webkit-scrollbar-thumb
{
background-color
:
transparent
;
background-color
:
transparent
;
border-radius
:
1px
;
border-radius
:
1px
;
}
}
&
::-webkit-scrollbar-track
{
&
::-webkit-scrollbar-track
{
background-color
:
transparent
;
background-color
:
transparent
;
}
}
&
::-webkit-scrollbar-corner
{
&
::-webkit-scrollbar-corner
{
background-color
:
transparent
;
background-color
:
transparent
;
}
}
}
}
//
为了兼容性,也可以添加标准的
CSS
滚动条样式
//
为了兼容性,也可以添加标准的
CSS
滚动条样式
.look-recruitment
,
.look-recruitment
,
.layout
{
.layout
{
scrollbar-color
:
transparent
transparent
;
scrollbar-color
:
transparent
transparent
;
scrollbar-width
:
thin
;
scrollbar-width
:
thin
;
}
}
::v-deep
.trial-view-result-dialog
.el-dialog__footer
.el-button
{
::v-deep
.trial-view-result-dialog
.el-dialog__footer
.el-button
{
width
:
56px
!important
;
width
:
56px
!important
;
padding
:
8px
14px
!important
;
padding
:
8px
14px
!important
;
color
:
#666666
!important
;
color
:
#666666
!important
;
background
:
#e8e8e8
!important
;
background
:
#e8e8e8
!important
;
border-color
:
#e8e8e8
!important
;
border-color
:
#e8e8e8
!important
;
}
}
</
style
>
</
style
>
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