From 20433f89235481204437381e3e9c8739115ff32f Mon Sep 17 00:00:00 2001
From: yanfeiyong <2060201549@qq.com>
Date: Thu, 5 Jun 2025 16:12:17 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E6=80=A5=E6=8A=A2=E9=99=A9=E6=A8=A1?=
=?UTF-8?q?=E5=9D=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
App.vue | 56 ++--
components/emergencyForm.vue | 213 +++++++++++++
config.js | 48 +--
package.json | 7 +
pages.json | 188 +++++------
pages/homePage/emergency.vue | 498 ++++++++++++++++++++++++++++++
pages/homePage/emergencyEntry.vue | 408 ++++++++++++++++++++++++
pages/index.vue | 16 +-
pages/login.vue | 392 +++++++++++------------
static/images/地图icon.png | Bin 0 -> 1843 bytes
10 files changed, 1491 insertions(+), 335 deletions(-)
create mode 100644 components/emergencyForm.vue
create mode 100644 package.json
create mode 100644 pages/homePage/emergency.vue
create mode 100644 pages/homePage/emergencyEntry.vue
create mode 100644 static/images/地图icon.png
diff --git a/App.vue b/App.vue
index 94d7a28..a0fbdc1 100644
--- a/App.vue
+++ b/App.vue
@@ -1,37 +1,39 @@
diff --git a/components/emergencyForm.vue b/components/emergencyForm.vue
new file mode 100644
index 0000000..9225821
--- /dev/null
+++ b/components/emergencyForm.vue
@@ -0,0 +1,213 @@
+
+
+
+
+ 工单类型:
+
+
+
+
+
+
+
+
+
+
+ 影响类型:
+
+
+
+
+
+
+
+ 工单描述:
+
+
+
+
+
+ 工单图片:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/config.js b/config.js
index 4a31f28..a91165f 100644
--- a/config.js
+++ b/config.js
@@ -1,26 +1,26 @@
// 应用全局配置
export default {
- baseUrl: 'https://vue.ruoyi.vip/prod-api',
- // baseUrl: 'http://localhost:8080',
- // 应用信息
- appInfo: {
- // 应用名称
- name: "ruoyi-app",
- // 应用版本
- version: "1.2.0",
- // 应用logo
- logo: "/static/logo.png",
- // 官方网站
- site_url: "http://ruoyi.vip",
- // 政策协议
- agreements: [{
- title: "隐私政策",
- url: "https://ruoyi.vip/protocol.html"
- },
- {
- title: "用户服务协议",
- url: "https://ruoyi.vip/protocol.html"
- }
- ]
- }
-}
+ baseUrl: 'https://vue.ruoyi.vip/prod-api',
+ // baseUrl: 'http://221.229.220.83:9028',
+ // 应用信息
+ appInfo: {
+ // 应用名称
+ name: "ruoyi-app",
+ // 应用版本
+ version: "1.2.0",
+ // 应用logo
+ logo: "/static/logo.png",
+ // 官方网站
+ site_url: "http://ruoyi.vip",
+ // 政策协议
+ agreements: [{
+ title: "隐私政策",
+ url: "https://ruoyi.vip/protocol.html"
+ },
+ {
+ title: "用户服务协议",
+ url: "https://ruoyi.vip/protocol.html"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..132a0d6
--- /dev/null
+++ b/package.json
@@ -0,0 +1,7 @@
+{
+ "dependencies": {
+ "@amap/amap-jsapi-loader": "^1.0.1",
+ "leaflet": "^1.9.4",
+ "mars2d": "^3.3.2"
+ }
+}
diff --git a/pages.json b/pages.json
index 9191304..1b46780 100644
--- a/pages.json
+++ b/pages.json
@@ -1,87 +1,103 @@
{
- "pages": [
- {
- "path": "pages/login",
- "style": {
- "navigationBarTitleText": "登录"
- }
- }, {
- "path": "pages/register",
- "style": {
- "navigationBarTitleText": "注册"
- }
- }, {
- "path": "pages/index",
- "style": {
- "navigationBarTitleText": "若依移动端框架",
- "navigationStyle": "custom"
- }
- }, {
- "path": "pages/work/index",
- "style": {
- "navigationBarTitleText": "工作台"
- }
- }, {
- "path": "pages/mine/index",
- "style": {
- "navigationBarTitleText": "我的"
- }
- }, {
- "path": "pages/mine/avatar/index",
- "style": {
- "navigationBarTitleText": "修改头像"
- }
- }, {
- "path": "pages/mine/info/index",
- "style": {
- "navigationBarTitleText": "个人信息"
- }
- }, {
- "path": "pages/mine/info/edit",
- "style": {
- "navigationBarTitleText": "编辑资料"
- }
- }, {
- "path": "pages/mine/pwd/index",
- "style": {
- "navigationBarTitleText": "修改密码"
- }
- }, {
- "path": "pages/mine/setting/index",
- "style": {
- "navigationBarTitleText": "应用设置"
- }
- }, {
- "path": "pages/mine/help/index",
- "style": {
- "navigationBarTitleText": "常见问题"
- }
- }, {
- "path": "pages/mine/about/index",
- "style": {
- "navigationBarTitleText": "关于我们"
- }
- }, {
- "path": "pages/common/webview/index",
- "style": {
- "navigationBarTitleText": "浏览网页"
- }
- }, {
- "path": "pages/common/textview/index",
- "style": {
- "navigationBarTitleText": "浏览文本"
- }
- }],
- "tabBar": {
- "color": "#000000",
- "selectedColor": "#000000",
- "borderStyle": "white",
- "backgroundColor": "#ffffff",
-
- },
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "RuoYi",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
-}
+ "pages": [{
+ "path": "pages/login",
+ "style": {
+ "navigationBarTitleText": "登录"
+ }
+ }, {
+ "path": "pages/register",
+ "style": {
+ "navigationBarTitleText": "注册"
+ }
+ }, {
+ "path": "pages/index",
+ "style": {
+ "navigationBarTitleText": "若依移动端框架",
+ "navigationStyle": "custom"
+ }
+ }, {
+ "path": "pages/work/index",
+ "style": {
+ "navigationBarTitleText": "工作台"
+ }
+ }, {
+ "path": "pages/mine/index",
+ "style": {
+ "navigationBarTitleText": "我的"
+ }
+ }, {
+ "path": "pages/mine/avatar/index",
+ "style": {
+ "navigationBarTitleText": "修改头像"
+ }
+ }, {
+ "path": "pages/mine/info/index",
+ "style": {
+ "navigationBarTitleText": "个人信息"
+ }
+ }, {
+ "path": "pages/mine/info/edit",
+ "style": {
+ "navigationBarTitleText": "编辑资料"
+ }
+ }, {
+ "path": "pages/mine/pwd/index",
+ "style": {
+ "navigationBarTitleText": "修改密码"
+ }
+ }, {
+ "path": "pages/mine/setting/index",
+ "style": {
+ "navigationBarTitleText": "应用设置"
+ }
+ }, {
+ "path": "pages/mine/help/index",
+ "style": {
+ "navigationBarTitleText": "常见问题"
+ }
+ }, {
+ "path": "pages/mine/about/index",
+ "style": {
+ "navigationBarTitleText": "关于我们"
+ }
+ }, {
+ "path": "pages/common/webview/index",
+ "style": {
+ "navigationBarTitleText": "浏览网页"
+ }
+ }, {
+ "path": "pages/common/textview/index",
+ "style": {
+ "navigationBarTitleText": "浏览文本"
+ }
+ },
+ {
+ "path": "pages/homePage/emergency",
+ "style": {
+ "navigationBarTitleText": "应急抢险工单",
+ "navigationBarBackgroundColor": "#537CF7",
+ "navigationBarTextStyle": "#ffffff",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/homePage/emergencyEntry",
+ "style": {
+ "navigationBarTitleText": "应急抢险工单录入",
+ "navigationStyle": "custom"
+ }
+ }
+ ],
+ "tabBar": {
+ "color": "#000000",
+ "selectedColor": "#000000",
+ "borderStyle": "white",
+ "backgroundColor": "#ffffff"
+
+ },
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "RuoYi",
+ "navigationBarBackgroundColor": "#FFFFFF"
+ }
+}
\ No newline at end of file
diff --git a/pages/homePage/emergency.vue b/pages/homePage/emergency.vue
new file mode 100644
index 0000000..79407d7
--- /dev/null
+++ b/pages/homePage/emergency.vue
@@ -0,0 +1,498 @@
+
+
+
+
+ 应急抢险工单
+
+
+
+
+
+
+ 待处理工单
+
+ 已完成工单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.status === 'toHandle' ? '待处理' : '待派发' }}
+
+
+
+
+ 工单描述:
+ {{ item.description }}
+
+
+ 工单类型:
+ {{ item.type }}
+
+
+ 工单地址:
+ {{ item.address }}
+
+
+ 录入时间:
+ {{ item.createTime }}
+
+
+
+ 工单等级:
+
+ {{ item.level }}
+
+
+
+ 处理班组:
+ {{ item.team || '暂无' }}
+
+
+
+
+ 工单转派
+
+ 处理反馈
+
+
+
+
+ 立即指派
+
+
+
+
+
+
+
+
+
+ 已完成
+
+ 工单描述:
+ {{ item.description }}
+
+
+ 工单类型:
+ {{ item.type }}
+
+
+ 工单地址:
+ {{ item.address }}
+
+
+ 完成时间:
+ {{ item.completeTime }}
+
+
+ 处理结果:
+ {{ item.result }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/homePage/emergencyEntry.vue b/pages/homePage/emergencyEntry.vue
new file mode 100644
index 0000000..dcde327
--- /dev/null
+++ b/pages/homePage/emergencyEntry.vue
@@ -0,0 +1,408 @@
+
+
+
+
+ 应急抢险工单录入
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+ {{ item.address }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/index.vue b/pages/index.vue
index 29cf6cd..817b57f 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -13,7 +13,7 @@