You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
1.7 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <template>
  2. <div class="box">
  3. <div>
  4. <el-card>
  5. <div style="display: flex">
  6. <!-- 单位树组件 -->
  7. <div style="width: 15%; border:1px solid;">
  8. <CustomerOrgTree/>
  9. </div>
  10. <div style="width: 85%">
  11. <!-- 单位详情 录入与编辑 -->
  12. <CustomerOrgEdit/>
  13. <!-- 体检次数 联系人 -->
  14. <el-tabs style="margin-left: 10px;" >
  15. <!-- 体检次数 -->
  16. <el-tab-pane label="体检次数" name="first">
  17. <CustomerOrgRegister/>
  18. </el-tab-pane>
  19. <!-- 联系人 -->
  20. <el-tab-pane label="联系人" name="second">
  21. <ContactPerson/>
  22. </el-tab-pane>
  23. </el-tabs>
  24. </div>
  25. </div>
  26. </el-card>
  27. </div>
  28. </div>
  29. </template>
  30. <script>
  31. import { mapState } from 'vuex'
  32. import CustomerOrgTree from '../../components/customerOrg/customerOrgTree.vue'
  33. import CustomerOrgEdit from '../../components/customerOrg/customerOrgEdit.vue'
  34. import CustomerOrgRegister from '../../components/customerOrg/customerOrgRegister.vue'
  35. import ContactPerson from '../../components/customerOrg/ContactPerson.vue'
  36. export default {
  37. components: {
  38. CustomerOrgTree,
  39. CustomerOrgEdit,
  40. CustomerOrgRegister,
  41. ContactPerson
  42. },
  43. data() {
  44. return {
  45. };
  46. },
  47. created() {
  48. },
  49. //挂载完成
  50. mounted() {
  51. },
  52. computed:{
  53. ...mapState(['customerOrg']),
  54. },
  55. methods: {
  56. },
  57. //监听事件
  58. // watch:{
  59. // 'customerOrg.customerOrgId'(newVal, oldVal){
  60. // if(newVal != oldVal && newVal != ""){
  61. // alert(newVal)
  62. // }
  63. // },
  64. // },
  65. };
  66. </script>
  67. <style scoped>
  68. .box {
  69. display: flex;
  70. }
  71. </style>