From 5c1a62b69ed4881d865558ae5a0f19fdda780714 Mon Sep 17 00:00:00 2001
From: "liang.chao" <1360241448@qq.com>
Date: Tue, 10 Jun 2025 10:14:39 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main/resources/static/home.html | 2 +-
.../outsourcerEvaluation/evaluationForm.html | 34 +++++++++----------
2 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/main/resources/static/home.html b/src/main/resources/static/home.html
index 9fd6ec3..e0f1936 100644
--- a/src/main/resources/static/home.html
+++ b/src/main/resources/static/home.html
@@ -33,7 +33,7 @@
-
欢迎使用甘肃分包评价系统
+
欢迎使用分包评价系统
diff --git a/src/main/resources/static/pages/evaluate/outsourcerEvaluation/evaluationForm.html b/src/main/resources/static/pages/evaluate/outsourcerEvaluation/evaluationForm.html
index d5eb3e8..1ee1e31 100644
--- a/src/main/resources/static/pages/evaluate/outsourcerEvaluation/evaluationForm.html
+++ b/src/main/resources/static/pages/evaluate/outsourcerEvaluation/evaluationForm.html
@@ -501,25 +501,25 @@
$(document).on('click', '.layui-table-cell', function (e) {
console.log('点击了单元格')
- // var dataId = $(this).data('id');
- // var dataIndex = $(this).data('index');
- // console.log('File icon clicked', {
- // dataIndex: dataIndex,
- // dataId: dataId,
- // rowData: tableRowList[dataIndex]
- // });
+ var dataId = $(this).data('id');
+ var dataIndex = $(this).data('index');
+ console.log('File icon clicked', {
+ dataIndex: dataIndex,
+ dataId: dataId,
+ rowData: tableRowList[dataIndex]
+ });
- // // 获取文件信息
- // const fileInfo = tableRowList[dataIndex][`${dataId}-file`];
- // if (fileInfo && fileInfo.fileName) {
- // // 这里添加你的文件查看/下载逻辑
- // layer.msg(`文件名: ${fileInfo.fileName}`);
+ // 获取文件信息
+ const fileInfo = tableRowList[dataIndex][`${dataId}-file`];
+ if (fileInfo && fileInfo.fileName) {
+ // 这里添加你的文件查看/下载逻辑
+ layer.msg(`文件名: ${fileInfo.fileName}`);
- // // 示例:在新窗口打开文件
- // window.open(ctxPath + '/file/download?path=' + encodeURIComponent(fileInfo.filePath));
- // } else {
- // layer.msg('未找到文件');
- // }
+ // 示例:在新窗口打开文件
+ window.open(ctxPath + '/file/download?path=' + encodeURIComponent(fileInfo.filePath));
+ } else {
+ layer.msg('未找到文件');
+ }
});