From a7f811aa3ee2b1c4aca7a195e8d4f53e7f8d1bf0 Mon Sep 17 00:00:00 2001 From: helloDy <1615073571@qq.com> Date: Wed, 22 Nov 2023 14:41:10 +0800 Subject: [PATCH] bug --- .env.dev | 8 ++-- src/api/equipment/base/inspection/settings.js | 10 ++++- src/api/equipment/base/maintain/record.js | 20 +++++++++- src/api/equipment/base/spare-parts/list.js | 16 ++++++++ src/views/base/coreCustomer/add-or-updata.vue | 12 +++--- src/views/base/coreCustomer/index.vue | 4 +- .../base/coreDepartment/add-or-updata.vue | 3 +- src/views/base/coreDepartment/index.vue | 5 +++ src/views/base/coreEquipment/index.vue | 10 ++++- src/views/base/coreEquipmentType/index.vue | 23 +++++++---- src/views/base/coreMajor/index.vue | 4 +- src/views/base/coreProduct/index.vue | 4 +- .../base/coreProductionLine/add-or-updata.vue | 11 +++--- src/views/base/coreProductionLine/index.vue | 4 ++ src/views/base/coreSupplier/add-or-updata.vue | 39 ++++++++++++++++--- .../base/coreWorkOrder/add-or-updata.vue | 9 +++-- src/views/base/coreWorkOrder/addWorkOrder.vue | 30 ++++++++------ src/views/base/coreWorkOrder/attr-add.vue | 10 ++++- src/views/base/coreWorkOrder/detail.vue | 31 +++++++-------- src/views/base/coreWorkOrder/index.vue | 12 +++++- src/views/base/coreWorker/add-or-updata.vue | 32 ++++++++++++--- .../coreWorkshopSection/add-or-updata.vue | 6 +-- src/views/base/material/add-or-updata.vue | 27 +++++++++---- .../base/materialProductBom/add-or-updata.vue | 27 ++++++------- src/views/base/materialProductBom/index.vue | 2 +- .../base/materialUseLog/add-or-updata.vue | 4 +- src/views/base/materialUseLog/index.vue | 2 +- .../base/inspection/Content/index.vue | 21 ++++++---- .../base/inspection/Settings/index.vue | 3 +- .../equipment/base/maintain/Monitor/index.vue | 21 +++++++++- .../base/maintain/PlanConfig/index.vue | 14 ++++--- .../equipment/base/maintain/Record/index.vue | 2 +- src/views/equipment/base/repair/index.vue | 17 +++++++- .../equipment/base/spareParts/List/index.vue | 8 ++-- 34 files changed, 323 insertions(+), 128 deletions(-) create mode 100644 src/api/equipment/base/spare-parts/list.js diff --git a/.env.dev b/.env.dev index 5e7d20c9..3b84071e 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2023-11-16 14:07:34 + # @LastEditTime: 2023-11-21 10:36:47 # @LastEditors: DY # @Description: ### @@ -12,14 +12,14 @@ ENV = 'development' VUE_APP_TITLE = MES系统 # 芋道管理系统/开发环境 -VUE_APP_BASE_API = 'http://100.64.0.26:48082' -# VUE_APP_BASE_API = 'http://192.168.0.33:48082' +# VUE_APP_BASE_API = 'http://100.64.0.26:48082' +VUE_APP_BASE_API = 'http://192.168.0.33:48082' # VUE_APP_BASE_API = 'http://192.168.4.173:48080' # VUE_APP_BASE_API = 'http://192.168.2.173:48080' # VUE_APP_BASE_API = 'http://192.168.1.49:48080' # VUE_APP_BASE_API = 'http://192.168.1.8:48080' # VUE_APP_BASE_API = 'http://192.168.4.159:48080' -# VUE_APP_BASE_API = 'http://192.168.1.56:48080' +# VUE_APP_BASE_API = 'http://192.168.1.56:48082' # VUE_APP_BASE_API = 'http://192.168.4.159:48080' # 积木报表指向地址 diff --git a/src/api/equipment/base/inspection/settings.js b/src/api/equipment/base/inspection/settings.js index 4e1fd898..306c092d 100644 --- a/src/api/equipment/base/inspection/settings.js +++ b/src/api/equipment/base/inspection/settings.js @@ -1,7 +1,7 @@ /* * @Author: Do not edit * @Date: 2023-11-08 15:56:52 - * @LastEditTime: 2023-11-13 08:52:12 + * @LastEditTime: 2023-11-20 16:38:18 * @LastEditors: DY * @Description: */ @@ -65,4 +65,12 @@ export function getcheckList(query) { method: 'get', params: query }) +} + +// 删除巡检内容 +export function deleteCheck(id) { + return request({ + url: '/base/equipment-check/delete?id=' + id, + method: 'delete' + }) } \ No newline at end of file diff --git a/src/api/equipment/base/maintain/record.js b/src/api/equipment/base/maintain/record.js index e4385ea6..89f74906 100644 --- a/src/api/equipment/base/maintain/record.js +++ b/src/api/equipment/base/maintain/record.js @@ -1,7 +1,7 @@ /* * @Author: Do not edit * @Date: 2023-11-08 15:56:52 - * @LastEditTime: 2023-11-16 20:22:12 + * @LastEditTime: 2023-11-21 10:50:55 * @LastEditors: DY * @Description: */ @@ -14,3 +14,21 @@ export function deleteEqMaintainLog(id) { method: 'delete' }) } + +// 删除设备保养计划配置 +export function deleteEqMaintainPlan(id) { + return request({ + url: '/base/equipment-maintain-plan/delete?id=' + id, + method: 'delete' + }) +} + +// 导出设备保养监控 +export function exportMaintainMonitorExcel(query) { + return request({ + url: '/base/equipment-maintain-plan/monitor-export', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/equipment/base/spare-parts/list.js b/src/api/equipment/base/spare-parts/list.js new file mode 100644 index 00000000..4408b37b --- /dev/null +++ b/src/api/equipment/base/spare-parts/list.js @@ -0,0 +1,16 @@ +/* + * @Author: Do not edit + * @Date: 2023-11-22 13:59:17 + * @LastEditTime: 2023-11-22 13:59:45 + * @LastEditors: DY + * @Description: + */ +import request from '@/utils/request' + +// 删除设备备品备件 +export function deleteSparePart(id) { + return request({ + url: '/base/equipment-spare-part/delete?id=' + id, + method: 'delete' + }) +} \ No newline at end of file diff --git a/src/views/base/coreCustomer/add-or-updata.vue b/src/views/base/coreCustomer/add-or-updata.vue index 8dd236e5..5156cc42 100644 --- a/src/views/base/coreCustomer/add-or-updata.vue +++ b/src/views/base/coreCustomer/add-or-updata.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-11-18 14:16:25 * @LastEditors: DY - * @LastEditTime: 2023-11-03 10:53:43 + * @LastEditTime: 2023-11-22 10:27:50 * @Description: -->