修改管理页概览图表数据问题

This commit is contained in:
Pengxiansen
2025-01-24 16:44:09 +08:00
parent 7d66fed1f9
commit 042e6e4bd9
3 changed files with 58 additions and 65 deletions

View File

@@ -437,19 +437,19 @@ const tablecolumns = ref([
},
{
title: "完成状态",
dataIndex: "finishStatus",
key: "finishStatus",
dataIndex: "completionStatus",
key: "completionStatus",
width: 100,
align: "center",
className: "h",
ellipsis: true,
customRender: ({ record: { finishStatus } }) =>
customRender: ({ record: { completionStatus } }) =>
({
null: "未开始",
0: "未开始",
1: "已完成",
2: "进行中",
}[finishStatus] || "未开始"),
}[completionStatus] || "未开始"),
},
{
title: "操作",
@@ -632,6 +632,8 @@ function submitCall(selectList) {
tableData.value.loading = false;
message.success("添加成功");
getStuList();
}).catch(err =>{
tableData.value.loading = false;
});
}