fix:修改

This commit is contained in:
zhouz
2025-05-28 16:11:10 +08:00
parent 8fedac67aa
commit d0ba3ac408

View File

@@ -189,9 +189,9 @@
</div>
<script>
const logApiUrl = 'http://localhost:9999/api/wms/apply/v2/tzInfo';
const logApiUrl = 'http://10.1.3.91:8013/api/wms/apply/v2/tzInfo';
const devices = ['B_CBJ01', 'B_CBJ02'];
const refreshInterval = 5000; // 刷新间隔统一为5
const refreshInterval = 10000; // 刷新间隔统一为10
async function fetchLogData(deviceCode) {
try {
@@ -262,7 +262,7 @@
}
// 新增表格数据相关逻辑
const tableApiUrl = 'http://127.0.0.1:9999/api/pda/slitter/showManualView';
const tableApiUrl = 'http://10.1.3.91:8013/api/pda/slitter/showManualView';
async function fetchTableData() {
try {
@@ -371,7 +371,7 @@
}
// 新增获取tip并显示在标题后
const tipApiUrl = 'http://localhost:9999/api/wms/apply/v2/tzTaskINfo';
const tipApiUrl = 'http://10.1.3.91:8013/api/wms/apply/v2/tzTaskINfo';
async function fetchAndDisplayTip(deviceCode) {
try {
const response = await fetch(tipApiUrl, {