cec48ab8cf168bcbc42cae5aca6b2032d1ebf50b.svn-base 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <template>
  2. <div>
  3. <el-container>
  4. <el-container>
  5. <el-main id="dxdcListMain" style="padding:5px 20px;">
  6. <el-tabs v-model="currentViewId" type="card">
  7. <el-tab-pane :label="option.label" :name="option.label" v-for="option in options" :key="option.value">
  8. <component v-if="showTable" :is="option.value">
  9. </component>
  10. </el-tab-pane>
  11. </el-tabs>
  12. </el-main>
  13. </el-container>
  14. </el-container>
  15. <!-- 添加/编辑人员弹窗 -->
  16. </div>
  17. </template>
  18. <script>
  19. import report_sh2 from "./report_sh2.vue"
  20. import report_sh7 from "./report_sh7.vue"
  21. export default {
  22. components: {
  23. 'report_sh2': report_sh2,
  24. 'report_sh7': report_sh7,
  25. },
  26. props: [],
  27. data() {
  28. return {
  29. options: [
  30. {
  31. value: 'report_sh2',
  32. label: '附件4-防洪工程设施水毁修复监督检查问题汇总表'
  33. },
  34. {
  35. value: 'report_sh7',
  36. label: '附件9-防洪工程水毁修复监督检查开展情况统计表'
  37. }
  38. ],
  39. value: '',
  40. currentViewId: '附件4-防洪工程设施水毁修复监督检查问题汇总表',
  41. showTable: true,
  42. currentNodeType: '',
  43. }
  44. },
  45. computed: {
  46. persId() {
  47. return localStorage.getItem("userid") ? localStorage.getItem("userid") : '1098101939614724096'
  48. }
  49. },
  50. mounted() {
  51. },
  52. watch: {
  53. },
  54. methods: {
  55. },
  56. }
  57. </script>
  58. <style>
  59. </style>