|
@@ -12,7 +12,7 @@
|
|
|
</Upload>
|
|
|
<p class="import-tips" style="margin-top:40px;">{{$t('stuAccount.importTips1')}}</p>
|
|
|
<p class="import-tips">{{$t('stuAccount.importTips2') + $t('stuAccount.importTips3')}}</p>
|
|
|
- <a style="margin-top:10px;color:turquoise;display:inline-block;" href="https://teammodelstorage.blob.core.chinacloudapi.cn/download/%E5%AD%A6%E7%94%9F%E5%90%8D%E5%8D%95%E6%A8%A1%E5%9D%97.xlsx">{{$t('stuAccount.downloadText')}}</a>
|
|
|
+ <span @click="downloadTemp" style="margin-top:10px;color:turquoise;display:inline-block;">{{$t('stuAccount.downloadText')}}</span>
|
|
|
</div>
|
|
|
<div class="form-body" style="background:none;" v-else>
|
|
|
<div class="ivu-upload-list-file">
|
|
@@ -169,6 +169,22 @@ export default {
|
|
|
watch: {
|
|
|
},
|
|
|
methods: {
|
|
|
+ //下载名单模板
|
|
|
+ downloadTemp() {
|
|
|
+ console.log(this.$i18n)
|
|
|
+ let lang = localStorage.getItem('local')
|
|
|
+ switch (lang) {
|
|
|
+ case 'zh-tw':
|
|
|
+ window.location.href = 'https://teammodelstorage.blob.core.chinacloudapi.cn/download/%E5%AD%A6%E7%94%9F%E5%90%8D%E5%8D%95%E6%A8%A1%E6%9D%BF/%E5%AD%B8%E7%94%9F%E5%90%8D%E5%96%AE%E6%A8%A1%E6%9D%BF.xlsx'
|
|
|
+ break
|
|
|
+ case 'en-us':
|
|
|
+ window.location.href = 'https://teammodelstorage.blob.core.chinacloudapi.cn/download/%E5%AD%A6%E7%94%9F%E5%90%8D%E5%8D%95%E6%A8%A1%E6%9D%BF/Student%20List%20Template.xlsx'
|
|
|
+ break
|
|
|
+ default:
|
|
|
+ window.location.href = 'https://teammodelstorage.blob.core.chinacloudapi.cn/download/%E5%AD%A6%E7%94%9F%E5%90%8D%E5%8D%95%E6%A8%A1%E6%9D%BF/%E5%AD%A6%E7%94%9F%E5%90%8D%E5%8D%95%E6%A8%A1%E6%9D%BF.xlsx'
|
|
|
+ break
|
|
|
+ }
|
|
|
+ },
|
|
|
getSelectInfo() {
|
|
|
|
|
|
},
|
|
@@ -428,7 +444,7 @@ export default {
|
|
|
title: this.$t('stuAccount.seatNo'),
|
|
|
key: 'no',
|
|
|
width: 80,
|
|
|
- align:'center'
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
title: this.$t('stuAccount.account'),
|
|
@@ -457,7 +473,7 @@ export default {
|
|
|
{
|
|
|
title: this.$t('stuAccount.classroomCode'),
|
|
|
key: 'classId',
|
|
|
- align:'center'
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
title: this.$t('stuAccount.abnormalStatus'),
|