--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

@@ -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)