<!--
  @description: 专家审核查看容器
  @Modifier: wxy
  @routerPath:
  @date:  2020-09-07 16:41:26
-->
<template>
  <div class="main">
    <div v-if="isView" style="position:relative;">
      <!-- 基本信息 -->
      <expertBaseInfo @noAudit="noAuditHandle" />
      <!-- 任职经历 -->
      <!-- <expertWorkExperience /> -->
      <!-- 教育经历 -->
      <!-- <expertEducationExperience /> -->
      <!-- 职称信息 -->
      <!-- <expertTitleInfo /> -->
      <!-- 职业资格 -->
      <!-- <expertVocationalQualifications /> -->
      <!-- 历史评标 -->
      <!-- <expertHistorEvaluation /> -->
      <!-- 回避单位 -->
      <!-- <expertAvoidanceCompany /> -->
      <!-- 专家成果 -->
      <!-- <expertAchievements /> -->
      <!-- 评标专业 -->
      <expertEvaluation />
      <!-- 研究成功 -->
      <!-- <expertQuitAuditExam /> -->
    </div>
    <!-- 完善基本信息-新增 -->
    <bidProjectStep v-if="modifyDetail" />
    <!-- 审核状态图片 -->
    <div class="supper_auditStatus">
      <!-- 待审核 -->
      <img v-if="auditStatus==='00'" src="@assets/img/common/audit/auditWait.png" alt="">
      <!-- 审核通过 -->
      <img v-if="auditStatus==='01'" src="@assets/img/common/audit/auditOk.png" alt="">
      <!-- 审核不通过 -->
      <img v-if="auditStatus==='02'" src="@assets/img/common/audit/auditNo.png" alt="">
    </div>
  </div>
</template>

<script>
/* 组件 */
import bidProjectStep from '@/views/expert/expertInfo/expertStep/expertStep'
import expertBaseInfo from '../../experImprovetBaseInfo/expertBaseInfo/expertBaseInfo-detail' // 基本信息
import expertWorkExperience from '../../experImprovetBaseInfo/expertWorkExperience/expertWorkExperience-detail' // 任职经历
import expertTitleInfo from '../../experImprovetBaseInfo/expertTitleInfo/expertTitleInfo-detail' // 职称信息
import expertEvaluation from '../../experImprovetBaseInfo/expertEvaluation/expertEvaluation-detail' // 评标专业
import expertEducationExperience from '../../experImprovetBaseInfo/expertEducationExperience/expertEducationExperience-detail' // 教育经历
import expertVocationalQualifications from '../../experImprovetBaseInfo/expertVocationalQualifications/expertVocationalQualifications-detail' // 职业资格
// import expertHistorEvaluation from '../../experImprovetBaseInfo/expertHistorEvaluation/expertHistorEvaluation-detail' // 历史评标
// import expertAvoidanceCompany from '../../experImprovetBaseInfo/expertAvoidanceCompany/expertAvoidanceCompany-detail' // 回避单位
import expertAchievements from '../../experImprovetBaseInfo/expertAchievements/expertAchievements-detail' // 研究成果
import expertQuitAuditExam from './expertQuitAuditExam-list' // 研究成果

export default {
  components: {
    expertBaseInfo, // 基本信息
    expertWorkExperience, // 任职经历
    expertTitleInfo, // 职称信息
    expertEvaluation, // 评标专业
    expertEducationExperience, // 教育经历
    expertVocationalQualifications, // 职业资格
    // expertHistorEvaluation, // 历史评标记录
    // expertAvoidanceCompany, // 回避单位
    expertAchievements, // 研究成果
    bidProjectStep,
    expertQuitAuditExam // 审核列表
  },
  props: {
    auditStatus: {
      type: String,
      default() {
        return ''
      }
    }
  },
  data() {
    return {
      modifyDetail: false,
      isView: true
    }
  },
  methods: {
    noAuditHandle(val) {
      this.modifyDetail = val
      this.isView = this.modifyDetail === true ? null : true
    }
  }
}
</script>

<style lang="less" scoped>
  // 审核图片
  .supper_auditStatus{
    position: absolute;
    top: 10px;
    right:100px;
    z-index: 9;
  }
</style>
