|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
<template> |
|
|
|
|
<div> |
|
|
|
|
<el-card v-if="showBack" shadow="hover" class="mgb20"> |
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
|
<el-page-header :content="'实验项目管理 / ' + titleName" @back="back"></el-page-header> |
|
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
@ -128,7 +128,7 @@ import qs from 'qs' |
|
|
|
|
export default { |
|
|
|
|
data () { |
|
|
|
|
return { |
|
|
|
|
showBack: Boolean(this.$route.query.show), |
|
|
|
|
fromCustom: Boolean(this.$route.query.custom), // 从竞赛的自定义项目进来的 |
|
|
|
|
systemId: this.$route.query.systemId, |
|
|
|
|
titleName: this.$route.query.name, |
|
|
|
|
form: { |
|
|
|
@ -368,7 +368,7 @@ export default { |
|
|
|
|
}).catch(err => { }) |
|
|
|
|
}, |
|
|
|
|
back () { // 返回 |
|
|
|
|
this.$router.push(this.$store.state.referrer || '/configure') |
|
|
|
|
this.fromCustom ? this.$router.back() : this.$router.push(this.$store.state.referrer || '/configure') |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|