mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 23:36:46 +08:00
feat:修改面授评分
This commit is contained in:
@@ -1211,10 +1211,13 @@
|
||||
{{ currentPlanItem.name }}课程-第1期-
|
||||
{{ currentPlanItem.createTime }}
|
||||
</span>
|
||||
<span
|
||||
style="color: #ffb751"
|
||||
v-if="currentPlanItem.courseScore !== -1"
|
||||
>已开课 {{ currentPlanItem.courseScore }}</span
|
||||
<span style="color: #ffb751"
|
||||
>已开课
|
||||
{{
|
||||
currentPlanItem.courseScore !== -1
|
||||
? currentPlanItem.courseScore
|
||||
: "-"
|
||||
}}</span
|
||||
>
|
||||
</div>
|
||||
<div class="stmm_i2">
|
||||
@@ -3817,7 +3820,37 @@ export default defineComponent({
|
||||
customRender: ({ record }) =>
|
||||
record.assessmentStatus ? "已评估" : "未评估",
|
||||
},
|
||||
|
||||
{
|
||||
title: "评分",
|
||||
width: "8%",
|
||||
dataIndex: "studentScore",
|
||||
key: "8",
|
||||
align: "center",
|
||||
customRender: ({ record }) => {
|
||||
return (
|
||||
<div class="racona">
|
||||
{record.studentScore !== -1 ? record.studentScore : "-"}
|
||||
</div>
|
||||
);
|
||||
// switch (String(record.status)) {
|
||||
// case "0":
|
||||
// return (
|
||||
// <span
|
||||
// style={{ color: "#4EA6FF", cursor: "pointer" }}
|
||||
// onClick={() => {
|
||||
// handlJoinStu(record);
|
||||
// }}
|
||||
// >
|
||||
// 成绩录入
|
||||
// </span>
|
||||
// );
|
||||
// case "1":
|
||||
// return "-";
|
||||
// case "2":
|
||||
// return "-";
|
||||
// }
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "作业成绩",
|
||||
width: "8%",
|
||||
@@ -3899,17 +3932,17 @@ export default defineComponent({
|
||||
},
|
||||
},
|
||||
];
|
||||
if (itm.courseScore !== -1) {
|
||||
let obj = {
|
||||
title: "评分",
|
||||
width: "8%",
|
||||
dataIndex: "studentScore",
|
||||
key: "8",
|
||||
align: "center",
|
||||
};
|
||||
// if (itm.courseScore !== -1) {
|
||||
// let obj = {
|
||||
// title: "评分",
|
||||
// width: "8%",
|
||||
// dataIndex: "studentScore",
|
||||
// key: "8",
|
||||
// align: "center",
|
||||
// };
|
||||
|
||||
state.stuColumns.splice(6, 0, obj);
|
||||
}
|
||||
// state.stuColumns.splice(6, 0, obj);
|
||||
// }
|
||||
};
|
||||
const handelGuan = (itm) => {
|
||||
console.log("开课信息", itm);
|
||||
|
||||
Reference in New Issue
Block a user