From 9e20384ca54ad3c372d6561ad8bbb111bbd1418c Mon Sep 17 00:00:00 2001
From: fangjiakai <450850793@qq.com>
Date: Wed, 26 Nov 2025 08:33:41 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=9B=91=E7=AE=A1=E7=AB=AF?=
=?UTF-8?q?=E7=BB=9F=E8=AE=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
accident/accident.html | 23 ++
eslint.config.js | 6 +-
jjb.config.js | 4 +-
package.json | 4 +-
public/index.html | 2 +-
src/api/accident/index.js | 14 +
.../Accident/components/Accident/index.js | 334 ++++++++++++++----
.../Container/SuperviseAccident/Info/index.js | 15 +
.../Container/SuperviseAccident/List/index.js | 98 +++++
.../Container/SuperviseAccident/index.js | 4 +
10 files changed, 424 insertions(+), 80 deletions(-)
create mode 100644 accident/accident.html
create mode 100644 src/pages/Container/SuperviseAccident/Info/index.js
create mode 100644 src/pages/Container/SuperviseAccident/List/index.js
create mode 100644 src/pages/Container/SuperviseAccident/index.js
diff --git a/accident/accident.html b/accident/accident.html
new file mode 100644
index 0000000..1e0727d
--- /dev/null
+++ b/accident/accident.html
@@ -0,0 +1,23 @@
+
--
\ No newline at end of file
diff --git a/eslint.config.js b/eslint.config.js
index 06fcf00..b695218 100644
--- a/eslint.config.js
+++ b/eslint.config.js
@@ -1,10 +1,8 @@
import antfu from "@antfu/eslint-config";
export default antfu({
- formatters: {
- html: false,
- css: true,
- },
+ // Remove formatter configuration that might be causing issues
+ formatters: false,
test: false,
typescript: true,
react: true,
diff --git a/jjb.config.js b/jjb.config.js
index 430127f..274bbea 100644
--- a/jjb.config.js
+++ b/jjb.config.js
@@ -9,7 +9,7 @@ module.exports = {
// 应用后端分支名称,部署上线需要
javaGitBranch: "",
// 接口服务地址
- API_HOST: "http://192.168.10.37:80",
+ API_HOST: "http://192.168.20.100:30140",
},
production: {
// 应用后端分支名称,部署上线需要
@@ -24,7 +24,7 @@ module.exports = {
contextInject: {
// 应用Key
appKey: "",
- fileUrl: "附件地址",
+ fileUrl: "http://192.168.20.240:9787/mnt",
},
// public/index.html注入全局变量
windowInject: {
diff --git a/package.json b/package.json
index dce1eb3..1af600e 100644
--- a/package.json
+++ b/package.json
@@ -25,12 +25,12 @@
"@cqsjjb/jjb-dva-runtime": "latest",
"@cqsjjb/jjb-react-admin-component": "latest",
"ahooks": "^3.9.5",
- "antd": "latest",
+ "antd": "5.27.6",
"dayjs": "^1.11.7",
"lodash-es": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
- "zy-react-library": "^1.0.34"
+ "zy-react-library": "^1.0.127"
},
"devDependencies": {
"@antfu/eslint-config": "^5.4.1",
diff --git a/public/index.html b/public/index.html
index caf0d15..54af0fc 100644
--- a/public/index.html
+++ b/public/index.html
@@ -49,6 +49,6 @@
<% const { root } = $element; %>
-
+