From dcc2209842f317bc0d5495e75c840e4d1cc550b6 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Thu, 5 Jun 2025 10:37:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../outsourcerEvaluation/evaluationForm.html | 31 ++++++++++++------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/src/main/resources/static/pages/evaluate/outsourcerEvaluation/evaluationForm.html b/src/main/resources/static/pages/evaluate/outsourcerEvaluation/evaluationForm.html index 1f19947..0179c19 100644 --- a/src/main/resources/static/pages/evaluate/outsourcerEvaluation/evaluationForm.html +++ b/src/main/resources/static/pages/evaluate/outsourcerEvaluation/evaluationForm.html @@ -219,7 +219,7 @@ let dataId = $(this).data('field') if (item1[`${dataId}-file`] && item1[`${dataId}-file`]['fileName'] != '') { - $(this).find('.layui-table-cell').append(` `) + $(this).find('.layui-table-cell').append(` `) } } @@ -425,7 +425,14 @@ $(`#upload-success_${Index} .prepend-content`).remove(); }) $(`#uploadBtn${Index}`).show() + }) + $(document).on('click', '.file-icon', function () { + var dataId = $(this).data('id'); + var dataIndex = $(this).data('index'); + console.log('dataIndex图标', dataIndex) + console.log('dataId图标', dataId) + console.log('tableRowList图标', tableRowList[dataIndex]) }) tableLoading && layer.close(tableLoading); } @@ -514,17 +521,17 @@ function getTableData() { - /* for (var i = 0; i < tableRowList.length; i++) { - var item = tableRowList[i]; - for (var key in item) { - if (key.indexOf("-") !== -1) { - if (item[key] === '' || item[key] === null) { - layer.msg('请对所有指标评价完成,再点击提交!'); - return; - } - } - } - }*/ + /* for (var i = 0; i < tableRowList.length; i++) { + var item = tableRowList[i]; + for (var key in item) { + if (key.indexOf("-") !== -1) { + if (item[key] === '' || item[key] === null) { + layer.msg('请对所有指标评价完成,再点击提交!'); + return; + } + } + } + }*/ // //获取表格填写的数据