App.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <template>
  2. <div id="app" v-cloak>
  3. <div class="commission pagePadding">
  4. <el-tabs type="border-card" v-model="tabPosition" style="height: 100%">
  5. <el-tab-pane label="业绩达成报表(销售)" name="1">
  6. <achievement-table />
  7. </el-tab-pane>
  8. <el-tab-pane label="确认单绩效报表" name="2">
  9. <merits-table />
  10. </el-tab-pane>
  11. <el-tab-pane label="确认单绩效退款报表" name="3">
  12. <merits-return-table />
  13. </el-tab-pane>
  14. </el-tabs>
  15. </div>
  16. </div>
  17. </template>
  18. <script>
  19. import achievementTable from "@/views/achievementTable";
  20. import meritsTable from "@/views/meritsTable";
  21. import meritsReturnTable from "@/views/meritsReturnTable";
  22. export default {
  23. name: "commission",
  24. components: {
  25. achievementTable,
  26. meritsTable,
  27. meritsReturnTable
  28. },
  29. data() {
  30. return {
  31. tabPosition: "1",
  32. };
  33. },
  34. mounted() {},
  35. methods: {},
  36. };
  37. </script>
  38. <style lang="scss">
  39. @mixin layout-dev {
  40. position: fixed;
  41. width: 100%;
  42. height: 100%;
  43. padding: 0;
  44. margin: 0;
  45. box-sizing: border-box;
  46. }
  47. html {
  48. @include layout-dev;
  49. body {
  50. @include layout-dev;
  51. text-align: left;
  52. }
  53. .clear::after,
  54. .clear::before {
  55. content: "";
  56. display: block;
  57. clear: both;
  58. }
  59. #app {
  60. @include layout-dev;
  61. padding: 0;
  62. min-width: 1200px !important;
  63. .el-table__fixed-right {
  64. height: 100% !important;
  65. }
  66. .el-table__fixed-left {
  67. height: 100% !important;
  68. }
  69. .commission {
  70. padding: 16px 16px !important;
  71. box-sizing: border-box !important;
  72. height: 100%;
  73. }
  74. .fr {
  75. float: right !important;
  76. }
  77. .ml10 {
  78. margin-left: 10px !important;
  79. }
  80. }
  81. }
  82. </style>