123456789101112131415161718192021222324252627282930313233343536373839 |
- <template>
- <component v-bind:is="currentTabComponent">
- </component>
-
-
- </template>
- <script>
- import moment from 'moment';
- import { getAction, postAction, downFile, downFilePost } from '@/api/manage';
- export default {
- name:'index',
- data() {
- return {
- currentTabComponent:'createStrategy',
- isEdit:false,
- strategyInfo:{},
- accountInfo:{},
- }
- },
- components:{
- createStrategy: () => import('./createStrategy'),
- setDirectional: () => import('./setDirectional'),
- setCreate: () => import('./setCreate'),
-
- },
- mounted(){
- this.currentTabComponent='createStrategy'
- },
- beforeDestroy() {
- this.currentTabComponent='createStrategy'
- },
-
- }
- </script>
|