8a48d293d86d93e8f74289cac46adf5e2c379147.svn-base 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <template>
  2. <div id="shuikutianbaoId">
  3. <el-dialog :title="'督查填报信息'" width="60%" :before-close="closeDialog" :visible.sync="dialogFormVisible">
  4. <el-container>
  5. <el-main id="dxdcListMain" style="padding:5px 20px;">
  6. <el-tabs v-model="currentViewId" type="card" @tab-click="tabIndexChange">
  7. <el-tab-pane
  8. :label="option.label"
  9. :name="option.label"
  10. v-for="option in options"
  11. :key="option.value">
  12. <component
  13. :is="option.value"
  14. :currentObjectRgstrId="currentObjectRgstrId"
  15. :currentObjectName="currentObjectName"
  16. :currentYdbCode="currentYdbCode"
  17. :currentObjectId="currentObjectId"
  18. :activeLabel="activeLabel"
  19. ></component>
  20. </el-tab-pane>
  21. </el-tabs>
  22. </el-main>
  23. </el-container>
  24. </el-dialog>
  25. </div>
  26. </template>
  27. <script>
  28. import request from "@util/gw_ajax_request.js";
  29. import jichuxinxi from "./duchajichuxinxi_ydb.vue"
  30. import problemList from './problemListYdb.vue'
  31. export default {
  32. components: {
  33. jichuxinxi:jichuxinxi,
  34. problemList:problemList
  35. },
  36. props: ['currentYdbCode','currentObjectName'],
  37. data() {
  38. return {
  39. options: [
  40. {
  41. value: "jichuxinxi",
  42. label: "基础信息纠错"
  43. },
  44. {
  45. value: "problemList",
  46. label: '问题清单'
  47. }
  48. ],
  49. value: "",
  50. dialogShow:false,
  51. currentViewId: "基础信息纠错",
  52. dialogFormVisible:true,
  53. activeLabel: ''
  54. };
  55. },
  56. computed: {
  57. persId() {
  58. return localStorage.getItem("userid")
  59. ? localStorage.getItem("userid")
  60. : "1098101939614724096";
  61. }
  62. },
  63. mounted() {},
  64. watch: {},
  65. methods: {
  66. closeDialog(){
  67. this.$emit('cancelHandler')
  68. }
  69. }
  70. };
  71. </script>
  72. <style>
  73. </style>