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

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
}