试验管理
This commit is contained in:
parent
2c006c49d2
commit
699fe7a49a
|
|
@ -78,16 +78,30 @@ function initTable(dataList, limit, page) {
|
||||||
// {field: "customName", title: "送样单位", unresize: true, align: "center",width: 260},
|
// {field: "customName", title: "送样单位", unresize: true, align: "center",width: 260},
|
||||||
{field: "customName", width:200,title: "送样单位", unresize: true, align: "center", templet: function (d) {
|
{field: "customName", width:200,title: "送样单位", unresize: true, align: "center", templet: function (d) {
|
||||||
return `<div class="ellipsis" title="${d.customName}">${d.customName}</div>`;
|
return `<div class="ellipsis" title="${d.customName}">${d.customName}</div>`;
|
||||||
|
}},
|
||||||
|
|
||||||
|
// {field: "sampleTime", title: "送样时间", unresize: true, align: "center",width: 150},
|
||||||
|
{field: "sampleTime", width:150,title: "送样时间", unresize: true, align: "center", templet: function (d) {
|
||||||
|
return `<div class="ellipsis" title="${d.sampleTime}">${d.sampleTime}</div>`;
|
||||||
|
}},
|
||||||
|
|
||||||
|
|
||||||
|
// {field: "sampleDev", title: "送样设备", unresize: true, align: "center",width: 150},
|
||||||
|
{field: "sampleDev", width:150,title: "送样设备", unresize: true, align: "center", templet: function (d) {
|
||||||
|
return `<div class="ellipsis" title="${d.sampleDev}">${d.sampleDev}</div>`;
|
||||||
}},
|
}},
|
||||||
|
|
||||||
{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},
|
{field: "customNum", title: "送样数量", unresize: true, align: "center",width: 150},
|
||||||
{field: "sampleUserName", title: "收样人", unresize: true, align: "center",width: 150},
|
{field: "sampleUserName", title: "收样人", unresize: true, align: "center",width: 150},
|
||||||
{field: "sampleDate", title: "收样时间", unresize: true, align: "center",width: 150},
|
// {field: "sampleDate", title: "收样时间", unresize: true, align: "center",width: 150},
|
||||||
|
|
||||||
|
{field: "sampleDate", width:150,title: "收样时间", unresize: true, align: "center", templet: function (d) {
|
||||||
|
return `<div class="ellipsis" title="${d.sampleDate}">${d.sampleDate}</div>`;
|
||||||
|
}},
|
||||||
|
|
||||||
{field: "dispatchUserName", 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: "teamName", title: "试验班组", unresize: true, align: "center",width: 150},
|
||||||
{field: "", title: "状态", unresize: true, align: "center",width: 100,
|
{field: "", title: "状态", unresize: true, align: "center",width: 110,
|
||||||
templet: function (d) {
|
templet: function (d) {
|
||||||
if (d.audtiStatus == "待试验") {
|
if (d.audtiStatus == "待试验") {
|
||||||
var html = " <span style='color: #9BB0FF'>待试验</span>";
|
var html = " <span style='color: #9BB0FF'>待试验</span>";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue