|
|
@ -21,9 +21,9 @@ |
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> |
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
<!-- <el-button icon="el-icon-download" type="warning" size="small" style="margin-bottom: 20px" @click="exporExcel" |
|
|
|
<el-button icon="el-icon-download" type="warning" size="small" style="margin-bottom: 20px" @click="exporExcel" |
|
|
|
>导出为excel</el-button |
|
|
|
>导出为excel</el-button |
|
|
|
> --> |
|
|
|
> |
|
|
|
<!-- 详细学生信息弹层 --> |
|
|
|
<!-- 详细学生信息弹层 --> |
|
|
|
<el-table v-if="$route.query.type != 3" :data="studentList" v-loading="loading"> |
|
|
|
<el-table v-if="$route.query.type != 3" :data="studentList" v-loading="loading"> |
|
|
|
<el-table-column label="序号" align="center" type="index" /> |
|
|
|
<el-table-column label="序号" align="center" type="index" /> |
|
|
@ -245,9 +245,9 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 导出为excel |
|
|
|
// 导出为excel |
|
|
|
exporExcel() { |
|
|
|
exporExcel() { |
|
|
|
exportExcelF().then((res) => { |
|
|
|
exportExcelF(this.$route.query.id).then((res) => { |
|
|
|
const blob = new Blob([res]) |
|
|
|
const blob = new Blob([res]) |
|
|
|
saveAs(blob, this.$route.query.id + '报名表.xlsx') |
|
|
|
saveAs(blob, this.$route.query.name + '报名表.xlsx') |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|