12345678910111213141516171819202122232425262728293031323334353637383940 |
- <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:{},
- previewStrategyInfo:{},
- }
- },
- components:{
- createStrategy: () => import('./createStrategy'),
- setDirectional: () => import('./setDirectional'),
- previewStrategy: () => import('./previewStrategy'),
-
- },
- mounted(){
- this.currentTabComponent='createStrategy'
- },
- beforeDestroy() {
- this.currentTabComponent='createStrategy'
- },
-
- }
- </script>
|