plm前端
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.

56 lines
1.4 KiB

3 years ago
  1. <template>
  2. <div class="mod-config">
  3. <el-tabs class="tabs" tab-position="left" style="height: 200px;" type="border-card" v-model="activeName" @tab-click="refreshCurrentTabTable">
  4. <el-tab-pane label="基本信息" name="baseInfo" >
  5. <basicInformation ref="basicInformation" ></basicInformation>
  6. </el-tab-pane>
  7. <el-tab-pane label="客户信息" name="customerInfo">
  8. 777
  9. </el-tab-pane>
  10. <el-tab-pane label="工艺信息" name="customerInfo" v-if="false">
  11. 777
  12. </el-tab-pane>
  13. <el-tab-pane label="文档控制" name="customerInfo2" v-if="true">
  14. 777
  15. </el-tab-pane>
  16. <el-tab-pane label="工程师确认" name="customerInfo3">
  17. 777
  18. </el-tab-pane>
  19. </el-tabs>
  20. </div>
  21. </template>
  22. <script>
  23. import basicInformation from "./com_tsd_basicInformation";/*組件*/
  24. export default {
  25. name: "technicalSpecificationDetail",
  26. components: {
  27. basicInformation,
  28. },
  29. data() {
  30. return {
  31. dataForm:{
  32. },
  33. activeName:'baseInfo',
  34. }
  35. },
  36. mounted() {
  37. this.$nextTick(() => {
  38. var tabsElement = document.querySelector('.tabs');
  39. tabsElement.style.minHeight = window.innerHeight-100+'px';
  40. })
  41. },
  42. methods: {
  43. refreshCurrentTabTable(){
  44. },
  45. },
  46. }
  47. </script>
  48. <style >
  49. </style>