Merge branch 'zcwy_1009_bug' into dev_master

This commit is contained in:
nisen
2024-10-22 18:30:52 +08:00
2 changed files with 23 additions and 3 deletions

View File

@@ -500,13 +500,21 @@ const audiColums = ref([
ellipsis: true, ellipsis: true,
}, },
{ {
title: "人数", title: "人数",
dataIndex: "totalMember", dataIndex: "totalMember",
key: "totalMember", key: "totalMember",
width: 30, width: 30,
align: "center", align: "center",
className: "h", className: "h",
}, },
{
title: "在职人数",
dataIndex: "workMember",
key: "workMember",
width: 30,
align: "center",
className: "h",
},
]); ]);
const orgSelectKeys = ref([]); const orgSelectKeys = ref([]);
const auditTableRef = ref(); const auditTableRef = ref();
@@ -612,7 +620,7 @@ const submitAuth = () => {
function handleDialogOk() { function handleDialogOk() {
if (auditSelectRowKeys.value.length || deptList.value.length) { if (auditSelectRowKeys.value.length || deptList.value.length) {
dialog({ content: "您选择了组织或受众,此添加为异步添加,请稍后手动刷新学员!", ok: handleStageOk }); dialog({ content: "您选择了组织或受众,此添加为异步添加,请稍后手动刷新学员!(本次添加只添加在职人员)", ok: handleStageOk });
return; return;
} }
handleStageOk(); handleStageOk();

View File

@@ -693,7 +693,7 @@ const column = [
}, },
}, },
{ {
title: "人数", title: "人数",
dataIndex: "members", dataIndex: "members",
key: "members", key: "members",
width: "5%", width: "5%",
@@ -704,6 +704,18 @@ const column = [
return text ? text : "-"; return text ? text : "-";
}, },
}, },
{
title: "在职人数",
dataIndex: "workMembers",
key: "workMembers",
width: "5%",
align: "center",
ellipsis: true,
className: "h",
customRender: ({ text }) => {
return text ? text : "-";
},
},
{ {
title: "状态", title: "状态",
dataIndex: "state", dataIndex: "state",