From 5e79f0526549055fb3c6e5970f69283b24a519ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=90=95=E6=9D=B0=E5=88=9A?= <1543758718@qq.com>
Date: Thu, 15 May 2025 16:02:53 +0800
Subject: [PATCH] =?UTF-8?q?=E9=98=B2=E6=8E=92=E6=B0=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../drainageWorkshop/pumpOperationLog.ts | 42 ++++
.../drainageWorkshop/pumpOperationLog.vue | 193 ++++++++++++++++++
src/router/index.ts | 23 ++-
3 files changed, 257 insertions(+), 1 deletion(-)
create mode 100644 src/common/apis/tables/drainageWorkshop/pumpOperationLog.ts
create mode 100644 src/pages/demo/drainageWorkshop/pumpOperationLog.vue
diff --git a/src/common/apis/tables/drainageWorkshop/pumpOperationLog.ts b/src/common/apis/tables/drainageWorkshop/pumpOperationLog.ts
new file mode 100644
index 0000000..e2f4cef
--- /dev/null
+++ b/src/common/apis/tables/drainageWorkshop/pumpOperationLog.ts
@@ -0,0 +1,42 @@
+import { request } from "@/http/axios";
+
+/**修改水泵运行日志 */
+export function updateFangpaishuiPumpoperationrecordApi(data: any) {
+ return request({
+ url: "/FangpaishuiPumpoperationrecordController/updateFangpaishuiPumpoperationrecord",
+ method: "post",
+ data: data,
+ });
+}
+/** 删除水泵运行日志 */
+export function deleteFangpaishuiPumpoperationrecordApi(id: any) {
+ return request({
+ url: `/FangpaishuiPumpoperationrecordController/deleteFangpaishuiPumpoperationrecord/${id}`,
+ method: "delete",
+ });
+}
+/** 根据条件查水泵运行日志 */
+export function findPumpoperationrecordByDetailApi(data: any) {
+ return request({
+ url: `/FangpaishuiPumpoperationrecordController/findPumpoperationrecordByDetail`,
+ method: "post",
+ data: data,
+ });
+}
+
+// 新增水泵运行日志
+export function addFangpaishuiPumpoperationrecordApi(data: any) {
+ return request({
+ url: `/FangpaishuiPumpoperationrecordController/addFangpaishuiPumpoperationrecord`,
+ method: "post",
+ data: data,
+ });
+}
+
+//根据月查询排/倒水月报表
+export function findFangpaishuiPumpoperationrecordByMonthApi(data: any) {
+ return request({
+ url: `/FangpaishuiPumpoperationrecordController/findFangpaishuiPumpoperationrecordByMonth/${data}`,
+ method: "get",
+ });
+}
diff --git a/src/pages/demo/drainageWorkshop/pumpOperationLog.vue b/src/pages/demo/drainageWorkshop/pumpOperationLog.vue
new file mode 100644
index 0000000..8933327
--- /dev/null
+++ b/src/pages/demo/drainageWorkshop/pumpOperationLog.vue
@@ -0,0 +1,193 @@
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/router/index.ts b/src/router/index.ts
index f33ca8b..0d4c96e 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -207,7 +207,8 @@ export const constantRoutes: RouteRecordRaw[] = [
},
{
path: "excavationQuantityReport",
- component: () => import("@/pages/demo/diceke/ExcavationQuantityReport.vue"),
+ component: () =>
+ import("@/pages/demo/diceke/ExcavationQuantityReport.vue"),
name: "",
meta: {
title: "采剥量报表",
@@ -215,6 +216,26 @@ export const constantRoutes: RouteRecordRaw[] = [
},
],
},
+ {
+ path: "/drainageWorkshop",
+ component: Layouts,
+ redirect: "/drainageWorkshop",
+ meta: {
+ title: "防排水车间",
+ elIcon: "Link",
+ },
+ children: [
+ {
+ path: "pumpOperationLog",
+ component: () =>
+ import("@/pages/demo/drainageWorkshop/pumpOperationLog.vue"),
+ name: "pumpOperationLog",
+ meta: {
+ title: "水泵运行日志",
+ },
+ },
+ ],
+ },
// {
// path: "/caiqu",
// component: Layouts,