This commit is contained in:
ocya
2024-05-12 00:29:58 +08:00
parent babe05c7d4
commit a4001cfcf2
4 changed files with 16 additions and 6 deletions

View File

@@ -96,11 +96,11 @@
</div>
<div class="cancel" style="margin-left: 15px"></div>
</div>
<!-- <div v-if="downloadErrUrl !== ''" class="defeat">
<div class="defeat">
<div class="detext" @click="downloadEeeorData">
下载失败数据
</div>
</div> -->
</div>
</div>
</div>
<div
@@ -221,6 +221,7 @@ export default {
showBottomBar: false, // 显示底部成功条数和失败条数
fileName: "",
successIds: [],
errorIds: [],
});
const headers = { token: getCookieForName("token") };
const userInfo = computed(() => store.state.userInfo);
@@ -233,6 +234,7 @@ export default {
console.log(res,'res')
})
state.successIds = []
state.errorIds = []
// clearInterval(state.timers);
state.fileList = [];
state.uploadpercent = -1;
@@ -283,6 +285,7 @@ export default {
examineId: props.courseId,
});
state.successIds = info.file.response.data.successIds
state.errorIds = info.file.response.data.failIds
state.fileName = info.file.name;
let i = 0;
// state.timers = setInterval(() => {
@@ -325,7 +328,7 @@ export default {
// 下载失败数据
const downloadEeeorData = () => {
if (state.downloadErrUrl !== "") {
window.open(process.env.VUE_APP_FILE_PATH + state.downloadErrUrl);
window.open(`/activityApi/teacher/errorExport?ids=${state.errorIds}`);
}
};

View File

@@ -115,6 +115,7 @@ const handleOk = async () => {
//编辑认证
const editFee = (record) => {
console.log(record,'record')
visible.value = true
createParam.value = {...record}
}
//线上学习课列表显示
@@ -136,6 +137,7 @@ const deleteReview = (record) =>{
console.log(res,'res')
if(res.code == 200){
message.success('删除成功')
OnlineLearning()
}
})
}

View File

@@ -559,7 +559,7 @@ const options1 = ref([{
</div>
<div>
<img src="../../assets/images/projectadd/return.png" alt="">
<el-button type="primary" text>返回</el-button>
<el-button type="primary" text @click="$router.push({path:'/InstructorCertification'}) ">返回</el-button>
</div>
</div>

View File

@@ -383,7 +383,12 @@
const teaunm = ref([])
watch(stuSelectRows,(val)=>{
console.log(val,'val')
teaunm.value = val.map((res,index)=>res.id)
teaunm.value = val.map((res,index)=>{
return {
teacherName:res.realName,
teacherNo:res.userNo
}
})
console.log(teaunm.value);
})
const person = ref(false);
@@ -641,7 +646,7 @@ const route = useRoute()
nameSearch.value.keyword = "";
addTutor({
examineId:route.query.id.toString(),
teacherIds: teaunm.value
teachers: teaunm.value
}).then(() => {
deleteDepSelect();
emit("finash", true);