mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
--fix bug
This commit is contained in:
2
.env.boe
2
.env.boe
@@ -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=
|
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
|
VUE_APP_FACE_STUDENT_TEMPLATE=coursefile/批量面授报名模版-1679595849719.xlsx
|
||||||
@@ -31,4 +31,4 @@ 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
|
VUE_APP_FACE_STUDENT_TEMPLATE=/file/批量面授报名模版-1679595925822.xlsx
|
||||||
@@ -18,16 +18,9 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div v-if="downloadType!==1" class="minatitl">
|
<div class="up1" v-if="templateUrl">
|
||||||
<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">
|
|
||||||
请下载
|
请下载
|
||||||
<a :href="stuFeceStuTemplateUrl" target="_blank">模版</a>
|
<a :href="templateUrl" target="_blank">模版</a>
|
||||||
,按要求填写并导入
|
,按要求填写并导入
|
||||||
</div>
|
</div>
|
||||||
<div class="upload">
|
<div class="upload">
|
||||||
@@ -110,7 +103,6 @@ const props = defineProps({
|
|||||||
fileType: Object,
|
fileType: Object,
|
||||||
data: Object,
|
data: Object,
|
||||||
templateUrl: String,
|
templateUrl: String,
|
||||||
downloadType: Number
|
|
||||||
})
|
})
|
||||||
const emit = defineEmits({})
|
const emit = defineEmits({})
|
||||||
|
|
||||||
@@ -132,16 +124,9 @@ const closeDrawer = () => {
|
|||||||
fileList.value = [];
|
fileList.value = [];
|
||||||
};
|
};
|
||||||
|
|
||||||
// 批量面授报名模版
|
|
||||||
const stuFeceStuTemplateUrl = ref(process.env.VUE_APP_FILE_PATH + process.env.VUE_APP_FACE_STUDENT_TEMPLATE);
|
|
||||||
|
|
||||||
function openDrawer() {
|
function openDrawer() {
|
||||||
visible.value = true
|
visible.value = true
|
||||||
}
|
}
|
||||||
//
|
|
||||||
// function downTemplate() {
|
|
||||||
// window.open(process.env.VUE_APP_BASE_API + props.templateUrl);
|
|
||||||
// }
|
|
||||||
|
|
||||||
function downloadErrorData(url) {
|
function downloadErrorData(url) {
|
||||||
window.open(process.env.VUE_APP_FILE_PATH + url)
|
window.open(process.env.VUE_APP_FILE_PATH + url)
|
||||||
|
|||||||
@@ -325,7 +325,7 @@
|
|||||||
<div style="flex: 1">
|
<div style="flex: 1">
|
||||||
<div class="onerow">
|
<div class="onerow">
|
||||||
<div class="taskmain">任务大纲</div>
|
<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>
|
<button class="btn">批量面授报名</button>
|
||||||
</ImpoterGroupLeader>
|
</ImpoterGroupLeader>
|
||||||
<router-link
|
<router-link
|
||||||
@@ -1691,6 +1691,7 @@ export default {
|
|||||||
isreload: true,
|
isreload: true,
|
||||||
TaskFaceImpStuvisible: false,
|
TaskFaceImpStuvisible: false,
|
||||||
uploadAction: process.env.VUE_APP_BASE_API + "/file/uploadunlimit",
|
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({
|
const levelList = reactive({
|
||||||
|
|||||||
@@ -461,10 +461,9 @@
|
|||||||
<div class="taskmain">任务大纲</div>
|
<div class="taskmain">任务大纲</div>
|
||||||
<ImpoterGroupLeader
|
<ImpoterGroupLeader
|
||||||
title="批量面授报名"
|
title="批量面授报名"
|
||||||
:downloadType="1"
|
|
||||||
:data="{ targetId: projectId, type: 1 }"
|
:data="{ targetId: projectId, type: 1 }"
|
||||||
:url="`/admin/offcourse/importCourse`"
|
:url="`/admin/offcourse/importCourse`"
|
||||||
:template-url="`/admin/project/exportTaskCoursePlan/${projectId}?type=1&taskType=2&thirdType=3`"
|
:template-url="templateUrl"
|
||||||
>
|
>
|
||||||
<button class="btn">批量面授报名</button>
|
<button class="btn">批量面授报名</button>
|
||||||
</ImpoterGroupLeader>
|
</ImpoterGroupLeader>
|
||||||
@@ -817,9 +816,9 @@
|
|||||||
<span class="btn1text">导出小组</span>
|
<span class="btn1text">导出小组</span>
|
||||||
</div>
|
</div>
|
||||||
<ImpoterGroupLeader
|
<ImpoterGroupLeader
|
||||||
|
title="导入小组长"
|
||||||
:data="{ targetId: projectId, type: 1 }"
|
:data="{ targetId: projectId, type: 1 }"
|
||||||
:url="`/admin/studentGroup/importGroup`"
|
:url="`/admin/studentGroup/importGroup`"
|
||||||
:template-url="`/admin/studentGroup/exportGroup/${projectId}`"
|
|
||||||
>
|
>
|
||||||
<div class="btn1">
|
<div class="btn1">
|
||||||
<span class="btn1text">导入小组长</span>
|
<span class="btn1text">导入小组长</span>
|
||||||
@@ -2843,6 +2842,7 @@ export default {
|
|||||||
certificatelist: [],
|
certificatelist: [],
|
||||||
fileUrl: process.env.VUE_APP_FILE_PATH,
|
fileUrl: process.env.VUE_APP_FILE_PATH,
|
||||||
uploadAction: process.env.VUE_APP_BASE_API + "/file/uploadunlimit",
|
uploadAction: process.env.VUE_APP_BASE_API + "/file/uploadunlimit",
|
||||||
|
templateUrl:process.env.VUE_APP_FILE_PATH+process.env.VUE_APP_FACE_STUDENT_TEMPLATE
|
||||||
});
|
});
|
||||||
// 排行榜 - start
|
// 排行榜 - start
|
||||||
// 积分排行榜 Top10
|
// 积分排行榜 Top10
|
||||||
|
|||||||
Reference in New Issue
Block a user