样式修改
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", 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>`;
|
||||
}},
|
||||
|
||||
|
|
@ -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) {
|
||||
var id = d.id;
|
||||
var customNum = d.customNum
|
||||
|
|
|
|||
|
|
@ -16,13 +16,13 @@
|
|||
<script type="text/javascript" src="../../../js/my/permission.js"></script>
|
||||
<title>试验管理</title>
|
||||
<style>
|
||||
.ellipsis {
|
||||
/*.ellipsis {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 150px; /* 根据需要调整宽度 */
|
||||
max-width: 150px; !* 根据需要调整宽度 *!
|
||||
display: block;
|
||||
}
|
||||
}*/
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Reference in New Issue