diff --git a/src/views/3DOverview/components/DianChart.vue b/src/views/3DOverview/components/DianChart.vue index a4ec652..c92d2c3 100644 --- a/src/views/3DOverview/components/DianChart.vue +++ b/src/views/3DOverview/components/DianChart.vue @@ -5,6 +5,245 @@ diff --git a/src/views/3DOverview/components/LeftContentPublicConsume.vue b/src/views/3DOverview/components/LeftContentPublicConsume.vue index 8a16050..b3595c5 100644 --- a/src/views/3DOverview/components/LeftContentPublicConsume.vue +++ b/src/views/3DOverview/components/LeftContentPublicConsume.vue @@ -73,8 +73,8 @@ dian -
- +
+
@@ -85,9 +85,9 @@ fadian 发电 -
+
- +
@@ -116,7 +116,7 @@ export default { .public-consume__inner { overflow: hidden; overflow-y: auto; - height: calc(100% - 32px); + height: calc(100% - calc(32px * var(--beilv))); width: 100%; display: flex; flex-direction: column; @@ -161,7 +161,7 @@ export default { flex-direction: column; font-size: calc(12px * var(--beilv)); color: #fff9; - height: 10px; + height: calc(48px * var(--beilv)); flex: 1 1; gap: calc(4px * var(--beilv)); } diff --git a/src/views/3DOverview/components/RightContentAlert.vue b/src/views/3DOverview/components/RightContentAlert.vue index 37bb346..c6adc72 100644 --- a/src/views/3DOverview/components/RightContentAlert.vue +++ b/src/views/3DOverview/components/RightContentAlert.vue @@ -53,45 +53,38 @@ const PriorityComponent = { const tableProps = [ { prop: 'eqName', label: '设备名称', align: 'center', 'min-width': 90 }, - { prop: 'plName', label: '所属产线', align: 'center', 'min-width': 90 }, - { prop: 'priority', label: '提示等级', align: 'center', 'min-width': 90, subcomponent: PriorityComponent }, - { prop: 'content', label: '巡检内容', align: 'center', 'min-width': 120 }, + // { prop: 'plName', label: '所属产线', align: 'center', 'min-width': 90 }, + { prop: 'priority', label: '提示等级', align: 'center', 'min-width': 70, subcomponent: PriorityComponent }, + { prop: 'content', label: '报警内容', align: 'center', 'min-width': 120 }, { prop: 'duration', label: '累计时间(min)', align: 'center', 'min-width': 125 } ] const tableData = [ - { eqName: '磨边', plName: 'B', content: '表面检测光源和相机的卫生', priority: 1, duration: '30 min' }, - { eqName: '冷却', plName: 'A', content: '辊道下方的碎玻璃清理', priority: 3, duration: '1 min' }, - { eqName: '丝印', plName: 'A', content: '边角检测设备水平的校正', priority: 2, duration: '57 min' }, - { eqName: '打孔后清洗机', plName: 'B', content: '设备表面的卫生', priority: 3, duration: '17 min' }, - { eqName: '固化', plName: 'B', content: '操作台保持整洁', priority: 2, duration: '22 min' }, - { eqName: '一镀', plName: 'B', content: '辊道下方的碎玻璃清理', priority: 3, duration: '2 min' }, - { eqName: '钢化', plName: 'A', content: '检查每日不良是否存在误检', priority: 2, duration: '23 min' }, - { eqName: '磨边', plName: 'B', content: '水冷机内水量充足并且清洁', priority: 3, duration: '6 min' }, - { eqName: '磨边', plName: 'B', content: '表面检测光源和相机的卫生', priority: 2, duration: '23 min' }, + { eqName: 'B1磨边', plName: 'B', content: '磨轮过载', priority: 1, duration: '30 min' }, + { eqName: 'A2丝印', plName: 'A', content: '网版推出异常', priority: 2, duration: '57 min' }, + { eqName: 'B1打孔后清洗', plName: 'B', content: '毛刷过载', priority: 3, duration: '17 min' }, + { eqName: 'B1固化', plName: 'B', content: '传动变频器故障', priority: 2, duration: '22 min' }, + { eqName: 'A钢化', plName: 'A', content: '加热炉体超温报警', priority: 2, duration: '23 min' }, + { eqName: 'B2磨边', plName: 'B', content: '磨轮过载', priority: 3, duration: '6 min' }, + { eqName: 'B1磨边', plName: 'B', content: '磨轮过载', priority: 2, duration: '23 min' }, { - eqName: '磨边后清洗机', + eqName: 'A2磨边后清洗', plName: 'A', - content: '马华部地般平感为转出形就特务把提存。', + content: '进料检测异常', priority: 2, duration: '18 min' }, - { eqName: '预热', plName: 'B', content: '米织类劳约相查个而美五千老。', priority: 3, duration: '24 min' }, - { eqName: '打孔后清洗机', plName: 'A', content: '历红群色务口史验话备必工少光。', priority: 1, duration: '48 min' }, - { eqName: '磨边', plName: 'A', content: '三其由体管严能习使为已身月。', priority: 3, duration: '29 min' }, - { eqName: '钢后清洗机', plName: 'A', content: '什近率期开构产府收由制期周。', priority: 1, duration: '47 min' }, - { eqName: '下片', plName: 'A', content: '花公建了办间话个做直志利更在于。', priority: 2, duration: '49 min' }, - { eqName: '一镀', plName: 'B', content: '术任该石代并战面广西处面住王规从他算。', priority: 3, duration: '42 min' }, - { eqName: '二镀', plName: 'A', content: '体才眼自造统六识进后历定因受国。', priority: 2, duration: '42 min' }, + { eqName: 'A3打孔后清洗', plName: 'A', content: '进料检测异常', priority: 1, duration: '48 min' }, + { eqName: 'A3磨边', plName: 'A', content: '磨轮过载', priority: 3, duration: '29 min' }, + { eqName: 'A2钢化后清洗', plName: 'A', content: '进料检测异常', priority: 1, duration: '47 min' }, + { eqName: 'A2下片', plName: 'A', content: '磨轮过载', priority: 2, duration: '49 min' }, { - eqName: '钢后清洗机', + eqName: 'A3钢化后清洗', plName: 'A', - content: '就门务程过志率难每维原就快没省为满候。', + content: '输送变频报警', priority: 2, duration: '33 min' - }, - { eqName: '预热', plName: 'A', content: '金单能信较生七族接处人门例图取之。', priority: 2, duration: '34 min' }, - { eqName: '预热', plName: 'B', content: '会带给山气己进相构位节采调而音集。', priority: 3, duration: '6 min' } + } ] export default { @@ -114,7 +107,7 @@ export default { } .right-content-alert { - height: calc(100% - 32px); + height: calc(100% - calc(32px * var(--beilv))); display: flex; gap: calc(100vw / 1920 * 16); overflow: hidden; diff --git a/src/views/3DOverview/components/RightContentFaultAnalysis.vue b/src/views/3DOverview/components/RightContentFaultAnalysis.vue index 4e7ef0d..4242da3 100644 --- a/src/views/3DOverview/components/RightContentFaultAnalysis.vue +++ b/src/views/3DOverview/components/RightContentFaultAnalysis.vue @@ -106,8 +106,8 @@ export default { configs: { title: { textAlign: 'center', - left: '64%', - top: '48%', + left: '67%', + top: '50%', text: demoData.reduce((prev, curr) => prev + curr.value, 0), textStyle: { color: '#fff', @@ -124,6 +124,7 @@ export default { }, legend: { + selectedMode: false, top: 0, bottom: 0, left: 0, @@ -208,9 +209,10 @@ export default { series: [ { + silent: true, name: 'PieForm', type: 'pie', - center: ['65%', '60%'], + center: ['68%', '61%'], radius: ['42%', '60%'], avoidLabelOverlap: true, label: { @@ -301,7 +303,8 @@ export default { this.configs.title.textStyle.fontSize = titleSize this.configs.title.subtextStyle.fontSize = subtitleSize - this.configs.legend.top = '24%' + this.configs.legend.top = '26%' + this.configs.legend.left = fs8 this.configs.legend.itemGap = fs8 this.configs.legend.itemWidth = fs8 @@ -325,11 +328,11 @@ export default { this.configs.legend.textStyle.rich.g.height = fs8 this.configs.legend.textStyle.rich.g.borderRadius = fs5 - this.configs.series[0].label.rich.first.fontSize = fs12 - this.configs.series[0].label.rich.second.fontSize = fs12 - this.configs.series[0].label.rich.third.fontSize = fs12 - this.configs.series[0].label.rich.fourth.fontSize = fs12 - this.configs.series[0].label.rich.fifth.fontSize = fs12 + this.configs.series[0].label.rich.first.fontSize = fs10 + this.configs.series[0].label.rich.second.fontSize = fs10 + this.configs.series[0].label.rich.third.fontSize = fs10 + this.configs.series[0].label.rich.fourth.fontSize = fs10 + this.configs.series[0].label.rich.fifth.fontSize = fs10 this.chart.setOption(this.configs) } diff --git a/src/views/3DOverview/components/RightContentProductRate.vue b/src/views/3DOverview/components/RightContentProductRate.vue index ec06e40..b93ed6e 100644 --- a/src/views/3DOverview/components/RightContentProductRate.vue +++ b/src/views/3DOverview/components/RightContentProductRate.vue @@ -1,276 +1,253 @@ + .right-container { + display: inline-block; + // width: calc(100% - 510px); + width: 49%; + vertical-align: top; + height: 100%; + padding-top: 23px; + } +} + diff --git a/src/views/EquipmentManager/mockData.js b/src/views/EquipmentManager/mockData.js index 0f31e6f..cff0dbd 100644 --- a/src/views/EquipmentManager/mockData.js +++ b/src/views/EquipmentManager/mockData.js @@ -34,7 +34,7 @@ const PriorityComponent = { export const equipmentExceptionProps = [ { label: '设备名称', prop: 'eqName', align: 'center', 'min-width': 55 }, - { label: '所属产线', prop: 'pl', align: 'center', 'min-width': 55 }, + // { label: '所属产线', prop: 'pl', align: 'center', 'min-width': 55 }, { label: '报修/异常内容', prop: 'content', align: 'center', 'min-width': 80 }, { label: '报修/发现人', prop: 'creator', align: 'center', 'min-width': 60 }, { label: '时间', prop: 'time', align: 'center', 'min-width': 80 }, @@ -42,26 +42,26 @@ export const equipmentExceptionProps = [ ] export const equipmentExceptionDatalist = [ - { "eqName": "丝印机", "pl": "A", "content": "网版推出异常", "creator": "马磊", "time": "2022-11-20 22:00:34", "priority": 3 }, - { "eqName": "清洗机", "pl": "B", "content": "毛刷过载", "creator": "贺刚", "time": "2022-11-20 06:30:01", "priority": 2 }, - { "eqName": "磨边机", "pl": "B", "content": "磨轮过载", "creator": "冯丽", "time": "2022-11-20 07:09:16", "priority": 2 }, - { "eqName": "镀膜", "pl": "A", "content": "胶辊变频异常", "creator": "梁秀兰", "time": "2022-11-20 08:21:36", "priority": 3 }, - { "eqName": "丝印机", "pl": "B", "content": "印刷轴异常", "creator": "卢敏", "time": "2022-11-20 04:45:00", "priority": 2 }, - { "eqName": "磨边机", "pl": "A", "content": "磨轮过载", "creator": "方勇", "time": "2022-11-20 06:41:06", "priority": 2 }, - { "eqName": "清洗机", "pl": "B", "content": "毛刷过载", "creator": "赵静", "time": "2022-11-20 03:36:47", "priority": 2 }, - { "eqName": "镀膜", "pl": "A", "content": "胶辊变频异常", "creator": "姜洋", "time": "2022-11-20 07:56:26", "priority": 3 }, - { "eqName": "磨边机", "pl": "A", "content": "磨轮过载", "creator": "赖艳", "time": "2022-11-20 12:01:14", "priority": 1 }, - { "eqName": "丝印机", "pl": "A", "content": "进气压力过低", "creator": "熊静", "time": "2022-11-20 03:24:33", "priority": 1 }, - { "eqName": "清洗机", "pl": "B", "content": "进料检测异常", "creator": "龚明", "time": "2022-11-21 16:26:11", "priority": 2 }, - { "eqName": "钢化炉", "pl": "A", "content": "传动变频器故障", "creator": "万娟", "time": "2022-11-21 08:44:41", "priority": 2 }, - { "eqName": "丝印机", "pl": "B", "content": "进气压力过低", "creator": "徐丽", "time": "2022-11-21 21:15:10", "priority": 2 }, - { "eqName": "镀膜", "pl": "A", "content": "固化变频异常", "creator": "叶娜", "time": "2022-11-21 22:45:13", "priority": 1 }, - { "eqName": "钢化炉", "pl": "A", "content": "传动变频器故障", "creator": "田磊", "time": "2022-11-21 07:24:59", "priority": 2 }, - { "eqName": "钢化炉", "pl": "A", "content": "加热炉体超温报警", "creator": "邱平", "time": "2022-11-21 17:53:18", "priority": 2 }, - { "eqName": "磨边机", "pl": "B", "content": "磨轮过载", "creator": "赵艳", "time": "2022-11-21 18:10:32", "priority": 2 }, - { "eqName": "钢化炉", "pl": "B", "content": "传动变频器故障", "creator": "江伟", "time": "2022-11-21 17:29:44", "priority": 2 }, - { "eqName": "清洗机", "pl": "B", "content": "输送变频报警", "creator": "周洋", "time": "2022-11-21 02:49:09", "priority": 3 }, - { "eqName": "磨边机", "pl": "A", "content": "磨轮过载", "creator": "邱超", "time": "2022-11-21 20:41:53", "priority": 1 }, + { "eqName": "A1丝印", "pl": "A", "content": "网版推出异常", "creator": "马磊", "time": "2022-11-20 22:00:34", "priority": 3 }, + { "eqName": "B1磨边后清洗", "pl": "B", "content": "毛刷过载", "creator": "贺刚", "time": "2022-11-20 06:30:01", "priority": 2 }, + { "eqName": "B1磨边", "pl": "B", "content": "磨轮过载", "creator": "冯丽", "time": "2022-11-20 07:09:16", "priority": 2 }, + // { "eqName": "镀膜", "pl": "A", "content": "胶辊变频异常", "creator": "梁秀兰", "time": "2022-11-20 08:21:36", "priority": 3 }, + { "eqName": "B2丝印", "pl": "B", "content": "印刷轴异常", "creator": "卢敏", "time": "2022-11-20 04:45:00", "priority": 2 }, + { "eqName": "A3磨边", "pl": "A", "content": "磨轮过载", "creator": "方勇", "time": "2022-11-20 06:41:06", "priority": 2 }, + { "eqName": "B2打孔后清洗", "pl": "B", "content": "毛刷过载", "creator": "赵静", "time": "2022-11-20 03:36:47", "priority": 2 }, + // { "eqName": "镀膜", "pl": "A", "content": "胶辊变频异常", "creator": "姜洋", "time": "2022-11-20 07:56:26", "priority": 3 }, + { "eqName": "A2磨边", "pl": "A", "content": "磨轮过载", "creator": "赖艳", "time": "2022-11-20 12:01:14", "priority": 1 }, + { "eqName": "A2丝印", "pl": "A", "content": "进气压力过低", "creator": "熊静", "time": "2022-11-20 03:24:33", "priority": 1 }, + { "eqName": "B1打孔后清洗", "pl": "B", "content": "进料检测异常", "creator": "龚明", "time": "2022-11-21 16:26:11", "priority": 2 }, + { "eqName": "A钢化", "pl": "A", "content": "传动变频器故障", "creator": "万娟", "time": "2022-11-21 08:44:41", "priority": 2 }, + { "eqName": "B3丝印", "pl": "B", "content": "进气压力过低", "creator": "徐丽", "time": "2022-11-21 21:15:10", "priority": 2 }, + // { "eqName": "镀膜", "pl": "A", "content": "固化变频异常", "creator": "叶娜", "time": "2022-11-21 22:45:13", "priority": 1 }, + { "eqName": "A钢化", "pl": "A", "content": "传动变频器故障", "creator": "田磊", "time": "2022-11-21 07:24:59", "priority": 2 }, + { "eqName": "A钢化", "pl": "A", "content": "加热炉体超温报警", "creator": "邱平", "time": "2022-11-21 17:53:18", "priority": 2 }, + { "eqName": "B2磨边后清洗", "pl": "B", "content": "磨轮过载", "creator": "赵艳", "time": "2022-11-21 18:10:32", "priority": 2 }, + { "eqName": "B钢化", "pl": "B", "content": "传动变频器故障", "creator": "江伟", "time": "2022-11-21 17:29:44", "priority": 2 }, + { "eqName": "B3磨边后清洗", "pl": "B", "content": "输送变频报警", "creator": "周洋", "time": "2022-11-21 02:49:09", "priority": 3 }, + { "eqName": "A1磨边", "pl": "A", "content": "磨轮过载", "creator": "邱超", "time": "2022-11-21 20:41:53", "priority": 1 }, ] /** 设备异常报警 */ @@ -100,42 +100,42 @@ const LifeRemainComponent = { export const equipmentAlarmProps = [ { label: '设备名称', prop: 'eqName', align: 'center', 'min-width': 100 }, { label: '设备编码', prop: 'eqCode', align: 'center', 'min-width': 100 }, - { label: '所属产线', prop: 'pl', align: 'center' }, + // { label: '所属产线', prop: 'pl', align: 'center' }, { label: '报警级别', prop: 'priority', align: 'center', subcomponent: PriorityComponent, 'min-width': 85 }, { label: '报警内容', prop: 'content', align: 'center' } ] export const equipmentAlarmDatalist = [ { - "pl": "B", "eqName": "丝印机", "eqCode": "B5SP20200109025453", "content": "网版推出异常", "priority": 3 + "pl": "B", "eqName": "B1丝印", "eqCode": "B5SP20200109025453", "content": "网版推出异常", "priority": 3 }, - { "pl": "A", "eqName": "磨边后清洗机", "eqCode": "A2CAE20210605043851", "content": "输送变频报警", "priority": 2 }, - { "pl": "B", "eqName": "磨边机", "eqCode": "B4ED20200328154356", "content": "磨轮过载", "priority": 1 }, - { "pl": "B", "eqName": "镀膜", "eqCode": "B5FC20220307070115", "content": "胶辊变频异常", "priority": 2 }, - { "pl": "B", "eqName": "丝印机", "eqCode": "B7SP20190927110003", "content": "印刷轴异常", "priority": 2 }, + { "pl": "A", "eqName": "A2磨边后清洗", "eqCode": "A2CAE20210605043851", "content": "输送变频报警", "priority": 2 }, + { "pl": "B", "eqName": "B2磨边", "eqCode": "B4ED20200328154356", "content": "磨轮过载", "priority": 1 }, + // { "pl": "B", "eqName": "镀膜", "eqCode": "B5FC20220307070115", "content": "胶辊变频异常", "priority": 2 }, + { "pl": "B", "eqName": "B2丝印", "eqCode": "B7SP20190927110003", "content": "印刷轴异常", "priority": 2 }, { - "pl": "A", "eqName": "清洗机", "eqCode": "A3CAP20200727075125", "content": "进料检测异常", "priority": 3 + "pl": "A", "eqName": "A1磨边后清洗", "eqCode": "A3CAP20200727075125", "content": "进料检测异常", "priority": 3 }, - { "pl": "A", "eqName": "丝印机", "eqCode": "A7SP20200512213432", "content": "进气压力过低", "priority": 3 }, + { "pl": "A", "eqName": "A3丝印", "eqCode": "A7SP20200512213432", "content": "进气压力过低", "priority": 3 }, { - "pl": "A", "eqName": "磨边机", "eqCode": "A4ED20220608145053", "content": "磨轮过载", "priority": 2 + "pl": "A", "eqName": "A2磨边", "eqCode": "A4ED20220608145053", "content": "磨轮过载", "priority": 2 }, - { "pl": "B", "eqName": "钢化炉", "eqCode": "B4CO20200526045602", "content": "传动变频器故障", "priority": 1 }, + { "pl": "B", "eqName": "B钢化", "eqCode": "B4CO20200526045602", "content": "传动变频器故障", "priority": 1 }, { - "pl": "B", "eqName": "清洗机", "eqCode": "B6CAP20220326162041", "content": "毛刷过载", "priority": 2 + "pl": "B", "eqName": "B1磨边后清洗", "eqCode": "B6CAP20220326162041", "content": "毛刷过载", "priority": 2 }, - { "pl": "A", "eqName": "磨边机", "eqCode": "A4ED20200325081934", "content": "磨轮过载", "priority": 2 }, + { "pl": "A", "eqName": "A1磨边", "eqCode": "A4ED20200325081934", "content": "磨轮过载", "priority": 2 }, { - "pl": "B", "eqName": "丝印机", "eqCode": "B1SP20201220183649", "content": "印刷轴异常", "priority": 2 + "pl": "B", "eqName": "B1丝印", "eqCode": "B1SP20201220183649", "content": "印刷轴异常", "priority": 2 }, - { "pl": "A", "eqName": "镀膜", "eqCode": "A3SC20220414054819", "content": "固化变频异常", "priority": 2 }, - { "pl": "A", "eqName": "磨边机", "eqCode": "A8ED20200704010549", "content": "磨轮过载", "priority": 2 }, - { "pl": "B", "eqName": "清洗机", "eqCode": "B1CAT20200323134700", "content": "进料检测异常", "priority": 3 }, - { "pl": "A", "eqName": "丝印机", "eqCode": "A1SP20200513020427", "content": "网版推出异常", "priority": 1 }, - { "pl": "A", "eqName": "钢化炉", "eqCode": "A7CO20210928172616", "content": "加热炉体超温报警", "priority": 2 }, - { "pl": "A", "eqName": "镀膜", "eqCode": "A5SC20210104132647", "content": "固化变频异常", "priority": 1 }, - { "pl": "A", "eqName": "钢化炉", "eqCode": "A4ED20210225140150", "content": "加热炉体超温报警", "priority": 1 }, - { "pl": "B", "eqName": "清洗机", "eqCode": "B6CAP20200831083210", "content": "进料检测异常", "priority": 2 }, + // { "pl": "A", "eqName": "镀膜", "eqCode": "A3SC20220414054819", "content": "固化变频异常", "priority": 2 }, + { "pl": "A", "eqName": "A3磨边", "eqCode": "A8ED20200704010549", "content": "磨轮过载", "priority": 2 }, + { "pl": "B", "eqName": "B3磨边后清洗", "eqCode": "B1CAT20200323134700", "content": "进料检测异常", "priority": 3 }, + { "pl": "A", "eqName": "A3丝印", "eqCode": "A1SP20200513020427", "content": "网版推出异常", "priority": 1 }, + { "pl": "A", "eqName": "A钢化", "eqCode": "A7CO20210928172616", "content": "加热炉体超温报警", "priority": 2 }, + // { "pl": "A", "eqName": "镀膜", "eqCode": "A5SC20210104132647", "content": "固化变频异常", "priority": 1 }, + { "pl": "A", "eqName": "A钢化", "eqCode": "A4ED20210225140150", "content": "加热炉体超温报警", "priority": 1 }, + { "pl": "B", "eqName": "B2磨边后清洗", "eqCode": "B6CAP20200831083210", "content": "进料检测异常", "priority": 2 }, ] /** 设备分析 */ @@ -258,9 +258,9 @@ export const wwwOrderProps = [ ] export const rightSideDatalist = [ - { "orderId": "WOD20200807030135", "time": "2021-02-12 14:08:04", "eq": "磨边", "status": 3, "team": "白班", "duration": "26min" }, - { "orderId": "WOD20200413103728", "time": "2020-11-26 20:11:39", "eq": "固化", "status": 1, "team": "夜班", "duration": "24min" }, - { "orderId": "WOD20210217143647", "time": "2021-08-15 18:48:40", "eq": "预热", "status": 2, "team": "白班", "duration": "27min" }, + { "orderId": "WOD20200807030135", "time": "2022-11-12 14:08:04", "eq": "A1磨边", "status": 3, "team": "白班", "duration": "26min" }, + { "orderId": "WOD20210217143647", "time": "2022-11-15 18:48:40", "eq": "A1打孔", "status": 2, "team": "白班", "duration": "27min" }, + { "orderId": "WOD20200413103728", "time": "2022-11-26 20:11:39", "eq": "A1固化", "status": 1, "team": "夜班", "duration": "24min" }, ] export const rightSideDatalist2 = [ { "orderId": "WOD20220403013343", "pl": "A", "status": 3, "team": "白班", "duration": "24min" }, @@ -268,14 +268,14 @@ export const rightSideDatalist2 = [ { "orderId": "WOD20210902180855", "pl": "A", "status": 2, "team": "夜班", "duration": "23min" }, ] export const rightSideDatalist3 = [ - { "orderId": "WOD20210829073921", "eq": "钢后清洗机", "status": 2, "team": "白班", "duration": "29min" }, - { "orderId": "WOD20220429180823", "eq": "丝印", "status": 2, "team": "夜班", "duration": "26min" }, - { "orderId": "WOD20220915050149", "eq": "磨边后清洗机", "status": 3, "team": "白班", "duration": "21min" }, + { "orderId": "WOD20210829073921", "eq": "A3钢化后清洗", "status": 2, "team": "白班", "duration": "29min" }, + { "orderId": "WOD20220429180823", "eq": "A3丝印", "status": 2, "team": "夜班", "duration": "26min" }, + { "orderId": "WOD20220915050149", "eq": "A3磨边后清洗", "status": 3, "team": "白班", "duration": "21min" }, ] export const rightSideDatalist4 = [ - { "orderId": "WOD20210522165229", "pl": "A", "status": 2, "team": "夜班", "time": "2021-12-17 13:31:24" }, - { "orderId": "WOD20211205183921", "pl": "B", "status": 1, "team": "白班", "time": "2022-06-27 10:52:19" }, + { "orderId": "WOD20210522165229", "pl": "A", "status": 2, "team": "夜班", "time": "2022-12-17 13:31:24" }, { "orderId": "WOD20210114183705", "pl": "A", "status": 1, "team": "夜班", "time": "2022-11-22 02:59:50" }, + { "orderId": "WOD20211205183921", "pl": "B", "status": 1, "team": "白班", "time": "2022-11-27 10:52:19" }, ] diff --git a/src/views/FactoryManage/RealtimeDataOfOrder.vue b/src/views/FactoryManage/RealtimeDataOfOrder.vue index 6ac26d6..95bc4a3 100644 --- a/src/views/FactoryManage/RealtimeDataOfOrder.vue +++ b/src/views/FactoryManage/RealtimeDataOfOrder.vue @@ -147,21 +147,22 @@ export default { fetchList('order').then(response => { if (response.data) { this.dataList = response.data - this.dataList.push({ - orderName: '22订单', - productName: 'xxx光伏玻璃2.0B', - productSize: '2*1128*2272', - productionLine: 'C线 D线 A线', - det: Array(3).fill({ - inputNum: '-259730', - outputNum: '-772443', - passRate: 100, - recordTime: '2022-09-06T14:00:00', - scrapNum: '0', - sumInputNum: '259730', - sumOutputNum: '772443' - }) - }) + // 11-mes: + // this.dataList.push({ + // orderName: '22订单', + // productName: 'xxx光伏玻璃2.0B', + // productSize: '2*1128*2272', + // productionLine: 'C线 D线 A线', + // det: Array(3).fill({ + // inputNum: '-259730', + // outputNum: '-772443', + // passRate: 100, + // recordTime: '2022-09-06T14:00:00', + // scrapNum: '0', + // sumInputNum: '259730', + // sumOutputNum: '772443' + // }) + // }) this.transformData() } else { this.dataList.splice(0) diff --git a/src/views/FactoryManage/TeamInfo.vue b/src/views/FactoryManage/TeamInfo.vue index 7d81e12..d2eb3da 100644 --- a/src/views/FactoryManage/TeamInfo.vue +++ b/src/views/FactoryManage/TeamInfo.vue @@ -8,10 +8,7 @@ -->