'修改保安培训项目'

This commit is contained in:
esacpe
2025-09-25 16:32:35 +08:00
parent e0fa42d9b0
commit bbd3c0e886
5 changed files with 31 additions and 35 deletions

View File

@ -30,9 +30,9 @@
</template>
<!-- 操作 -->
<template #controls="{ row }">
<el-link v-if="!visible && row?.ksfs >= 60" @click="handleCertificate(row)">申请证件</el-link>
<el-link v-if="!visible && row?.kscj >= 60" @click="handleCertificate(row)">申请证件</el-link>
<template v-if="visible && row?.ksfs ==='01'">
<el-link v-if="!row?.ksfs" type="primary" @click="addEdit('updata', row)">上传成绩</el-link>
<el-link v-if="!row?.kscj" type="primary" @click="addEdit('updata', row)">上传成绩</el-link>
<el-link v-else type="primary" @click="addEdit('view', row)">查看成绩</el-link>
</template>
</template>
@ -97,9 +97,9 @@ const pageData = reactive({
{ label: "姓名", prop: "xm" },
{ label: "证件号码", prop: "sfzh" },
{ label: "联系方式", prop: "lxdh" },
{ label: "线上培训时间", prop: "xxpxsc", showSolt: true },
{ label: "线下培训课程", prop: "xxpxkc" },
{ label: "考试成绩", prop: "ksfs" },
{ label: "线上培训时间", prop: "xspxsc", showSolt: true },
{ label: "线下培训课程", prop: "xxpxsc" },
{ label: "考试成绩", prop: "kscj" },
]
});
@ -112,13 +112,10 @@ const close = () => {
// 根据项目id获取培训人员
const getList = async ({ id = "" }, type = '') => {
const res = await qcckPost({
...pageData.pageConfiger,
// sfcjpx: 1,
// ksglid: id
pxxmid: id
}, `/mosty-base/baxx/ksry/list`)
if (res) {
pageData.tableData = res.records || [];
pageData.total = res.total;
pageData.tableData = res || [];
if (!type) emits("refresh");
}
}