From be13f34bb5553e43f6bdb17835946f6bfd735313 Mon Sep 17 00:00:00 2001 From: lc <15038716315@163.com> Date: Tue, 9 Apr 2024 10:52:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E4=BF=9D=E8=AE=B0=E5=BD=95=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/abuwx/information.js | 44 +++ src/components/FileUploadTp/index.vue | 513 ++++++++++++------------- src/views/abuwx/wxuser/information.vue | 296 ++++++++++++++ 3 files changed, 596 insertions(+), 257 deletions(-) create mode 100644 src/api/abuwx/information.js create mode 100644 src/views/abuwx/wxuser/information.vue diff --git a/src/api/abuwx/information.js b/src/api/abuwx/information.js new file mode 100644 index 0000000..d5bdfdd --- /dev/null +++ b/src/api/abuwx/information.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询维保记录列表 +export function listInformation(query) { + return request({ + url: '/abuwx/information/list', + method: 'get', + params: query + }) +} + +// 查询维保记录详细 +export function getInformation(id) { + return request({ + url: '/abuwx/information/' + id, + method: 'get' + }) +} + +// 新增维保记录 +export function addInformation(data) { + return request({ + url: '/abuwx/information', + method: 'post', + data: data + }) +} + +// 修改维保记录 +export function updateInformation(data) { + return request({ + url: '/abuwx/information', + method: 'put', + data: data + }) +} + +// 删除维保记录 +export function delInformation(id) { + return request({ + url: '/abuwx/information/' + id, + method: 'delete' + }) +} diff --git a/src/components/FileUploadTp/index.vue b/src/components/FileUploadTp/index.vue index 361f40e..802224d 100644 --- a/src/components/FileUploadTp/index.vue +++ b/src/components/FileUploadTp/index.vue @@ -1,257 +1,256 @@ - - - - - - \ No newline at end of file + + + + + diff --git a/src/views/abuwx/wxuser/information.vue b/src/views/abuwx/wxuser/information.vue new file mode 100644 index 0000000..f4ef41e --- /dev/null +++ b/src/views/abuwx/wxuser/information.vue @@ -0,0 +1,296 @@ + + +