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
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
154 additions
and
115 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
...
@@ -119,3 +119,9 @@ export function getRecruitmentDemandSubSceneList(data) {
...
@@ -119,3 +119,9 @@ 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
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
</div>
</div>
<el-button
v-if=
"isBtn"
<el-button
v-if=
"isBtn"
icon=
"el-icon-plus"
icon=
"el-icon-plus"
plain
type=
"primary"
type=
"primary"
plain
@
click=
"handleAdd"
>
@
click=
"handleAdd"
>
新增简历
新增简历
</el-button>
</el-button>
...
@@ -40,6 +40,10 @@
...
@@ -40,6 +40,10 @@
<span
class=
"label"
>
招聘渠道:
</span>
<span
class=
"label"
>
招聘渠道:
</span>
<span
class=
"value"
>
{{
item
.
channelName
||
"-"
}}
</span>
<span
class=
"value"
>
{{
item
.
channelName
||
"-"
}}
</span>
</div>
</div>
<div
class=
"item"
>
<span
class=
"label"
>
推荐人:
</span>
<span
class=
"value"
>
{{
item
.
channelName
||
"-"
}}
</span>
</div>
</div>
</div>
</div>
</div>
<div
class=
"btns"
>
<div
class=
"btns"
>
...
@@ -123,13 +127,13 @@
...
@@ -123,13 +127,13 @@
<!-- 新增简历 -->
<!-- 新增简历 -->
<glsk-form-dialog
v-if=
"isAddVisible"
<glsk-form-dialog
v-if=
"isAddVisible"
ref=
"addResumeDialog"
ref=
"addResumeDialog"
:base-data=
"baseData"
default-width=
"406px"
default-width=
"406px"
label-width=
"150px"
:base-data=
"baseData"
:dialog-config=
"isAddDialogConfig"
:dialog-config=
"isAddDialogConfig"
:edit-data=
"isAddForm"
:edit-data=
"isAddForm"
:edit-form-data=
"isAddFormData"
:edit-form-data=
"isAddFormData"
:form-rules=
"isAddRules"
:form-rules=
"isAddRules"
label-width=
"150px"
:select-visible=
"isAddVisible"
:select-visible=
"isAddVisible"
:slot-arr=
"slotArr"
:slot-arr=
"slotArr"
@
handleAddSelectTypeConfirm=
"handleAddSelectTypeConfirm"
@
handleAddSelectTypeConfirm=
"handleAddSelectTypeConfirm"
...
@@ -159,13 +163,13 @@
...
@@ -159,13 +163,13 @@
</glsk-form-dialog>
</glsk-form-dialog>
<!-- 简历处理 -->
<!-- 简历处理 -->
<glsk-form-dialog
v-if=
"isResolveVisible"
<glsk-form-dialog
v-if=
"isResolveVisible"
:base-data=
"baseData"
default-width=
"406px"
default-width=
"406px"
label-width=
"150px"
:base-data=
"baseData"
:dialog-config=
"isResolveDialogConfig"
:dialog-config=
"isResolveDialogConfig"
:edit-data=
"isResolveForm"
:edit-data=
"isResolveForm"
:edit-form-data=
"isResolveFormData"
:edit-form-data=
"isResolveFormData"
:form-rules=
"isResolveRules"
:form-rules=
"isResolveRules"
label-width=
"150px"
:select-visible=
"isResolveVisible"
:select-visible=
"isResolveVisible"
@
handleClose=
"isResolveDialogVisible"
@
handleClose=
"isResolveDialogVisible"
@
handleConfirm=
"handleResolveConfirm"
>
@
handleConfirm=
"handleResolveConfirm"
>
...
@@ -173,13 +177,13 @@
...
@@ -173,13 +177,13 @@
<!-- 面试反馈 -->
<!-- 面试反馈 -->
<glsk-form-dialog
v-if=
"feedbackVisible"
<glsk-form-dialog
v-if=
"feedbackVisible"
:base-data=
"baseData"
default-width=
"406px"
default-width=
"406px"
label-width=
"150px"
:base-data=
"baseData"
:dialog-config=
"feedbackDialogConfig"
:dialog-config=
"feedbackDialogConfig"
:edit-data=
"feedbackForm"
:edit-data=
"feedbackForm"
:edit-form-data=
"feedbackFormData"
:edit-form-data=
"feedbackFormData"
:form-rules=
"feedbackRules"
:form-rules=
"feedbackRules"
label-width=
"150px"
:select-visible=
"feedbackVisible"
:select-visible=
"feedbackVisible"
@
handleClose=
"feedbackDialogVisible"
@
handleClose=
"feedbackDialogVisible"
@
handleConfirm=
"handleFeedbackConfirm"
>
@
handleConfirm=
"handleFeedbackConfirm"
>
...
@@ -192,9 +196,9 @@
...
@@ -192,9 +196,9 @@
</DetailDialog>
</DetailDialog>
<!-- 简历 - 图片 -->
<!-- 简历 - 图片 -->
<ElImageViewer
v-if=
"imgVisible"
<ElImageViewer
v-if=
"imgVisible"
style=
"z-index: 9999"
:initial-index=
"initialIndex"
:initial-index=
"initialIndex"
:on-close=
"closeImgViewer"
:on-close=
"closeImgViewer"
style=
"z-index: 9999"
:url-list=
"imgList"
/>
:url-list=
"imgList"
/>
</div>
</div>
</template>
</template>
...
@@ -354,6 +358,14 @@ export default {
...
@@ -354,6 +358,14 @@ export default {
},
},
},
},
{
{
label
:
"推荐人"
,
name
:
"personName"
,
type
:
"input"
,
maxlength
:
"20"
,
placeholder
:
"如有推荐人,请填写推荐人"
,
isClear
:
true
,
},
{
label
:
"简历"
,
label
:
"简历"
,
name
:
"resumeUrl"
,
name
:
"resumeUrl"
,
addHtml
:
"resumeUrlHtml"
,
addHtml
:
"resumeUrlHtml"
,
...
@@ -709,8 +721,9 @@ export default {
...
@@ -709,8 +721,9 @@ export default {
this
.
updateParams
(
this
.
isAddForm
);
this
.
updateParams
(
this
.
isAddForm
);
},
},
checkParams
(
data
)
{
checkParams
(
data
)
{
if
(
!
data
)
if
(
!
data
)
{
return
;
return
;
}
const
fields
=
[{
typeKey
:
"channelType"
,
dataKey
:
"channelData"
}];
const
fields
=
[{
typeKey
:
"channelType"
,
dataKey
:
"channelData"
}];
...
@@ -727,8 +740,9 @@ export default {
...
@@ -727,8 +740,9 @@ export default {
});
});
},
},
updateParams
(
data
)
{
updateParams
(
data
)
{
if
(
!
data
)
if
(
!
data
)
{
return
;
return
;
}
const
fieldMap
=
{
const
fieldMap
=
{
channelType
:
"channelName"
,
channelType
:
"channelName"
,
...
...
src/views/residentManage/recruitmentManagement/index.vue
View file @
60d8a45
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<div
class=
"header"
>
<div
class=
"header"
>
<d2-search
ref=
"showSearch"
<d2-search
ref=
"showSearch"
class=
"show-search"
class=
"show-search"
:form-data=
"showFormData"
label-width=
"120px"
label-width=
"120px"
:form-data=
"showFormData"
:search-form=
"searchForm"
>
:search-form=
"searchForm"
>
</d2-search>
</d2-search>
<div
class=
"up-btns"
>
<div
class=
"up-btns"
>
...
@@ -111,13 +111,13 @@
...
@@ -111,13 +111,13 @@
</div>
</div>
<!-- 驳回 -->
<!-- 驳回 -->
<glsk-form-dialog
v-if=
"isRejectVisible"
<glsk-form-dialog
v-if=
"isRejectVisible"
:base-data=
"baseData"
default-width=
"406px"
default-width=
"406px"
label-width=
"150px"
:base-data=
"baseData"
:dialog-config=
"isRejectDialogConfig"
:dialog-config=
"isRejectDialogConfig"
:edit-data=
"isRejectForm"
:edit-data=
"isRejectForm"
:edit-form-data=
"isRejectFormData"
:edit-form-data=
"isRejectFormData"
:form-rules=
"isRejectRules"
:form-rules=
"isRejectRules"
label-width=
"150px"
:select-visible=
"isRejectVisible"
:select-visible=
"isRejectVisible"
@
handleClose=
"handleReject"
@
handleClose=
"handleReject"
@
handleConfirm=
"handleRejectConfirm"
>
@
handleConfirm=
"handleRejectConfirm"
>
...
@@ -126,13 +126,13 @@
...
@@ -126,13 +126,13 @@
<!-- 批量变更 -->
<!-- 批量变更 -->
<glsk-form-dialog
v-if=
"isBatchChangeVisible"
<glsk-form-dialog
v-if=
"isBatchChangeVisible"
ref=
"batchChangeDialog"
ref=
"batchChangeDialog"
:base-data=
"baseData"
default-width=
"406px"
default-width=
"406px"
label-width=
"150px"
:base-data=
"baseData"
:dialog-config=
"isBatchChangeDialogConfig"
:dialog-config=
"isBatchChangeDialogConfig"
:edit-data=
"isBatchChangeForm"
:edit-data=
"isBatchChangeForm"
:edit-form-data=
"isBatchChangeFormData"
:edit-form-data=
"isBatchChangeFormData"
:form-rules=
"isBatchChangeRules"
:form-rules=
"isBatchChangeRules"
label-width=
"150px"
:select-visible=
"isBatchChangeVisible"
:select-visible=
"isBatchChangeVisible"
@
handleClose=
"handleBatchChangeClose"
@
handleClose=
"handleBatchChangeClose"
@
handleConfirm=
"handleBatchChangeConfirm"
>
@
handleConfirm=
"handleBatchChangeConfirm"
>
...
@@ -140,23 +140,31 @@
...
@@ -140,23 +140,31 @@
<!-- 关联 -->
<!-- 关联 -->
<glsk-form-dialog
v-if=
"isRelateVisible"
<glsk-form-dialog
v-if=
"isRelateVisible"
ref=
"relateDialog"
ref=
"relateDialog"
:base-data=
"baseData"
default-width=
"406px"
default-width=
"406px"
label-width=
"150px"
:base-data=
"baseData"
:dialog-config=
"isRelateDialogConfig"
:dialog-config=
"isRelateDialogConfig"
:edit-data=
"isRelateForm"
:edit-data=
"isRelateForm"
:edit-form-data=
"isRelateFormData"
:edit-form-data=
"isRelateFormData"
:form-rules=
"isRelateRules"
:form-rules=
"isRelateRules"
label-width=
"150px"
:select-visible=
"isRelateVisible"
:select-visible=
"isRelateVisible"
:slot-arr=
"slotArr"
:slot-arr=
"slotArr"
@
handleClose=
"handleRelateClose"
@
handleClose=
"handleRelateClose"
@
handleConfirm=
"handleRelateConfirm"
>
@
handleConfirm=
"handleRelateConfirm"
>
<
template
#
merchantHtml
>
<
template
#
merchantHtml
>
<el-select
v-model=
"isRelateForm.merchantId"
filterable
remote
<el-select
v-model=
"isRelateForm.merchantId"
placeholder=
"请选择关联门店"
style=
"width: 420px;"
@
visible-change=
"visibleChange"
@
change=
"handleMerchantSelectChange"
v-el-select-loadmore=
"interestsLoadmore"
v-el-select-loadmore=
"interestsLoadmore"
:remote-method=
"remoteMethod"
>
placeholder=
"请选择关联门店"
<el-option
v-for=
"item in baseData.relateMerchantOpt"
:key=
"item.merchantId"
style=
"width: 420px;"
:label=
"item.merchantName"
:value=
"item.merchantId"
>
filterable
remote
:remote-method=
"remoteMethod"
@
change=
"handleMerchantSelectChange"
@
visible-change=
"visibleChange"
>
<el-option
v-for=
"item in baseData.relateMerchantOpt"
:key=
"item.merchantId"
:label=
"item.merchantName"
:value=
"item.merchantId"
>
</el-option>
</el-option>
</el-select>
</el-select>
</
template
>
</
template
>
...
@@ -177,30 +185,30 @@ import {
...
@@ -177,30 +185,30 @@ import {
}
from
"@api/recruitment"
;
}
from
"@api/recruitment"
;
import
{
mapActions
,
mapState
}
from
"vuex"
;
import
{
mapActions
,
mapState
}
from
"vuex"
;
import
{
changeTypeOpt
,
connectionFlagOpt
,
connectionFlagOptMap
,
inviteStatusOpt
,
inviteStatusOptMap
,
trialStatusOpt
,
approv
alStatusOpt
}
from
"@/common/constants.js"
;
import
{
approvalStatusOpt
,
changeTypeOpt
,
connectionFlagOpt
,
connectionFlagOptMap
,
inviteStatusOpt
,
inviteStatusOptMap
,
tri
alStatusOpt
}
from
"@/common/constants.js"
;
import
{
deepClone
,
Util
}
from
"@/common/util"
;
import
{
deepClone
,
Util
}
from
"@/common/util"
;
import
reportTrackPageMixin
from
"@/mixins/reportTrackPageMixin"
;
import
reportTrackPageMixin
from
"@/mixins/reportTrackPageMixin"
;
export
default
{
export
default
{
mixins
:
[
reportTrackPageMixin
],
directives
:
{
directives
:
{
'el-select-loadmore'
:
{
"el-select-loadmore"
:
{
bind
(
el
,
binding
)
{
bind
(
el
,
binding
)
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
const
SELECTWRAP_DOM
=
el
.
querySelector
(
const
SELECTWRAP_DOM
=
el
.
querySelector
(
'.el-select-dropdown .el-select-dropdown__wrap'
".el-select-dropdown .el-select-dropdown__wrap"
,
)
)
;
SELECTWRAP_DOM
.
addEventListener
(
'scroll'
,
function
()
{
SELECTWRAP_DOM
.
addEventListener
(
"scroll"
,
function
()
{
const
condition
=
const
condition
this
.
scrollHeight
-
this
.
scrollTop
<=
this
.
clientHeight
=
this
.
scrollHeight
-
this
.
scrollTop
<=
this
.
clientHeight
;
if
(
condition
)
{
if
(
condition
)
{
binding
.
value
()
binding
.
value
();
}
})
},
100
)
}
}
}
});
},
100
);
},
},
},
},
mixins
:
[
reportTrackPageMixin
],
data
()
{
data
()
{
return
{
return
{
isBatchChangeVisible
:
false
,
isBatchChangeVisible
:
false
,
...
@@ -347,8 +355,6 @@ export default {
...
@@ -347,8 +355,6 @@ export default {
prop
:
"technicalSupervisorName"
,
prop
:
"technicalSupervisorName"
,
width
:
160
,
width
:
160
,
},
},
{
{
label
:
"所属省市"
,
label
:
"所属省市"
,
prop
:
"provinceCity"
,
prop
:
"provinceCity"
,
...
@@ -467,7 +473,7 @@ export default {
...
@@ -467,7 +473,7 @@ export default {
technicalSupervisorName
:
""
,
technicalSupervisorName
:
""
,
brand
:
""
,
brand
:
""
,
connectionFlag
:
""
,
connectionFlag
:
""
,
approvalStatus
:
""
approvalStatus
:
""
,
},
},
showFormData
:
[
showFormData
:
[
{
{
...
@@ -615,7 +621,7 @@ export default {
...
@@ -615,7 +621,7 @@ export default {
changeTypeOpt
:
deepClone
(
changeTypeOpt
),
changeTypeOpt
:
deepClone
(
changeTypeOpt
),
receiverOpt
:
[],
receiverOpt
:
[],
relateMerchantOpt
:
[],
relateMerchantOpt
:
[],
approvalStatusOpt
:
deepClone
(
approvalStatusOpt
)
approvalStatusOpt
:
deepClone
(
approvalStatusOpt
),
},
},
isRejectDialogConfig
:
{
isRejectDialogConfig
:
{
title
:
"驳回"
,
title
:
"驳回"
,
...
@@ -766,7 +772,6 @@ export default {
...
@@ -766,7 +772,6 @@ export default {
this
.
handleSearch
();
this
.
handleSearch
();
this
.
$refs
.
table
.
$refs
[
this
.
tableParams
.
mutiSelectName
+
"MutiTable"
].
clearSelection
();
this
.
$refs
.
table
.
$refs
[
this
.
tableParams
.
mutiSelectName
+
"MutiTable"
].
clearSelection
();
// Clear selection
// Clear selection
this
.
selectedRows
=
[];
this
.
selectedRows
=
[];
});
});
},
},
...
@@ -781,10 +786,10 @@ export default {
...
@@ -781,10 +786,10 @@ export default {
// 获取焦点重新渲染下拉框数据
// 获取焦点重新渲染下拉框数据
// if (data) {
// if (data) {
// if (this.queryMerchantName) {
// if (this.queryMerchantName) {
this
.
queryMerchantName
=
''
this
.
queryMerchantName
=
""
;
this
.
currentPage
=
1
this
.
currentPage
=
1
;
this
.
baseData
.
relateMerchantOpt
=
[]
this
.
baseData
.
relateMerchantOpt
=
[]
;
this
.
getSelectingList
()
this
.
getSelectingList
()
;
// }
// }
// }
// }
},
},
...
@@ -792,39 +797,39 @@ export default {
...
@@ -792,39 +797,39 @@ export default {
remoteMethod
(
query
)
{
remoteMethod
(
query
)
{
this
.
queryMerchantName
=
query
;
this
.
queryMerchantName
=
query
;
// console.log("query", query);
// console.log("query", query);
this
.
currentPage
=
1
this
.
currentPage
=
1
;
this
.
baseData
.
relateMerchantOpt
=
[]
this
.
baseData
.
relateMerchantOpt
=
[]
;
this
.
getSelectingList
()
// 请求接口
this
.
getSelectingList
()
;
// 请求接口
},
},
// 获取更多4S店
// 获取更多4S店
interestsLoadmore
()
{
interestsLoadmore
()
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
currentPage
=
this
.
currentPage
+
1
this
.
currentPage
=
this
.
currentPage
+
1
;
if
(
this
.
allPages
<
this
.
currentPage
)
{
if
(
this
.
allPages
<
this
.
currentPage
)
{
this
.
currentPage
=
this
.
allPages
this
.
currentPage
=
this
.
allPages
;
return
return
;
}
}
this
.
getSelectingList
()
this
.
getSelectingList
()
;
},
10
)
},
10
)
;
},
},
// 获取4S门店列表
// 获取4S门店列表
getSelectingList
(
defaultSelect
)
{
getSelectingList
(
defaultSelect
)
{
getDemandMerchant
({
getDemandMerchant
({
merchantName
:
this
.
queryMerchantName
,
merchantName
:
this
.
queryMerchantName
,
currentPage
:
this
.
currentPage
,
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
pageSize
:
this
.
pageSize
,
}).
then
(
res
=>
{
}).
then
(
(
res
)
=>
{
// console.log("getSelectingList",res);
// console.log("getSelectingList",res);
this
.
allPages
=
res
.
pages
this
.
allPages
=
res
.
pages
;
const
resArr
=
[...
res
.
list
]
const
resArr
=
[...
res
.
list
]
;
const
arr
=
this
.
baseData
.
relateMerchantOpt
.
concat
(
resArr
)
const
arr
=
this
.
baseData
.
relateMerchantOpt
.
concat
(
resArr
)
;
this
.
baseData
.
relateMerchantOpt
=
arr
this
.
baseData
.
relateMerchantOpt
=
arr
;
this
.
getOptionsList
(
this
,
"isRelateFormData"
,
false
,
"merchantId"
);
this
.
getOptionsList
(
this
,
"isRelateFormData"
,
false
,
"merchantId"
);
}).
catch
(()
=>
{
}).
catch
(()
=>
{
})
})
;
},
},
handleRelate
(
data
)
{
handleRelate
(
data
)
{
this
.
getSelectingList
()
this
.
getSelectingList
()
;
this
.
detailInfo
=
data
;
this
.
detailInfo
=
data
;
this
.
isRelateVisible
=
true
;
this
.
isRelateVisible
=
true
;
this
.
isRelateForm
.
merchantId
=
""
;
this
.
isRelateForm
.
merchantId
=
""
;
...
@@ -940,14 +945,16 @@ export default {
...
@@ -940,14 +945,16 @@ export default {
},
},
getStatusColor
(
status
,
optKey
)
{
getStatusColor
(
status
,
optKey
)
{
if
(
status
===
null
||
status
===
undefined
)
if
(
status
===
null
||
status
===
undefined
)
{
return
"#C0C4CC"
;
return
"#C0C4CC"
;
}
const
map
=
(
this
.
baseData
&&
this
.
baseData
[
optKey
])
||
{};
const
map
=
(
this
.
baseData
&&
this
.
baseData
[
optKey
])
||
{};
return
map
[
status
]
||
"#C0C4CC"
;
return
map
[
status
]
||
"#C0C4CC"
;
},
},
getStatusItem
(
baseData
,
optKey
,
row
,
rowKey
)
{
getStatusItem
(
baseData
,
optKey
,
row
,
rowKey
)
{
if
(
!
baseData
||
!
baseData
[
optKey
]
||
!
row
)
if
(
!
baseData
||
!
baseData
[
optKey
]
||
!
row
)
{
return
null
;
return
null
;
}
let
item
=
baseData
[
optKey
].
find
(
item
=>
item
.
confId
==
row
[
rowKey
]);
let
item
=
baseData
[
optKey
].
find
(
item
=>
item
.
confId
==
row
[
rowKey
]);
return
(
item
&&
item
.
confValue
)
||
"-"
;
return
(
item
&&
item
.
confValue
)
||
"-"
;
},
},
...
...
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"
...
@@ -33,28 +31,29 @@
...
@@ -33,28 +31,29 @@
: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
:
{},
...
@@ -63,7 +62,7 @@ export default {
...
@@ -63,7 +62,7 @@ export default {
trialViewDialogConfig
:
{
trialViewDialogConfig
:
{
title
:
"查看结果"
,
title
:
"查看结果"
,
okText
:
"返回"
,
okText
:
"返回"
,
hideClose
:
true
hideClose
:
true
,
},
},
trialViewResultForm
:
{},
trialViewResultForm
:
{},
trialViewResultFormData
:
[
trialViewResultFormData
:
[
...
@@ -73,18 +72,18 @@ export default {
...
@@ -73,18 +72,18 @@ export default {
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
style
:
editItemStyle
,
},
},
{
{
label
:
"说明"
,
label
:
"说明"
,
name
:
"processRemark"
,
name
:
"processRemark"
,
type
:
"showTxt"
,
type
:
"showTxt"
,
formatter
:
(
row
)
=>
row
.
processRemark
||
"-"
,
formatter
:
row
=>
row
.
processRemark
||
"-"
,
style
:
editItemStyle
,
style
:
editItemStyle
,
txtStyle
:
contentStyle
,
txtStyle
:
contentStyle
,
},
},
...
@@ -92,39 +91,40 @@ export default {
...
@@ -92,39 +91,40 @@ export default {
label
:
"处理人"
,
label
:
"处理人"
,
name
:
"processorName"
,
name
:
"processorName"
,
type
:
"showTxt"
,
type
:
"showTxt"
,
style
:
editItemStyle
style
:
editItemStyle
,
},
},
{
{
label
:
"处理时间"
,
label
:
"处理时间"
,
name
:
"frontUpdatedDate"
,
name
:
"frontUpdatedDate"
,
type
:
"showTxt"
,
type
:
"showTxt"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
const
date
=
row
.
frontUpdatedDate
||
row
.
updatedDate
const
date
=
row
.
frontUpdatedDate
||
row
.
updatedDate
;
return
date
?
Util
.
dateFormate
(
new
Date
(
date
),
"YYYY-MM-DD HH:mm"
)
:
"-"
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
;
...
...
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