123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <template>
- <div class="container">
- <h3 style="text-align: center;color:#ffffff;margin-bottom: 5px;margin-top:35px">数据导航</h3>
- <div class="wrapper" v-for="route in routes" :key="route.label">
- <el-button type="info" plain @click="goRouter($event,route.link)">{{route.label}}
- <i class="el-icon-right"></i>
- </el-button>
- </div>
- </div>
- </template>
- <script>
- export default {
- data(){
- return {
- routes:[
- {label:'1.业绩报表', link:'/?path=results'},
- {label:'2.利润看板', link:'/?path=report'},
- {label:'3.应收账款', link:'/?path=accountsReceivable'},
- {label:'4.订单情况', link:'/?path=newReport'},
- {label:'5.发货情况', link:'/?path=stock'},
- {label:'2024新业绩报表-测试',link:'/?path=newResults'}
- ]
- }
- },
- mounted(){
- document.title = "数据导航"
- },
- methods:{
- goRouter(e,link){
- e.stopPropagation()
- // window.location.hash = link
- window.open(link)
- }
- }
- }
- </script>
- <style lang="scss">
- .container {
- width:100%;
- height: 100vh;
- position: fixed;
- background-image: url(/wel.jpg);
- background-size: cover;
- background-position: 35%;
- }
- .wrapper{
- display: flex;
- padding: 10px;
- flex-direction: column;
- margin-bottom: 5px;
- button{
- margin: 0px !important;
- }
- }
- </style>
|