diff --git a/.env.dev b/.env.dev index ec8ac65b..67bd8cab 100644 --- a/.env.dev +++ b/.env.dev @@ -25,7 +25,7 @@ VUE_APP_BASE_API = 'http://192.168.0.33:48082' # VUE_APP_BASE_API = 'http://192.168.1.78:48082' # VUE_APP_BASE_API = 'http://192.168.1.47:48082' # socket地址 -VUE_APP_Socket_API = 'ws://192.168.0.33:48082' +VUE_APP_Socket_API = 'ws://10.70.2.2:8080' VUE_APP_Socket_Dcs_API = 'ws://10.70.180.10:8081' # 积木报表指向地址 diff --git a/src/api/monitoring/teamProduction.js b/src/api/monitoring/teamProduction.js index 792d694b..c8545a33 100644 --- a/src/api/monitoring/teamProduction.js +++ b/src/api/monitoring/teamProduction.js @@ -18,6 +18,15 @@ export function getSchedulingMonitoringRecord(query) { }) } +// 获得不同产线每小时报废数据,用于班组检测 班组生产情况详情(动态结构) +export function getSchedulingMonitoringRecord1(query) { + return request({ + url: '/base/quality-inspection-record/getSchedulingMonitoringRecord24h', + method: 'get', + params: query + }) +} + // 获得所有列表 export function groupClassesListAll(query) { return request({ diff --git a/src/router/index.js b/src/router/index.js index 40189532..1ec211f5 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -75,42 +75,19 @@ export const constantRoutes = [ hidden: true, meta: { requireToken: true } }, - // { - // path: '/', - // component: Layout, - // // redirect: 'core/base/factory', - // // children: [{ - // // path: 'index', - // // redirect: 'core/base/factory', - // // component: (resolve) => require(['@/views/index'], resolve), - // // name: '首页', - // // meta: { title: '首页', icon: 'dashboard', affix: true } - // // } - // // ] - // }, { path: '/AGVBoard', name: 'AGVBoard', - // component: Layout, - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. component: () => import(/* webpackChunkName: "about" */ '@/views/OperationalOverview/AGVBoard.vue') }, - { + { path: '/coldBoard', name: 'coldBoard', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. component: () => import(/* webpackChunkName: "about" */ '@/views/OperationalOverview/coldBoard.vue') }, - { + { path: '/processingBoard', name: 'processingBoard', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. component: () => import(/* webpackChunkName: "about" */ '@/views/OperationalOverview/processingBoard.vue') }, { @@ -141,138 +118,6 @@ export const constantRoutes = [ meta: { title: '字典数据', icon: '', activeMenu: '/system/dict' } } ] - }, - { - path: '/job', - component: Layout, - hidden: true, - children: [{ - path: 'log', - component: (resolve) => require(['@/views/infra/job/log'], resolve), - name: 'InfraJobLog', - meta: { title: '调度日志', activeMenu: '/infra/job' } - } - ] - }, { - path: '/codegen', - component: Layout, - hidden: true, - children: [{ - path: 'edit/:tableId(\\d+)', - component: (resolve) => require(['@/views/infra/codegen/editTable'], resolve), - name: 'InfraCodegenEditTable', - meta: { title: '修改生成配置', activeMenu: '/infra/codegen' } - } - ] - }, - { - path: '/bpm', - component: Layout, - hidden: true, - redirect: 'noredirect', - children: [{ - path: 'oa/leave/create', - component: (resolve) => require(['@/views/bpm/oa/leave/create'], resolve), - name: 'BpmOALeaveCreate', - meta: { title: '发起 OA 请假', icon: 'form', activeMenu: '/bpm/oa/leave' } - }, { - path: 'oa/leave/detail', - component: (resolve) => require(['@/views/bpm/oa/leave/detail'], resolve), - name: 'BpmOALeaveDetail', - meta: { title: '查看 OA 请假', icon: 'view', activeMenu: '/bpm/oa/leave' } - } - ] - }, - { - path: '/bpm', - component: Layout, - hidden: true, - children: [{ - path: 'manager/form/edit', - component: (resolve) => require(['@/views/bpm/form/formEditor'], resolve), - name: 'BpmFormEditor', - meta: { title: '流程表单-编辑', activeMenu: '/bpm/manager/form' } - }, { - path: 'manager/definition', - component: (resolve) => require(['@/views/bpm/definition/index'], resolve), - name: 'BpmProcessDefinition', - meta: { title: '流程定义', activeMenu: '/bpm/manager/model' } - }, { - path: 'manager/model/design', - component: (resolve) => require(['@/views/bpm/model/modelEditor'], resolve), - name: 'BpmModelEditor', - meta: { title: '设计流程', activeMenu: '/bpm/manager/model' } - }, { - path: 'process-instance/create', - component: (resolve) => require(['@/views/bpm/processInstance/create'], resolve), - name: 'BpmProcessInstanceCreate', - meta: { title: '发起流程', activeMenu: '/bpm/task/my' } - }, { - path: 'process-instance/detail', - component: (resolve) => require(['@/views/bpm/processInstance/detail'], resolve), - name: 'BpmProcessInstanceDetail', - meta: { title: '流程详情', activeMenu: '/bpm/task/my' } - } - ] - }, - { - path: '/property', - component: Layout, - hidden: true, - children: [{ - path: 'value/:propertyId(\\d+)', - component: (resolve) => require(['@/views/mall/product/property/value'], resolve), - name: 'ProductPropertyValue', - meta: { title: '商品属性值', icon: '', activeMenu: '/product/property' } - } - ] - }, - { - path: '/spu', - component: Layout, - hidden: true, - children: [{ - path: 'edit/:spuId(\\d+)', - component: (resolve) => require(['@/views/mall/product/spu/save'], resolve), - name: 'ProductSpuUpdate', - meta: { title: '修改商品', activeMenu: '/product/spu' } - }, - { - path: 'add', - component: (resolve) => require(['@/views/mall/product/spu/save'], resolve), - name: 'ProductSpuCreate', - meta: { title: '添加商品', activeMenu: '/product/spu' } - } - ] - }, - { - path: '/trade/order', - component: Layout, - hidden: true, - children: [ - { - path: 'detail', - name: 'TradeOrderDetail', - hidden: true, - meta: { title: '订单详情' }, - component: (resolve) => require(['@/views/mall/trade/order/detail'], resolve) - } - ] - }, - { - path: '/pay', - component: Layout, - hidden: true, - children: [{ - path: 'order/submit', - name: 'PayOrderSubmit', - hidden: true, - meta: { - title: '收银台', - noCache: true - }, - component: (resolve) => require(['@/views/pay/order/submit'], resolve) - }] } ] diff --git a/src/views/bpm/definition/index.vue b/src/views/bpm/definition/index.vue deleted file mode 100644 index dc992545..00000000 --- a/src/views/bpm/definition/index.vue +++ /dev/null @@ -1,174 +0,0 @@ - - - - - diff --git a/src/views/bpm/form/formEditor.vue b/src/views/bpm/form/formEditor.vue deleted file mode 100644 index c387ca3d..00000000 --- a/src/views/bpm/form/formEditor.vue +++ /dev/null @@ -1,567 +0,0 @@ - - - - - diff --git a/src/views/bpm/form/index.vue b/src/views/bpm/form/index.vue deleted file mode 100644 index f9bcb726..00000000 --- a/src/views/bpm/form/index.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - diff --git a/src/views/bpm/group/index.vue b/src/views/bpm/group/index.vue deleted file mode 100644 index 6c23a947..00000000 --- a/src/views/bpm/group/index.vue +++ /dev/null @@ -1,246 +0,0 @@ - - - diff --git a/src/views/bpm/model/index.vue b/src/views/bpm/model/index.vue deleted file mode 100644 index e80b9642..00000000 --- a/src/views/bpm/model/index.vue +++ /dev/null @@ -1,548 +0,0 @@ - - - - - diff --git a/src/views/bpm/model/modelEditor.vue b/src/views/bpm/model/modelEditor.vue deleted file mode 100644 index 78e78d31..00000000 --- a/src/views/bpm/model/modelEditor.vue +++ /dev/null @@ -1,170 +0,0 @@ - - - - - diff --git a/src/views/bpm/oa/leave/create.vue b/src/views/bpm/oa/leave/create.vue deleted file mode 100644 index 3ac54173..00000000 --- a/src/views/bpm/oa/leave/create.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - diff --git a/src/views/bpm/oa/leave/detail.vue b/src/views/bpm/oa/leave/detail.vue deleted file mode 100644 index 00890a5c..00000000 --- a/src/views/bpm/oa/leave/detail.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - diff --git a/src/views/bpm/oa/leave/index.vue b/src/views/bpm/oa/leave/index.vue deleted file mode 100644 index 49d5d21f..00000000 --- a/src/views/bpm/oa/leave/index.vue +++ /dev/null @@ -1,173 +0,0 @@ - - - diff --git a/src/views/bpm/processInstance/create.vue b/src/views/bpm/processInstance/create.vue deleted file mode 100644 index bf565f63..00000000 --- a/src/views/bpm/processInstance/create.vue +++ /dev/null @@ -1,168 +0,0 @@ - - - - - diff --git a/src/views/bpm/processInstance/detail.vue b/src/views/bpm/processInstance/detail.vue deleted file mode 100644 index b8a843a1..00000000 --- a/src/views/bpm/processInstance/detail.vue +++ /dev/null @@ -1,400 +0,0 @@ - - - - - diff --git a/src/views/bpm/processInstance/index.vue b/src/views/bpm/processInstance/index.vue deleted file mode 100644 index 4e681ac2..00000000 --- a/src/views/bpm/processInstance/index.vue +++ /dev/null @@ -1,182 +0,0 @@ - - - diff --git a/src/views/bpm/task/done/index.vue b/src/views/bpm/task/done/index.vue deleted file mode 100644 index 9d522bec..00000000 --- a/src/views/bpm/task/done/index.vue +++ /dev/null @@ -1,120 +0,0 @@ - - - diff --git a/src/views/bpm/task/todo/index.vue b/src/views/bpm/task/todo/index.vue deleted file mode 100644 index a14dc564..00000000 --- a/src/views/bpm/task/todo/index.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - diff --git a/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue b/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue deleted file mode 100644 index c0d922be..00000000 --- a/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue +++ /dev/null @@ -1,337 +0,0 @@ - - - diff --git a/src/views/core/monitoring/data24/index.vue b/src/views/core/monitoring/data24/index.vue index fc01728a..2d0d0623 100644 --- a/src/views/core/monitoring/data24/index.vue +++ b/src/views/core/monitoring/data24/index.vue @@ -26,7 +26,7 @@ diff --git a/src/views/infra/apiErrorLog/index.vue b/src/views/infra/apiErrorLog/index.vue deleted file mode 100644 index f076bc72..00000000 --- a/src/views/infra/apiErrorLog/index.vue +++ /dev/null @@ -1,228 +0,0 @@ - - - diff --git a/src/views/infra/build/App.vue b/src/views/infra/build/App.vue deleted file mode 100644 index b25f0b56..00000000 --- a/src/views/infra/build/App.vue +++ /dev/null @@ -1,22 +0,0 @@ - - - diff --git a/src/views/infra/build/CodeTypeDialog.vue b/src/views/infra/build/CodeTypeDialog.vue deleted file mode 100644 index 6f0c0d19..00000000 --- a/src/views/infra/build/CodeTypeDialog.vue +++ /dev/null @@ -1,110 +0,0 @@ - - - - diff --git a/src/views/infra/build/DraggableItem.vue b/src/views/infra/build/DraggableItem.vue deleted file mode 100644 index 4cccea6b..00000000 --- a/src/views/infra/build/DraggableItem.vue +++ /dev/null @@ -1,120 +0,0 @@ - diff --git a/src/views/infra/build/FormDrawer.vue b/src/views/infra/build/FormDrawer.vue deleted file mode 100644 index 8c3c3059..00000000 --- a/src/views/infra/build/FormDrawer.vue +++ /dev/null @@ -1,331 +0,0 @@ -