Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jy_jfb_vue
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
jy_jfb_vue
Commits
a8fe0ac8
提交
a8fe0ac8
authored
10月 23, 2025
作者:
赵世杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1
上级
6bf5a8c3
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
64 行增加
和
2 行删除
+64
-2
personnel.js
src/api/personnel.js
+7
-0
index.vue
src/views/registration/index.vue
+57
-2
没有找到文件。
src/api/personnel.js
浏览文件 @
a8fe0ac8
...
@@ -43,3 +43,10 @@ export function workExperienceList(query) {
...
@@ -43,3 +43,10 @@ export function workExperienceList(query) {
params
:
query
params
:
query
})
})
}
}
export
function
updateState
(
query
)
{
return
request
({
url
:
'/public/ali/update/state'
,
method
:
'post'
,
data
:
query
})
}
src/views/registration/index.vue
浏览文件 @
a8fe0ac8
...
@@ -43,9 +43,20 @@
...
@@ -43,9 +43,20 @@
{{
row
.
person
&&
row
.
person
.
idNo
}}
{{
row
.
person
&&
row
.
person
.
idNo
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
width=
"160"
align=
"center"
>
<el-table-column
label=
"状态"
width=
"160"
align=
"center"
>
<
template
#
default=
"{row}"
>
{{
row
.
recordState
==
'INTERVIEW'
?
'面试中'
:
''
}}
{{
row
.
recordState
==
'APPLY_FAILED'
?
'未录取'
:
''
}}
{{
row
.
recordState
==
'APPLY_SUCCESS'
?
'已录取'
:
''
}}
{{
row
.
recordState
==
'ON_BOARDING'
?
'已入职'
:
''
}}
{{
row
.
recordState
==
'INVITING_INTERVIEW'
?
'邀请面试'
:
''
}}
{{
row
.
recordState
==
'APPLYING'
?
'提交简历'
:
''
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"200"
align=
"center"
>
<
template
#
default=
"{row}"
>
<
template
#
default=
"{row}"
>
<el-button
link
type=
"primary"
icon=
"View"
@
click=
"look(row)"
>
简历查看
</el-button>
<el-button
link
type=
"primary"
icon=
"View"
@
click=
"look(row)"
>
简历查看
</el-button>
<el-button
link
type=
"primary"
icon=
"Edit"
@
click=
"edit(row)"
>
修改状态
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -85,17 +96,39 @@
...
@@ -85,17 +96,39 @@
</div>
</div>
</
template
>
</
template
>
</el-dialog>
</el-dialog>
<el-dialog
title=
"修改状态"
v-model=
"open"
width=
"400px"
append-to-body
>
<el-form
ref=
"postRef"
label-width=
"80px"
>
<el-form-item
label=
"状态"
prop=
"state"
>
<el-select
clearable
v-model=
"state"
placeholder=
"请选择"
style=
"width: 100%;"
>
<el-option
label=
"面试中"
value=
"INTERVIEW"
/>
<el-option
label=
"未录取"
value=
"APPLY_FAILED"
/>
<el-option
label=
"已录取"
value=
"APPLY_SUCCESS"
/>
<el-option
label=
"已入职"
value=
"ON_BOARDING"
/>
<el-option
label=
"邀请面试"
value=
"INVITING_INTERVIEW"
/>
</el-select>
</el-form-item>
</el-form>
<
template
#
footer
>
<div
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
提 交
</el-button>
<el-button
@
click=
"open = false"
>
取 消
</el-button>
</div>
</
template
>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
setup
>
<
script
setup
>
import
{
signRecordList
,
workExperienceList
,
personEducational
,
objectiveIndustry
}
from
"@/api/personnel"
;
import
{
signRecordList
,
workExperienceList
,
personEducational
,
objectiveIndustry
,
updateState
}
from
"@/api/personnel"
;
import
{
ref
}
from
"vue"
;
import
{
ref
}
from
"vue"
;
const
{
proxy
}
=
getCurrentInstance
();
const
{
proxy
}
=
getCurrentInstance
();
const
list
=
ref
([]);
const
list
=
ref
([]);
const
loading
=
ref
(
false
);
const
loading
=
ref
(
false
);
const
total
=
ref
(
0
);
const
total
=
ref
(
0
);
const
state
=
ref
(
''
);
// 修改状态
const
open
=
ref
(
false
);
const
rowInfo
=
ref
({});
const
lookInfo
=
ref
({
const
lookInfo
=
ref
({
userInfo
:
{},
// 基本信息
userInfo
:
{},
// 基本信息
careerObjective
:
[],
// 求职意向
careerObjective
:
[],
// 求职意向
...
@@ -125,6 +158,28 @@ function look(row) {
...
@@ -125,6 +158,28 @@ function look(row) {
lookInfo
.
value
.
careerObjective
=
res
.
data
.
list
lookInfo
.
value
.
careerObjective
=
res
.
data
.
list
})
})
}
}
function
edit
(
row
)
{
open
.
value
=
true
;
debugger
rowInfo
.
value
=
row
;
}
function
submitForm
()
{
if
(
!
state
.
value
)
{
return
proxy
.
$modal
.
msgError
(
'请选择状态'
);
}
debugger
updateState
({
state
:
state
.
value
,
openId
:
rowInfo
.
value
.
person
.
openId
,
recruitId
:
rowInfo
.
value
.
id
,
recordId
:
rowInfo
.
value
.
recordId
,
// id: rowInfo.value.id,
}).
then
(
res
=>
{
getList
();
proxy
.
$modal
.
msgSuccess
(
'修改成功'
);
open
.
value
=
false
;
})
}
/** 查询列表 */
/** 查询列表 */
function
getList
()
{
function
getList
()
{
const
form
=
{
...
queryParams
.
value
}
const
form
=
{
...
queryParams
.
value
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论