试验管理
This commit is contained in:
parent
faced83dcb
commit
c9ff8978c3
|
|
@ -157,7 +157,7 @@ body {
|
||||||
|
|
||||||
.layui-table-cell a.layui-icon{
|
.layui-table-cell a.layui-icon{
|
||||||
color: #2F82FB;
|
color: #2F82FB;
|
||||||
font-size: 24px !important;
|
font-size: 22px !important;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
|
|
||||||
|
|
@ -810,13 +810,14 @@ function generateRows(data,sampleDeviceVos){
|
||||||
// 遍历itemList的长度,而不是itemList本身,以匹配表头的列数
|
// 遍历itemList的长度,而不是itemList本身,以匹配表头的列数
|
||||||
for (let i = 0; i < columns; i++) {
|
for (let i = 0; i < columns; i++) {
|
||||||
const td = document.createElement('td');
|
const td = document.createElement('td');
|
||||||
td.style.width = '200vw';
|
// td.style.width = '200vw';
|
||||||
const input = document.createElement('input');
|
const input = document.createElement('input');
|
||||||
input.type = 'text';
|
input.type = 'text';
|
||||||
input.id = `devData-${idCounter}-${i + 1}`;
|
input.id = `devData-${idCounter}-${i + 1}`;
|
||||||
input.name = `devData-${idCounter}-${i + 1}`;
|
input.name = `devData-${idCounter}-${i + 1}`;
|
||||||
input.classList.add('layui-input');
|
input.classList.add('layui-input');
|
||||||
input.maxLength='30';
|
input.maxLength='30';
|
||||||
|
input.style.width= '166px';
|
||||||
input.setAttribute('lay-verify', 'required');
|
input.setAttribute('lay-verify', 'required');
|
||||||
td.appendChild(input);
|
td.appendChild(input);
|
||||||
row.appendChild(td);
|
row.appendChild(td);
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,10 @@
|
||||||
width: 200vw !important;
|
width: 200vw !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-cell-wide >input{
|
||||||
|
width: 166px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.layui-table th, .layui-table td {
|
.layui-table th, .layui-table td {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,8 @@
|
||||||
width: 340px;
|
width: 340px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.center-aligned {
|
.center-aligned {
|
||||||
text-align: center !important;
|
text-align: center !important;
|
||||||
}
|
}
|
||||||
|
|
@ -44,6 +46,10 @@
|
||||||
width: 200vw !important;
|
width: 200vw !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-cell-wide >input{
|
||||||
|
width: 166px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.layui-table th, .layui-table td {
|
.layui-table th, .layui-table td {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue