测试信息页面优化: 限制6000条、字段调整、车检器序列号搜索
- 查询/导出/图表统一 LIMIT 6000 条 - 列顺序: 时间→第一列, 测试模式→最后一列, 隐藏ID - 设备编码只显示后6位, 默认每页100条 - 新增车检器序列号搜索 (detector_serial LIKE) - 四个文件同步修改: models.py, test_data.py, test_data.js, test_data.html
This commit is contained in:
@@ -21,7 +21,11 @@
|
||||
<div class="search-bar">
|
||||
<label>
|
||||
设备编码:
|
||||
<input type="text" id="search-serial" placeholder="输入设备编码搜索...">
|
||||
<input type="text" id="search-serial" placeholder="设备编码...">
|
||||
</label>
|
||||
<label>
|
||||
车检器序列号:
|
||||
<input type="text" id="search-detector-serial" placeholder="车检器序列号...">
|
||||
</label>
|
||||
<label>
|
||||
时间范围:
|
||||
@@ -38,7 +42,7 @@
|
||||
<select id="per-page" onchange="searchData(1)" style="width:70px;">
|
||||
<option value="20">20</option>
|
||||
<option value="50">50</option>
|
||||
<option value="100">100</option>
|
||||
<option value="100" selected>100</option>
|
||||
</select>
|
||||
</label>
|
||||
<button id="btn-chart" class="btn-chart" onclick="toggleChart()">📈 图表</button>
|
||||
|
||||
Reference in New Issue
Block a user