'单位信息、从业人员管理、申请人员、申请人员、保安待培训人员管理、保安培训项目管理、保安考试管理页面对接处理'

This commit is contained in:
esacpe
2025-09-23 18:03:42 +08:00
parent 446099015c
commit c23bcb30df
24 changed files with 504 additions and 313 deletions

View File

@ -59,13 +59,13 @@ const searchConfiger = ref([
},
{
label: "所属保安公司",
prop: "sfzh",
prop: "",
placeholder: "请选择所属保安公司",
showType: "select"
},
{
label: "提交日期",
prop: "sfzh",
prop: "",
placeholder: "请选择提交日期",
showType: "date"
}
@ -81,6 +81,7 @@ const pageData = reactive({
},
total: 0,
pageConfiger: {
sfcjpx: 0, // 是否参加培训
pageSize: 10,
pageCurrent: 1
},
@ -89,9 +90,9 @@ const pageData = reactive({
{ label: "姓名", prop: "xm" },
{ label: "身份证号", prop: "sfzh" },
{ label: "联系方式", prop: "lxdh" },
{ label: "所属保安公司", prop: "pxgs" },
{ label: "线上培训时长", prop: "pxgs" },
{ label: "提交日期", prop: "pxgs" },
{ label: "所属保安公司", prop: "" },
{ label: "线上培训时长", prop: "pxsc" },
{ label: "提交日期", prop: "" },
]
});
@ -114,6 +115,20 @@ const onSearch = (value) => {
getList();
}
// 删除
const handleDelete = async (ids) => {
await proxy.$modal.confirm("是否确认删除该培训人员?")
try {
await qcckPost({ ids }, "/mosty-base/baxx/pxry/remove")
proxy.$modal.msgSuccess("删除成功");
await getList();
} catch (error) {
proxy.$modal.msgError("删除失败");
console.log(error)
}
};
const getList = async () => {
try {
pageData.tableConfiger.loading = true;