diff --git a/src/api/leger/inspectionstandards.js b/src/api/leger/inspectionstandards.js new file mode 100644 index 0000000..ee5f327 --- /dev/null +++ b/src/api/leger/inspectionstandards.js @@ -0,0 +1,50 @@ +import request from '@/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/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 @@ + + + + +