<!--
  @description: 供应商库-机构信息查看详情
  @Modifier:haopfengxian
  @routerPath:/supplierDeclaration/supplierOrganizationInfo-detail
  @date: 2020/2/21-15:41
-->
<template>
  <div>
    <div class="title p0-16 clearfix">
      <template>
        <div class="title-back pointer" @click="back">
          <i class="iconfont icon-fanhui mr10" />机构信息
        </div>
      </template>
    </div>
    <div style="position:relative;">
      <el-tabs v-model="activeName" class="el-tabs-border-card-shadow-none" type="border-card">
        <el-tab-pane name="essentialInformation" label="基本信息">
          <essentialInformationDetail class="p0-16" @showStatuschage="showStatuschage" />
        </el-tab-pane>
        <el-tab-pane name="businessManagerInfo" label="业务经办人信息">
          <businessManagerInfoDetail class="p0-16" />
        </el-tab-pane>
        <el-tab-pane name="enterpriseQualification" label="企业资质">
          <enterpriseQualificationDetail class="p0-16" />
        </el-tab-pane>
        <el-tab-pane name="supplYrecord" label="供货记录">
          <supplYrecordDetail class="p0-16" />
        </el-tab-pane>
        <el-tab-pane name="financialSituation" label="财务状况">
          <financialSituationDetail class="p0-16" />
        </el-tab-pane>
        <el-tab-pane name="recordReportingUnit" label="申报单位记录">
          <recordReportingUnitList class="p0-16" />
        </el-tab-pane>
        <el-tab-pane name="projectRecord" label="参与项目记录">
          <projectRecordList class="p0-16" />
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>
<script>
import essentialInformationDetail from '@views/supplier/editorDeclaration/essentialInformation/essentialInformation-detail'// 审报材料-查看基本信息
import businessManagerInfoDetail from '@views/supplier/editorDeclaration/businessManagerInfo/businessManagerInfo-detail'// 审报材料-业务经办人信息
import enterpriseQualificationDetail from '@views/supplier/editorDeclaration/enterpriseQualification/enterpriseQualification-detail'// 审报材料-企业资质
import supplYrecordDetail from '@views/supplier/editorDeclaration/supplYrecord/supplYrecord-detail'// 审报材料-供货记录
import financialSituationDetail from '@views/supplier/editorDeclaration/financialSituation/financialSituation-detail'// 审报材料-财务状况
import inforaMtionAuditDetail from '@views/supplier/editorDeclaration/inforaMtionAudit/inforaMtionAudit-detail' // 审报材料-审核信息
import projectRecordList from '@/views/supplier/supplierRepository/projectRecord-list.vue' // 参与项目记录
import recordReportingUnitList from '@/views/supplier/supplierRepository/recordReportingUnit-list.vue' // 申报单位记录

export default {
  name: 'EditorDeclarationDetail',
  components: {
    essentialInformationDetail, // 审报材料-查看基本信息
    businessManagerInfoDetail, // 审报材料-业务经办人信息
    enterpriseQualificationDetail, // 审报材料-企业资质
    supplYrecordDetail, // 审报材料-供货记录
    financialSituationDetail, // 审报材料-供货记录
    inforaMtionAuditDetail, // 审报材料-审核信息
    projectRecordList, // 参与项目记录
    recordReportingUnitList // 申报单位记录
  },
  data() {
    return {
      activeName: 'essentialInformation', // tab索引
      showStatus: ''// 展示状态 00待审核 01审核通过 02审核不通过/驳回
    }
  },
  methods: {
    // 接收基本信息传的参数-审核状态-审核图片展示
    showStatuschage(showStatus) {
      this.showStatus = showStatus
    },
    // 返回
    back() {
      this.$router.go(-1)
    }
  }
}
</script>

<style lang="less" scoped>
// 申报图片
.supper_auditStatus{
  position: absolute;
  top: 10px;
  right:100px;

}
</style>
