+
-
-
-
-
-
-
📊 总体情况
-
{{ currentYearData['1.总体情况'] }}
-
-
-
-
-
🔬 技术攻关与创新情况
-
{{ currentYearData.技术攻关与创新情况 }}
-
-
-
-
-
🏭 工程化案例
-
{{ currentYearData['2.工程化案例'] }}
-
-
-
-
-
🤝 行业服务情况
-
{{ currentYearData['3.行业服务情况'] }}
-
-
-
-
-
📚 学科发展支撑情况
-
{{ currentYearData['1.学科发展支撑情况'] }}
-
-
-
-
-
🎓 人才培养情况
-
{{ currentYearData['2.人才培养情况'] }}
-
-
-
-
-
👥 研究队伍建设情况
-
{{ currentYearData['3.研究队伍建设情况'] }}
-
-
-
-
-
🏛️ 主管部门、依托单位支持情况
-
{{ currentYearData['1.主管部门、依托单位支持情况'] }}
-
-
-
-
-
🔧 仪器设备共享等情况
-
{{ currentYearData['2.仪器设备共享等情况'] }}
-
-
-
-
-
📖 学风建设情况
-
{{ currentYearData['3.学风建设情况'] }}
-
-
-
-
-
⚖️ 技术委员会工作情况
-
{{ currentYearData['4.技术委员会工作情况'] }}
-
-
-
-
-
🎯 下一年度工作计划
-
{{ currentYearData.下一年度工作计划 }}
-
-
-
-
-
💭 问题与建议
-
{{ currentYearData.问题与建议 }}
-
-
-
-
-
📈 统计数据
-
-
-
在读博士生
-
{{ currentYearData.在读博士生 }}人
-
-
-
在读硕士生
-
{{ currentYearData.在读硕士生 }}人
-
-
-
固定人员
-
{{ currentYearData['固定人员(人)'] }}人
-
-
-
流动人员
-
{{ currentYearData['流动人员(人)'] }}人
-
-
-
有效专利
-
{{ currentYearData['有效专利(项)'] }}项
-
-
-
项目经费
-
{{ currentYearData['当年项目到账总经费(万元)'] }}万元
+
+
+
+
+
+ {{ categoryItem.category }} (总分: {{ calculateCategoryTotal(categoryItem.result) }})
+
+
+
+ {{ item.label }}:
+ {{ labData.assessmentScore[item.prop] || '0' }}
+
+
-
-
-
-
-
-
-
-
-
-
-
二级维度评估数据
-
-
-
{{ dim.name }}
-
-
-
{{ subDim.name }} (权重: {{ subDim.weight }}%)
-
+
+
+ 总分:
+ {{ overallTotalScore }}
@@ -350,61 +72,35 @@
-
@@ -1095,59 +215,34 @@ const fakeFileChange = (file) => {
/* 标签导航 */
.tab-navigation {
- display: flex;
- border-bottom: 1px solid rgba(73,134,255,0.3);
- margin-bottom: 20px;
+ display: none; /* 隐藏标签导航 */
}
.tab-item {
- padding: 10px 20px;
- cursor: pointer;
- font-size: 16px;
- color: rgba(255,255,255,0.7);
- position: relative;
+ display: none; /* 隐藏标签项 */
}
-.tab-item.active {
- color: #4986ff;
- font-weight: bold;
-}
-
-.tab-item.active::after {
- content: '';
- position: absolute;
- bottom: -1px;
- left: 0;
- width: 100%;
- height: 2px;
- background-color: #4986ff;
-}
-
-/* URL输入部分 */
+/* URL输入部分 - 已移除 */
.url-input-container {
- display: flex;
- margin-bottom: 20px;
+ display: none;
}
.url-input {
- flex: 1;
- margin-right: 10px;
+ display: none;
}
-/* 上传部分 */
+/* 上传部分 - 已移除 */
.upload-container {
- margin-bottom: 20px;
+ display: none;
}
.el-upload__tip {
- color: rgba(255,255,255,0.7);
- margin-top: 5px;
+ display: none;
}
-/* 手动输入提示 */
+/* 手动输入提示 - 已移除 */
.manual-input-tip {
- margin-bottom: 20px;
- color: rgba(255,255,255,0.7);
+ display: none;
}
/* 工程研究中心信息表单 */
@@ -1161,6 +256,7 @@ const fakeFileChange = (file) => {
}
.image-section {
+ /* 尽管不再显示图片,但保留此样式以防万一或未来修改 */
margin-right: 20px;
display: flex;
flex-direction: column;
@@ -1211,27 +307,106 @@ const fakeFileChange = (file) => {
color: rgba(255,255,255,0.7);
}
-/* 详细信息部分 */
+/* 新增的显示文本样式 */
+.display-text {
+ background-color: rgba(255,255,255,0.1);
+ box-shadow: 0 0 0 1px rgba(73,134,255,0.3) inset;
+ padding: 9px 15px;
+ border-radius: 4px;
+ min-height: 32px; /* 保持与input类似的高度 */
+ display: flex;
+ align-items: center;
+ color: white;
+ word-break: break-all; /* 防止长文本溢出 */
+}
+
+.display-textarea {
+ /* 尽管不再有直接的textarea,但保留此样式以防万一或未来修改 */
+ background-color: rgba(255,255,255,0.1);
+ box-shadow: 0 0 0 1px rgba(73,134,255,0.3) inset;
+ padding: 9px 15px;
+ border-radius: 4px;
+ min-height: 100px; /* 保持与textarea类似的高度 */
+ color: white;
+ line-height: 1.8;
+ white-space: pre-wrap; /* 保留换行符和空格 */
+ word-break: break-all;
+ /* 为内部布局设置 flex */
+ display: flex;
+ flex-direction: column;
+ gap: 20px; /* 各个分类之间的间距 */
+}
+
+/* 新增样式以匹配图片布局 */
+.category-section {
+ padding-bottom: 15px;
+ border-bottom: 1px solid rgba(73,134,255,0.2); /* 分类标题下的分隔线 */
+}
+
+.category-section:last-child {
+ border-bottom: none; /* 最后一个分类没有下划线 */
+ padding-bottom: 0;
+}
+
+.category-title {
+ font-size: 16px;
+ font-weight: bold;
+ color: #4986ff; /* 标题颜色 */
+ margin-top: 0;
+ margin-bottom: 15px;
+}
+
+.category-content {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr); /* 每行三列 */
+ gap: 15px 30px; /* 行间距和列间距 */
+}
+
+.category-item {
+ display: flex;
+ justify-content: space-between; /* 标签和分数左右对齐 */
+ align-items: baseline;
+ word-break: break-all;
+}
+
+.item-label {
+ flex: 1; /* 标签占据大部分空间 */
+ color: rgba(255,255,255,0.9);
+ margin-right: 10px; /* 标签和分数之间的间距 */
+ line-height: 20px;
+ font-size: 16px;
+}
+
+.item-score {
+ font-weight: bold;
+ color: #4986ff; /* 分数颜色 */
+ flex-shrink: 0; /* 分数不收缩 */
+}
+
+/* 详细信息部分 - 样式已移除或不再需要 */
.detail-sections {
- margin-bottom: 30px;
- background-color: #1f3266;
border-radius: 8px;
padding: 15px;
+ background-color: #1f3266;
border: 1px solid rgba(73,134,255,0.3);
}
.section-title {
+ /* 此样式已不再需要 */
margin: 15px 0 10px;
font-size: 16px;
color: rgba(255,255,255,0.9);
}
.section-content {
+ /* 此样式已不再需要 */
margin-bottom: 20px;
}
-/* 雷达图部分 */
+/* 雷达图部分 - 样式已移除或不再需要 */
.evaluation-chart-section {
+ /* 此部分已不再包含雷达图DOM,可以考虑移除整个section或将其display: none */
+ display: none; /* 隐藏雷达图容器 */
background-color: #1f3266;
border-radius: 8px;
padding: 15px;
@@ -1239,9 +414,10 @@ const fakeFileChange = (file) => {
}
.radar-chart {
+ /* 此样式已不再需要 */
width: 100%;
- height: 300px; /* 明确指定雷达图高度 */
- min-height: 300px; /* 确保最小高度 */
+ height: 0px; /* 设置高度为0或display: none */
+ min-height: 0px;
}
/* 抽屉页脚 */
@@ -1273,48 +449,7 @@ const fakeFileChange = (file) => {
}
.confirm-btn {
- background-color: rgba(14,62,167,1);
- color: rgba(255,255,255,1);
- border: 1px solid rgba(73,134,255,1);
-}
-
-/* Element Plus组件的深色主题覆盖样式 */
-:deep(.el-input__wrapper),
-:deep(.el-textarea__wrapper) {
- background-color: rgba(255,255,255,0.1);
- box-shadow: 0 0 0 1px rgba(73,134,255,0.3) inset;
-}
-
-:deep(.el-input__inner),
-:deep(.el-textarea__inner) {
- background-color: transparent;
- color: white;
-}
-
-:deep(.el-input__inner::placeholder),
-:deep(.el-textarea__inner::placeholder) {
- color: rgba(255,255,255,0.5);
-}
-
-:deep(.el-select .el-input__wrapper) {
- background-color: rgba(255,255,255,0.1);
- box-shadow: 0 0 0 1px rgba(73,134,255,0.3) inset;
-}
-
-:deep(.el-select-dropdown__item) {
- color: #606266;
-}
-
-:deep(.el-date-editor) {
- background-color: rgba(255,255,255,0.1);
- border-color: rgba(73,134,255,0.3);
- color: white;
-}
-
-:deep(.el-upload),
-:deep(.el-upload-dragger) {
- background-color: rgba(255,255,255,0.1);
- border-color: rgba(73,134,255,0.3);
+ display: none; /* 隐藏确定按钮 */
}
/* 滚动条样式 */
@@ -1381,34 +516,13 @@ const fakeFileChange = (file) => {
background-color: white;
}
-/* 年份tab样式 */
+/* 年份tab样式 - 隐藏 */
.year-tabs {
- display: flex;
- border-bottom: 1px solid rgba(73,134,255,0.3);
- margin-bottom: 20px;
- overflow-x: auto;
+ display: none;
}
.year-tab {
- padding: 12px 20px;
- cursor: pointer;
- border-bottom: 2px solid transparent;
- color: rgba(255,255,255,0.6);
- font-weight: 500;
- white-space: nowrap;
- transition: all 0.3s;
- margin-right: 10px;
-}
-
-.year-tab:hover {
- color: #4986ff;
- background-color: rgba(73,134,255,0.1);
-}
-
-.year-tab.active {
- color: #4986ff;
- border-bottom-color: #4986ff;
- background-color: rgba(73,134,255,0.2);
+ display: none;
}
/* 年度信息展示样式 */
@@ -1488,7 +602,32 @@ const fakeFileChange = (file) => {
color: #4986ff;
margin: 0 0 10px 0;
}
+
+/* 新增:总分显示样式 */
+.overall-score-section {
+ margin-top: 20px; /* 与上方内容的间距 */
+ padding: 15px;
+ background-color: rgba(12, 22, 51, 0.3);
+ border-radius: 8px;
+ border: 1px solid rgba(73, 134, 255, 0.3);
+ display: flex;
+ justify-content: flex-end; /* 靠右对齐 */
+ align-items: center;
+ font-size: 18px;
+ font-weight: bold;
+ color: #4986ff;
+}
+
+.overall-score-label {
+ margin-right: 10px;
+ color: rgba(255,255,255,0.9);
+}
+
+.overall-score-value {
+ color: #4986ff; /* 突出显示总分 */
+}
+
+}
\ No newline at end of file
diff --git a/src/config.js b/src/config.js
index 4616a1b..49a221e 100644
--- a/src/config.js
+++ b/src/config.js
@@ -3,7 +3,7 @@ const env = import.meta.env.MODE || 'development';
const config = {
development: {
- apiBaseUrl: 'http://192.168.18.25:48080',
+ apiBaseUrl: 'http://192.168.18.9:48080',
},
production: {
apiBaseUrl: 'http://36.103.203.89:48089',