index.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <div class="tp_body">
  3. <div class="tp_left">
  4. <infoA :userid="suid" :oid="oid" :org="org"></infoA>
  5. <panelA :userid="suid" :oid="oid" :org="org"></panelA>
  6. </div>
  7. <div class="tp_right">
  8. <testA :userid="suid" :oid="oid" :org="org"></testA>
  9. </div>
  10. </div>
  11. </template>
  12. <script>
  13. import infoA from "./info/index.vue";
  14. import panelA from "./panel/index.vue";
  15. import testA from "./test/index.vue";
  16. export default {
  17. components: {
  18. infoA,
  19. panelA,
  20. testA,
  21. },
  22. data() {
  23. return {
  24. userid: this.$route.query.userid,
  25. oid: this.$route.query.oid,
  26. org: this.$route.query.org,
  27. cid: this.$route.query.cid,
  28. suid: this.$route.query.suid,
  29. role: this.$route.query.role,
  30. };
  31. },
  32. methods: {},
  33. };
  34. </script>
  35. <style scoped>
  36. .tp_body {
  37. width: 100%;
  38. height: 100%;
  39. min-height: 820px;
  40. display: flex;
  41. justify-content: center;
  42. align-items: center;
  43. padding: 20px;
  44. border-radius: 5px;
  45. box-sizing: border-box;
  46. }
  47. .tp_left {
  48. width: 230px;
  49. height: 100%;
  50. }
  51. .tp_right {
  52. width: calc(100% - 230px - 10px);
  53. margin: 0 0 0 10px;
  54. height: 100%;
  55. }
  56. </style>