From e081f232138b318338ffca07e7c9fcd941ac20b4 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期五, 12 四月 2024 09:54:17 +0800
Subject: [PATCH] 1、设备综合效率分析以及设备加工工件报表页面表格高度设置为页面进入时即可拖动水平滚动条的高度 2、首页 (1)OEE标题增加月份展示,利用率等效率标题增加日期展示 (2)公司及车间级看板单击OEE车间图表跳转至设备综合效率分析页面并根据唯一编号筛选页面对应数据 (3)工段级看板单击设备效率统计仪表盘图标跳转至统计分析页面并根据唯一编号筛选页面对应数据 (4)调整折线图数据展示维度,通过当前工段下各个设备前7天的利用率、开动率和开机率轮播展示
---
src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderModal.vue | 83 +++++++++++++++++++++--------------------
1 files changed, 42 insertions(+), 41 deletions(-)
diff --git a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderModal.vue b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderModal.vue
index a21d64d..1dc2390 100644
--- a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderModal.vue
+++ b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderModal.vue
@@ -26,7 +26,7 @@
/>
</a-form-item>
</a-col>
- <a-col :span="12">
+ <!-- <a-col :span="12">
<a-form-item
label="寮�宸ユ潯浠�"
:labelCol="labelCol"
@@ -40,7 +40,7 @@
@change="handle2Switch(model.startWorkCondition)"
/>
</a-form-item>
- </a-col>
+ </a-col> -->
</a-row>
<a-row :gutter="24">
<a-col :span="12">
@@ -291,10 +291,10 @@
:scroll="{x:true}"
:columns="columns"
:dataSource="dataSource"
- :pagination="ipagination"
:loading="loading"
- @change="handleTableChange"
+ :pagination="false"
>
+ <!-- @change="handleTableChange" -->
<template
slot="photo"
slot-scope="text,record"
@@ -378,42 +378,42 @@
},
width: 50,
},
- {
- title: '閮ㄤ綅',
- align: 'center',
- dataIndex: 'location'
- },
+ // {
+ // title: '閮ㄤ綅',
+ // align: 'center',
+ // dataIndex: 'location'
+ // },
{
title: '鐐规椤圭洰',
align: 'center',
- dataIndex: 'inspectionProjectNum'
+ dataIndex: 'inspectionProjectName'
},
{
title: '妫�娴嬫爣鍑�',
align: 'center',
dataIndex: 'detectionStandard'
},
- {
- title: '鍚堟牸鑼冨洿',
- align: 'center',
- dataIndex: 'acceptabilityLimit'
- },
- {
- title: '鏂规硶',
- align: 'center',
- dataIndex: 'inspectionMethodName'
- },
- {
- title: '宸ュ叿',
- align: 'center',
- dataIndex: 'inspectionTool'
- },
- {
- title: '绀烘剰鍥�',
- align: "center",
- dataIndex: 'photo',
- scopedSlots: { customRender: 'photo' },
- },
+ // {
+ // title: '鍚堟牸鑼冨洿',
+ // align: 'center',
+ // dataIndex: 'acceptabilityLimit'
+ // },
+ // {
+ // title: '鏂规硶',
+ // align: 'center',
+ // dataIndex: 'inspectionMethodName'
+ // },
+ // {
+ // title: '宸ュ叿',
+ // align: 'center',
+ // dataIndex: 'inspectionTool'
+ // },
+ // {
+ // title: '绀烘剰鍥�',
+ // align: "center",
+ // dataIndex: 'photo',
+ // scopedSlots: { customRender: 'photo' },
+ // },
],
title: "鎿嶄綔",
visible: false,
@@ -436,7 +436,7 @@
validatorRules: {
num: {
rules: [
- { required: true, message: '璇疯緭鍏ヨ澶囩紪鐮�!' },
+ { required: true, message: '璇疯緭鍏ョ粺涓�缂栫爜!' },
]
},
equipmentId: {
@@ -489,7 +489,8 @@
methods: {
add() {
- this.edit({ startWorkCondition: "1", inspectionOrderDetails: [] })
+ this.edit({ inspectionOrderDetails: [] })
+ // this.edit({ startWorkCondition: "1", inspectionOrderDetails: [] })
this.getSeq()
},
@@ -602,13 +603,13 @@
// }
// },
- handle2Switch(startWorkCondition) {
- if ('1' == startWorkCondition) {
- this.model.startWorkCondition = '0'
- } else {
- this.model.startWorkCondition = '1'
- }
- },
+ // handle2Switch(startWorkCondition) {
+ // if ('1' == startWorkCondition) {
+ // this.model.startWorkCondition = '0'
+ // } else {
+ // this.model.startWorkCondition = '1'
+ // }
+ // },
// handle2Change(val) {
// this.inspectionCycles = [];
@@ -632,7 +633,7 @@
this.inspectionStandardId = record.id;
this.form.setFieldsValue({ inspectionStandardId: record.id, inspectionStandardNum: record.num + "/" + record.version });
this.form.setFieldsValue({ equipmentId: record.equipmentId, equipmentName: record.equipmentNum + "/" + record.equipmentName });
- this.form.setFieldsValue({ assignMode: record.assignMode, teamId: record.teamId, teamName: record.teamName });
+ this.form.setFieldsValue({ assignMode: "1", teamId: record.teamId, teamName: record.teamName });
this.form.setFieldsValue({ effectiveTime: null, inspectionCycleId: null, unit: null });
this.getInspectionCycles(record.id)
if ("3" == record.assignMode) {
--
Gitblit v1.9.3