mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 14:56:46 +08:00
修改管理页概览图表数据问题
This commit is contained in:
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user