12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <template>
- <div class="sidebars" style="width: 250px">
- <h2><i class="iconfont firerock-iconcaiwu" style="padding-right: 10px"></i>费用报销模块</h2>
- <el-col :span="12">
- <el-menu
- default-active="1-1"
- class="el-menu-vertical-demo"
- @open="handleOpen"
- @close="handleClose"
- background-color="#ffffff"
- text-color="#666666"
- active-text-color="#20A0FF"
- style="width:100%">
- <el-submenu index="1">
- <template slot="title">
- <i class="el-icon-location"></i>
- <span>员工费用报表</span>
- </template>
- <el-menu-item index="1-1">一般费用填报</el-menu-item>
- <el-menu-item index="1-2">差旅费用填报</el-menu-item>
- </el-submenu>
-
- <el-submenu index="2">
- <template slot="title">
- <i class="el-icon-location"></i>
- <span>费用报销单据</span>
- </template>
- <el-menu-item index="2-1">待处理单据</el-menu-item>
- <el-menu-item index="2-2">待支付单据</el-menu-item>
- </el-submenu>
- </el-menu>
- </el-col>
- </div>
- <!-- 内容主体区域 -->
- </template>
- <script>
- export default {
- name: "expense",
- components: {},
- props: {},
- data() {
- return {};
- },
- computed: {},
- watch: {},
- created() {},
- mounted() {},
- methods: {},
- };
- </script>
- <style scoped>
- .sidebars {
- height: 100%;
- position: absolute;
- border-right: 1px solid #E6E6E6;
- }
- .sidebars h2 {
- margin: 0;
- line-height: 45px;
- background: #20A0FF;
- font-weight: normal;
- color: #fff;
- padding-left: 20px;
- }
- .sidebars .el-col-12 {
- width: 100%
- }
- </style>
|