From 13f44a3658a4914c0364a1be78959985b6e5cf47 Mon Sep 17 00:00:00 2001
From: yanfeiyong <2060201549@qq.com>
Date: Tue, 10 Jun 2025 11:13:52 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E6=80=A5=E6=8A=A2=E9=99=A9=E5=B7=A5?=
=?UTF-8?q?=E5=8D=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 48 +-
api/emergency/api.js | 36 ++
components/dictTag.vue | 61 +++
components/emDetailsform.vue | 285 ++++++++++++
.../{emergencyForm.vue => emEntryform.vue} | 130 ++++--
config.js | 4 +-
package.json | 3 +-
pages.json | 7 +
pages/homePage/emergency.vue | 312 +++++++------
pages/homePage/emergencyDetails.vue | 436 ++++++++++++++++++
pages/homePage/emergencyEntry.vue | 52 ++-
static/font/iconfont.css | 103 ++---
12 files changed, 1173 insertions(+), 304 deletions(-)
create mode 100644 api/emergency/api.js
create mode 100644 components/dictTag.vue
create mode 100644 components/emDetailsform.vue
rename components/{emergencyForm.vue => emEntryform.vue} (54%)
create mode 100644 pages/homePage/emergencyDetails.vue
diff --git a/README.md b/README.md
index 45b1e27..57f2aac 100644
--- a/README.md
+++ b/README.md
@@ -1,51 +1,5 @@
-
-
-
-RuoYi v1.2.0
-基于UniApp开发的轻量级移动端框架
-
-
-
-
-
-
## 平台简介
+徐汇园林
-RuoYi App 移动解决方案,采用uniapp框架,一份代码多终端适配,同时支持APP、小程序、H5!实现了与[RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue)、[RuoYi-Cloud](https://gitee.com/y_project/RuoYi-Cloud)完美对接的移动解决方案!目前已经实现登录、我的、工作台、编辑资料、头像修改、密码修改、常见问题、关于我们等基础功能。
-
-* 配套后端代码仓库地址[RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue) 或 [RuoYi-Cloud](https://github.com/yangzongzhuan/RuoYi-Cloud) 版本。
-* 应用框架基于[uniapp](https://uniapp.dcloud.net.cn/),支持小程序、H5、Android和IOS。
-* 前端组件采用[uni-ui](https://github.com/dcloudio/uni-ui),全端兼容的高性能UI框架。
-* 阿里云折扣场:[点我进入](http://aly.ruoyi.vip),腾讯云秒杀场:[点我进入](http://txy.ruoyi.vip)
-
-
-## 技术文档
-- 官网网站:[http://ruoyi.vip](http://ruoyi.vip)
-- 文档地址:[http://doc.ruoyi.vip](http://doc.ruoyi.vip)
-- H5页体验:[http://h5.ruoyi.vip](http://h5.ruoyi.vip)
-- QQ交流群: ①133713780(满)、②146013835(满)、③189091635
-- 小程序体验
-
-
-
-## 演示图
-
-
-
-  |
-  |
-  |
-
-
-  |
-  |
-  |
-
-
-  |
-  |
-  |
-
-
diff --git a/api/emergency/api.js b/api/emergency/api.js
new file mode 100644
index 0000000..e9e1ef2
--- /dev/null
+++ b/api/emergency/api.js
@@ -0,0 +1,36 @@
+import request from '@/utils/request'
+
+// 分页查询应急工单列表
+export function getEmergencyOrderList(params) {
+ return request({
+ url: '/bYjgd/page',
+ method: 'get',
+ params
+ })
+}
+
+//通过工单id查询单条数据(应急工单的完成时间)
+export function getEmergencyTime(data) {
+ return request({
+ url: '/bGdlc/selectByGdId',
+ method: 'get',
+ data: data
+ })
+}
+
+//通过主键查询单条数据
+// 根据 ID 查询单条数据
+export function getEmergencyOrderById(id) {
+ return request({
+ url: `/bYjgd/${id}`,
+ method: 'GET'
+ });
+}
+
+//获取工单流程信息
+export function getEmergencyMessage() {
+ return request({
+ url: `/bGdlc/page`,
+ method: 'get'
+ })
+}
\ No newline at end of file
diff --git a/components/dictTag.vue b/components/dictTag.vue
new file mode 100644
index 0000000..e53e8a0
--- /dev/null
+++ b/components/dictTag.vue
@@ -0,0 +1,61 @@
+
+
+ {{ labels.length > 0 ? labels.join(separator) : '' }}
+
+
+
+
+
+
diff --git a/components/emDetailsform.vue b/components/emDetailsform.vue
new file mode 100644
index 0000000..f869394
--- /dev/null
+++ b/components/emDetailsform.vue
@@ -0,0 +1,285 @@
+
+
+
+
+ 工单基本信息
+
+
+ 工单地址:
+
+ {{ orderData.address }}
+
+
+
+
+ 工单类型:
+
+
+
+ -
+
+
+
+
+
+
+
+ 影响类型:
+
+
+
+
+
+
+
+
+ 处理班组:
+
+ {{ orderData.deptName }}
+
+
+
+
+ 工单描述:
+
+ {{ orderData.gdms }}
+
+
+
+
+
+ 工单图片:
+
+
+
+
+
+
+ 参与人数:
+
+ {{ orderData.pqrs }}
+
+
+
+
+ 参与车辆:
+
+ 货车:{{ orderData.hyc || 0 }}辆
+ 吊车:{{ orderData.dc || 0 }}辆
+ 登高车:{{ orderData.dgc || 0 }}辆
+
+
+
+
+ 处理描述:
+
+ {{ orderData.clms }}
+
+
+
+
+
+ 处理后图片:
+
+
+
+
+
+
+
+
+ 工单流程信息
+
+
+
+
+
+
+
+
+ {{ node.name }}
+ {{ node.createTime }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/emergencyForm.vue b/components/emEntryform.vue
similarity index 54%
rename from components/emergencyForm.vue
rename to components/emEntryform.vue
index 9225821..21e9490 100644
--- a/components/emergencyForm.vue
+++ b/components/emEntryform.vue
@@ -1,58 +1,73 @@
-
+
工单类型:
-
+
+ {{ formData.workOrderTypeText || '' }}
+
+
-
-
+
+ 倒伏状态:
+
+ {{ formData.fallAffectText || '' }}
+
+
-
-
+
+
影响类型:
-
-
-
+
+
+
-
+
工单描述:
-
+
+
+
-
- 工单图片:
-
+
+ 工单图片:
+
+
+
+
-
-
-
+
-
+
+
diff --git a/pages/homePage/emergencyEntry.vue b/pages/homePage/emergencyEntry.vue
index dcde327..6c7b1f2 100644
--- a/pages/homePage/emergencyEntry.vue
+++ b/pages/homePage/emergencyEntry.vue
@@ -2,7 +2,7 @@
- 应急抢险工单录入
+ {{ status ? '应急抢险工单详情' : '应急抢险工单录入' }}
@@ -24,16 +24,22 @@
-
+
-
\ No newline at end of file
+
diff --git a/static/font/iconfont.css b/static/font/iconfont.css
index 8753708..cf53777 100644
--- a/static/font/iconfont.css
+++ b/static/font/iconfont.css
@@ -1,115 +1,114 @@
@font-face {
- font-family: "iconfont";
- src: url('@/static/font/iconfont.ttf') format('truetype');
+ font-family: "iconfont";
+ src: url('@/static/font/iconfont.ttf') format('truetype');
}
@font-face {
- font-family: 'Aboreto-Regular';
- src: url("@/static/font/Aboreto-Regular.ttf");
- }
-
- @font-face {
- font-family: 'MiSans-Medium';
- src: url("@/static/font/MiSans-Medium.ttf");
- }
-
- @font-face {
- font-family: 'MiSans-Regular';
- src: url("@/static/font/MiSans-Regular.ttf");
- }
-
- @font-face {
- font-family: 'Aboreto-Bold';
- src: url("@/static/font/MiSans-Bold.ttf");
- }
-
- @font-face {
- font-family: 'Alimama ShuHeiTi-Bold';
- src: url("@/static/font/ALIMAMASHUHEITI-BOLD.TTF");
- }
+ font-family: 'Aboreto-Regular';
+ src: url("@/static/font/Aboreto-Regular.ttf");
+}
+
+@font-face {
+ font-family: 'MiSans-Medium';
+ src: url("@/static/font/MiSans-Medium.ttf");
+}
+
+@font-face {
+ font-family: 'MiSans-Regular';
+ src: url("@/static/font/MiSans-Regular.ttf");
+}
+
+@font-face {
+ font-family: 'Aboreto-Bold';
+ src: url("@/static/font/MiSans-Bold.ttf");
+}
+
+@font-face {
+ font-family: 'Alimama ShuHeiTi-Bold';
+ src: url("@/static/font/ALIMAMASHUHEITI-BOLD.ttf");
+}
.iconfont {
- font-family: "iconfont" !important;
- font-size: 16px;
- display: inline-block;
- font-style: normal;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
+ font-family: "iconfont" !important;
+ font-size: 16px;
+ display: inline-block;
+ font-style: normal;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
}
.icon-user:before {
- content: "\e7ae";
+ content: "\e7ae";
}
.icon-password:before {
- content: "\e8b2";
+ content: "\e8b2";
}
.icon-code:before {
- content: "\e699";
+ content: "\e699";
}
.icon-setting:before {
- content: "\e6cc";
+ content: "\e6cc";
}
.icon-share:before {
- content: "\e739";
+ content: "\e739";
}
.icon-edit:before {
- content: "\e60c";
+ content: "\e60c";
}
.icon-version:before {
- content: "\e63f";
+ content: "\e63f";
}
.icon-service:before {
- content: "\e6ff";
+ content: "\e6ff";
}
.icon-friendfill:before {
- content: "\e726";
+ content: "\e726";
}
.icon-community:before {
- content: "\e741";
+ content: "\e741";
}
.icon-people:before {
- content: "\e736";
+ content: "\e736";
}
.icon-dianzan:before {
- content: "\ec7f";
+ content: "\ec7f";
}
.icon-right:before {
- content: "\e7eb";
+ content: "\e7eb";
}
.icon-logout:before {
- content: "\e61d";
+ content: "\e61d";
}
.icon-help:before {
- content: "\e616";
+ content: "\e616";
}
.icon-github:before {
- content: "\e628";
+ content: "\e628";
}
.icon-aixin:before {
- content: "\e601";
+ content: "\e601";
}
.icon-clean:before {
- content: "\e607";
+ content: "\e607";
}
.icon-refresh:before {
- content: "\e604";
-}
-
+ content: "\e604";
+}
\ No newline at end of file