From 1ff3e60eb35c978a7693e8b282643efa10875c2e Mon Sep 17 00:00:00 2001 From: yangzhicheng Date: Tue, 9 Jul 2024 10:49:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/leger/inspectionstandards.js | 50 +++++ src/views/leger/inspectionstandards.vue | 234 ++++++++++++++++++++++++ 2 files changed, 284 insertions(+) create mode 100644 src/api/leger/inspectionstandards.js create mode 100644 src/views/leger/inspectionstandards.vue 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 @@ + + + + +