feat:增加随机分组

This commit is contained in:
lixg
2023-01-28 16:44:23 +08:00
parent acf8eaa458
commit 8aa96cd0ac
6 changed files with 456 additions and 294 deletions

View File

@@ -18,7 +18,13 @@
<div class="main">
<div class="minatitl">
<div class="up1">请下载</div>
<a class="up2" :href="locationHref + template" target="_blank" style="cursor: pointer">模板</a>
<a
class="up2"
:href="locationHref + template"
target="_blank"
style="cursor: pointer"
>模板</a
>
<div class="up1">按要求填写数据并导入</div>
</div>
<div class="upload">
@@ -128,7 +134,9 @@
>
<div class="lefimg"></div>
<div class="tacl">
{{ succNum }}条数据导入成功{{ downloadErrUrl == ''? 0 :errNum }}条数据导入失败
{{ succNum }}条数据导入成功{{
downloadErrUrl == "" ? 0 : errNum
}}条数据导入失败
</div>
</div>
@@ -223,7 +231,7 @@ export default {
const state = reactive({
locationHref:
location.href.indexOf("http://") !== -1
? "http://111.231.196.214:12016/"
? "http://43.143.139.204:12016/"
: location.href.slice(0, location.href.indexOf("/m")) + "/upload/",
template: process.env.VUE_APP_UP_LOAD_STUDENT_TEMPLATE,
importStudent: