Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jy_jfb_vue
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
jy_jfb_vue
Commits
097bd22b
提交
097bd22b
authored
9月 22, 2025
作者:
赵世杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1
上级
9d4f42d8
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
120 行增加
和
17 行删除
+120
-17
element-ui.scss
src/assets/styles/element-ui.scss
+23
-0
index.vue
src/views/personnel/index.vue
+62
-1
add.vue
src/views/recruit/add.vue
+26
-12
index.vue
src/views/recruit/index.vue
+3
-2
index.vue
src/views/registration/index.vue
+6
-2
没有找到文件。
src/assets/styles/element-ui.scss
浏览文件 @
097bd22b
...
...
@@ -57,6 +57,15 @@
overflow
:
auto
;
}
}
// .el-overlay-dialog{
// left: 200px;
// }
.is-fullscreen.el-dialog
{
.el-dialog__body
{
max-height
:
100%
;
overflow
:
auto
;
}
}
// refine element ui upload
.upload-container
{
...
...
@@ -109,3 +118,16 @@
.el-upload-list
{
overflow
:
hidden
;
}
table
.el-descriptions__cell
{
width
:
33%
;
.el-descriptions__label
{
font-weight
:
bold
;
display
:
inline-block
;
vertical-align
:
top
;
}
.el-descriptions__content
{
display
:
inline-block
;
width
:
calc
(
100%
-
100px
);
vertical-align
:
top
;
}
}
\ No newline at end of file
src/views/personnel/index.vue
浏览文件 @
097bd22b
...
...
@@ -22,17 +22,53 @@
<el-table-column
label=
"创建时间"
prop=
"createTime"
align=
"center"
/>
<el-table-column
label=
"操作"
width=
"160"
align=
"center"
>
<
template
#
default=
"{row}"
>
<el-button
link
type=
"primary"
icon=
"View"
@
click=
"look(row)"
>
简历查看
</el-button>
<el-button
link
type=
"primary"
icon=
"Delete"
@
click=
"del(row)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
v-model:page=
"queryParams.pageNum"
v-model:limit=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<el-dialog
title=
"简历"
v-model=
"lookShow"
width=
"1000px"
append-to-body
:close-on-click-modal=
"false"
>
<el-descriptions
title=
"基本信息"
>
<el-descriptions-item
label=
"姓名"
>
{{ lookInfo.userInfo.name }}
</el-descriptions-item>
<el-descriptions-item
label=
"性别"
>
{{ lookInfo.userInfo.sex ? '男' : '女' }}
</el-descriptions-item>
<el-descriptions-item
label=
"手机号码"
>
{{ lookInfo.userInfo.phoneNumber }}
</el-descriptions-item>
<el-descriptions-item
label=
"身份证号"
>
{{ lookInfo.userInfo.idNo }}
</el-descriptions-item>
</el-descriptions>
<el-descriptions
:title=
"`求职意向${index + 1}`"
v-for=
"(item,index) in lookInfo.careerObjective"
>
<el-descriptions-item
label=
"期望职位"
>
{{ item.industryName }}
</el-descriptions-item>
<el-descriptions-item
label=
"工作城市"
>
{{ item.province }}{{ item.city }}{{ item.region }}
</el-descriptions-item>
<el-descriptions-item
label=
"薪资要求"
>
{{ item.salaryMin }}-{{ item.salaryMax }}
</el-descriptions-item>
<el-descriptions-item
label=
"工作性质"
>
{{ item.workType }}
</el-descriptions-item>
</el-descriptions>
<el-descriptions
:title=
"`工作经历${index + 1}`"
v-for=
"(item,index) in lookInfo.workExperience"
>
<el-descriptions-item
label=
"公司名称"
>
{{ item.orgName }}
</el-descriptions-item>
<el-descriptions-item
label=
"职位名称"
>
{{ item.job }}
</el-descriptions-item>
<el-descriptions-item
label=
"在职时间"
>
{{ item.startTime }} ~ {{ item.endTime }}
</el-descriptions-item>
<el-descriptions-item
label=
"所属行业"
>
{{ item.industryName }}
</el-descriptions-item>
<el-descriptions-item
label=
"月薪"
>
{{ item.money }}
</el-descriptions-item>
<el-descriptions-item></el-descriptions-item>
<el-descriptions-item
label=
"工作描述"
>
{{ item.descr }}
</el-descriptions-item>
</el-descriptions>
<el-descriptions
:title=
"`教育经历${index + 1}`"
v-for=
"(item,index) in lookInfo.educationalBackground"
>
<el-descriptions-item
label=
"最高学历"
>
{{ item.qualification }}
</el-descriptions-item>
<el-descriptions-item
label=
"学校名称"
>
{{ item.school }}
</el-descriptions-item>
<el-descriptions-item
label=
"所学专业"
>
{{ item.major }}
</el-descriptions-item>
<el-descriptions-item
label=
"在校时间"
>
{{ item.startTime }} ~ {{ item.endTime }}
</el-descriptions-item>
</el-descriptions>
<
template
#
footer
>
<div
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"lookShow = false"
>
关 闭
</el-button>
</div>
</
template
>
</el-dialog>
</div>
</template>
<
script
setup
>
import
{
personList
,
personDel
}
from
"@/api/personnel"
;
import
{
personList
,
personDel
,
workExperienceList
,
personEducational
,
objectiveIndustry
}
from
"@/api/personnel"
;
import
{
ref
}
from
"vue"
;
const
{
proxy
}
=
getCurrentInstance
();
const
list
=
ref
([]);
...
...
@@ -42,6 +78,31 @@ const queryParams = ref({
pageNum
:
1
,
pageSize
:
10
,
})
const
lookShow
=
ref
(
false
);
const
lookInfo
=
ref
({
userInfo
:
{},
// 基本信息
careerObjective
:
[],
// 求职意向
workExperience
:
[],
// 工作经历
educationalBackground
:
[],
// 教育经历
});
function
look
(
row
)
{
lookShow
.
value
=
true
lookInfo
.
value
=
{
userInfo
:
row
,
careerObjective
:
[],
workExperience
:
[],
educationalBackground
:
[],
}
workExperienceList
({
personId
:
row
.
id
}).
then
(
res
=>
{
lookInfo
.
value
.
workExperience
=
res
.
data
.
list
})
personEducational
({
personId
:
row
.
id
}).
then
(
res
=>
{
lookInfo
.
value
.
educationalBackground
=
res
.
data
.
list
})
objectiveIndustry
({
personId
:
row
.
id
}).
then
(
res
=>
{
lookInfo
.
value
.
careerObjective
=
res
.
data
.
list
})
}
/** 查询列表 */
function
getList
()
{
const
form
=
{
...
queryParams
.
value
}
...
...
src/views/recruit/add.vue
浏览文件 @
097bd22b
<
template
>
<div
class=
"recruitAdd"
>
<el-dialog
:title=
"form.id ?
'编辑岗位信息' : '岗位发布'"
v-model=
"dialogShow"
width=
"1200px"
@
open=
"dialogOpen"
@
close=
"dialogClose"
:close-on-click-modal=
"false"
>
<el-dialog
:title=
"form.id ?
form.title : '岗位发布'"
v-model=
"dialogShow"
width=
"1200px"
@
open=
"dialogOpen"
@
close=
"dialogClose"
:close-on-click-modal=
"false"
fullscreen
>
<el-form
:model=
"form"
:rules=
"rules"
label-width=
"100px"
style=
"padding-right: 40px;"
ref=
"addRef"
>
<el-form-item
label=
"招聘企业"
prop=
"orgId"
>
<el-select
...
...
@@ -8,6 +8,7 @@
placeholder=
"请选择"
filterable
style=
"width: 100%"
:disabled=
"form.title == '岗位详情'"
>
<el-option
v-for=
"item in orgList"
...
...
@@ -18,7 +19,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
"职位名称"
prop=
"name"
>
<el-input
v-model=
"form.name"
placeholder=
"请输入"
/>
<el-input
v-model=
"form.name"
placeholder=
"请输入"
:disabled=
"form.title == '岗位详情'"
/>
</el-form-item>
<el-form-item
label=
"职位类型"
prop=
"industry"
>
<el-cascader
...
...
@@ -27,6 +28,7 @@
:show-all-levels=
"false"
@
change=
"(e)=>
{console.log(e)}"
style="width: 100%"
:disabled="form.title == '岗位详情'"
:props="{
value: 'name',
label: 'name',
...
...
@@ -40,6 +42,7 @@
placeholder=
"请选择"
filterable
style=
"width: 100%"
:disabled=
"form.title == '岗位详情'"
>
<el-option
v-for=
"item in recruitAllList"
...
...
@@ -55,6 +58,7 @@
placeholder=
"请选择"
filterable
style=
"width: 100%"
:disabled=
"form.title == '岗位详情'"
>
<el-option
v-for=
"item in qualificationList"
...
...
@@ -70,6 +74,7 @@
placeholder=
"请选择"
filterable
style=
"width: 100%"
:disabled=
"form.title == '岗位详情'"
>
<el-option
v-for=
"item in experienceList"
...
...
@@ -88,6 +93,7 @@
end-placeholder=
"结束时间"
v-model=
"form.time"
value-format=
"YYYYMMDD"
:disabled=
"form.title == '岗位详情'"
/>
</el-form-item>
<el-form-item
label=
"招聘人数"
prop=
"times"
>
...
...
@@ -99,6 +105,7 @@
:min=
"1"
:controls=
"false"
style=
"width: 100%;"
:disabled=
"form.title == '岗位详情'"
/>
</el-form-item>
<el-form-item
label=
"薪资待遇"
prop=
"salaryMin"
>
...
...
@@ -110,6 +117,7 @@
filterable
style=
"width: 100%"
@
change=
"salaryMinChange"
:disabled=
"form.title == '岗位详情'"
>
<el-option
v-for=
"item in salaryMinList"
...
...
@@ -123,6 +131,7 @@
placeholder=
"请选择"
filterable
style=
"width: 100%"
:disabled=
"form.title == '岗位详情'"
>
<el-option
v-for=
"item in salaryMaxList"
...
...
@@ -136,6 +145,7 @@
placeholder=
"请选择"
filterable
style=
"width: 100%"
:disabled=
"form.title == '岗位详情'"
>
<el-option
v-for=
"item in payTimeList"
...
...
@@ -147,7 +157,7 @@
</div>
</el-form-item>
<el-form-item
label=
"绩效奖金"
prop=
"bonus"
>
<el-input
v-model=
"form.bonus"
placeholder=
"请输入"
/>
<el-input
v-model=
"form.bonus"
placeholder=
"请输入"
:disabled=
"form.title == '岗位详情'"
/>
</el-form-item>
<el-form-item
label=
"地址"
prop=
"area"
>
<el-cascader
...
...
@@ -156,21 +166,21 @@
@
change=
"(e)=>
{console.log(e)}"
style="width: 100%"
:props="{ value: 'label' }"
:disabled="form.title == '岗位详情'"
/>
</el-form-item>
<el-form-item>
</el-form-item>
<el-form-item
label=
"详细地址"
prop=
"address"
>
<el-input
v-model=
"form.address"
placeholder=
"请输入"
type=
"textarea"
rows=
"6
"
/>
<el-input
v-model=
"form.address"
placeholder=
"请输入"
:disabled=
"form.title == '岗位详情'
"
/>
</el-form-item>
<el-form-item
label=
"职位描述"
prop=
"details"
>
<el-input
type=
"textarea"
v-model=
"form.details"
rows=
"
6"
placeholder=
"请输入"
/>
<el-form-item
label=
"职位描述"
prop=
"details"
class=
"w100"
>
<el-input
type=
"textarea"
v-model=
"form.details"
rows=
"
15"
placeholder=
"请输入"
:disabled=
"form.title == '岗位详情'"
/>
</el-form-item>
</el-form>
<template
#
footer
>
<span
class=
"dialog-footer"
>
<el-button
@
click=
"calcel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
>
提交
</el-button>
<span
class=
"dialog-footer"
style=
"text-align: center;width: 100%;display: block;"
>
<el-button
@
click=
"calcel"
v-if=
"form.title != '岗位详情'"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"calcel"
v-if=
"form.title == '岗位详情'"
>
关 闭
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
v-if=
"form.title != '岗位详情'"
>
提交
</el-button>
</span>
</
template
>
</el-dialog>
...
...
@@ -281,6 +291,7 @@ function dialogOpen(){
if
(
props
.
detailInfo
.
id
)
{
form
.
value
=
{
id
:
props
.
detailInfo
.
id
,
title
:
props
.
detailInfo
.
title
,
orgId
:
props
.
detailInfo
.
orgId
,
name
:
props
.
detailInfo
.
name
,
recruitTypeId
:
props
.
detailInfo
.
recruitTypeId
,
...
...
@@ -350,7 +361,10 @@ function submit() {
flex-wrap
:
wrap
;
justify-content
:
space-between
;
.el-form-item
{
width
:
48%
;
width
:
33%
;
}
.el-form-item.w100
{
width
:
100%
;
}
}
.el-input-number
{
...
...
src/views/recruit/index.vue
浏览文件 @
097bd22b
...
...
@@ -93,11 +93,12 @@
</
template
>
</el-table-column>
<el-table-column
label=
"创建时间"
prop=
"createTime"
align=
"center"
width=
"160"
/>
<el-table-column
label=
"操作"
width=
"2
3
0"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
width=
"2
8
0"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
#
default=
"{row}"
>
<el-button
v-if=
"row.status == 'up'"
link
type=
"primary"
icon=
"Edit"
@
click=
"toggleStatus(row)"
>
下架
</el-button>
<el-button
v-if=
"row.status == 'down'"
link
type=
"primary"
icon=
"Edit"
@
click=
"toggleStatus(row)"
>
上架
</el-button>
<el-button
v-if=
"row.status == 'down'"
link
type=
"primary"
icon=
"Edit"
@
click=
"visibleOpenpay = true; detailInfo = row"
>
编辑
</el-button>
<el-button
v-if=
"row.status == 'down'"
link
type=
"primary"
icon=
"Edit"
@
click=
"visibleOpenpay = true; detailInfo =
{...row,title: '编辑岗位信息'}">编辑
</el-button>
<el-button
link
type=
"primary"
icon=
"View"
@
click=
"visibleOpenpay = true; detailInfo =
{...row,title: '岗位详情'}">详情
</el-button>
<el-button
v-if=
"row.status == 'down'"
link
type=
"primary"
icon=
"Delete"
@
click=
"del(row)"
>
删除
</el-button>
</
template
>
</el-table-column>
...
...
src/views/registration/index.vue
浏览文件 @
097bd22b
...
...
@@ -16,7 +16,11 @@
</el-form-item>
</el-form>
<el-table
v-loading=
"loading"
:data=
"list"
show-overflow-tooltip
>
<el-table-column
label=
"报名时间"
prop=
"updateTime"
/>
<el-table-column
label=
"报名时间"
prop=
"rtTime"
>
<template
#
default=
"
{row}">
{{
row
.
rtTime
||
row
.
createTime
}}
</
template
>
</el-table-column>
<el-table-column
label=
"报名企业"
prop=
"orgName"
/>
<el-table-column
label=
"报名职位"
prop=
"name"
/>
<el-table-column
label=
"姓名"
>
...
...
@@ -66,6 +70,7 @@
<el-descriptions-item
label=
"在职时间"
>
{{ item.startTime }} ~ {{ item.endTime }}
</el-descriptions-item>
<el-descriptions-item
label=
"所属行业"
>
{{ item.industryName }}
</el-descriptions-item>
<el-descriptions-item
label=
"月薪"
>
{{ item.money }}
</el-descriptions-item>
<el-descriptions-item></el-descriptions-item>
<el-descriptions-item
label=
"工作描述"
>
{{ item.descr }}
</el-descriptions-item>
</el-descriptions>
<el-descriptions
:title=
"`教育经历${index + 1}`"
v-for=
"(item,index) in lookInfo.educationalBackground"
>
...
...
@@ -96,7 +101,6 @@ const lookInfo = ref({
careerObjective
:
[],
// 求职意向
workExperience
:
[],
// 工作经历
educationalBackground
:
[],
// 教育经历
});
const
lookShow
=
ref
(
false
);
const
queryParams
=
ref
({
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论