<!--
  @description: 抽取申请-设置回避单位-查看
  @author: qrf
  @routerPath:/expert/extractApplyDetail
  @date: 2020-10-29 17:35:58
-->
<template>
  <div class="projectInfoDetail">
    <el-form ref="form" label-width="160px">
      <div class="page-title">
        <span>5 设置回避单位</span>
      </div>
      <div>
        <el-table :data="tableData" class="tableLimit">
          <el-table-column type="index" label="序号" width="60" align="center" />
          <el-table-column label="机构名称" align="center" prop="avoidCompany" />
          <el-table-column label="机构代码" align="center" prop="avoidOrgcode" />
          <el-table-column label="回避原因" align="center">
            <template slot-scope="scope">
              <span> {{ filterDictText(reason, scope.row.reason) }}</span>
            </template>
          </el-table-column>
        </el-table>
      </div>
    </el-form>
  </div>
</template>
<script>
/* 公共方法 */
import { filterDictText } from '@/assets/js/utils'
import { extractExpetMixins } from '@/views/expert/extractExpert/mixins/extractExpetMixins'
export default {
  name: 'AvoidanceUnitListDetail',
  mixins: [extractExpetMixins],
  props: {
    tableData: {
      type: Array,
      default() {
      }
    }
  },
  methods: {
    filterDictText
  }
}
</script>
