试验管理
This commit is contained in:
parent
53b7f0cf03
commit
2c006c49d2
|
|
@ -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 `<div class="ellipsis" title="${d.customName}">${d.customName}</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},
|
||||
|
|
@ -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 = " <span style='color: #9BB0FF'>待试验</span>";
|
||||
|
|
|
|||
|
|
@ -15,6 +15,15 @@
|
|||
<script src="../../../js/ajaxRequest.js"></script>
|
||||
<script type="text/javascript" src="../../../js/my/permission.js"></script>
|
||||
<title>试验管理</title>
|
||||
<style>
|
||||
.ellipsis {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 150px; /* 根据需要调整宽度 */
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
|
|
|
|||
Loading…
Reference in New Issue