|
|
|
@ -25,7 +25,7 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="pattern_wrap"> |
|
|
|
|
<div class="img_wrap" @click="core.toSubSystem('')"> |
|
|
|
|
<div class="img_wrap" @click="toPrac"> |
|
|
|
|
<div><img src="../../assets/img/buttonOne.png" alt=""></div> |
|
|
|
|
<div>练习模式</div> |
|
|
|
|
</div> |
|
|
|
@ -46,7 +46,7 @@ |
|
|
|
|
export default { |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
pattern: this.$route.query.pattern, |
|
|
|
|
pattern: Number(this.$route.query.pattern), |
|
|
|
|
projectList:[{ |
|
|
|
|
title:'期权套期保值实验', |
|
|
|
|
url:'http://122.9.154.146/kd/#/Dashboard', |
|
|
|
@ -67,6 +67,9 @@ export default { |
|
|
|
|
this.patternId = this.$route.query.type |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
toPrac(){ |
|
|
|
|
this.core.toSubSystem('','','',this.pattern) |
|
|
|
|
}, |
|
|
|
|
toNext(index) { |
|
|
|
|
this.$store.commit("patternData",{pattern: this.pattern}); |
|
|
|
|
this.$router.push(`dashboard#${index}`) |
|
|
|
|