diff --git a/.env.dev b/.env.dev index ce13987b..233c342e 100644 --- a/.env.dev +++ b/.env.dev @@ -1,8 +1,8 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2023-11-21 10:36:47 - # @LastEditors: DY + # @LastEditTime: 2023-12-13 16:52:10 + # @LastEditors: zhp # @Description: ### # 开发环境配置 @@ -13,7 +13,7 @@ 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://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:48082' diff --git a/src/api/base/qualityHotMaterial.js b/src/api/base/qualityHotMaterial.js new file mode 100644 index 00000000..23ceeeb1 --- /dev/null +++ b/src/api/base/qualityHotMaterial.js @@ -0,0 +1,101 @@ + +/* + * @Author: zhp + * @Date: 2023-11-06 15:38:12 + * @LastEditTime: 2023-12-08 16:08:35 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' + +// 创建质量检测类型基础 +export function createQualityHotMaterial(data) { + return request({ + url: '/base/quality-hot-material/create', + method: 'post', + data: data + }) +} + +// 更新质量检测类型基础 +export function updateQualityHotMaterial(data) { + return request({ + url: '/base/quality-hot-material/update', + method: 'put', + data: data + }) +} + +// 删除质量检测类型基础 +export function deleteQualityHotMaterial(id) { + return request({ + url: '/base/quality-hot-material/delete?id=' + id, + method: 'delete' + }) +} + +// 获得质量检测类型基础 +export function getQualityHotMaterial(id) { + return request({ + url: '/base/quality-hot-material/get?id=' + id, + method: 'get' + }) +} + +// 获得质量检测类型基础分页 +export function getQualityHotMaterialPage(query) { + return request({ + url: 'base/quality-hot-material/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-hot-material/getCode', + method: 'get', + params: query + }) +} +export function getHotMaterialAllList(query) { + return request({ + url: '/base/core-hot-material/listAll', + method: 'get', + params: query + }) +} + +export function getSupplierList(query) { + return request({ + url: '/base/core-supplier/listAll', + method: 'get', + params: query + }) +} + +export function getWorkerList(query) { + return request({ + url: '/base/core-worker/listAll', + method: 'get', + params: query + }) +} + +export function getMaterialCheckList(query) { + return request({ + url: '/base/core-hot-material-check/listByMaterial', + method: 'get', + params: query + }) +} diff --git a/src/api/base/qualityInspectionBoxBtn.js b/src/api/base/qualityInspectionBoxBtn.js index 44ffd522..45998d1a 100644 --- a/src/api/base/qualityInspectionBoxBtn.js +++ b/src/api/base/qualityInspectionBoxBtn.js @@ -1,10 +1,17 @@ +/* + * @Author: zhp + * @Date: 2023-12-04 14:10:37 + * @LastEditTime: 2023-12-13 16:03:46 + * @LastEditors: zhp + * @Description: + */ import request from '@/utils/request' // 创建安灯按钮16键对应 export function createQualityInspectionBoxBtn(data) { return request({ - url: '/base/quality-inspection-box-btn/create', - method: 'post', + url: '/base/quality-inspection-box-btn/updateBatch', + method: 'put', data: data }) } @@ -52,3 +59,19 @@ export function exportQualityInspectionBoxBtnExcel(query) { responseType: 'blob' }) } + +export function getAllDetByTypeList(query) { + return request({ + url: '/base/quality-scrap-det/scrapMap', + method: 'get', + params: query, + }) +} +export function getListByLineSection(query) { + return request({ + url: '/base/quality-inspection-box-btn/detListByLineSection', + method: 'get', + params: query, + }) +} + diff --git a/src/api/base/qualityScrapDet.js b/src/api/base/qualityScrapDet.js index 1cf724ac..9811bca1 100644 --- a/src/api/base/qualityScrapDet.js +++ b/src/api/base/qualityScrapDet.js @@ -1,7 +1,7 @@ /* * @Author: zhp * @Date: 2023-11-06 15:38:12 - * @LastEditTime: 2023-11-06 15:39:39 + * @LastEditTime: 2023-12-08 09:46:55 * @LastEditors: zhp * @Description: */ @@ -67,3 +67,4 @@ export function getCode(query) { params: query }) } + diff --git a/src/api/monitoring/qualityIsra.js b/src/api/monitoring/qualityIsra.js new file mode 100644 index 00000000..4c33d57b --- /dev/null +++ b/src/api/monitoring/qualityIsra.js @@ -0,0 +1,63 @@ +/* + * @Author: zhp + * @Date: 2023-12-08 15:26:59 + * @LastEditTime: 2023-12-11 15:21:44 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' +export function getQualityIsraPage(query) { + return request({ + url: 'base/quality-isra-statistics/getIsraData', + method: 'get', + params: query + }) +} + +export function getQualityIsraDayMap(query) { + return request({ + url: '/base/quality-isra-statistics/dayMap', + method: 'get', + params: query + }) +} + +export function getQualityIsraWeekMap(query) { + return request({ + url: '/base/quality-isra-statistics/weekMap', + method: 'get', + params: query + }) +} + +export function getQualityIsraMonthMap(query) { + return request({ + url: '/base/quality-isra-statistics/monthMap', + method: 'get', + params: query + }) +} + +export function getQualityIsraDayList(query) { + return request({ + url: '/base/quality-isra-statistics/dayList', + method: 'get', + params: query + }) +} + +export function getQualityIsraWeekList(query) { + return request({ + url: '/base/quality-isra-statistics/weekList', + method: 'get', + params: query + }) +} + +export function getQualityIsraMonthList(query) { + return request({ + url: '/base/quality-isra-statistics/monthList', + method: 'get', + params: query + }) +} diff --git a/src/api/quality/rawMaterialTraceability.js b/src/api/quality/rawMaterialTraceability.js index aba01790..44d6392d 100644 --- a/src/api/quality/rawMaterialTraceability.js +++ b/src/api/quality/rawMaterialTraceability.js @@ -1,7 +1,7 @@ /* * @Author: zhp * @Date: 2023-10-31 10:55:20 - * @LastEditTime: 2023-10-31 15:05:30 + * @LastEditTime: 2023-12-06 14:09:14 * @LastEditors: zhp * @Description: */ @@ -33,3 +33,12 @@ export function exportEnergyPlcExcel(query) { responseType: 'blob' }) } + +export function getOriginalGlassRetrace(query) { + return request({ + url: '/base/original-glass-statistics/originalGlassRetrace', + method: 'get', + params: query, + }) +} + diff --git a/src/api/report/production.js b/src/api/report/production.js new file mode 100644 index 00000000..aecf5bda --- /dev/null +++ b/src/api/report/production.js @@ -0,0 +1,41 @@ +/* + * @Author: zhp + * @Date: 2023-12-12 13:49:02 + * @LastEditTime: 2023-12-13 15:52:11 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' + +// 获得质量检查信息记录表分页 + +export function getProductionDataList(query) { + return request({ + url: '/base/report-auto-production/listPlus', + method: 'get', + data: query, + }) +} + +export function updateProductionDataList(query) { + return request({ + url: '/base/report-auto-production/updatePlus', + method: 'put', + data: query, + }) +} +export function updateSumProductionDataList(query) { + return request({ + url: '/base/report-auto-production/update', + method: 'put', + data: query, + }) +} + +export function getAutoDeliveDataList(query) { + return request({ + url: '/base/report-auto-delive/listPlus', + method: 'put', + data: query, + }) +} diff --git a/src/components/DialogForm/index.vue b/src/components/DialogForm/index.vue index c780edba..0c4fcff1 100644 --- a/src/components/DialogForm/index.vue +++ b/src/components/DialogForm/index.vue @@ -142,9 +142,6 @@ function findMaxLabelWidth(rows) { if (!opt.label) return 0; if (opt.label.length > max) { max = opt.label.length; - if (opt.label.includes('(')) { - max = max - 3 - } } }); }); @@ -242,7 +239,7 @@ export default { size: { type: String, default: '', - } + }, }, data() { return { diff --git a/src/components/Editor/index.vue b/src/components/Editor/index.vue index 50ae3e74..dc9fc82d 100644 --- a/src/components/Editor/index.vue +++ b/src/components/Editor/index.vue @@ -83,7 +83,7 @@ export default { ], }, placeholder: '请输入内容', - // readOnly: false, + readOnly: true, }, }; }, @@ -123,7 +123,6 @@ export default { const editor = this.$refs.editor; this.Quill = new Quill(editor, this.options); // 取消自动聚焦 start - this.Quill?.enable(false); this.$nextTick(() => { this.Quill?.blur(); this.Quill?.enable(true); @@ -195,7 +194,7 @@ export default { }; - --> + diff --git a/src/views/base/packagingPrintModel/add-or-updata.vue b/src/views/base/packagingPrintModel/add-or-updata.vue index 9e66ebe9..d22f295f 100644 --- a/src/views/base/packagingPrintModel/add-or-updata.vue +++ b/src/views/base/packagingPrintModel/add-or-updata.vue @@ -1,12 +1,12 @@