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('未找到文件'); + } });