| | |
| | | <template> |
| | | <div class="project-management-container"> |
| | | <!-- 页面标题 --> |
| | | <!-- <div class="page-header">--> |
| | | <!-- <h1>项目管理系统</h1>--> |
| | | <!-- <div class="user-info">--> |
| | | <!-- <span>欢迎,{{ userName }}</span>--> |
| | | <!-- <el-avatar :size="36" :src="userAvatar"></el-avatar>--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | |
| | | <!-- 数据概览卡片 --> |
| | | <div class="overview-cards"> |
| | | <el-card class="overview-card" shadow="hover"> |
| | |
| | | <!-- 资金使用情况 --> |
| | | <el-card class="chart-card" style="min-height: 400px" shadow="hover"> |
| | | <div slot="header" class="clearfix"> |
| | | <span>资金使用情况</span> |
| | | <span>资金情况</span> |
| | | <div style="float: right;"> |
| | | <el-select |
| | | v-model="fundSelectedProjects" |
| | |
| | | |
| | | <script> |
| | | import * as echarts from 'echarts'; |
| | | |
| | | import {getCodingCount ,getFundingStatus } from '@/api/index/index.js' |
| | | export default { |
| | | name: 'ProjectManagement', |
| | | data() { |
| | |
| | | }; |
| | | }, |
| | | mounted() { |
| | | getCodingCount().then(res =>{ |
| | | |
| | | }) |
| | | getFundingStatus().then(res=>{ |
| | | |
| | | }) |
| | | |
| | | this.selectedProjects = this.allProjects.map(p => p.id); // 默认全选 |
| | | this.fundSelectedProjects = this.allProjects.map(p => p.id); // 默认全选 |
| | | this.initCharts(); |