样式修改
This commit is contained in:
parent
1349bf26ae
commit
4a462a5850
|
|
@ -87,7 +87,7 @@ function initTable(dataList, limit, page) {
|
||||||
|
|
||||||
|
|
||||||
// {field: "sampleDev", title: "送样设备", unresize: true, align: "center",width: 150},
|
// {field: "sampleDev", title: "送样设备", unresize: true, align: "center",width: 150},
|
||||||
{field: "sampleDev", width:150,title: "送样样品", unresize: true, align: "center", templet: function (d) {
|
{field: "sampleDev", width:200,title: "送样样品", unresize: true, align: "center", templet: function (d) {
|
||||||
return `<div class="ellipsis" title="${d.sampleDev}">${d.sampleDev}</div>`;
|
return `<div class="ellipsis" title="${d.sampleDev}">${d.sampleDev}</div>`;
|
||||||
}},
|
}},
|
||||||
|
|
||||||
|
|
@ -145,7 +145,7 @@ function initTable(dataList, limit, page) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},*/
|
},*/
|
||||||
{title: "操作", unresize: true, width: 150, align: "center",
|
{title: "操作", unresize: true, width: 130, align: "center",
|
||||||
templet: function (d) {
|
templet: function (d) {
|
||||||
var id = d.id;
|
var id = d.id;
|
||||||
var customNum = d.customNum
|
var customNum = d.customNum
|
||||||
|
|
|
||||||
|
|
@ -16,13 +16,13 @@
|
||||||
<script type="text/javascript" src="../../../js/my/permission.js"></script>
|
<script type="text/javascript" src="../../../js/my/permission.js"></script>
|
||||||
<title>试验管理</title>
|
<title>试验管理</title>
|
||||||
<style>
|
<style>
|
||||||
.ellipsis {
|
/*.ellipsis {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
max-width: 150px; /* 根据需要调整宽度 */
|
max-width: 150px; !* 根据需要调整宽度 *!
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}*/
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue