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 5500e96e
authored
Nov 05, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复招聘管理一轮bug
1 parent
d880d75b
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
50 additions
and
16 deletions
src/common/constants.js
src/components/glsk-form-dialog/index.vue
src/views/residentManage/recruitmentManagement/addRecruitment.vue
src/views/residentManage/recruitmentManagement/components/baseInfo.vue
src/views/residentManage/recruitmentManagement/components/entryInfo.vue
src/views/residentManage/recruitmentManagement/components/operate.vue
src/views/residentManage/recruitmentManagement/components/recruitInfo.vue
src/views/residentManage/recruitmentManagement/disposeRecruitment.vue
src/views/residentManage/recruitmentManagement/index.vue
src/views/residentManage/recruitmentManagement/lookRecruitment.vue
src/common/constants.js
View file @
5500e96
...
@@ -1664,7 +1664,7 @@ export const inviteStatusOptMap = {
...
@@ -1664,7 +1664,7 @@ export const inviteStatusOptMap = {
}
}
export
const
interviewResultOpt
=
[
export
const
interviewResultOpt
=
[
{
confId
:
"1"
,
confValue
:
"通过"
},
{
confId
:
"1"
,
confValue
:
"通过"
},
{
confId
:
"0"
,
confValue
:
"
未
通过"
}
{
confId
:
"0"
,
confValue
:
"
不
通过"
}
]
]
export
const
processResultOpt
=
[
export
const
processResultOpt
=
[
{
confId
:
"1"
,
confValue
:
"人员不匹配"
},
{
confId
:
"1"
,
confValue
:
"人员不匹配"
},
...
...
src/components/glsk-form-dialog/index.vue
View file @
5500e96
...
@@ -143,7 +143,7 @@ export default {
...
@@ -143,7 +143,7 @@ export default {
}
}
},
},
handleConfirm
()
{
handleConfirm
()
{
console
.
log
(
this
.
editFormData
)
console
.
log
(
this
.
editFormData
,
this
.
editData
)
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
((
valid
)
=>
{
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
$emit
(
"handleConfirm"
,
this
.
editData
)
this
.
$emit
(
"handleConfirm"
,
this
.
editData
)
...
...
src/views/residentManage/recruitmentManagement/addRecruitment.vue
View file @
5500e96
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
提交
提交
</el-button>
</el-button>
<el-button
class=
"cancel-btn"
size=
"small"
@
click=
"handleCancel"
<el-button
class=
"cancel-btn"
size=
"small"
@
click=
"handleCancel"
>
关闭
</el-button
>
取消
</el-button
>
>
</div>
</div>
</div>
</div>
...
...
src/views/residentManage/recruitmentManagement/components/baseInfo.vue
View file @
5500e96
...
@@ -43,7 +43,7 @@ export default {
...
@@ -43,7 +43,7 @@ export default {
},
},
{
{
title
:
"招聘数量"
,
title
:
"招聘数量"
,
key
:
"recruitment
TypeName
"
key
:
"recruitment
Quantity
"
},
},
{
{
title
:
"区域运营"
,
title
:
"区域运营"
,
...
...
src/views/residentManage/recruitmentManagement/components/entryInfo.vue
View file @
5500e96
...
@@ -404,6 +404,7 @@ export default {
...
@@ -404,6 +404,7 @@ export default {
handleEntryConfirm
(
data
)
{
handleEntryConfirm
(
data
)
{
data
.
onboardingDate
=
Util
.
dateFormate
(
data
.
onboardingDate
,
"YYYY-MM-DD"
)
data
.
onboardingDate
=
Util
.
dateFormate
(
data
.
onboardingDate
,
"YYYY-MM-DD"
)
this
.
$emit
(
"handleEntryConfirm"
,
data
,
this
.
isAdd
,
this
.
index
)
this
.
$emit
(
"handleEntryConfirm"
,
data
,
this
.
isAdd
,
this
.
index
)
this
.
isEntryForm
=
{}
this
.
handleEntry
()
this
.
handleEntry
()
},
},
async
handleAddSelectTypeConfirm
(
data
)
{
async
handleAddSelectTypeConfirm
(
data
)
{
...
...
src/views/residentManage/recruitmentManagement/components/operate.vue
View file @
5500e96
...
@@ -29,7 +29,8 @@ export default {
...
@@ -29,7 +29,8 @@ export default {
4
:
"新增简历"
,
4
:
"新增简历"
,
5
:
"编辑简历"
,
5
:
"编辑简历"
,
6
:
"新增入职"
,
6
:
"新增入职"
,
7
:
"完成"
7
:
"完成"
,
8
:
"处理"
}
}
}
}
}
}
...
...
src/views/residentManage/recruitmentManagement/components/recruitInfo.vue
View file @
5500e96
...
@@ -133,6 +133,7 @@ import { baseConfig } from "@/main"
...
@@ -133,6 +133,7 @@ import { baseConfig } from "@/main"
import
detailDialog
from
"./detail.vue"
import
detailDialog
from
"./detail.vue"
import
{
interviewResultOpt
,
processResultOpt
}
from
"@/common/constants.js"
import
{
interviewResultOpt
,
processResultOpt
}
from
"@/common/constants.js"
import
GlOssApi
from
"glsk-oss-jssdk"
import
GlOssApi
from
"glsk-oss-jssdk"
import
{
mapMutations
}
from
"vuex"
export
default
{
export
default
{
name
:
"recruitInfo"
,
name
:
"recruitInfo"
,
components
:
{
detailDialog
},
components
:
{
detailDialog
},
...
@@ -302,8 +303,10 @@ export default {
...
@@ -302,8 +303,10 @@ export default {
})
})
},
},
methods
:
{
methods
:
{
...
mapMutations
(
"d2admin/loading"
,
[
"set"
]),
// 获取文件
// 获取文件
importFileChange
(
file
,
fileList
)
{
importFileChange
(
file
,
fileList
)
{
this
.
isAddForm
.
resumeUrl
=
""
this
.
uploadFileList
=
fileList
this
.
uploadFileList
=
fileList
},
},
hanldeOnExceed
(
files
,
fileList
)
{
hanldeOnExceed
(
files
,
fileList
)
{
...
@@ -313,7 +316,9 @@ export default {
...
@@ -313,7 +316,9 @@ export default {
})
})
},
},
//上传文件
//上传文件
handleFileChange
(
file
,
targetItem
)
{
async
handleFileChange
(
file
,
targetItem
)
{
console
.
log
(
"targetItem"
,
targetItem
)
await
this
.
set
(
true
)
var
fileInfo
=
file
.
raw
var
fileInfo
=
file
.
raw
const
fileName
=
fileInfo
.
name
const
fileName
=
fileInfo
.
name
if
(
!
fileInfo
.
name
.
includes
(
".pdf"
))
{
if
(
!
fileInfo
.
name
.
includes
(
".pdf"
))
{
...
@@ -347,6 +352,7 @@ export default {
...
@@ -347,6 +352,7 @@ export default {
}
}
]
]
const
success
=
(
res
)
=>
{
const
success
=
(
res
)
=>
{
if
(
res
.
aliyunAddress
)
{
this
.
isAddForm
.
resumeFileName
=
fileInfo
.
name
this
.
isAddForm
.
resumeFileName
=
fileInfo
.
name
this
.
isAddForm
[
targetItem
]
=
res
.
aliyunAddress
// 文件地址
this
.
isAddForm
[
targetItem
]
=
res
.
aliyunAddress
// 文件地址
this
.
uploadFileList
[
0
].
url
=
res
.
aliyunAddress
this
.
uploadFileList
[
0
].
url
=
res
.
aliyunAddress
...
@@ -355,6 +361,10 @@ export default {
...
@@ -355,6 +361,10 @@ export default {
childRef
.
$refs
.
editFormRef
.
$refs
[
childRef
.
editChildRef
].
clearValidate
(
childRef
.
$refs
.
editFormRef
.
$refs
[
childRef
.
editChildRef
].
clearValidate
(
"resumeUrl"
"resumeUrl"
)
)
this
.
$nextTick
(
async
()
=>
{
await
this
.
set
(
false
)
})
}
}
}
const
fail
=
(
err
)
=>
{
const
fail
=
(
err
)
=>
{
this
.
clearItem
(
targetItem
)
this
.
clearItem
(
targetItem
)
...
@@ -382,16 +392,18 @@ export default {
...
@@ -382,16 +392,18 @@ export default {
getCurrentDate
()
{
getCurrentDate
()
{
const
time
=
new
Date
()
const
time
=
new
Date
()
const
y
=
time
.
getFullYear
()
const
y
=
time
.
getFullYear
()
const
m
=
time
.
getMonth
()
+
1
const
m
=
String
(
time
.
getMonth
()
+
1
).
padStart
(
2
,
"0"
)
const
d
=
time
.
getDate
(
)
const
d
=
String
(
time
.
getDate
()).
padStart
(
2
,
"0"
)
return
y
+
"-"
+
m
+
"-"
+
d
return
`
${
y
}
-
${
m
}
-
${
d
}
`
},
},
//新增简历确认
//新增简历确认
handleAddConfirm
(
data
)
{
handleAddConfirm
(
data
)
{
console
.
log
(
"data"
,
data
)
data
.
status
=
0
//状态未处理
data
.
status
=
0
//状态未处理
if
(
this
.
isAdd
)
{
data
.
createdDate
=
this
.
getCurrentDate
()
data
.
createdDate
=
this
.
getCurrentDate
()
}
this
.
$emit
(
"handleAddConfirm"
,
data
,
this
.
isAdd
,
this
.
index
)
this
.
$emit
(
"handleAddConfirm"
,
data
,
this
.
isAdd
,
this
.
index
)
this
.
isAddDialogVisible
()
this
.
isAddDialogVisible
()
},
},
...
@@ -458,6 +470,7 @@ export default {
...
@@ -458,6 +470,7 @@ export default {
this
.
$emit
(
"handleWorking"
,
data
)
this
.
$emit
(
"handleWorking"
,
data
)
},
},
handleLook
(
data
)
{
handleLook
(
data
)
{
console
.
log
(
data
)
this
.
recordInfo
=
data
this
.
recordInfo
=
data
this
.
detailVisible
=
!
this
.
detailVisible
this
.
detailVisible
=
!
this
.
detailVisible
},
},
...
...
src/views/residentManage/recruitmentManagement/disposeRecruitment.vue
View file @
5500e96
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
提交
提交
</el-button>
</el-button>
<el-button
class=
"cancel-btn"
size=
"small"
@
click=
"handleCancel"
<el-button
class=
"cancel-btn"
size=
"small"
@
click=
"handleCancel"
>
关闭
</el-button
>
取消
</el-button
>
>
</div>
</div>
</div>
</div>
...
@@ -118,7 +118,7 @@ export default {
...
@@ -118,7 +118,7 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
margin-top
:
20px
;
padding
:
20px
0
;
.save-btn
{
.save-btn
{
//
width
:
60px
;
//
width
:
60px
;
padding
:
5px
14px
;
padding
:
5px
14px
;
...
...
src/views/residentManage/recruitmentManagement/index.vue
View file @
5500e96
...
@@ -41,6 +41,22 @@
...
@@ -41,6 +41,22 @@
:table-params=
"tableParams"
:table-params=
"tableParams"
:before-search-fn=
"beforeSearchFn"
:before-search-fn=
"beforeSearchFn"
>
>
<!-- 门店名称 -->
<div
slot=
"merchantName"
slot-scope=
"scope"
>
<span
v-if=
"scope.scope.merchantName.length < 14"
>
{{
scope.scope.merchantName.slice(0, 14)
}}
</span>
<div
v-else
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"scope.scope.merchantName"
placement=
"top-start"
>
<span>
{{ scope.scope.merchantName.slice(0, 14) }}...
</span>
</el-tooltip>
</div>
</div>
<!-- 评估单状态 -->
<!-- 评估单状态 -->
<div
slot=
"statusHtml"
slot-scope=
"scope"
>
<div
slot=
"statusHtml"
slot-scope=
"scope"
>
<div
class=
"online-status"
>
<div
class=
"online-status"
>
...
@@ -125,6 +141,7 @@ export default {
...
@@ -125,6 +141,7 @@ export default {
label
:
"门店名称"
,
label
:
"门店名称"
,
prop
:
"merchantName"
,
prop
:
"merchantName"
,
width
:
"200px"
width
:
"200px"
// addHtml: "merchantName"
},
},
{
{
label
:
"业务类型"
,
label
:
"业务类型"
,
...
@@ -133,7 +150,8 @@ export default {
...
@@ -133,7 +150,8 @@ export default {
},
},
{
{
label
:
"招聘类型"
,
label
:
"招聘类型"
,
prop
:
"recruitmentTypeName"
prop
:
"recruitmentTypeName"
,
width
:
140
},
},
{
{
label
:
"招聘数量"
,
label
:
"招聘数量"
,
...
@@ -142,9 +160,9 @@ export default {
...
@@ -142,9 +160,9 @@ export default {
{
{
label
:
"申请时间"
,
label
:
"申请时间"
,
prop
:
"createdDate"
,
prop
:
"createdDate"
,
width
:
"
20
0px"
,
width
:
"
15
0px"
,
formatter
:
(
row
,
column
)
=>
{
formatter
:
(
row
,
column
)
=>
{
return
Util
.
dateFormate
(
row
.
createdDate
,
"YYYY-MM-DD
HH:mm:ss
"
)
return
Util
.
dateFormate
(
row
.
createdDate
,
"YYYY-MM-DD"
)
}
}
},
},
{
{
...
@@ -530,6 +548,7 @@ export default {
...
@@ -530,6 +548,7 @@ export default {
handleSearch
()
{
handleSearch
()
{
this
.
page
=
this
.
$options
.
data
.
call
(
this
).
page
this
.
page
=
this
.
$options
.
data
.
call
(
this
).
page
this
.
$refs
.
table
.
refreshTable
(
true
,
true
)
this
.
$refs
.
table
.
refreshTable
(
true
,
true
)
this
.
getRecruitmentSummaryData
()
},
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
this
.
$options
.
data
.
call
(
this
).
searchForm
this
.
searchForm
=
this
.
$options
.
data
.
call
(
this
).
searchForm
...
...
src/views/residentManage/recruitmentManagement/lookRecruitment.vue
View file @
5500e96
...
@@ -55,7 +55,7 @@ export default {
...
@@ -55,7 +55,7 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
margin-top
:
20px
;
padding
:
20px
0
;
.save-btn
{
.save-btn
{
//
width
:
60px
;
//
width
:
60px
;
padding
:
5px
14px
;
padding
:
5px
14px
;
...
...
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