|
@@ -3,7 +3,7 @@
|
|
|
<index-card class="index-block" title="多元升学路径报告" :sub-title="nickName">
|
|
|
<div slot="more">
|
|
|
<el-button v-loading="loading" size="mini" type="primary" round @click="handleDownload">下载</el-button>
|
|
|
- <el-button v-has-history size="mini" round @click="$router.push('/sygh/multiple-way/index')">返回</el-button>
|
|
|
+ <el-button v-has-history size="mini" round @click="backToMultiwayIndex">返回</el-button>
|
|
|
</div>
|
|
|
<div class="fx-column">
|
|
|
<div class="f-666 report-content">
|
|
@@ -238,6 +238,10 @@ export default {
|
|
|
await this.getReport()
|
|
|
},
|
|
|
methods: {
|
|
|
+ backToMultiwayIndex() {
|
|
|
+ const indexPath = this.$router.resolve({name: 'MultiwayIndex'})
|
|
|
+ if (indexPath?.route) this.$router.push(indexPath.route)
|
|
|
+ },
|
|
|
async loadDirections() {
|
|
|
const res = await this.getConfigKey('multiple-way-directions')
|
|
|
this.directions = JSON.parse(res.msg)
|