add new devices Alitek

This commit is contained in:
AHKAD 2024-09-17 09:41:00 +00:00
parent 1363585b58
commit 771d3bc279
6 changed files with 40 additions and 5 deletions

BIN
static/images/ES600.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

BIN
static/images/VX820.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

View File

@ -166,10 +166,13 @@ function loadCityDetails() {
}); });
$('#datepicker').datepicker('setDate', citydetails.datepickerInput); $('#datepicker').datepicker('setDate', citydetails.datepickerInput);
}); });
} }
} }
} }

View File

@ -55,7 +55,7 @@ const models = {
"V240m": ["450-", "390-", 11], "V240m": ["450-", "390-", 11],
"V520": ["331-4", "331-9", "262-", "285-", 11], "V520": ["331-4", "331-9", "262-", "285-", 11],
"VX675": ["331-0", "331-3", "331-0", "333-", "332-", 11], "VX675": ["331-0", "331-3", "331-0", "333-", "332-", 11],
"VX820": ["903-", 11], "VX820": ["903-","327-" , 11],
"D230": ["233", 10] "D230": ["233", 10]
} }
@ -551,9 +551,17 @@ $('#showStorage').on('click', () => {
}); });
const modelImages = { const modelImages = {
'S90': './images/PAX-S90-v0.7.png', 'S90': './images/PAX-S90-v0.7.png',
'D230': './images/d230.png' 'D230': './images/d230.png',
'SP580': './images/SP580-PC-5.png',
'ES600': './images/ES600.png',
'VX820': './images/VX820.png'
// Add more models as needed // Add more models as needed
}; };
@ -696,6 +704,9 @@ async function fetchData(serial, location) {
} }
function buildHtmlTable(arr) { function buildHtmlTable(arr) {
const table = document.createElement('table'); const table = document.createElement('table');
table.setAttribute('id', 'excelTable');
table.setAttribute('class', 'redtable');
table.setAttribute('border', '2');
// const columns = addAllColumnHeaders(arr, table); // const columns = addAllColumnHeaders(arr, table);
const columns = addRowWithoutHeaders(arr, table); const columns = addRowWithoutHeaders(arr, table);
arr.forEach(item => { arr.forEach(item => {

File diff suppressed because one or more lines are too long