<template>
  <div>
    <a-row>
      <a-col :span="24">
        <div class="main-title">
          <span>项目课题设置</span>
        </div>
      </a-col>
    </a-row>
    <a-row type="flex" class="row_center">
      <a-col :span="2" class="bg-gray">
        <div class="special-middle">
          <div>序号</div>
        </div>
      </a-col>
      <a-col :span="6" class="bg-gray">
        <div class="special-middle">
          <div >课题名称</div>
        </div>
      </a-col>
      <a-col :span="4" class="bg-gray">
        <div class="special-middle">
          <div >承担单位</div>
        </div>
      </a-col>
      <a-col :span="2" class="bg-gray">
        <div class="special-middle">
          <div >课题负责人</div>
        </div>
      </a-col>
      <a-col :span="3" class="bg-gray">
        <div class="special-middle">
          <div >课题预算总经费（单位万元）</div>
        </div>
      </a-col>
      <a-col :span="3" class="bg-gray">
        <div class="special-middle">
          <div >其中：省科技经费（单位万元）</div>
        </div>
      </a-col>
      <a-col :span="3" class="bg-gray">
        <div class="special-middle">
          <div>自筹经费（单位万元）</div>
        </div>
      </a-col>
    </a-row>
    <a-row v-for="(item, index) in dataList" :key="'projectSubList'+index" type="flex" class="row_center">
      <a-col :span="2">
        <div class="special-middle">
          <div>
            {{ index + 1 }}
          </div>
        </div>
      </a-col>
      <a-col :span="6">
        <div class="special-middle">
          <div>
            {{ item.projName }}
          </div>
        </div>
      </a-col>
      <a-col :span="4">
        <div class="special-middle">
          <div>
            {{ item.undertakingUnit }}
          </div>
        </div>
      </a-col>
      <a-col :span="3">
        <div class="special-middle">
          <div>
            {{ item.director }}
          </div>
        </div>
      </a-col>
      <a-col :span="3">
        <div class="special-middle">
          <div>
            {{ item.totalBudget }}
          </div>
        </div>
      </a-col>
      <a-col :span="3">
        <div class="special-middle">
          <div>
            {{ item.govBudget }}
          </div>
        </div>
      </a-col>
      <a-col :span="3">
        <div class="special-middle">
          <div>
            {{ item.selfBudget }}
          </div>
        </div>
      </a-col>
    </a-row>
  </div>
</template>

<script>

import documentView from '@/views/components/common/documentView'

export default {
  name: "projectSubInfo",
  components: {
    documentView
  },
  props: {
    dataList: {
      type: Array,
      default: () => {
        return []
      }
    },
  },
  data () {
    return {

    };
  },
  created () {

  },
  computed: {

  },
  methods: {

  },
};
</script>
<style scoped lang="less">
.file-description {
  display: block;
  width: 100%;
  line-height: 22px;
  padding: 3px 3px 3px 3px;
  color: red;
  white-space: normal;
  word-wrap: break-word;
  //   text-indent: 1em;
}
.inner_from {
  .ant-row-flex:last-child .ant-col {
    border-bottom: 0;
  }
  .ant-row-flex .ant-col:first-child {
    border-left: 0;
  }
  .ant-row-flex {
    border-right: 0;
  }
}
.special-middle {
  .font_s {
    margin: 0 6px;
  }
}
</style>
