From 2c006c49d24a8465189daf02fe6ac15070f61ff7 Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Wed, 31 Jul 2024 15:37:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E9=AA=8C=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/js/basis/standard/testManagementList.js | 10 +++++++--- .../pages/basic/standard/testManagementList.html | 9 +++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/main/resources/static/js/basis/standard/testManagementList.js b/src/main/resources/static/js/basis/standard/testManagementList.js index 0c52d61..b2fddb5 100644 --- a/src/main/resources/static/js/basis/standard/testManagementList.js +++ b/src/main/resources/static/js/basis/standard/testManagementList.js @@ -68,14 +68,18 @@ function initTable(dataList, limit, page) { limit: limit, cols: [ [ - {type: 'checkbox', fixed: 'left'}, + {type: 'checkbox', fixed: 'left',align: "center"}, //表头 {title: "序号", width: 80, unresize: true, align: "center", templet: function (d) { return (page - 1) * limit + d.LAY_NUM; } }, - {field: "customName", title: "送样单位", unresize: true, align: "center",width: 150}, + // {field: "customName", title: "送样单位", unresize: true, align: "center",width: 260}, + {field: "customName", width:200,title: "送样单位", unresize: true, align: "center", templet: function (d) { + return `
${d.customName}
`; + }}, + {field: "sampleTime", title: "送样时间", unresize: true, align: "center",width: 150}, {field: "sampleDev", title: "送样设备", unresize: true, align: "center",width: 150}, {field: "customNum", title: "送样数量", unresize: true, align: "center",width: 150}, @@ -83,7 +87,7 @@ function initTable(dataList, limit, page) { {field: "sampleDate", title: "收样时间", unresize: true, align: "center",width: 150}, {field: "dispatchUserName", title: "派工人", unresize: true, align: "center",width: 150}, {field: "teamName", title: "试验班组", unresize: true, align: "center",width: 150}, - {field: "", title: "状态", unresize: true, align: "center",width: 150, + {field: "", title: "状态", unresize: true, align: "center",width: 100, templet: function (d) { if (d.audtiStatus == "待试验") { var html = " 待试验"; diff --git a/src/main/resources/static/pages/basic/standard/testManagementList.html b/src/main/resources/static/pages/basic/standard/testManagementList.html index 5f7c0ae..7da9b8e 100644 --- a/src/main/resources/static/pages/basic/standard/testManagementList.html +++ b/src/main/resources/static/pages/basic/standard/testManagementList.html @@ -15,6 +15,15 @@ 试验管理 +