From 3ae11e4dcb451bdeb7c4ae64083ce8a6a1783003 Mon Sep 17 00:00:00 2001 From: hayu <1604366271@qq.com> Date: Mon, 29 Jul 2024 10:49:16 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=A3=80=E6=B5=8B=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/js/samples/samplesMge.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/resources/static/js/samples/samplesMge.js b/src/main/resources/static/js/samples/samplesMge.js index 0f6c2d2..c59b79f 100644 --- a/src/main/resources/static/js/samples/samplesMge.js +++ b/src/main/resources/static/js/samples/samplesMge.js @@ -98,22 +98,22 @@ function initTable(dataList, limit, page) { } }, {field: "customName", width:260,title: "送样单位", unresize: true, align: "center", templet: function (d) { - return `
${d.customName}
`; + return `
${d.customName}
`; }}, {field: "sampleUser", width:150,title: "送样人", unresize: true, align: "center", templet: function (d) { - return `
${d.sampleUser}
`; + return `
${d.sampleUser}
`; }}, {field: "sampleTime", width:210,title: "送样时间", unresize: true, align: "center", templet: function (d) { - return `
${d.sampleTime}
`; + return `
${d.sampleTime}
`; }}, {field: "sampleTools", width:280,title: "送样设备", unresize: true, align: "center", templet: function (d) { - return `
${d.sampleTools}
`; + return `
${d.sampleTools}
`; }}, {field: "collectSamplesUser", width:140,title: "收样人", unresize: true, align: "center", templet: function (d) { - return `
${d.collectSamplesUser}
`; + return `
${d.collectSamplesUser}
`; }}, {field: "collectSamplesTime", width:210,title: "收样时间", unresize: true, align: "center", templet: function (d) { - return `
${d.collectSamplesTime}
`; + return `
${d.collectSamplesTime}
`; }}, { field: "teamName", width:210,title: "试验班组", unresize: true, align: "center", templet: function (d) { @@ -121,7 +121,7 @@ function initTable(dataList, limit, page) { if (d.teamName == null) { view = "未派工"; } else { - view = `${d.teamName}`; + view = `${d.teamName}`; } return view; } From ef784a47fb220201f622b270e9fdf47787a7febc Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Mon, 29 Jul 2024 10:53:59 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8E=9F=E5=A7=8B=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/bonus/aqgqj/basis/controller/DownLoadController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/bonus/aqgqj/basis/controller/DownLoadController.java b/src/main/java/com/bonus/aqgqj/basis/controller/DownLoadController.java index 80688a9..f5873d9 100644 --- a/src/main/java/com/bonus/aqgqj/basis/controller/DownLoadController.java +++ b/src/main/java/com/bonus/aqgqj/basis/controller/DownLoadController.java @@ -491,7 +491,7 @@ public class DownLoadController { if (basisVos.size() == 1) { sb.append("1、" + basisVo.getBasisName()); } else { - sb.append(i + "、" + basisVo.getBasisName() + "\n"); + sb.append((i + 1) + "、" + basisVo.getBasisName() + "\n"); } } }