mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 08:16:46 +08:00
面授细节优化
This commit is contained in:
@@ -712,14 +712,14 @@
|
||||
<div class="st_main">
|
||||
<div class="stm_inputbtn">
|
||||
<a-input
|
||||
v-model:value="kk_inputV1"
|
||||
v-model:value="kk_inputV0"
|
||||
style="
|
||||
width: 270px;
|
||||
height: 40px;
|
||||
border-radius: 8px;
|
||||
margin-right: 14px;
|
||||
"
|
||||
placeholder="请输入创建人"
|
||||
placeholder="请输入开课名称"
|
||||
/>
|
||||
<a-input
|
||||
v-model:value="kk_inputV2"
|
||||
@@ -729,7 +729,17 @@
|
||||
border-radius: 8px;
|
||||
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">
|
||||
<!-- <a-date-picker
|
||||
@@ -873,7 +883,9 @@
|
||||
</div>
|
||||
</template>
|
||||
<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>
|
||||
</a-table>
|
||||
<div class="tableBox" style="margin-top: 50px">
|
||||
@@ -2065,10 +2077,12 @@ const columns6 = [
|
||||
ellipsis: true,
|
||||
customRender: ( text ) => {
|
||||
return(
|
||||
<div style="display:flex;justify-content:center;align-items:center;">
|
||||
<span>{text.record.courseScore || '0'}</span>
|
||||
<div class="daochu" onClick={()=>downPin(text.record)} title="导出评估信息"></div>
|
||||
</div>
|
||||
text.record && text.record.courseScore != -1 ?
|
||||
<div style="display:flex;justify-content:center;align-items:center;">
|
||||
<span>{text.record.courseScore || '0'}</span>
|
||||
<div class="daochu" onClick={()=>downPin(text.record)} title="导出评估信息"></div>
|
||||
</div>
|
||||
: '-'
|
||||
)
|
||||
},
|
||||
},
|
||||
@@ -2777,6 +2791,7 @@ export default defineComponent({
|
||||
pageSize222: 10,
|
||||
currentPage222: 1,
|
||||
tableDataTotal222: 0,
|
||||
kk_inputV0: '',
|
||||
kk_inputV1: "",
|
||||
kk_inputV2: "",
|
||||
selectTime: "",
|
||||
@@ -3642,7 +3657,8 @@ function onFocusEnd(){
|
||||
pageNo: type?state.currentPage2:state.currentPage222,
|
||||
pageSize: state.pageSize222,
|
||||
createName: state.kk_inputV1,
|
||||
// teacher: state.kk_inputV2,
|
||||
teacher: state.kk_inputV2,
|
||||
name: state.kk_inputV0,
|
||||
beginTime: beginTime,
|
||||
endTime: endTime,
|
||||
offcourseId: state.offcourseId,
|
||||
@@ -4253,11 +4269,13 @@ function onFocusEnd(){
|
||||
{
|
||||
title: "作业状态",
|
||||
width: "8%",
|
||||
dataIndex: "workScore",
|
||||
dataIndex: "workStatus",
|
||||
key: "5",
|
||||
align: "center",
|
||||
customRender: ({ record }) => {
|
||||
switch (String(record.workScore)) {
|
||||
switch (String(record.workStatus)) {
|
||||
case "null":
|
||||
return "未完成";
|
||||
case "0":
|
||||
return "未完成";
|
||||
case "1":
|
||||
@@ -4888,6 +4906,7 @@ function onFocusEnd(){
|
||||
getTableDate3();
|
||||
};
|
||||
const handleRestTable = () => {
|
||||
state.kk_inputV0 = '';
|
||||
state.kk_inputV1 = "";
|
||||
state.kk_inputV2 = "";
|
||||
state.selectTime = "";
|
||||
|
||||
Reference in New Issue
Block a user