<template>
    <div class="ProjectManagement3 core_dialogue">
      <div class="pA1Header">
      <!-- 详情页 -->
        <div style="display: flex;width: 400px;">
          <div class="pAHeader1">项目管理</div>
          <span class="pAHeader1STit">项目进展详情</span>
        </div>
        <div style="cursor: pointer;" @click="back">返回</div>
      </div>
      <hr>

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

      <!-- 表格部分开始 -->
      <div class="projectBlock">
        <el-table
        :data="tableData"
        tooltip-effect="dark"
        stripe
        :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
        >
       
        <el-table-column
          prop="projectName"
          label="活动名称"
          align="center"
          >
        </el-table-column>
        
        <el-table-column
          prop="person"
          label="负责人"
          align="center"
          >
        </el-table-column>
       
        <el-table-column
          prop="relationProject"
          label="关联项目"
          align="center"
          >
        </el-table-column>
        <el-table-column
          prop="fund"
          label="预算经费"
          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="操作"
          width="200"
          >
          <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:[{
            projectName:'创业孵化基地企业情况信息表',
            section:'信通',
            date:'2022年11月12日',
            fund:'50k',
            relationProject:'疯狂星期四',
            person:'袁一鸣',
            },
            {
              projectName:'创业孵化基地企业情况信息表',
              section:'信通',
              date:'2022年11月12日',
              fund:'50k',
              relationProject:'疯狂星期四',
              person:'袁一鸣',
            }
            ],
          }
        },
        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{

    .operations{
      display: flex;
      justify-content: center;
    }

    .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>