<template>
  <!-- 项目管理 活动开展 -->
    <div class="ProjectManagement3">
      <div class="vfpHeader">
      <!-- 详情页 -->
        <div class="titleOne">项目管理</div>
        <div class="smallTitle" style="left: 100px;">项目进展详情</div>
        <el-button type="primary" @click="back">返回</el-button>
    </div>
      <hr>

      <!-- 跳转导航开始 -->
      <div class="AppBar">
        <div @click="content">项目基本内容</div>
        <div @click="remark">项目详情</div>
        <div @click="remark2" class="AppBarActive">活动开展</div>
        <div @click="remark4">项目附件</div>
        <div @click="remark5">项目结题附件</div>
      </div>
      <!-- 跳转导航结束 -->

      <!-- 表格部分开始 -->
      <div class="projectBlock">
        <el-table
        :data="tableData"
        tooltip-effect="dark"
        stripe
        width="100%"
        class="fontSize"
        :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
        >
       
        <el-table-column
          prop="projectName"
          label="活动名称"
          align="center"
          >
        </el-table-column>
        
        <el-table-column
          prop="person"
          label="负责人"
          min-width="60%"
          align="center"
          >
        </el-table-column>
       
        <el-table-column
          prop="relationProject"
          label="关联项目"
          min-width="60%"
          align="center"
          >
        </el-table-column>
        <el-table-column
          prop="fund"
          label="预算经费"
          min-width="30%"

          align="center"
          >
        </el-table-column>
   
        <el-table-column
          prop="section"
          label="所在部门"
          align="center"
          >
        </el-table-column>
        <el-table-column
          prop="date"
          label="活动时间"
          align="center"
          >
        </el-table-column>


        <el-table-column
          prop="operation"
          label="操作"
          align="center"
          width="220"
          >
          <template #default="scope">
              <div class="operations">
                      <el-button type="primary"  size="mini" @click="detail(scope)" style="background: #477edd">查看详情</el-button>
                      <el-button type="primary"  size="mini" style="background: #477edd">申请表</el-button>
              </div>
          </template>
        </el-table-column>
        </el-table>
      </div>
      <!-- 表格部分结束 -->
    </div>
  </template>
  
  <script>
      export default {
        data() {
          return {
            tableData:[],    //项目列表数据
          }
        },
        methods:{
          content(){
            this.$router.push('/ProjectManagement1')
          },
          remark(){
            this.$router.push('/ProjectManagement2')
          },
          remark2(){
            this.$router.push('/ProjectManagement3')
          },
          remark4(){
            this.$router.push('/ProjectManagement4')
          },
          remark5(){
            this.$router.push('/ProjectManagement5')
          },
          back(){
            this.$router.push('/ProjectManagement')
          },
          detail(){
            this.$router.push('/ProjectManagement3_1')
          },    
        },
        created(){
          
        }
      }
  </script>
  
  <style lang="less">
  .ProjectManagement3{


    .projectBlock{
      margin-top: 20px;
    }
    .pm1Tit{
        display: flex;
        margin-left: 20px;
        div{
          width: 130px;
          cursor: pointer;
          font-weight: 550;
        }
        .pr1TitBass{
          height: 2px;
          width: 100%;
          background: #3D67BC;
        }
    }
  }
  </style>