<template>
  <div>
        <a-layout id="dxdcListMain" style="padding:5px 20px;">
          <a-tabs v-model="currentViewId" type="card">
            <a-tab-pane
              :tab="option.label"
              v-for="option in options"
              :key="option.value">
              <!-- <component v-if="currentViewId == option.label" :is="option.value"></component> -->
              <a-col :span="24" ref="elm">
                <keep-alive>
                  <component v-if="showTable" :is="option.value"/>
                </keep-alive>
              </a-col>
            </a-tab-pane>
          </a-tabs>
        </a-layout>
    <!-- 添加/编辑人员弹窗 -->
  </div>
</template>

<script>
import report_sltsn from './report_sltsn.vue';

export default {
  components: {
    report_sltsn: report_sltsn,
  },
  props: [],

  data() {
    return {
      options: [
        {
          value: 'report_sltsn',
          label: '水利提速年综合督查发现问题表',
        },
      ],
      value: '',
      currentViewId: 'report_sltsn',
      showTable: true,
      currentNodeType: '',

      ids: [],
      pid: '000',
      pidNodes: [],
      type: '050',
      dxdcMainHeight: window.innerHeight - 180,
      dxdcAsideHeight: window.innerHeight - 180,
      windowHeight: window.innerHeight - 200,
      windowWidth: window.innerWidth - 350,
      treeWidth: 250,
      elwspan: 0,
      elmspan: 24,
    };
  },
  computed: {
    persId() {
      return localStorage.getItem('userid')
        ? localStorage.getItem('userid')
        : '1098101939614724096';
    },
  },
  created() {},
  mounted() {},

  watch: {
    currentViewId() {},
  },

  methods: {},
};
</script>

<style>
</style>
