From 1c64bafdf8c7b4491b78e9ba11f55af1bd19a077 Mon Sep 17 00:00:00 2001 From: lb Date: Thu, 27 Jul 2023 15:16:13 +0800 Subject: [PATCH] add Files --- src/api/core/base/groupClasses.js | 54 ++++ src/api/core/base/groupTeam.js | 54 ++++ src/api/core/base/groupTeamScheduling.js | 54 ++++ src/api/core/base/qualityInspectionBoxBtn.js | 54 ++++ src/api/core/base/qualityInspectionDet.js | 54 ++++ src/api/core/base/qualityInspectionType.js | 54 ++++ src/views/core/base/groupClasses/index.vue | 244 ++++++++++++++++++ src/views/core/base/groupTeam/index.vue | 223 ++++++++++++++++ .../core/base/groupTeamScheduling/index.vue | 233 +++++++++++++++++ .../base/qualityInspectionBoxBtn/index.vue | 227 ++++++++++++++++ .../core/base/qualityInspectionDet/index.vue | 227 ++++++++++++++++ .../core/base/qualityInspectionType/index.vue | 214 +++++++++++++++ 12 files changed, 1692 insertions(+) create mode 100644 src/api/core/base/groupClasses.js create mode 100644 src/api/core/base/groupTeam.js create mode 100644 src/api/core/base/groupTeamScheduling.js create mode 100644 src/api/core/base/qualityInspectionBoxBtn.js create mode 100644 src/api/core/base/qualityInspectionDet.js create mode 100644 src/api/core/base/qualityInspectionType.js create mode 100644 src/views/core/base/groupClasses/index.vue create mode 100644 src/views/core/base/groupTeam/index.vue create mode 100644 src/views/core/base/groupTeamScheduling/index.vue create mode 100644 src/views/core/base/qualityInspectionBoxBtn/index.vue create mode 100644 src/views/core/base/qualityInspectionDet/index.vue create mode 100644 src/views/core/base/qualityInspectionType/index.vue diff --git a/src/api/core/base/groupClasses.js b/src/api/core/base/groupClasses.js new file mode 100644 index 00000000..b519fd70 --- /dev/null +++ b/src/api/core/base/groupClasses.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建班次基础信息 +export function createGroupClasses(data) { + return request({ + url: '/base/group-classes/create', + method: 'post', + data: data + }) +} + +// 更新班次基础信息 +export function updateGroupClasses(data) { + return request({ + url: '/base/group-classes/update', + method: 'put', + data: data + }) +} + +// 删除班次基础信息 +export function deleteGroupClasses(id) { + return request({ + url: '/base/group-classes/delete?id=' + id, + method: 'delete' + }) +} + +// 获得班次基础信息 +export function getGroupClasses(id) { + return request({ + url: '/base/group-classes/get?id=' + id, + method: 'get' + }) +} + +// 获得班次基础信息分页 +export function getGroupClassesPage(query) { + return request({ + url: '/base/group-classes/page', + method: 'get', + params: query + }) +} + +// 导出班次基础信息 Excel +export function exportGroupClassesExcel(query) { + return request({ + url: '/base/group-classes/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/core/base/groupTeam.js b/src/api/core/base/groupTeam.js new file mode 100644 index 00000000..3e0700b0 --- /dev/null +++ b/src/api/core/base/groupTeam.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建班组基础信息 +export function createGroupTeam(data) { + return request({ + url: '/base/group-team/create', + method: 'post', + data: data + }) +} + +// 更新班组基础信息 +export function updateGroupTeam(data) { + return request({ + url: '/base/group-team/update', + method: 'put', + data: data + }) +} + +// 删除班组基础信息 +export function deleteGroupTeam(id) { + return request({ + url: '/base/group-team/delete?id=' + id, + method: 'delete' + }) +} + +// 获得班组基础信息 +export function getGroupTeam(id) { + return request({ + url: '/base/group-team/get?id=' + id, + method: 'get' + }) +} + +// 获得班组基础信息分页 +export function getGroupTeamPage(query) { + return request({ + url: '/base/group-team/page', + method: 'get', + params: query + }) +} + +// 导出班组基础信息 Excel +export function exportGroupTeamExcel(query) { + return request({ + url: '/base/group-team/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/core/base/groupTeamScheduling.js b/src/api/core/base/groupTeamScheduling.js new file mode 100644 index 00000000..5220c9f4 --- /dev/null +++ b/src/api/core/base/groupTeamScheduling.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建排班信息 +export function createGroupTeamScheduling(data) { + return request({ + url: '/base/group-team-scheduling/create', + method: 'post', + data: data + }) +} + +// 更新排班信息 +export function updateGroupTeamScheduling(data) { + return request({ + url: '/base/group-team-scheduling/update', + method: 'put', + data: data + }) +} + +// 删除排班信息 +export function deleteGroupTeamScheduling(id) { + return request({ + url: '/base/group-team-scheduling/delete?id=' + id, + method: 'delete' + }) +} + +// 获得排班信息 +export function getGroupTeamScheduling(id) { + return request({ + url: '/base/group-team-scheduling/get?id=' + id, + method: 'get' + }) +} + +// 获得排班信息分页 +export function getGroupTeamSchedulingPage(query) { + return request({ + url: '/base/group-team-scheduling/page', + method: 'get', + params: query + }) +} + +// 导出排班信息 Excel +export function exportGroupTeamSchedulingExcel(query) { + return request({ + url: '/base/group-team-scheduling/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/core/base/qualityInspectionBoxBtn.js b/src/api/core/base/qualityInspectionBoxBtn.js new file mode 100644 index 00000000..44ffd522 --- /dev/null +++ b/src/api/core/base/qualityInspectionBoxBtn.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建安灯按钮16键对应 +export function createQualityInspectionBoxBtn(data) { + return request({ + url: '/base/quality-inspection-box-btn/create', + method: 'post', + data: data + }) +} + +// 更新安灯按钮16键对应 +export function updateQualityInspectionBoxBtn(data) { + return request({ + url: '/base/quality-inspection-box-btn/update', + method: 'put', + data: data + }) +} + +// 删除安灯按钮16键对应 +export function deleteQualityInspectionBoxBtn(id) { + return request({ + url: '/base/quality-inspection-box-btn/delete?id=' + id, + method: 'delete' + }) +} + +// 获得安灯按钮16键对应 +export function getQualityInspectionBoxBtn(id) { + return request({ + url: '/base/quality-inspection-box-btn/get?id=' + id, + method: 'get' + }) +} + +// 获得安灯按钮16键对应分页 +export function getQualityInspectionBoxBtnPage(query) { + return request({ + url: '/base/quality-inspection-box-btn/page', + 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' + }) +} diff --git a/src/api/core/base/qualityInspectionDet.js b/src/api/core/base/qualityInspectionDet.js new file mode 100644 index 00000000..7253f7fa --- /dev/null +++ b/src/api/core/base/qualityInspectionDet.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建质量检测信息基础 +export function createQualityInspectionDet(data) { + return request({ + url: '/base/quality-inspection-det/create', + method: 'post', + data: data + }) +} + +// 更新质量检测信息基础 +export function updateQualityInspectionDet(data) { + return request({ + url: '/base/quality-inspection-det/update', + method: 'put', + data: data + }) +} + +// 删除质量检测信息基础 +export function deleteQualityInspectionDet(id) { + return request({ + url: '/base/quality-inspection-det/delete?id=' + id, + method: 'delete' + }) +} + +// 获得质量检测信息基础 +export function getQualityInspectionDet(id) { + return request({ + url: '/base/quality-inspection-det/get?id=' + id, + method: 'get' + }) +} + +// 获得质量检测信息基础分页 +export function getQualityInspectionDetPage(query) { + return request({ + url: '/base/quality-inspection-det/page', + method: 'get', + params: query + }) +} + +// 导出质量检测信息基础 Excel +export function exportQualityInspectionDetExcel(query) { + return request({ + url: '/base/quality-inspection-det/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/core/base/qualityInspectionType.js b/src/api/core/base/qualityInspectionType.js new file mode 100644 index 00000000..8c64f993 --- /dev/null +++ b/src/api/core/base/qualityInspectionType.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建质量检测类型基础 +export function createQualityInspectionType(data) { + return request({ + url: '/base/quality-inspection-type/create', + method: 'post', + data: data + }) +} + +// 更新质量检测类型基础 +export function updateQualityInspectionType(data) { + return request({ + url: '/base/quality-inspection-type/update', + method: 'put', + data: data + }) +} + +// 删除质量检测类型基础 +export function deleteQualityInspectionType(id) { + return request({ + url: '/base/quality-inspection-type/delete?id=' + id, + method: 'delete' + }) +} + +// 获得质量检测类型基础 +export function getQualityInspectionType(id) { + return request({ + url: '/base/quality-inspection-type/get?id=' + id, + method: 'get' + }) +} + +// 获得质量检测类型基础分页 +export function getQualityInspectionTypePage(query) { + return request({ + url: '/base/quality-inspection-type/page', + method: 'get', + params: query + }) +} + +// 导出质量检测类型基础 Excel +export function exportQualityInspectionTypeExcel(query) { + return request({ + url: '/base/quality-inspection-type/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/views/core/base/groupClasses/index.vue b/src/views/core/base/groupClasses/index.vue new file mode 100644 index 00000000..9ccbc2dc --- /dev/null +++ b/src/views/core/base/groupClasses/index.vue @@ -0,0 +1,244 @@ + + + diff --git a/src/views/core/base/groupTeam/index.vue b/src/views/core/base/groupTeam/index.vue new file mode 100644 index 00000000..a905b42a --- /dev/null +++ b/src/views/core/base/groupTeam/index.vue @@ -0,0 +1,223 @@ + + + diff --git a/src/views/core/base/groupTeamScheduling/index.vue b/src/views/core/base/groupTeamScheduling/index.vue new file mode 100644 index 00000000..6346df1f --- /dev/null +++ b/src/views/core/base/groupTeamScheduling/index.vue @@ -0,0 +1,233 @@ + + + diff --git a/src/views/core/base/qualityInspectionBoxBtn/index.vue b/src/views/core/base/qualityInspectionBoxBtn/index.vue new file mode 100644 index 00000000..741ec1c2 --- /dev/null +++ b/src/views/core/base/qualityInspectionBoxBtn/index.vue @@ -0,0 +1,227 @@ + + + diff --git a/src/views/core/base/qualityInspectionDet/index.vue b/src/views/core/base/qualityInspectionDet/index.vue new file mode 100644 index 00000000..64d263e1 --- /dev/null +++ b/src/views/core/base/qualityInspectionDet/index.vue @@ -0,0 +1,227 @@ + + + diff --git a/src/views/core/base/qualityInspectionType/index.vue b/src/views/core/base/qualityInspectionType/index.vue new file mode 100644 index 00000000..4629e7e4 --- /dev/null +++ b/src/views/core/base/qualityInspectionType/index.vue @@ -0,0 +1,214 @@ + + + -- 2.45.2