|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class='flex flex-center full-width'>
|
|
|
<div class='ml-10 mr-10 mt-10 flex flex-align-start full-width'>
|
|
|
- <basic-container style='flex: 1;padding: 0'>
|
|
|
+ <basic-container style='flex: 1;padding: 0' v-if='user.info.viewStage === 1' >
|
|
|
<left @change='changeDept'/>
|
|
|
</basic-container>
|
|
|
<div class='full-width ml-5' style='flex:4;'>
|
|
|
@@ -50,10 +50,15 @@ import amount from '@/views/invest/components/amount.vue'
|
|
|
import chart from '@/views/invest/components/chart.vue'
|
|
|
import chart2 from '@/views/invest/components/chart2.vue'
|
|
|
import complete from '@/views/invest/components/complete.vue'
|
|
|
+import { useStore } from '@/store/user.js'
|
|
|
|
|
|
export default {
|
|
|
name: 'index',
|
|
|
components: { BasicContainer, left, years, amount, chart, chart2, complete },
|
|
|
+ setup () {
|
|
|
+ const user = useStore()
|
|
|
+ return { user }
|
|
|
+ },
|
|
|
data () {
|
|
|
return {
|
|
|
yearType: {
|