diff --git a/src/api/leger/inspectionstandards.js b/src/api/leger/inspectionstandards.js new file mode 100644 index 0000000..de4f7c3 --- /dev/null +++ b/src/api/leger/inspectionstandards.js @@ -0,0 +1,50 @@ +import request from '@/router/axios'; + +export const getList = (current, size, params) => { + return request({ + url: '/api/leger/inspectionstandards/list', + method: 'get', + params: { + ...params, + current, + size, + } + }) +} + +export const getDetail = (id) => { + return request({ + url: '/api/leger/inspectionstandards/detail', + method: 'get', + params: { + id + } + }) +} + +export const remove = (ids) => { + return request({ + url: '/api/leger/inspectionstandards/remove', + method: 'post', + params: { + ids, + } + }) +} + +export const add = (row) => { + return request({ + url: '/api/leger/inspectionstandards/submit', + method: 'post', + data: row + }) +} + +export const update = (row) => { + return request({ + url: '/api/leger/inspectionstandards/submit', + method: 'post', + data: row + }) +} + diff --git a/src/api/leger/toolinventoryrecord.js b/src/api/leger/toolinventoryrecord.js new file mode 100644 index 0000000..2a0347d --- /dev/null +++ b/src/api/leger/toolinventoryrecord.js @@ -0,0 +1,50 @@ +import request from '@/router/axios'; + +export const getList = (current, size, params) => { + return request({ + url: '/api/leger/toolinventoryrecord/list', + method: 'get', + params: { + ...params, + current, + size, + } + }) +} + +export const getDetail = (id) => { + return request({ + url: '/api/leger/toolinventoryrecord/detail', + method: 'get', + params: { + id + } + }) +} + +export const remove = (ids) => { + return request({ + url: '/api/leger/toolinventoryrecord/remove', + method: 'post', + params: { + ids, + } + }) +} + +export const add = (row) => { + return request({ + url: '/api/leger/toolinventoryrecord/submit', + method: 'post', + data: row + }) +} + +export const update = (row) => { + return request({ + url: '/api/leger/toolinventoryrecord/submit', + method: 'post', + data: row + }) +} + diff --git a/src/views/leger/inspectionstandards.vue b/src/views/leger/inspectionstandards.vue new file mode 100644 index 0000000..df3967b --- /dev/null +++ b/src/views/leger/inspectionstandards.vue @@ -0,0 +1,234 @@ + + + + + diff --git a/src/views/leger/toolinventoryrecord.vue b/src/views/leger/toolinventoryrecord.vue new file mode 100644 index 0000000..bcfc3b6 --- /dev/null +++ b/src/views/leger/toolinventoryrecord.vue @@ -0,0 +1,342 @@ + + + + +