diff --git a/src/api/quality/checkType.js b/src/api/quality/checkType.js new file mode 100644 index 0000000..72bb291 --- /dev/null +++ b/src/api/quality/checkType.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询检验节点维护列表 +export function listCheckType(query) { + return request({ + url: '/quality/checkType/list', + method: 'get', + params: query + }); +} + +// 查询检验节点维护详细 +export function getCheckType(id) { + return request({ + url: '/quality/checkType/' + id, + method: 'get' + }); +} + +// 新增检验节点维护 +export function addCheckType(data) { + return request({ + url: '/quality/checkType', + method: 'post', + data: data + }); +} + +// 修改检验节点维护 +export function updateCheckType(data) { + return request({ + url: '/quality/checkType', + method: 'put', + data: data + }); +} + +// 删除检验节点维护 +export function delCheckType(id) { + return request({ + url: '/quality/checkType/' + id, + method: 'delete' + }); +} diff --git a/src/api/quality/material.js b/src/api/quality/material.js new file mode 100644 index 0000000..d6825e7 --- /dev/null +++ b/src/api/quality/material.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询人员列表 +export function listMaterial(query) { + return request({ + url: '/quality/material/userList', + method: 'get', + params: query + }); +} + +// 查询人员物料绑定详细 +export function getMaterial(userCode) { + return request({ + url: '/quality/material/' + userCode, + method: 'get' + }); +} + +// 新增人员物料绑定 +export function addMaterial(data) { + return request({ + url: '/quality/material', + method: 'post', + data: data + }); +} + +// 修改人员物料绑定 +export function updateMaterial(data) { + return request({ + url: '/quality/material', + method: 'put', + data: data + }); +} + +// 删除人员物料绑定 +export function delMaterial(id) { + return request({ + url: '/quality/material/' + id, + method: 'delete' + }); +} diff --git a/src/api/quality/project.js b/src/api/quality/project.js new file mode 100644 index 0000000..c23c159 --- /dev/null +++ b/src/api/quality/project.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询检验项目维护列表 +export function listProject(query) { + return request({ + url: '/quality/project/list', + method: 'get', + params: query + }); +} + +// 查询检验项目维护详细 +export function getProject(id) { + return request({ + url: '/quality/project/' + id, + method: 'get' + }); +} + +// 新增检验项目维护 +export function addProject(data) { + return request({ + url: '/quality/project', + method: 'post', + data: data + }); +} + +// 修改检验项目维护 +export function updateProject(data) { + return request({ + url: '/quality/project', + method: 'put', + data: data + }); +} + +// 删除检验项目维护 +export function delProject(id) { + return request({ + url: '/quality/project/' + id, + method: 'delete' + }); +} diff --git a/src/api/quality/userbind.js b/src/api/quality/userbind.js new file mode 100644 index 0000000..8b301f0 --- /dev/null +++ b/src/api/quality/userbind.js @@ -0,0 +1,62 @@ +import request from '@/utils/request' + +// 查询用户物料关联列表 +export function listProduct(query) { + return request({ + url: '/quality/material/list', + method: 'get', + params: query + }); +} + +// 查询用户物料关联详细 +export function getProduct(userCode) { + return request({ + url: '/quality/material/' + userCode, + method: 'get' + }); +} + +// 新增用户物料关联 +export function addProduct(data) { + return request({ + url: '/quality/material', + method: 'post', + data: data + }); +} + +// 修改用户物料关联 +export function updateProduct(data) { + return request({ + url: '/quality/material', + method: 'put', + data: data + }); +} + +// 删除用户物料关联 +export function delProduct(userCode) { + return request({ + url: '/quality/material/' + userCode, + method: 'delete' + }); +} + +// 查询用户物料未关联列表 +export function getListProduct(query) { + return request({ + url: '/quality/material/getList', + method: 'get', + params: query + }); +} + +// 查询用户物料已关联列表 +export function getRightList(query) { + return request({ + url: '/quality/material/getRightList', + method: 'get', + params: query + }); +} diff --git a/src/views/quality/checkType/index.vue b/src/views/quality/checkType/index.vue new file mode 100644 index 0000000..10aac8a --- /dev/null +++ b/src/views/quality/checkType/index.vue @@ -0,0 +1,300 @@ + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + + + + + + + + + + + + + + 修改 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/quality/material/index.vue b/src/views/quality/material/index.vue new file mode 100644 index 0000000..5dd1810 --- /dev/null +++ b/src/views/quality/material/index.vue @@ -0,0 +1,270 @@ + + + + + + + + + + + 搜索 + 重置 + + + + + + 绑定 + + + + + + + + + + + + + + 正常 + 停用 + + + + + 绑定 + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/quality/material/userbind.vue b/src/views/quality/material/userbind.vue new file mode 100644 index 0000000..1a0ca33 --- /dev/null +++ b/src/views/quality/material/userbind.vue @@ -0,0 +1,269 @@ + + + + + + 共{{ Ltotal }}条 + 上一页 + + 下一页 + + + 共{{ Rtotal }}条 + 上一页 + + 下一页 + + + + + + + diff --git a/src/views/quality/project/index.vue b/src/views/quality/project/index.vue new file mode 100644 index 0000000..f6e804d --- /dev/null +++ b/src/views/quality/project/index.vue @@ -0,0 +1,377 @@ + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + 导出 + + + + + + + + + + + + + + + + + + + + + + + + 修改 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +