--fix bug

This commit is contained in:
yuping
2023-03-24 02:43:53 +08:00
parent 615445aea3
commit 3fb0073b11
5 changed files with 9 additions and 23 deletions

View File

@@ -15,4 +15,4 @@ VUE_APP_ONLINE_CLASS_URL=//u-pre.boe.com/mobile/pages/study/courseStudy?id=
VITE_BOE_CASS_DETAIL_URL=//u-pre.boe.com/pc/case/detail?id=
VUE_APP_EXAM_DETAIL_URL=//u-pre.boe.com/mobile/pages/exam/exam?id=
# 批量面授报名模板
VUE_APP_FACE_STUDENT_TEMPLATE=批量面授报名模版-1673963663229.xlsx
VUE_APP_FACE_STUDENT_TEMPLATE=coursefile/批量面授报名模版-1679595849719.xlsx

View File

@@ -31,4 +31,4 @@ VUE_APP_AVATAR_PATH=/upload/
# 旧版管理员界面
VUE_APP_OLD_MANAGE=//u.boe.com/resource/index.html
# 批量面授报名模板
VUE_APP_FACE_STUDENT_TEMPLATE=批量面授报名模版-1673963663229.xlsx
VUE_APP_FACE_STUDENT_TEMPLATE=/file/批量面授报名模版-1679595925822.xlsx

View File

@@ -18,16 +18,9 @@
/>
</div>
<div class="main">
<div v-if="downloadType!==1" class="minatitl">
<div class="up1" style="font-weight: bolder">导入小组长</div>
<!--<div class="up2" @click="downTemplate" style="cursor: pointer">-->
<!--模板-->
<!--</div>-->
</div>
<div v-if="downloadType!==1" class="up1">请先导出小组填写小组长按要求填写数据并导入</div>
<div v-else class="up1">
<div class="up1" v-if="templateUrl">
请下载
<a :href="stuFeceStuTemplateUrl" target="_blank">模版</a>
<a :href="templateUrl" target="_blank">模版</a>
按要求填写并导入
</div>
<div class="upload">
@@ -110,7 +103,6 @@ const props = defineProps({
fileType: Object,
data: Object,
templateUrl: String,
downloadType: Number
})
const emit = defineEmits({})
@@ -132,16 +124,9 @@ const closeDrawer = () => {
fileList.value = [];
};
// 批量面授报名模版
const stuFeceStuTemplateUrl = ref(process.env.VUE_APP_FILE_PATH + process.env.VUE_APP_FACE_STUDENT_TEMPLATE);
function openDrawer() {
visible.value = true
}
//
// function downTemplate() {
// window.open(process.env.VUE_APP_BASE_API + props.templateUrl);
// }
function downloadErrorData(url) {
window.open(process.env.VUE_APP_FILE_PATH + url)

View File

@@ -325,7 +325,7 @@
<div style="flex: 1">
<div class="onerow">
<div class="taskmain">任务大纲</div>
<ImpoterGroupLeader :downloadType="1" title="批量面授报名" :data="{targetId:routerId,type:2}" :url="`/admin/offcourse/importCourse`" :template-url="`/admin/router/exportTaskCoursePlan/${routerId}?type=1&taskType=2&thirdType=3`">
<ImpoterGroupLeader title="批量面授报名" :data="{targetId:routerId,type:2}" :url="`/admin/offcourse/importCourse`" :template-url="templateUrl">
<button class="btn">批量面授报名</button>
</ImpoterGroupLeader>
<router-link
@@ -1691,6 +1691,7 @@ export default {
isreload: true,
TaskFaceImpStuvisible: false,
uploadAction: process.env.VUE_APP_BASE_API + "/file/uploadunlimit",
templateUrl:process.env.VUE_APP_FILE_PATH+process.env.VUE_APP_FACE_STUDENT_TEMPLATE
});
const levelList = reactive({

View File

@@ -461,10 +461,9 @@
<div class="taskmain">任务大纲</div>
<ImpoterGroupLeader
title="批量面授报名"
:downloadType="1"
:data="{ targetId: projectId, type: 1 }"
:url="`/admin/offcourse/importCourse`"
:template-url="`/admin/project/exportTaskCoursePlan/${projectId}?type=1&taskType=2&thirdType=3`"
:template-url="templateUrl"
>
<button class="btn">批量面授报名</button>
</ImpoterGroupLeader>
@@ -817,9 +816,9 @@
<span class="btn1text">导出小组</span>
</div>
<ImpoterGroupLeader
title="导入小组长"
:data="{ targetId: projectId, type: 1 }"
:url="`/admin/studentGroup/importGroup`"
:template-url="`/admin/studentGroup/exportGroup/${projectId}`"
>
<div class="btn1">
<span class="btn1text">导入小组长</span>
@@ -2843,6 +2842,7 @@ export default {
certificatelist: [],
fileUrl: process.env.VUE_APP_FILE_PATH,
uploadAction: process.env.VUE_APP_BASE_API + "/file/uploadunlimit",
templateUrl:process.env.VUE_APP_FILE_PATH+process.env.VUE_APP_FACE_STUDENT_TEMPLATE
});
// 排行榜 - start
// 积分排行榜 Top10