style:批量面授报名模版配置及样式增加

This commit is contained in:
wyx
2023-03-23 20:17:07 +08:00
parent 9d1c778e77
commit efaa92f919
7 changed files with 26 additions and 8 deletions

4
.env
View File

@@ -38,4 +38,6 @@ VUE_APP_H5=//u-pre.boe.com/student-h5
#用户头像
VUE_APP_AVATAR_PATH=/upload/
# 旧版管理员界面
VUE_APP_OLD_MANAGE=//u-pre.boe.com/resource/index.html
VUE_APP_OLD_MANAGE=//u-pre.boe.com/resource/index.html
# 批量面授报名模板
VUE_APP_FACE_STUDENT_TEMPLATE=批量面授报名模版-1673963663229.xlsx

View File

@@ -13,4 +13,6 @@ VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=coursefile/外部考试学员成绩导入
#在线
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_EXAM_DETAIL_URL=//u-pre.boe.com/mobile/pages/exam/exam?id=
# 批量面授报名模板
VUE_APP_FACE_STUDENT_TEMPLATE=批量面授报名模版-1673963663229.xlsx

View File

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

View File

@@ -25,4 +25,6 @@ VUE_APP_H5=//u.boe.com/student-h5-release
#用户头像
VUE_APP_AVATAR_PATH=/upload/
# 旧版管理员界面
VUE_APP_OLD_MANAGE=//u-pre.boe.com/resource/index.html
VUE_APP_OLD_MANAGE=//u-pre.boe.com/resource/index.html
# 批量面授报名模板
VUE_APP_FACE_STUDENT_TEMPLATE=批量面授报名模版-1673963663229.xlsx

View File

@@ -18,13 +18,18 @@
/>
</div>
<div class="main">
<div class="minatitl">
<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 class="up1">请先导出小组填写小组长按要求填写数据并导入</div>
<div v-if="downloadType!==1" class="up1">请先导出小组填写小组长按要求填写数据并导入</div>
<div v-else class="up1">
请下载
<a :href="stuFeceStuTemplateUrl" target="_blank">模版</a>
按要求填写并导入
</div>
<div class="upload">
<div class="text">上传</div>
<div class="right">
@@ -65,7 +70,7 @@
<div class="curloading">
<div style="color: #387df7; margin-left: 20px; cursor: pointer"
v-if="file.uploadState?.status === 'FAILED'" @click="downloadErrorData(file.uploadState?.url)">
下载失败数据1
下载失败数据
</div>
</div>
</div>
@@ -105,6 +110,7 @@ const props = defineProps({
fileType: Object,
data: Object,
templateUrl: String,
downloadType: Number
})
const emit = defineEmits({})
@@ -126,6 +132,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
}

View File

@@ -325,7 +325,7 @@
<div style="flex: 1">
<div class="onerow">
<div class="taskmain">任务大纲</div>
<ImpoterGroupLeader title="批量面授报名" :data="{targetId:routerId,type:2}" :url="`/admin/offcourse/importCourse`" :template-url="`/admin/router/exportTaskCoursePlan/${routerId}?type=1&taskType=2&thirdType=3`">
<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`">
<button class="btn">批量面授报名</button>
</ImpoterGroupLeader>
<router-link

View File

@@ -461,6 +461,7 @@
<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`"