<!--
  @description: 查看评审费报销
  @Modifier: sunxinman
  @routerPath: /fee/evalfeeApplyContent
  @date: 2020/04/14 17:45
-->
<template>
  <div class="p0-16">
    <section class="clearfix">
      <!-- 返回 -->
      <div class="title title_border" @click="back()">
        <i class="iconfont icon-fanhui mr10" />查看评审费报销
      </div>
    </section>
    <div>
      <tabs ref="tabs" :list="tabsList" />
    </div>
    <div>
      <router-view ref="evalfeeApply" :eval-fee-data="evalFeeData" />
    </div>
    <!-- 审核信息组件-->
    <!-- <evalfeeApplyAuditComp/> -->
  </div>
</template>
<script>
/* 组件*/
import tabs from '@comp/common/tabsParams'
// import evalfeeApplyAuditComp from './../evalfeeApplyAudit/evalfeeApplyAuditComp'// 审核信息
export default {
  name: 'EvalfeeApplyContentDetail',
  components: {
    tabs
    // evalfeeApplyAuditComp // 审核信息
  },
  data() {
    return {
      tabsList: [
        {
          name: '报销申请',
          path: '/fee/evalfeeApplyContent/evalfeeApplyInfo-detail'
        },
        {
          name: '发放明细',
          path: '/fee/evalfeeApplyContent/evalfeeGrant-detail'
        }
      ],
      // 传给子组件编辑带入id
      evalFeeData: {
        evalFeeId: this.$route.params.evalFeeId // 评审费id
      },
      checkStatus: this.$route.meta.checkStatus // 00 返回专家评审费查看列表 01 返回记账列表
    }
  },
  methods: {
    // 返回
    back() {
      let routerPath = '/fee/evalfeeApply-list'
      if (this.checkStatus === '00') routerPath = '/fee/evalfeeKeeping-list'
      this.$router.push({
        path: routerPath
      })
    }
  }
}
</script>
<style lang="less" scoped>

</style>
