From d147f73a002fbb1245d0cabd7c9a3408596aecea Mon Sep 17 00:00:00 2001
From: yinq <1345442242@qq.com>
Date: Thu, 9 Nov 2023 17:00:38 +0800
Subject: [PATCH] =?UTF-8?q?add=20-=20=E7=94=B5=E6=A3=80=E6=95=B0=E6=8D=AE?=
=?UTF-8?q?=E8=AE=B0=E5=BD=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/report/electricalInspection.js | 44 ++
.../report/electricalInspection/index.vue | 418 ++++++++++++++++++
2 files changed, 462 insertions(+)
create mode 100644 src/api/report/electricalInspection.js
create mode 100644 src/views/report/electricalInspection/index.vue
diff --git a/src/api/report/electricalInspection.js b/src/api/report/electricalInspection.js
new file mode 100644
index 0000000..86a64b2
--- /dev/null
+++ b/src/api/report/electricalInspection.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询电检数据记录列表
+export function listElectricalInspection(query) {
+ return request({
+ url: '/report/electricalInspection/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询电检数据记录详细
+export function getElectricalInspection(uuid) {
+ return request({
+ url: '/report/electricalInspection/' + uuid,
+ method: 'get'
+ })
+}
+
+// 新增电检数据记录
+export function addElectricalInspection(data) {
+ return request({
+ url: '/report/electricalInspection',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改电检数据记录
+export function updateElectricalInspection(data) {
+ return request({
+ url: '/report/electricalInspection',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除电检数据记录
+export function delElectricalInspection(uuid) {
+ return request({
+ url: '/report/electricalInspection/' + uuid,
+ method: 'delete'
+ })
+}
diff --git a/src/views/report/electricalInspection/index.vue b/src/views/report/electricalInspection/index.vue
new file mode 100644
index 0000000..20326e1
--- /dev/null
+++ b/src/views/report/electricalInspection/index.vue
@@ -0,0 +1,418 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+
+ 修改
+
+
+
+ 删除
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.recordTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
+
+
+
+
+ 查看明细
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 电检数据明细信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+