|
@@ -101,7 +101,7 @@
|
|
|
<body>
|
|
<body>
|
|
|
<div class="container">
|
|
<div class="container">
|
|
|
<h1>资源库统计分析</h1>
|
|
<h1>资源库统计分析</h1>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<!-- 摘要信息 -->
|
|
<!-- 摘要信息 -->
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
<div class="col summary-box">
|
|
<div class="col summary-box">
|
|
@@ -130,16 +130,16 @@
|
|
|
|
|
|
|
|
<!-- 筛选器 -->
|
|
<!-- 筛选器 -->
|
|
|
<div class="filters">
|
|
<div class="filters">
|
|
|
- <label for="department-filter">筛选院系:</label>
|
|
|
|
|
|
|
+ <label for="department-filter">筛选单位:</label>
|
|
|
<select id="department-filter">
|
|
<select id="department-filter">
|
|
|
- <option value="all">全部院系</option>
|
|
|
|
|
|
|
+ <option value="all">全部单位</option>
|
|
|
<option value="aviation">航空学院</option>
|
|
<option value="aviation">航空学院</option>
|
|
|
<option value="military">军事管理系</option>
|
|
<option value="military">军事管理系</option>
|
|
|
<option value="politics">政治工作部</option>
|
|
<option value="politics">政治工作部</option>
|
|
|
<option value="maintenance">地面维修中心</option>
|
|
<option value="maintenance">地面维修中心</option>
|
|
|
<option value="other">其他部门</option>
|
|
<option value="other">其他部门</option>
|
|
|
</select>
|
|
</select>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<label for="time-filter">时间范围:</label>
|
|
<label for="time-filter">时间范围:</label>
|
|
|
<select id="time-filter">
|
|
<select id="time-filter">
|
|
|
<option value="all">全部时间</option>
|
|
<option value="all">全部时间</option>
|
|
@@ -220,32 +220,32 @@
|
|
|
types: ['航空教学', '部队管理', '政治工作', '地面维修', '其他'],
|
|
types: ['航空教学', '部队管理', '政治工作', '地面维修', '其他'],
|
|
|
typeCounts: [345, 278, 192, 231, 201],
|
|
typeCounts: [345, 278, 192, 231, 201],
|
|
|
typeStorage: [1.2, 0.8, 0.6, 0.9, 0.7], // TB
|
|
typeStorage: [1.2, 0.8, 0.6, 0.9, 0.7], // TB
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 院系数据
|
|
// 院系数据
|
|
|
departments: ['航空学院', '军事管理系', '政治工作部', '地面维修中心', '其他部门'],
|
|
departments: ['航空学院', '军事管理系', '政治工作部', '地面维修中心', '其他部门'],
|
|
|
departmentCounts: [412, 289, 176, 223, 147],
|
|
departmentCounts: [412, 289, 176, 223, 147],
|
|
|
departmentStorage: [1.5, 0.9, 0.5, 0.8, 0.5], // TB
|
|
departmentStorage: [1.5, 0.9, 0.5, 0.8, 0.5], // TB
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 可见性数据
|
|
// 可见性数据
|
|
|
visibility: ['公开', '非公开'],
|
|
visibility: ['公开', '非公开'],
|
|
|
visibilityCounts: [987, 260],
|
|
visibilityCounts: [987, 260],
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 热度数据
|
|
// 热度数据
|
|
|
hotness: ['热门', '非热门'],
|
|
hotness: ['热门', '非热门'],
|
|
|
hotnessCounts: [312, 935],
|
|
hotnessCounts: [312, 935],
|
|
|
recommended: ['已推荐', '未推荐'],
|
|
recommended: ['已推荐', '未推荐'],
|
|
|
recommendedCounts: [187, 1060],
|
|
recommendedCounts: [187, 1060],
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 文件格式数据 - 包含文件数量和平均文件大小
|
|
// 文件格式数据 - 包含文件数量和平均文件大小
|
|
|
formats: ['mp4', 'pdf', 'docx', 'pptx', 'xlsx', 'jpg', 'avi', 'wmv', 'mkv', 'other'],
|
|
formats: ['mp4', 'pdf', 'docx', 'pptx', 'xlsx', 'jpg', 'avi', 'wmv', 'mkv', 'other'],
|
|
|
formatCounts: [320, 312, 135, 189, 98, 167, 56, 67, 41, 163],
|
|
formatCounts: [320, 312, 135, 189, 98, 167, 56, 67, 41, 163],
|
|
|
formatStorage: [2.1, 0.3, 0.15, 0.25, 0.1, 0.08, 0.4, 0.3, 0.2, 0.12], // TB
|
|
formatStorage: [2.1, 0.3, 0.15, 0.25, 0.1, 0.08, 0.4, 0.3, 0.2, 0.12], // TB
|
|
|
formatAvgSize: ['6.6GB', '960MB', '1.1MB', '1.3MB', '1.0MB', '500KB', '7.1GB', '4.5GB', '4.9GB', '750KB'],
|
|
formatAvgSize: ['6.6GB', '960MB', '1.1MB', '1.3MB', '1.0MB', '500KB', '7.1GB', '4.5GB', '4.9GB', '750KB'],
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 用户参与度数据
|
|
// 用户参与度数据
|
|
|
engagement: ['观看', '收藏', '分享'],
|
|
engagement: ['观看', '收藏', '分享'],
|
|
|
engagementCounts: [89532, 15678, 7892],
|
|
engagementCounts: [89532, 15678, 7892],
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 时间趋势数据
|
|
// 时间趋势数据
|
|
|
trendLabels: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月'],
|
|
trendLabels: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月'],
|
|
|
uploadTrend: [120, 95, 140, 110, 135, 150, 130, 80],
|
|
uploadTrend: [120, 95, 140, 110, 135, 150, 130, 80],
|
|
@@ -297,7 +297,7 @@
|
|
|
plugins: {
|
|
plugins: {
|
|
|
title: {
|
|
title: {
|
|
|
display: true,
|
|
display: true,
|
|
|
- text: '按院系分布 (数量)'
|
|
|
|
|
|
|
+ text: '按单位分布 (数量)'
|
|
|
},
|
|
},
|
|
|
legend: {
|
|
legend: {
|
|
|
position: 'bottom'
|
|
position: 'bottom'
|
|
@@ -419,8 +419,8 @@
|
|
|
label: '存储空间 (TB)',
|
|
label: '存储空间 (TB)',
|
|
|
data: mockData.formatStorage,
|
|
data: mockData.formatStorage,
|
|
|
backgroundColor: [
|
|
backgroundColor: [
|
|
|
- '#e74c3c', '#3498db', '#2ecc71', '#f39c12',
|
|
|
|
|
- '#9b59b6', '#1abc9c', '#34495e', '#d35400',
|
|
|
|
|
|
|
+ '#e74c3c', '#3498db', '#2ecc71', '#f39c12',
|
|
|
|
|
+ '#9b59b6', '#1abc9c', '#34495e', '#d35400',
|
|
|
'#8e44ad', '#7f8c8d'
|
|
'#8e44ad', '#7f8c8d'
|
|
|
],
|
|
],
|
|
|
borderWidth: 2
|
|
borderWidth: 2
|
|
@@ -576,4 +576,4 @@
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
</body>
|
|
</body>
|
|
|
-</html>
|
|
|
|
|
|
|
+</html>
|