From 93eb12aeb71e9740558ffea9c1e02da19fc53a39 Mon Sep 17 00:00:00 2001
From: helloDy <1615073571@qq.com>
Date: Thu, 29 Feb 2024 15:54:23 +0800
Subject: [PATCH] bugs
---
.env.dev | 6 +-
src/api/base/coreWorkOrder.js | 9 +++
src/api/equipment/base/inspection/record.js | 13 +++-
.../base/coreEquipmentLineBind/dialogForm.vue | 16 ++---
src/views/base/coreProduct/add-or-updata.vue | 4 +-
src/views/base/coreWorkOrder/addWorkOrder.vue | 4 +-
src/views/base/coreWorkOrder/allocation.vue | 17 ++---
src/views/base/coreWorkOrder/detail.vue | 27 +++++---
src/views/base/coreWorkOrder/index.vue | 49 +++++++--------
.../base/inspection/Confirm/add-or-updata.vue | 30 ++++++---
.../base/inspection/Record/index.vue | 62 +++++++++++--------
.../base/inspection/Settings/add.vue | 42 +++++++++++--
.../base/inspection/Settings/index.vue | 16 +++--
.../Confirm/WaitingList--add--unplanned.vue | 13 ++--
.../Confirm/WaitingListUnplanned--edit.vue | 8 +++
.../equipment/base/maintain/Monitor/index.vue | 7 ++-
.../maintain/PlanConfig/add-or-updata.vue | 15 +++--
.../base/maintain/PlanConfig/addContent.vue | 30 +++++++--
.../equipment/base/maintain/Record/index.vue | 50 ++++++++-------
.../equipment/base/repair/Repair--add.vue | 3 +-
src/views/equipment/base/repair/index.vue | 6 +-
21 files changed, 277 insertions(+), 150 deletions(-)
diff --git a/.env.dev b/.env.dev
index e6eafbc1..78b9f3e6 100644
--- a/.env.dev
+++ b/.env.dev
@@ -1,7 +1,7 @@
###
# @Author: Do not edit
# @Date: 2023-08-29 09:40:39
- # @LastEditTime: 2024-02-26 08:45:43
+ # @LastEditTime: 2024-02-29 15:53:50
# @LastEditors: DY
# @Description:
###
@@ -20,10 +20,10 @@ VUE_APP_TITLE = MES系统
# VUE_APP_BASE_API = 'http://192.168.1.8:48082'
# VUE_APP_BASE_API = 'http://192.168.4.159:48080'
# VUE_APP_BASE_API = 'http://192.168.1.104:48082'
-# VUE_APP_BASE_API = 'http://192.168.0.33:48082'
+VUE_APP_BASE_API = 'http://192.168.0.33:48082'
# VUE_APP_BASE_API = 'http://192.168.1.62:48082'
# VUE_APP_BASE_API = 'http://192.168.1.78:48082'
-VUE_APP_BASE_API = 'http://192.168.1.47:48082'
+# VUE_APP_BASE_API = 'http://192.168.1.47:48082'
# socket地址
VUE_APP_Socket_API = 'ws://192.168.0.30:8888'
VUE_APP_Socket_Dcs_API = 'ws://10.70.180.10:8081'
diff --git a/src/api/base/coreWorkOrder.js b/src/api/base/coreWorkOrder.js
index 656d4a69..84d69b54 100644
--- a/src/api/base/coreWorkOrder.js
+++ b/src/api/base/coreWorkOrder.js
@@ -153,3 +153,12 @@ export function createConCoreWOr(data) {
data: data
})
}
+
+// 修改分配产量
+export function updateConCoreWOr(data) {
+ return request({
+ url: '/base/core-order-con-work-order/update',
+ method: 'put',
+ data: data
+ })
+}
diff --git a/src/api/equipment/base/inspection/record.js b/src/api/equipment/base/inspection/record.js
index 40b48b73..c89e2152 100644
--- a/src/api/equipment/base/inspection/record.js
+++ b/src/api/equipment/base/inspection/record.js
@@ -1,7 +1,7 @@
/*
* @Author: Do not edit
* @Date: 2023-11-08 15:56:52
- * @LastEditTime: 2024-02-26 09:29:53
+ * @LastEditTime: 2024-02-28 18:16:56
* @LastEditors: DY
* @Description:
*/
@@ -52,6 +52,17 @@ export function exportCheckLogExcel(query) {
})
}
+// 导出设备巡检单记录
+export function exportCheckOrderExcel(query) {
+ return request({
+ url: '/base/equipment-check-order/export-excel',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
+
+
// 根据设备获得所有巡检配置列表
export function getcheckConfigByEqList(query) {
return request({
diff --git a/src/views/base/coreEquipmentLineBind/dialogForm.vue b/src/views/base/coreEquipmentLineBind/dialogForm.vue
index dd6e76a4..10a1e991 100644
--- a/src/views/base/coreEquipmentLineBind/dialogForm.vue
+++ b/src/views/base/coreEquipmentLineBind/dialogForm.vue
@@ -83,20 +83,14 @@
-
+
+ placeholder="请输入工段排序"
+ style="width: 100%" />
diff --git a/src/views/base/coreProduct/add-or-updata.vue b/src/views/base/coreProduct/add-or-updata.vue
index 9c4c5808..c39e7584 100644
--- a/src/views/base/coreProduct/add-or-updata.vue
+++ b/src/views/base/coreProduct/add-or-updata.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: DY
- * @LastEditTime: 2024-02-27 15:38:04
+ * @LastEditTime: 2024-02-29 15:01:25
* @Description:
-->
@@ -325,7 +325,7 @@ export default {
init(row, isdetail) {
this.initData();
this.isdetail = isdetail || false;
- this.dataForm.id = row.id || undefined;
+ this.dataForm.id = row?.id || undefined;
this.isedit = row?.id && row?.externalCode ? true : false;
console.log('你好', this.isedit)
this.visible = true;
diff --git a/src/views/base/coreWorkOrder/addWorkOrder.vue b/src/views/base/coreWorkOrder/addWorkOrder.vue
index 374d4f74..646047e0 100644
--- a/src/views/base/coreWorkOrder/addWorkOrder.vue
+++ b/src/views/base/coreWorkOrder/addWorkOrder.vue
@@ -253,7 +253,9 @@ export default {
if (this.dataForm.priority !== undefined) {
this.dataForm.priority = String(this.dataForm.priority)
}
- this.dataForm.priority
+ if (this.dataForm.roomNameDict !== undefined) {
+ this.dataForm.roomNameDict = String(this.dataForm.roomNameDict)
+ }
});
} else {
if (this.urlOptions.isGetCode) {
diff --git a/src/views/base/coreWorkOrder/allocation.vue b/src/views/base/coreWorkOrder/allocation.vue
index 24f3f5cc..79e43ad2 100644
--- a/src/views/base/coreWorkOrder/allocation.vue
+++ b/src/views/base/coreWorkOrder/allocation.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: DY
- * @LastEditTime: 2023-11-16 09:14:35
+ * @LastEditTime: 2024-02-29 10:01:52
* @Description:
-->
@@ -41,12 +41,12 @@
-
+
-
+
@@ -104,7 +104,7 @@