From 1962ecc6dfcf3544d9247ad4e804dbb9be119d5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Tue, 7 Nov 2023 19:10:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A8=E9=87=8F=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 8 +- .env.front | 1 + .env.production | 12 + .env.stage | 1 + src/api/base/qualityScrapDet.js | 69 ++ src/api/base/qualityScrapLog.js | 100 +++ src/api/base/qualityScrapType.js | 76 ++ src/api/monitoring/qualityInspectionRecord.js | 19 +- src/api/monitoring/statisticalData.js | 40 + src/api/quality/deviceParameters.js | 35 + src/api/quality/materialTraceability.js | 35 + src/api/quality/processTraceability.js | 35 + src/api/quality/processTraceabilityDetail.js | 35 + src/api/quality/rawMaterialTraceability.js | 35 + src/views/base/custom/index.vue | 7 +- src/views/base/mixins/basic-page.js | 6 +- src/views/base/packagingPrintLog/index.vue | 83 +- src/views/base/packagingPrintModel/index.vue | 27 +- src/views/core/mixins/basic-add.js | 6 +- .../equipment/analysis/efficiency/index.vue | 2 +- src/views/extend/processFlowView/index.vue | 4 +- .../equipmentProcessAmount/index.vue | 2 +- .../qualityInspectionBoxBtn/dialogForm.vue | 136 ++-- .../qualityInspectionBoxBtn/index.vue | 4 +- .../base/qualityScrapDet/add-or-updata.vue | 92 +++ .../quality/base/qualityScrapDet/index.vue | 169 +++++ .../base/qualityScrapLog/add-or-updata.vue | 209 +++++ .../quality/base/qualityScrapLog/index.vue | 220 ++++++ .../base/qualityScrapType/add-or-updata.vue | 86 +++ .../quality/base/qualityScrapType/index.vue | 169 +++++ .../monitoring/currentData/dialogForm.vue | 270 +++++++ .../quality/monitoring/currentData/index.vue | 436 +++++++++++ .../deviceParameters/components/pieChart.vue | 279 +++++++ .../monitoring/deviceParameters/index.vue | 714 ++++++++++++++++++ .../utils/local-data-manager.js | 36 + .../components/pieChart.vue | 279 +++++++ .../equipmentTraceability/index.vue | 576 ++++++++++++++ .../monitoring/materielDateFrom/index.vue | 247 ++++++ .../quality/monitoring/mixins/basic-add.js | 100 +++ .../quality/monitoring/mixins/basic-page.js | 168 +++++ .../quality/monitoring/mixins/code-filter.js | 69 ++ .../monitoring/processTraceability/index.vue | 267 +++++++ .../components/ProcessBomList.vue | 180 +++++ .../components/ProcessDetail.vue | 486 ++++++++++++ .../components/ProcessInfo.vue | 126 ++++ .../components/ProcessNode.js | 170 +++++ .../processTraceabilityDetail/index.vue | 63 ++ .../qualityInspectionRecord/dialogForm.vue | 4 +- .../qualityInspectionRecord/index.vue | 8 +- .../monitoring/qualityRecentHours/index.vue | 6 +- .../monitoring/qualityStatistics/index.vue | 4 +- .../rawMaterialTraceability/index.vue | 239 ++++++ .../monitoring/statisticalData/dialogForm.vue | 270 +++++++ .../monitoring/statisticalData/index.vue | 436 +++++++++++ src/views/report/jmreport/index.vue | 7 + 55 files changed, 7000 insertions(+), 163 deletions(-) create mode 100644 .env.production create mode 100644 src/api/base/qualityScrapDet.js create mode 100644 src/api/base/qualityScrapLog.js create mode 100644 src/api/base/qualityScrapType.js create mode 100644 src/api/monitoring/statisticalData.js create mode 100644 src/api/quality/deviceParameters.js create mode 100644 src/api/quality/materialTraceability.js create mode 100644 src/api/quality/processTraceability.js create mode 100644 src/api/quality/processTraceabilityDetail.js create mode 100644 src/api/quality/rawMaterialTraceability.js rename src/views/quality/base/{ => basicData}/qualityInspectionBoxBtn/dialogForm.vue (56%) rename src/views/quality/base/{ => basicData}/qualityInspectionBoxBtn/index.vue (99%) create mode 100644 src/views/quality/base/qualityScrapDet/add-or-updata.vue create mode 100644 src/views/quality/base/qualityScrapDet/index.vue create mode 100644 src/views/quality/base/qualityScrapLog/add-or-updata.vue create mode 100644 src/views/quality/base/qualityScrapLog/index.vue create mode 100644 src/views/quality/base/qualityScrapType/add-or-updata.vue create mode 100644 src/views/quality/base/qualityScrapType/index.vue create mode 100644 src/views/quality/monitoring/currentData/dialogForm.vue create mode 100644 src/views/quality/monitoring/currentData/index.vue create mode 100644 src/views/quality/monitoring/deviceParameters/components/pieChart.vue create mode 100644 src/views/quality/monitoring/deviceParameters/index.vue create mode 100644 src/views/quality/monitoring/deviceParameters/utils/local-data-manager.js create mode 100644 src/views/quality/monitoring/equipmentTraceability/components/pieChart.vue create mode 100644 src/views/quality/monitoring/equipmentTraceability/index.vue create mode 100644 src/views/quality/monitoring/materielDateFrom/index.vue create mode 100644 src/views/quality/monitoring/mixins/basic-add.js create mode 100644 src/views/quality/monitoring/mixins/basic-page.js create mode 100644 src/views/quality/monitoring/mixins/code-filter.js create mode 100644 src/views/quality/monitoring/processTraceability/index.vue create mode 100644 src/views/quality/monitoring/processTraceabilityDetail/components/ProcessBomList.vue create mode 100644 src/views/quality/monitoring/processTraceabilityDetail/components/ProcessDetail.vue create mode 100644 src/views/quality/monitoring/processTraceabilityDetail/components/ProcessInfo.vue create mode 100644 src/views/quality/monitoring/processTraceabilityDetail/components/ProcessNode.js create mode 100644 src/views/quality/monitoring/processTraceabilityDetail/index.vue create mode 100644 src/views/quality/monitoring/rawMaterialTraceability/index.vue create mode 100644 src/views/quality/monitoring/statisticalData/dialogForm.vue create mode 100644 src/views/quality/monitoring/statisticalData/index.vue diff --git a/.env.dev b/.env.dev index 9b0643f4..6acbf3c2 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2023-10-30 10:49:39 + # @LastEditTime: 2023-11-07 18:09:26 # @LastEditors: zhp # @Description: ### @@ -18,9 +18,8 @@ VUE_APP_TITLE = MES系统 # 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.0.33:48082' -# VUE_APP_BASE_API = 'http://192.168.1.188:48080' - - +# VUE_APP_BASE_API = 'http://192.168.1.56:48080' +# VUE_APP_BASE_API = 'http://192.168.4.159:48080' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true @@ -35,3 +34,4 @@ VUE_APP_DOC_ENABLE = true # 百度统计 # VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab + diff --git a/.env.front b/.env.front index 34f878c2..743152e3 100644 --- a/.env.front +++ b/.env.front @@ -1,3 +1,4 @@ + # 开发环境配置 ENV = 'development' diff --git a/.env.production b/.env.production new file mode 100644 index 00000000..a64ca0bb --- /dev/null +++ b/.env.production @@ -0,0 +1,12 @@ +### + # @Author: zhp + # @Date: 2023-10-30 14:18:30 + # @LastEditTime: 2023-11-02 16:16:09 + # @LastEditors: zhp + # @Description: +### +# just a flag +ENV = 'production' + +# base api +# VUE_APP_BASE_API = '/api' diff --git a/.env.stage b/.env.stage index 3602a9b9..b25d7a96 100644 --- a/.env.stage +++ b/.env.stage @@ -23,3 +23,4 @@ VUE_APP_DOC_ENABLE = false # 百度统计 VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab + diff --git a/src/api/base/qualityScrapDet.js b/src/api/base/qualityScrapDet.js new file mode 100644 index 00000000..1cf724ac --- /dev/null +++ b/src/api/base/qualityScrapDet.js @@ -0,0 +1,69 @@ +/* + * @Author: zhp + * @Date: 2023-11-06 15:38:12 + * @LastEditTime: 2023-11-06 15:39:39 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' + +// 创建质量检测类型基础 +export function createQualityScrapDet(data) { + return request({ + url: '/base/quality-scrap-det/create', + method: 'post', + data: data + }) +} + +// 更新质量检测类型基础 +export function updateQualityScrapDet(data) { + return request({ + url: '/base/quality-scrap-det/update', + method: 'put', + data: data + }) +} + +// 删除质量检测类型基础 +export function deleteQualityScrapDet(id) { + return request({ + url: '/base/quality-scrap-det/delete?id=' + id, + method: 'delete' + }) +} + +// 获得质量检测类型基础 +export function getQualityScrapDet(id) { + return request({ + url: '/base/quality-scrap-det/get?id=' + id, + method: 'get' + }) +} + +// 获得质量检测类型基础分页 +export function getQualityScrapDetPage(query) { + return request({ + url: '/base/quality-scrap-det/page', + method: 'get', + params: query + }) +} + +// 导出质量检测类型基础 Excel +export function exportQualityScrapTypeExcel(query) { + return request({ + url: '/base/quality-scrap-type/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + +export function getCode(query) { + return request({ + url: '/base/quality-scrap-det/getCode', + method: 'get', + params: query + }) +} diff --git a/src/api/base/qualityScrapLog.js b/src/api/base/qualityScrapLog.js new file mode 100644 index 00000000..f0bdaa69 --- /dev/null +++ b/src/api/base/qualityScrapLog.js @@ -0,0 +1,100 @@ +/* + * @Author: zhp + * @Date: 2023-11-07 15:02:37 + * @LastEditTime: 2023-11-07 18:32:07 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' + +// 创建质量检测类型基础 +export function createQualityScrapLog(data) { + return request({ + url: '/base/quality-scrap-log/create', + method: 'post', + data: data + }) +} + +// 更新质量检测类型基础 +export function updateQualityScrapLog(data) { + return request({ + url: '/base/quality-scrap-log/update', + method: 'put', + data: data + }) +} + +// 删除质量检测类型基础 +export function deleteQualityScrapLog(id) { + return request({ + url: '/base/quality-scrap-log/delete?id=' + id, + method: 'delete' + }) +} + +// 获得质量检测类型基础 +export function getQualityScrapLog(id) { + return request({ + url: '/base/quality-scrap-log/get?id=' + id, + method: 'get' + }) +} + +// 获得质量检测类型基础分页 +export function getQualityScrapLogPage(query) { + return request({ + url: '/base/quality-scrap-log/page', + method: 'get', + params: query + }) +} + +// 导出质量检测类型基础 Excel +export function exportQualityScrapTypeExcel(query) { + return request({ + url: '/base/quality-scrap-type/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + +export function getCode(query) { + return request({ + url: '/base/quality-scrap-log/getCode', + method: 'get', + params: query + }) +} +export function getWorkOrderList(query) { + return request({ + url: '/base/core-work-order/listbyfilter', + method: 'get', + params: query, + }) +} + +export function getTeamList(query) { + return request({ + url: '/base/group-team/listAll', + method: 'get', + params: query, + }) +} + +export function getLineList(query) { + return request({ + url: '/base/core-production-line/listAll', + method: 'get', + params: query, + }) +} + +export function getDetList(query) { + return request({ + url: '/base/quality-scrap-det/listAll', + method: 'get', + params: query, + }) +} diff --git a/src/api/base/qualityScrapType.js b/src/api/base/qualityScrapType.js new file mode 100644 index 00000000..de7190ff --- /dev/null +++ b/src/api/base/qualityScrapType.js @@ -0,0 +1,76 @@ +/* + * @Author: zhp + * @Date: 2023-11-04 18:27:11 + * @LastEditTime: 2023-11-06 15:55:24 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' + +// 创建质量检测类型基础 +export function createQualityScrapType(data) { + return request({ + url: '/base/quality-scrap-type/create', + method: 'post', + data: data + }) +} + +// 更新质量检测类型基础 +export function updateQualityScrapType(data) { + return request({ + url: '/base/quality-scrap-type/update', + method: 'put', + data: data + }) +} + +// 删除质量检测类型基础 +export function deleteQualityScrapType(id) { + return request({ + url: '/base/quality-scrap-type/delete?id=' + id, + method: 'delete' + }) +} + +// 获得质量检测类型基础 +export function getQualityScrapType(id) { + return request({ + url: '/base/quality-scrap-type/get?id=' + id, + method: 'get' + }) +} + +// 获得质量检测类型基础分页 +export function getQualityScrapTypePage(query) { + return request({ + url: '/base/quality-scrap-type/page', + method: 'get', + params: query + }) +} + +// 导出质量检测类型基础 Excel +export function exportQualityScrapTypeExcel(query) { + return request({ + url: '/base/quality-scrap-type/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + +export function getCode(query) { + return request({ + url: '/base/quality-scrap-type/getCode', + method: 'get', + params: query + }) +} +export function getList(query) { + return request({ + url: 'base/quality-scrap-type/listAll', + method: 'get', + params: query + }) +} diff --git a/src/api/monitoring/qualityInspectionRecord.js b/src/api/monitoring/qualityInspectionRecord.js index 81454cc5..acd532c8 100644 --- a/src/api/monitoring/qualityInspectionRecord.js +++ b/src/api/monitoring/qualityInspectionRecord.js @@ -1,9 +1,16 @@ +/* + * @Author: zhp + * @Date: 2023-10-17 09:26:38 + * @LastEditTime: 2023-11-02 17:00:17 + * @LastEditors: zhp + * @Description: + */ import request from '@/utils/request' // 创建质量检查信息记录表 export function createQualityInspectionRecord(data) { return request({ - url: '/monitoring/quality-inspection-record/create', + url: '/base/quality-inspection-record/create', method: 'post', data: data }) @@ -12,7 +19,7 @@ export function createQualityInspectionRecord(data) { // 更新质量检查信息记录表 export function updateQualityInspectionRecord(data) { return request({ - url: '/monitoring/quality-inspection-record/update', + url: '/base/quality-inspection-record/update', method: 'put', data: data }) @@ -21,7 +28,7 @@ export function updateQualityInspectionRecord(data) { // 删除质量检查信息记录表 export function deleteQualityInspectionRecord(id) { return request({ - url: '/monitoring/quality-inspection-record/delete?id=' + id, + url: '/base/quality-inspection-record/delete?id=' + id, method: 'delete' }) } @@ -29,7 +36,7 @@ export function deleteQualityInspectionRecord(id) { // 获得质量检查信息记录表 export function getQualityInspectionRecord(id) { return request({ - url: '/monitoring/quality-inspection-record/get?id=' + id, + url: '/base/quality-inspection-record/get?id=' + id, method: 'get' }) } @@ -37,7 +44,7 @@ export function getQualityInspectionRecord(id) { // 获得质量检查信息记录表分页 export function getQualityInspectionRecordPage(query) { return request({ - url: '/monitoring/quality-inspection-record/page', + url: '/base/quality-inspection-record/page', method: 'get', params: query }) @@ -46,7 +53,7 @@ export function getQualityInspectionRecordPage(query) { // 导出质量检查信息记录表 Excel export function exportQualityInspectionRecordExcel(query) { return request({ - url: '/monitoring/quality-inspection-record/export-excel', + url: '/base/quality-inspection-record/export-excel', method: 'get', params: query, responseType: 'blob' diff --git a/src/api/monitoring/statisticalData.js b/src/api/monitoring/statisticalData.js new file mode 100644 index 00000000..4f19d699 --- /dev/null +++ b/src/api/monitoring/statisticalData.js @@ -0,0 +1,40 @@ +/* + * @Author: zhp + * @Date: 2023-11-07 14:10:18 + * @LastEditTime: 2023-11-07 16:29:55 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' + +// 获得质量检查信息记录表分页 +export function getStatisticalDataPage(query) { + return request({ + url: '/base/statistical-data/getStatisticData', + method: 'get', + data: query + }) +} + +export function getWorkOrderList(query) { + return request({ + url: '/base/core-work-order/listbyfilter', + method: 'get', + params: query, + }) +} +export function getProductList(query) { + return request({ + url: '/base/core-product/listAll', + method: 'get', + params: query, + }) +} + +export function getInspectionData(query) { + return request({ + url: '/base/statistical-data/getInspectionData', + method: 'get', + params: query, + }) +} diff --git a/src/api/quality/deviceParameters.js b/src/api/quality/deviceParameters.js new file mode 100644 index 00000000..ae1c87fb --- /dev/null +++ b/src/api/quality/deviceParameters.js @@ -0,0 +1,35 @@ +/* + * @Author: zhp + * @Date: 2023-10-18 09:33:57 + * @LastEditTime: 2023-11-03 09:31:17 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' + + +// 获得物料信息追溯page +export function getTreeData(query) { + return request({ + url: '/base/core-factory/getTreeByWorkOrder', + method: 'get', + params: query + }) +} + +export function getWorkOrderList(query) { + return request({ + url: '/base/core-work-order/listbyfilter', + method: 'get', + params: query, + }) +} +// 导出物料信息 +export function exportEnergyPlcExcel(query) { + return request({ + url: '/base/material-use-log/materialTraceExport', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/quality/materialTraceability.js b/src/api/quality/materialTraceability.js new file mode 100644 index 00000000..d8eea07f --- /dev/null +++ b/src/api/quality/materialTraceability.js @@ -0,0 +1,35 @@ +/* + * @Author: zhp + * @Date: 2023-10-18 09:33:57 + * @LastEditTime: 2023-10-31 10:28:51 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' + + +// 获得物料信息追溯page +export function getMaterialUseLogPage(query) { + return request({ + url: '/base/material-use-log/materialTrace', + method: 'get', + params: query + }) +} + +export function getWorkOrderList(query) { + return request({ + url: '/base/core-work-order/listbyfilter', + method: 'get', + params: query, + }) +} +// 导出物料信息 +export function exportEnergyPlcExcel(query) { + return request({ + url: '/base/material-use-log/materialTraceExport', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/quality/processTraceability.js b/src/api/quality/processTraceability.js new file mode 100644 index 00000000..d2152584 --- /dev/null +++ b/src/api/quality/processTraceability.js @@ -0,0 +1,35 @@ +/* + * @Author: zhp + * @Date: 2023-10-31 15:05:06 + * @LastEditTime: 2023-11-03 09:05:50 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' + + +// 获得工艺信息追溯page +export function getProcessTraceabilityPage(query) { + return request({ + url: '/extend/process-retrospect/get', + method: 'post', + data: query + }) +} + +export function getWorkOrderList(query) { + return request({ + url: '/base/core-work-order/listbyfilter', + method: 'get', + params: query, + }) +} +// 导出物料信息 +// export function exportEnergyPlcExcel(query) { +// return request({ +// url: '/base/material-use-log/materialTraceExport', +// method: 'get', +// params: query, +// responseType: 'blob' +// }) +// } diff --git a/src/api/quality/processTraceabilityDetail.js b/src/api/quality/processTraceabilityDetail.js new file mode 100644 index 00000000..6a26364f --- /dev/null +++ b/src/api/quality/processTraceabilityDetail.js @@ -0,0 +1,35 @@ +/* + * @Author: zhp + * @Date: 2023-10-18 09:33:57 + * @LastEditTime: 2023-11-03 19:37:30 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' + + +// 获得物料信息追溯page +export function getDetMaterial(query) { + return request({ + url: '/extend/process-retrospect/getDetMaterial', + method: 'post', + params: query + }) +} + +// export function getWorkOrderList(query) { +// return request({ +// url: '/base/core-work-order/listbyfilter', +// method: 'get', +// params: query, +// }) +// } +// // 导出物料信息 +// export function exportEnergyPlcExcel(query) { +// return request({ +// url: '/base/material-use-log/materialTraceExport', +// method: 'get', +// params: query, +// responseType: 'blob' +// }) +// } diff --git a/src/api/quality/rawMaterialTraceability.js b/src/api/quality/rawMaterialTraceability.js new file mode 100644 index 00000000..aba01790 --- /dev/null +++ b/src/api/quality/rawMaterialTraceability.js @@ -0,0 +1,35 @@ +/* + * @Author: zhp + * @Date: 2023-10-31 10:55:20 + * @LastEditTime: 2023-10-31 15:05:30 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' + + +// 获得原料信息追溯page +export function getRawMaterialPage(query) { + return request({ + url: '/base/core-work-order-material/page', + method: 'get', + params: query + }) +} + +export function getWorkOrderList(query) { + return request({ + url: '/base/core-work-order/listbyfilter', + method: 'get', + params: query, + }) +} +// 导出物料信息 +export function exportEnergyPlcExcel(query) { + return request({ + url: '/base/material-use-log/materialTraceExport', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/views/base/custom/index.vue b/src/views/base/custom/index.vue index 873693a1..ab412ea9 100644 --- a/src/views/base/custom/index.vue +++ b/src/views/base/custom/index.vue @@ -134,7 +134,7 @@ import printPreview from './preview' import { MessageBox } from 'element-ui' import { hiprint } from 'vue-plugin-hiprint' import providers from './providers' -import printData from './print-data' +// import printData from './print-data' import $ from 'jquery' import SmallTitle from './SmallTitle.vue' let hiprintTemplate = null @@ -160,6 +160,7 @@ export default { // width: 220, // height: 80 }, + printData:{}, drawer: false, // 纸张类型 paperTypes: { @@ -355,13 +356,13 @@ export default { }, preView() { const { width } = this.curPaper - this.$refs.preView.show(hiprintTemplate, printData, width) + this.$refs.preView.show(hiprintTemplate, this.printData, width) }, print() { // if (window.hiwebSocket.opened) { const printerList = hiprintTemplate.getPrinterList() console.log(printerList) - hiprintTemplate.print2(printData, { printer: '', title: '预览打印' }) + hiprintTemplate.print2(this.printData, { printer: '', title: '预览打印' }) // return // } // this.$message.error('客户端未连接,无法直接打印') diff --git a/src/views/base/mixins/basic-page.js b/src/views/base/mixins/basic-page.js index 8723be82..b3b14aaa 100644 --- a/src/views/base/mixins/basic-page.js +++ b/src/views/base/mixins/basic-page.js @@ -1,8 +1,8 @@ /* * @Author: zwq * @Date: 2022-08-24 11:19:43 - * @LastEditors: DY - * @LastEditTime: 2023-09-21 16:02:07 + * @LastEditors: zhp + * @LastEditTime: 2023-11-01 10:30:12 * @Description: */ export default { @@ -101,7 +101,7 @@ export default { }, // 删除 deleteHandle(id, name, index) { - this.$confirm(`确定对${name ? '[名称=' + name + ']' : '[序号=' + index + ']'}进行删除操作?`, "提示", { + this.$confirm(`是否确认删除${name ? '[' + name + ']' : '[' + index + ']'}数据项?`, "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", diff --git a/src/views/base/packagingPrintLog/index.vue b/src/views/base/packagingPrintLog/index.vue index bb1c27b0..b612c941 100644 --- a/src/views/base/packagingPrintLog/index.vue +++ b/src/views/base/packagingPrintLog/index.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2023-08-01 14:55:51 * @LastEditors: zhp - * @LastEditTime: 2023-10-30 10:44:48 + * @LastEditTime: 2023-11-01 15:51:50 * @Description: -->