fix: 部分调整
This commit is contained in:
@@ -537,6 +537,23 @@
|
||||
function initializeDeviceFilter() {
|
||||
const filterSelect = document.getElementById('device-filter');
|
||||
if (!filterSelect) return;
|
||||
// 生成B50XN00001-B50XN00004
|
||||
for (let i = 1; i <= 4; i++) {
|
||||
const deviceId = `B50XN${String(i).padStart(5, '0')}`;
|
||||
const option = document.createElement('option');
|
||||
option.value = deviceId;
|
||||
option.textContent = deviceId;
|
||||
filterSelect.appendChild(option);
|
||||
}
|
||||
|
||||
// 生成B60XN00001-B60XN00004
|
||||
for (let i = 1; i <= 4; i++) {
|
||||
const deviceId = `B60XN${String(i).padStart(5, '0')}`;
|
||||
const option = document.createElement('option');
|
||||
option.value = deviceId;
|
||||
option.textContent = deviceId;
|
||||
filterSelect.appendChild(option);
|
||||
}
|
||||
|
||||
// 生成B50FQ00001-B50FQ00012
|
||||
for (let i = 1; i <= 12; i++) {
|
||||
|
||||
Reference in New Issue
Block a user