mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
提交
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user