From 3a57aece0b42758b9c43e08bced755e1aad09788 Mon Sep 17 00:00:00 2001
From: zhangdingyu <974548713@qq.com>
Date: Thu, 5 Dec 2019 16:15:21 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=85=BB=E4=BF=A1=E6=81=AF=E7=BB=B4?=
=?UTF-8?q?=E6=8A=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../maintainInformation.js | 35 +++++
.../maintainInformation/index.vue | 127 ++++++++++++++++++
2 files changed, 162 insertions(+)
create mode 100644 src/api/ManufacturingCenter/maintainInformation.js
create mode 100644 src/views/ManufacturingCenter/maintainInformation/index.vue
diff --git a/src/api/ManufacturingCenter/maintainInformation.js b/src/api/ManufacturingCenter/maintainInformation.js
new file mode 100644
index 00000000..98bd5d0d
--- /dev/null
+++ b/src/api/ManufacturingCenter/maintainInformation.js
@@ -0,0 +1,35 @@
+import request from '@/utils/request'
+
+// 获取工位 表1
+export function getTableData1() {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '3',
+ name: 'SELECT *FROM [基础数据_设备工位点检表]inner join dbo.基础数据_点检类型名称 on [基础数据_设备工位点检表].点检表类型 = 基础数据_点检类型名称.点检表类型流水号'
+ }
+ })
+}
+// 点检类型 表2
+export function getTableData2() {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '3',
+ name: 'select * from 基础数据_点检类型名称'
+ }
+ })
+}
+// 点检内容 表3
+export function getTableData3(num) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '3',
+ name: `select * from 基础数据_点检内容 where 点检表类型 = ${num}`
+ }
+ })
+}
diff --git a/src/views/ManufacturingCenter/maintainInformation/index.vue b/src/views/ManufacturingCenter/maintainInformation/index.vue
new file mode 100644
index 00000000..30fbc699
--- /dev/null
+++ b/src/views/ManufacturingCenter/maintainInformation/index.vue
@@ -0,0 +1,127 @@
+
+
+
+ 设备对应点检类型维护
+
+
+
+
+ {{ scope.row.工位号 }}
+
+
+
+
+ {{ scope.row.设备名称 }}
+
+
+
+
+ {{ scope.row.设备编号 }}
+
+
+
+
+
+
+
+
+
+
+
+
+ 点检类型、点检内容维护
+
+
+
+
+
+ {{ scope.row.点检表类型名称 }}
+
+
+
+
+
+
+
+
+
+ 天
+ 周
+ 月
+ 季
+ 年
+
+
+
+
+ {{ scope.row.保养项目 }}
+
+
+
+
+
+
+
+
+
+
+