diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue
index f1c2967..9a73df9 100644
--- a/src/layouts/header/index.vue
+++ b/src/layouts/header/index.vue
@@ -20,7 +20,7 @@
class="p-v-5 cursor-pointer"
@click="toComment(item)">{{ item.commentUsername }} 回复了你的评论
指导老师: |
-
+
@@ -91,7 +90,7 @@
clearable
size="mini"
:disabled="!item.edit">
-
+
@@ -493,6 +492,7 @@ export default {
teamId: this.info.teamId,
phone: row.phone,
position: row.position,
+ accountId: this.accountId
}).then(res => {
util.successMsg((row.id ? '修改' : '新增') + '成功')
this.getInfo()
diff --git a/src/pages/match/manage/matchSignup.vue b/src/pages/match/manage/matchSignup.vue
index 8c2bae7..81a671e 100644
--- a/src/pages/match/manage/matchSignup.vue
+++ b/src/pages/match/manage/matchSignup.vue
@@ -85,17 +85,17 @@
align="center">
@@ -286,7 +286,7 @@
模板下载
- {
- util.downloadFileDirect(`报名人员.xls`, new Blob([res.data]))
+ const name = res.headers['content-disposition']
+ util.downloadFileDirect(name ? decodeURI(name) : '报名人员.xlsx', new Blob([res.data]))
}).catch(res => { })
} else {
axios.get(`${this.api.excelExport}?competitionId=${this.id}`, {
@@ -781,7 +785,8 @@ export default {
},
responseType: 'blob'
}).then((res) => {
- util.downloadFileDirect(`报名人员.xls`, new Blob([res.data]))
+ const name = res.headers['content-disposition']
+ util.downloadFileDirect(name ? decodeURI(name) : '报名人员.xlsx', new Blob([res.data]))
}).catch(res => { })
}
},
|