|
@@ -2,16 +2,16 @@
|
|
|
<index-card simple title="我的测评">
|
|
|
<el-row :gutter="12">
|
|
|
<el-col :span="6" @click.native="goTestElective">
|
|
|
- <el-image :src="require('@/assets/images/index/elective/test-elective.png')" class="rd8 pointer" />
|
|
|
+ <el-image :src="require('@/assets/images/index/elective/test-elective.png')" class="rd8 pointer"/>
|
|
|
</el-col>
|
|
|
<el-col :span="6" @click.native="goTestCareer">
|
|
|
- <el-image :src="require('@/assets/images/index/elective/test-career.png')" class="rd8 pointer" />
|
|
|
+ <el-image :src="require('@/assets/images/index/elective/test-career.png')" class="rd8 pointer"/>
|
|
|
</el-col>
|
|
|
<el-col v-if="!isHiddenV2" :span="6" @click.native="goTestMentalHealth">
|
|
|
- <el-image :src="require('@/assets/images/index/elective/test-mental-health.png')" class="rd8 pointer" />
|
|
|
+ <el-image :src="require('@/assets/images/index/elective/test-mental-health.png')" class="rd8 pointer"/>
|
|
|
</el-col>
|
|
|
<el-col v-if="!isHiddenV2" :span="6" @click.native="goTestMultiway">
|
|
|
- <el-image :src="require('@/assets/images/index/elective/test-multiway.png')" class="rd8 pointer" />
|
|
|
+ <el-image :src="require('@/assets/images/index/elective/test-multiway.png')" class="rd8 pointer"/>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</index-card>
|
|
@@ -34,16 +34,20 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
async goTestElective() {
|
|
|
-
|
|
|
+ await this.loginCheck()
|
|
|
+ this.transferTo({name: 'ElectiveTestIndex'})
|
|
|
},
|
|
|
async goTestCareer() {
|
|
|
-
|
|
|
+ await this.loginCheck()
|
|
|
+ this.transferTo({name: 'CareerTestIndex'})
|
|
|
},
|
|
|
async goTestMentalHealth() {
|
|
|
-
|
|
|
+ await this.loginCheck()
|
|
|
+ this.transferTo({name: 'MentalHealthIndex'})
|
|
|
},
|
|
|
async goTestMultiway() {
|
|
|
-
|
|
|
+ await this.loginCheck()
|
|
|
+ this.transferTo({name: 'MultiwayIndex'})
|
|
|
}
|
|
|
}
|
|
|
}
|