面授细节优化

This commit is contained in:
zhangsir
2024-09-30 11:14:44 +08:00
parent beaac1e773
commit 4aa433428e

View File

@@ -712,14 +712,14 @@
<div class="st_main"> <div class="st_main">
<div class="stm_inputbtn"> <div class="stm_inputbtn">
<a-input <a-input
v-model:value="kk_inputV1" v-model:value="kk_inputV0"
style=" style="
width: 270px; width: 270px;
height: 40px; height: 40px;
border-radius: 8px; border-radius: 8px;
margin-right: 14px; margin-right: 14px;
" "
placeholder="请输入创建人" placeholder="请输入开课名称"
/> />
<a-input <a-input
v-model:value="kk_inputV2" v-model:value="kk_inputV2"
@@ -729,7 +729,17 @@
border-radius: 8px; border-radius: 8px;
margin-right: 14px; margin-right: 14px;
" "
placeholder="请输入教师名称" placeholder="请输入授课教师姓名/工号"
/>
<a-input
v-model:value="kk_inputV1"
style="
width: 270px;
height: 40px;
border-radius: 8px;
margin-right: 14px;
"
placeholder="请输入创建人姓名/工号"
/> />
<div class="select"> <div class="select">
<!-- <a-date-picker <!-- <a-date-picker
@@ -873,7 +883,9 @@
</div> </div>
</template> </template>
<template #teacherName="{record}"> <template #teacherName="{record}">
<div :title="moreLine(record.offteachers)">{{record.offteachers.map(item=>item.teacherName).join(',')}}</div> <div :title="moreLine(record.offteachers)">
{{record.offteachers.map(item=>item.name).length > 3 ? record.offteachers.map(item=>item.name).slice(0,3).join(',')+'...':record.offteachers.map(item=>item.name).join(',') }}
</div>
</template> </template>
</a-table> </a-table>
<div class="tableBox" style="margin-top: 50px"> <div class="tableBox" style="margin-top: 50px">
@@ -2065,10 +2077,12 @@ const columns6 = [
ellipsis: true, ellipsis: true,
customRender: ( text ) => { customRender: ( text ) => {
return( return(
text.record && text.record.courseScore != -1 ?
<div style="display:flex;justify-content:center;align-items:center;"> <div style="display:flex;justify-content:center;align-items:center;">
<span>{text.record.courseScore || '0'}</span> <span>{text.record.courseScore || '0'}</span>
<div class="daochu" onClick={()=>downPin(text.record)} title="导出评估信息"></div> <div class="daochu" onClick={()=>downPin(text.record)} title="导出评估信息"></div>
</div> </div>
: '-'
) )
}, },
}, },
@@ -2777,6 +2791,7 @@ export default defineComponent({
pageSize222: 10, pageSize222: 10,
currentPage222: 1, currentPage222: 1,
tableDataTotal222: 0, tableDataTotal222: 0,
kk_inputV0: '',
kk_inputV1: "", kk_inputV1: "",
kk_inputV2: "", kk_inputV2: "",
selectTime: "", selectTime: "",
@@ -3642,7 +3657,8 @@ function onFocusEnd(){
pageNo: type?state.currentPage2:state.currentPage222, pageNo: type?state.currentPage2:state.currentPage222,
pageSize: state.pageSize222, pageSize: state.pageSize222,
createName: state.kk_inputV1, createName: state.kk_inputV1,
// teacher: state.kk_inputV2, teacher: state.kk_inputV2,
name: state.kk_inputV0,
beginTime: beginTime, beginTime: beginTime,
endTime: endTime, endTime: endTime,
offcourseId: state.offcourseId, offcourseId: state.offcourseId,
@@ -4253,11 +4269,13 @@ function onFocusEnd(){
{ {
title: "作业状态", title: "作业状态",
width: "8%", width: "8%",
dataIndex: "workScore", dataIndex: "workStatus",
key: "5", key: "5",
align: "center", align: "center",
customRender: ({ record }) => { customRender: ({ record }) => {
switch (String(record.workScore)) { switch (String(record.workStatus)) {
case "null":
return "未完成";
case "0": case "0":
return "未完成"; return "未完成";
case "1": case "1":
@@ -4888,6 +4906,7 @@ function onFocusEnd(){
getTableDate3(); getTableDate3();
}; };
const handleRestTable = () => { const handleRestTable = () => {
state.kk_inputV0 = '';
state.kk_inputV1 = ""; state.kk_inputV1 = "";
state.kk_inputV2 = ""; state.kk_inputV2 = "";
state.selectTime = ""; state.selectTime = "";