<!--
 * @Author: Do not edit
 * @Date: 2023-07-04 09:34:07
 * @LastEditTime: 2023-07-21 16:38:39
 * @LastEditors: DY
 * @Description: 
-->
<template>
  <el-card shadow="never" class="aui-card--fill">
    <el-tabs tab-position="left" style="min-height: 200px;">
      <el-tab-pane label="项目概述">
        <first ref="first" @refreshDataList="refreashData"></first>
      </el-tab-pane>
      <el-tab-pane label="要求清单">
        <second></second>
      </el-tab-pane>
      <el-tab-pane label="项目设置">项目设置</el-tab-pane>
    </el-tabs>
  </el-card>
</template>

<script>
import first from './first.vue'
import second from './second.vue'

export default {
  components: { first, second },
  data() {
    return {
      project: {}
    }
  },
  mounted() {
  },
  methods: {
    refreashData() {
      this.$emit("refresh");
    },
    init(val) {
      // this.project = val
      this.$nextTick(() => {
        this.$refs.first.init(val);
      });
      console.log('你好', val)
    }
  }
}
</script>