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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user