diff --git a/.env.dev b/.env.dev index 7d4a5655..60bfc93c 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2024-01-11 10:20:21 + # @LastEditTime: 2024-01-30 16:17:03 # @LastEditors: zhp # @Description: ### @@ -21,7 +21,6 @@ VUE_APP_BASE_API = 'http://192.168.0.33:48082' # 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.1.62:48082' # VUE_APP_BASE_API = 'http://192.168.1.78:48082' diff --git a/src/api/base/qualityInspectionBoxPermissions.js b/src/api/base/qualityInspectionBoxPermissions.js new file mode 100644 index 00000000..76e9de5a --- /dev/null +++ b/src/api/base/qualityInspectionBoxPermissions.js @@ -0,0 +1,91 @@ +/* + * @Author: zhp + * @Date: 2023-12-04 14:10:37 + * @LastEditTime: 2024-01-30 18:06:48 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' + +// 创建安灯按钮16键对应 +export function createQualityInspectionBoxBtn(data) { + return request({ + url: '/base/quality-inspection-box-btn/updateBatch', + method: 'put', + data: data + }) +} + +// 更新安灯按钮16键对应 +export function updateQualityInspectionBoxBtn(data) { + return request({ + url: '/base/quality-inspection-box-btn-auth/update', + method: 'put', + data: data + }) +} + +// 删除安灯按钮16键对应 +export function deleteQualityInspectionBoxBtn(id) { + return request({ + url: 'base/quality-inspection-box-btn-auth/delete?id=' + id, + method: 'delete' + }) +} + +// 获得安灯按钮16键对应 +export function getQualityInspectionBoxBtn(id) { + return request({ + url: 'base/quality-inspection-box-btn-auth/get?id=' + id, + method: 'get' + }) +} + +// 获得安灯按钮16键对应分页 +export function getQualityInspectionBoxBtnPage(query) { + return request({ + url: '/base/quality-inspection-box-btn/listGroupByLineSection', + method: 'get', + params: query + }) +} + +// 导出安灯按钮16键对应 Excel +export function exportQualityInspectionBoxBtnExcel(query) { + return request({ + url: '/base/quality-inspection-box-btn/export-excel', + method: 'get', + params: 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, + }) +} + +export function getUserList(query) { + return request({ + url: 'base/quality-inspection-box-btn-auth/getUserList', + method: 'get', + params: query, + }) +} +export function getPage(query) { + return request({ + url: 'base/quality-inspection-box-btn-auth/page', + method: 'post', + data:query + }) +} diff --git a/src/views/OperationalOverview/coldBoard.vue b/src/views/OperationalOverview/coldBoard.vue index d226d0a1..0f487543 100644 --- a/src/views/OperationalOverview/coldBoard.vue +++ b/src/views/OperationalOverview/coldBoard.vue @@ -1,8 +1,15 @@ +