This commit is contained in:
yuping
2023-01-12 01:37:28 +08:00
parent f8068bb712
commit c04574fc40
8 changed files with 46 additions and 57 deletions

View File

@@ -3067,14 +3067,7 @@ export default defineComponent({
dataIndex: "evastatus",
key: "8",
align: "center",
customRender: ({ record }) => {
switch (String(record.evalStatus)) {
case "0":
return "未评估";
case "1":
return "已评估";
}
},
customRender: ({record}) => record.assessmentStatus ? '已评估' : '未评估'
},
{
title: "作业成绩",
@@ -3085,8 +3078,8 @@ export default defineComponent({
customRender: ({ record }) => {
return (
<div class="racona">
{record.workScore ? (
<span>{record.workScore}</span>
{record.score ? (
<span>{record.score}</span>
) : (
<span
style={{ color: "#4EA6FF", cursor: "pointer" }}
@@ -3121,16 +3114,17 @@ export default defineComponent({
{
title: "考试成绩",
width: "15%",
dataIndex: "evastatus",
dataIndex: "examinationScore",
key: "8",
align: "center",
},
{
title: "结业状态",
width: "15%",
dataIndex: "evastatus",
dataIndex: "completionStatus",
key: "8",
align: "center",
customRender: ({ record }) => <div>{{1:'结业'}[record.completionStatus] || '-'}</div>,
},
],
shipType: 1,
@@ -4761,6 +4755,7 @@ export default defineComponent({
};
const handleJoin = async () => {
state.lrcj_inputV1 || message.error("请输入成绩")
if (state.rg_hs) {
if (state.piliang) {
api1.updateStudent({