From 0e944bfc16136c0a749fc6022e0dfc7f2b4af010 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 15 十月 2024 18:16:17 +0800
Subject: [PATCH] 工单图片样式调整、取消考核页面人脸和车辆的公安部按钮
---
src/api/newpage.js | 84 +++++++++++++++++++++++++++++++++++++-----
1 files changed, 74 insertions(+), 10 deletions(-)
diff --git a/src/api/newpage.js b/src/api/newpage.js
index d4de53b..21bb85a 100644
--- a/src/api/newpage.js
+++ b/src/api/newpage.js
@@ -1,17 +1,81 @@
-import request from '@/utils/request'
+import request from "@/utils/request";
+
+// 鑾峰彇鍦板尯閮ㄩ棬
+export function getDepartmentData() {
+ return request({
+ url: "/dashboard/department",
+ method: "get",
+ });
+}
+
+// 鑾峰彇骞冲彴鍦ㄧ嚎
+export function getPlatform() {
+ return request({
+ url: "/dashboard/platform",
+ method: "get",
+ });
+}
// 璁惧鏁版嵁
-export function getDeviceData() {
+export function getDeviceData(dataScope, deptId) {
return request({
- url: '/dashboard/monitor',
- method: 'get',
- })
+ url: "/dashboard/monitor/total?dataScope=" + dataScope + "&deptId=" + deptId,
+ method: "get",
+ });
}
// 宸ュ崟鏁版嵁
-export function getWorkOrderData() {
+export function getWorkOrderData(dataScope, deptId) {
return request({
- url: '/dashboard/workOrder',
- method: 'get',
- })
-}
\ No newline at end of file
+ url: "/dashboard/workOrder/total?dataScope=" + dataScope + "&deptId=" + deptId,
+ method: "get",
+ });
+}
+
+// 宸ュ崟鍦板尯
+export function getWorkOrderRegion(dataScope, deptId) {
+ return request({
+ url: "/dashboard/workOrder/region?dataScope=" + dataScope + "&deptId=" + deptId,
+ method: "get",
+ });
+}
+
+//璁惧姝e父鐜�
+export function getNormalRate(dataScope, deptId) {
+ return request({
+ url: "/dashboard/monitor/rate?dataScope=" + dataScope + "&deptId=" + deptId,
+ method: "get",
+ });
+}
+
+//浜鸿劯鑰冩牳鏁版嵁
+export function checkFace(dataScope, deptId) {
+ return request({
+ url: "/dashboard/check/face?dataScope=" + dataScope + "&deptId=" + deptId,
+ method: "get",
+ });
+}
+
+// 杞﹁締鑰冩牳鏁版嵁
+export function checkCar(dataScope, deptId) {
+ return request({
+ url: "/dashboard/check/car?dataScope=" + dataScope + "&deptId=" + deptId,
+ method: "get",
+ });
+}
+
+// 瑙嗛鑰冩牳鏁版嵁
+export function checkVideo(dataScope, deptId) {
+ return request({
+ url: "/dashboard/check/video?dataScope=" + dataScope + "&deptId=" + deptId,
+ method: "get",
+ });
+}
+
+// 鑰冩牳绉垎鏁版嵁
+export function checkScore(dataScope, deptId) {
+ return request({
+ url: "/dashboard/check/score?dataScope=" + dataScope + "&deptId=" + deptId,
+ method: "get",
+ });
+}
--
Gitblit v1.8.0