expense.vue 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <template>
  2. <div class="sidebars" style="width: 250px">
  3. <h2><i class="iconfont firerock-iconcaiwu" style="padding-right: 10px"></i>费用报销模块</h2>
  4. <el-col :span="12">
  5. <el-menu
  6. default-active="1-1"
  7. class="el-menu-vertical-demo"
  8. @open="handleOpen"
  9. @close="handleClose"
  10. background-color="#ffffff"
  11. text-color="#666666"
  12. active-text-color="#20A0FF"
  13. style="width:100%">
  14. <el-submenu index="1">
  15. <template slot="title">
  16. <i class="el-icon-location"></i>
  17. <span>员工费用报表</span>
  18. </template>
  19. <el-menu-item index="1-1">一般费用填报</el-menu-item>
  20. <el-menu-item index="1-2">差旅费用填报</el-menu-item>
  21. </el-submenu>
  22. <el-submenu index="2">
  23. <template slot="title">
  24. <i class="el-icon-location"></i>
  25. <span>费用报销单据</span>
  26. </template>
  27. <el-menu-item index="2-1">待处理单据</el-menu-item>
  28. <el-menu-item index="2-2">待支付单据</el-menu-item>
  29. </el-submenu>
  30. </el-menu>
  31. </el-col>
  32. </div>
  33. <!-- 内容主体区域 -->
  34. </template>
  35. <script>
  36. export default {
  37. name: "expense",
  38. components: {},
  39. props: {},
  40. data() {
  41. return {};
  42. },
  43. computed: {},
  44. watch: {},
  45. created() {},
  46. mounted() {},
  47. methods: {},
  48. };
  49. </script>
  50. <style scoped>
  51. .sidebars {
  52. height: 100%;
  53. position: absolute;
  54. border-right: 1px solid #E6E6E6;
  55. }
  56. .sidebars h2 {
  57. margin: 0;
  58. line-height: 45px;
  59. background: #20A0FF;
  60. font-weight: normal;
  61. color: #fff;
  62. padding-left: 20px;
  63. }
  64. .sidebars .el-col-12 {
  65. width: 100%
  66. }
  67. </style>