|
|
|
@ -19,49 +19,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
style="width: 100%"
|
|
|
|
style="width: 100%"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-table-column prop="sid" label="序号" width="80" align="center" />
|
|
|
|
<el-table-column prop="sid" label="序号" width="80" align="center" />
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
prop="learningProjects"
|
|
|
|
prop="learningProjects"
|
|
|
|
label="学习项目"
|
|
|
|
label="学习项目"
|
|
|
|
width="210"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
prop="assessmentItems"
|
|
|
|
prop="assessmentItems"
|
|
|
|
label="考核项目"
|
|
|
|
label="考核项目"
|
|
|
|
width="150"
|
|
|
|
width="225"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
prop="scoringCriteria"
|
|
|
|
prop="scoringCriteria"
|
|
|
|
label="计分标准"
|
|
|
|
label="计分标准"
|
|
|
|
width="314"
|
|
|
|
width="314"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
prop="totalScore"
|
|
|
|
prop="totalScore"
|
|
|
|
label="总分"
|
|
|
|
label="总分"
|
|
|
|
width="129"
|
|
|
|
width="129"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
prop="scoreWeight"
|
|
|
|
prop="scoreWeight"
|
|
|
|
label="成绩权重"
|
|
|
|
label="成绩权重"
|
|
|
|
width="129"
|
|
|
|
width="129"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
prop="completionStatus"
|
|
|
|
prop="completionStatus"
|
|
|
|
label="完成情况"
|
|
|
|
label="完成情况"
|
|
|
|
width="225"
|
|
|
|
width="225"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
prop="schedule"
|
|
|
|
prop="scoreProject"
|
|
|
|
label="进度"
|
|
|
|
label="得分"
|
|
|
|
align="center"
|
|
|
|
width="131"
|
|
|
|
/>
|
|
|
|
align="center"
|
|
|
|
<el-table-column
|
|
|
|
/>
|
|
|
|
prop="scoreProject"
|
|
|
|
|
|
|
|
label="得分"
|
|
|
|
|
|
|
|
width="131"
|
|
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
|
|
/>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@ -157,7 +161,7 @@
|
|
|
|
// import {Base64} from 'js-base64'
|
|
|
|
// import {Base64} from 'js-base64'
|
|
|
|
// import { useRouter } from "vue-router";
|
|
|
|
// import { useRouter } from "vue-router";
|
|
|
|
import {download} from '@/utils/request.js'
|
|
|
|
import {download} from '@/utils/request.js'
|
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
|
import { getToken,getUserInfo } from '@/utils/auth'
|
|
|
|
import { ElMessage } from "element-plus";
|
|
|
|
import { ElMessage } from "element-plus";
|
|
|
|
|
|
|
|
|
|
|
|
// const router=useRouter();
|
|
|
|
// const router=useRouter();
|
|
|
|
@ -190,6 +194,7 @@
|
|
|
|
scoreProject:null,
|
|
|
|
scoreProject:null,
|
|
|
|
scoreWeight:null,
|
|
|
|
scoreWeight:null,
|
|
|
|
scoringCriteria:"",
|
|
|
|
scoringCriteria:"",
|
|
|
|
|
|
|
|
schedule:'0%',
|
|
|
|
totalScore:100
|
|
|
|
totalScore:100
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -199,6 +204,7 @@
|
|
|
|
scoreProject:null,
|
|
|
|
scoreProject:null,
|
|
|
|
scoreWeight:null,
|
|
|
|
scoreWeight:null,
|
|
|
|
scoringCriteria:"",
|
|
|
|
scoringCriteria:"",
|
|
|
|
|
|
|
|
schedule:'0%',
|
|
|
|
totalScore:100
|
|
|
|
totalScore:100
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -208,6 +214,7 @@
|
|
|
|
scoreProject:null,
|
|
|
|
scoreProject:null,
|
|
|
|
scoreWeight:null,
|
|
|
|
scoreWeight:null,
|
|
|
|
scoringCriteria:"",
|
|
|
|
scoringCriteria:"",
|
|
|
|
|
|
|
|
schedule:'0%',
|
|
|
|
totalScore:100
|
|
|
|
totalScore:100
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -217,6 +224,7 @@
|
|
|
|
scoreProject:null,
|
|
|
|
scoreProject:null,
|
|
|
|
scoreWeight:null,
|
|
|
|
scoreWeight:null,
|
|
|
|
scoringCriteria:"",
|
|
|
|
scoringCriteria:"",
|
|
|
|
|
|
|
|
schedule:'0%',
|
|
|
|
totalScore:100
|
|
|
|
totalScore:100
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -226,6 +234,7 @@
|
|
|
|
scoreProject:null,
|
|
|
|
scoreProject:null,
|
|
|
|
scoreWeight:null,
|
|
|
|
scoreWeight:null,
|
|
|
|
scoringCriteria:"",
|
|
|
|
scoringCriteria:"",
|
|
|
|
|
|
|
|
schedule:'0%',
|
|
|
|
totalScore:100
|
|
|
|
totalScore:100
|
|
|
|
},
|
|
|
|
},
|
|
|
|
])
|
|
|
|
])
|
|
|
|
@ -251,22 +260,22 @@
|
|
|
|
const finalResult = totalWeightedScore;
|
|
|
|
const finalResult = totalWeightedScore;
|
|
|
|
const finalResult1=String(finalResult.toFixed())
|
|
|
|
const finalResult1=String(finalResult.toFixed())
|
|
|
|
const newData = {
|
|
|
|
const newData = {
|
|
|
|
sid: "合计",
|
|
|
|
sid: "合计",
|
|
|
|
project: "",
|
|
|
|
project: "",
|
|
|
|
assessmentItems: "100%",
|
|
|
|
assessmentItems: "100%",
|
|
|
|
scoringCriteria: "/",
|
|
|
|
scoringCriteria: "/",
|
|
|
|
totalScore: finalResult1,
|
|
|
|
totalScore: finalResult,
|
|
|
|
weight: "",
|
|
|
|
weight: "",
|
|
|
|
condition: "",
|
|
|
|
condition: "",
|
|
|
|
score: "",
|
|
|
|
score: "",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tableData4.value.push(newData)
|
|
|
|
tableData4.value.push(newData)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const fileList=ref([])
|
|
|
|
const fileList=ref([])
|
|
|
|
const data=ref({
|
|
|
|
const data=ref({
|
|
|
|
"ascription":'',
|
|
|
|
"ascription":'',
|
|
|
|
"userId":'487',
|
|
|
|
"userId":JSON.parse(getUserInfo()).userId,
|
|
|
|
"schoolId":'232'
|
|
|
|
"schoolId":JSON.parse(getUserInfo()).schoolId
|
|
|
|
})
|
|
|
|
})
|
|
|
|
const handleChange =(info)=> {
|
|
|
|
const handleChange =(info)=> {
|
|
|
|
fileList.value.push(info);
|
|
|
|
fileList.value.push(info);
|
|
|
|
@ -291,7 +300,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const data2={
|
|
|
|
const data2={
|
|
|
|
"userId":'587',
|
|
|
|
"userId":JSON.parse(getUserInfo()).userId,
|
|
|
|
"TOKEN":'Bearer '+getToken()
|
|
|
|
"TOKEN":'Bearer '+getToken()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//下载
|
|
|
|
//下载
|
|
|
|
@ -314,7 +323,7 @@
|
|
|
|
dialogVisible.value=true
|
|
|
|
dialogVisible.value=true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
onMounted(()=>{
|
|
|
|
onMounted(()=>{
|
|
|
|
data.value.module='数字营销'
|
|
|
|
// data.value.module='数字营销'
|
|
|
|
setTimeout(() => {
|
|
|
|
setTimeout(() => {
|
|
|
|
cerateGrade()
|
|
|
|
cerateGrade()
|
|
|
|
}, 300);
|
|
|
|
}, 300);
|
|
|
|
@ -339,6 +348,7 @@
|
|
|
|
tableData4.value[0].completionStatus=`阅读${time.value}分钟`
|
|
|
|
tableData4.value[0].completionStatus=`阅读${time.value}分钟`
|
|
|
|
tableData4.value[0].scoreProject=item.scoreProject
|
|
|
|
tableData4.value[0].scoreProject=item.scoreProject
|
|
|
|
tableData4.value[0].scoreWeight=weight2
|
|
|
|
tableData4.value[0].scoreWeight=weight2
|
|
|
|
|
|
|
|
tableData4.value[0].schedule=item.schedule+'%'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(item.learningProjects==="实验实训"){
|
|
|
|
if(item.learningProjects==="实验实训"){
|
|
|
|
const score=parseFloat(item.scoringCriteria)
|
|
|
|
const score=parseFloat(item.scoringCriteria)
|
|
|
|
@ -350,6 +360,7 @@
|
|
|
|
tableData4.value[3].completionStatus=`输错/选错 ${time.value}次`
|
|
|
|
tableData4.value[3].completionStatus=`输错/选错 ${time.value}次`
|
|
|
|
tableData4.value[3].scoreProject=item.scoreProject
|
|
|
|
tableData4.value[3].scoreProject=item.scoreProject
|
|
|
|
tableData4.value[3].scoreWeight=weight2
|
|
|
|
tableData4.value[3].scoreWeight=weight2
|
|
|
|
|
|
|
|
tableData4.value[3].schedule=item.schedule+'%'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(item.learningProjects==="资源学习"){
|
|
|
|
if(item.learningProjects==="资源学习"){
|
|
|
|
const score=parseFloat(item.scoringCriteria)
|
|
|
|
const score=parseFloat(item.scoringCriteria)
|
|
|
|
@ -361,6 +372,7 @@
|
|
|
|
tableData4.value[1].completionStatus=`观看${time.value}分钟`
|
|
|
|
tableData4.value[1].completionStatus=`观看${time.value}分钟`
|
|
|
|
tableData4.value[1].scoreProject=item.scoreProject
|
|
|
|
tableData4.value[1].scoreProject=item.scoreProject
|
|
|
|
tableData4.value[1].scoreWeight=weight2
|
|
|
|
tableData4.value[1].scoreWeight=weight2
|
|
|
|
|
|
|
|
tableData4.value[1].schedule=item.schedule+'%'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(item.learningProjects==="学习测评"){
|
|
|
|
if(item.learningProjects==="学习测评"){
|
|
|
|
const time = reactive({value: '/'});
|
|
|
|
const time = reactive({value: '/'});
|
|
|
|
@ -372,6 +384,7 @@
|
|
|
|
tableData4.value[2].completionStatus=`错${time.value}道`
|
|
|
|
tableData4.value[2].completionStatus=`错${time.value}道`
|
|
|
|
tableData4.value[2].scoreProject=item.scoreProject
|
|
|
|
tableData4.value[2].scoreProject=item.scoreProject
|
|
|
|
tableData4.value[2].scoreWeight=weight2
|
|
|
|
tableData4.value[2].scoreWeight=weight2
|
|
|
|
|
|
|
|
tableData4.value[2].schedule=item.schedule+'%'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(item.learningProjects==="实训报告"){
|
|
|
|
if(item.learningProjects==="实训报告"){
|
|
|
|
tableData4.value[4].scoringCriteria=`提交实训报告,教师评分`
|
|
|
|
tableData4.value[4].scoringCriteria=`提交实训报告,教师评分`
|
|
|
|
@ -380,6 +393,7 @@
|
|
|
|
tableData4.value[4].scoreProject=item.scoreProject
|
|
|
|
tableData4.value[4].scoreProject=item.scoreProject
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tableData4.value[4].scoreWeight=weight2
|
|
|
|
tableData4.value[4].scoreWeight=weight2
|
|
|
|
|
|
|
|
tableData4.value[4].schedule=item.schedule+'%'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
...item
|
|
|
|
...item
|
|
|
|
|