wip在产大屏

This commit is contained in:
jhd
2026-05-29 15:53:25 +08:00
parent b4a1b736c1
commit f432ff093c
5 changed files with 1392 additions and 2 deletions

10
src/api/wip.js Normal file
View File

@@ -0,0 +1,10 @@
import request from '@/utils/request'
// 查询钢卷待操作列表WIP 数据源)
export function listPendingAction(query) {
return request({
url: '/wms/coilPendingAction/list',
method: 'get',
params: query
})
}

View File

@@ -59,7 +59,8 @@ const menuItems = [
{ path: '/dashboard/output', meta: { title: '产出监控大屏', icon: 'output' } },
{ path: '/dashboard/stop-analysis', meta: { title: '停机分析大屏', icon: 'stop' } },
{ path: '/dashboard/acid-rolling', meta: { title: '酸轧数据大屏', icon: 'example' } },
{ path: '/warehouse-overview', meta: { title: '库区总览大屏', icon: 'example' } }
{ path: '/warehouse-overview', meta: { title: '库区总览大屏', icon: 'example' } },
{ path: '/wip', meta: { title: 'WIP在产大屏', icon: 'monitor' } }
]
</script>

View File

@@ -61,6 +61,12 @@ export const constantRoutes = [
name: 'WarehouseOverview',
component: () => import('@/views/screens/warehouse-overview/index.vue'),
meta: { title: '库区总览大屏' }
},
{
path: '/wip',
name: 'WipOverview',
component: () => import('@/views/screens/wip/index.vue'),
meta: { title: '在产大屏' }
}
]

View File

@@ -50,7 +50,7 @@ service.interceptors.response.use(
// 兼容多种返回格式
if (res && res.code !== undefined) {
if (res.code === 200) {
return res.data
return res.data !== undefined ? res.data : res
} else {
console.warn('API error:', res.message)
return res.data || []

File diff suppressed because it is too large Load Diff