wangtao 2 éve
szülő
commit
d688071c37
66 módosított fájl, 731 hozzáadás és 1489 törlés
  1. 106 106
      package.json
  2. 0 0
      src/assets/icons/svg/button.svg
  3. 0 0
      src/assets/icons/svg/chongzhi.svg
  4. 0 0
      src/assets/icons/svg/erweima.svg
  5. 1 0
      src/assets/icons/svg/guanli.svg
  6. 0 0
      src/assets/icons/svg/redis.svg
  7. 1 1
      src/assets/icons/svg/user.svg
  8. 1 1
      src/assets/icons/svg/validCode.svg
  9. 2 0
      src/assets/icons/svg/事件分类.svg
  10. 2 0
      src/assets/icons/svg/互联网ie.svg
  11. 2 0
      src/assets/icons/svg/产品.svg
  12. 2 0
      src/assets/icons/svg/列表.svg
  13. 2 0
      src/assets/icons/svg/厕所.svg
  14. 2 0
      src/assets/icons/svg/告警记录.svg
  15. 2 0
      src/assets/icons/svg/安全.svg
  16. 2 0
      src/assets/icons/svg/安全隐患.svg
  17. 1 0
      src/assets/icons/svg/安防巡更.svg
  18. 2 0
      src/assets/icons/svg/工作流程图.svg
  19. 2 0
      src/assets/icons/svg/工单.svg
  20. 2 0
      src/assets/icons/svg/建筑.svg
  21. 2 0
      src/assets/icons/svg/建筑物.svg
  22. 2 0
      src/assets/icons/svg/我的资产.svg
  23. 2 0
      src/assets/icons/svg/房间数.svg
  24. 2 0
      src/assets/icons/svg/接口.svg
  25. 2 0
      src/assets/icons/svg/操作.svg
  26. 1 0
      src/assets/icons/svg/日志.svg
  27. 2 0
      src/assets/icons/svg/智能烟感.svg
  28. 2 0
      src/assets/icons/svg/案件类型.svg
  29. 2 0
      src/assets/icons/svg/楼宇管理.svg
  30. 2 0
      src/assets/icons/svg/楼层.svg
  31. 2 0
      src/assets/icons/svg/水.svg
  32. 2 0
      src/assets/icons/svg/水井.svg
  33. 2 0
      src/assets/icons/svg/消防.svg
  34. 2 0
      src/assets/icons/svg/点位管理.svg
  35. 2 0
      src/assets/icons/svg/登录.svg
  36. 2 0
      src/assets/icons/svg/离线.svg
  37. 1 0
      src/assets/icons/svg/空调.svg
  38. 1 0
      src/assets/icons/svg/系统设置.svg
  39. 2 0
      src/assets/icons/svg/视频监控.svg
  40. 2 0
      src/assets/icons/svg/计划.svg
  41. 1 0
      src/assets/icons/svg/记录.svg
  42. 2 0
      src/assets/icons/svg/设备状态.svg
  43. 2 0
      src/assets/icons/svg/评分.svg
  44. 2 0
      src/assets/icons/svg/运维中心.svg
  45. 1 0
      src/assets/icons/svg/运维日志.svg
  46. 2 0
      src/assets/icons/svg/频道管理.svg
  47. 2 0
      src/assets/icons/svg/风机.svg
  48. 2 0
      src/assets/icons/svg/首页.svg
  49. 0 0
      src/assets/images/bg.png
  50. 0 0
      src/assets/images/img_bg.png
  51. 0 0
      src/assets/images/login-background.jpg
  52. 0 0
      src/assets/images/profile.jpg
  53. 7 7
      src/layout/components/Navbar.vue
  54. 46 47
      src/permission.js
  55. 100 103
      src/router/index.js
  56. 25 25
      src/settings.js
  57. 6 6
      src/store/modules/permission.js
  58. 101 101
      src/store/modules/user.js
  59. 0 778
      src/views/business/Middleware/bpmn/customModeler copy.vue
  60. 2 1
      src/views/business/Middleware/bpmn/executionLog.vue
  61. 2 1
      src/views/business/Middleware/bpmn/executionRecord.vue
  62. 1 1
      src/views/business/Middleware/bpmn/index.vue
  63. 1 1
      src/views/error/401.vue
  64. 1 1
      src/views/error/404.vue
  65. 255 308
      src/views/login.vue
  66. 1 1
      vue.config.js

+ 106 - 106
package.json

@@ -1,108 +1,108 @@
 {
-  "name": "ruoyi",
-  "version": "3.2.0",
-  "description": "中控管理系统",
-  "author": "中控",
-  "license": "MIT",
-  "scripts": {
-    "dev": "vue-cli-service serve",
-    "build:prod": "vue-cli-service build",
-    "build:stage": "vue-cli-service build --mode staging",
-    "preview": "node build/index.js --preview",
-    "lint": "eslint --ext .js,.vue src",
-    "test:unit": "jest --clearCache && vue-cli-service test:unit",
-    "test:ci": "npm run lint && npm run test:unit",
-    "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
-    "new": "plop"
-  },
-  "husky": {
-    "hooks": {
-      "pre-commit": "lint-staged"
-    }
-  },
-  "lint-staged": {
-    "src/**/*.{js,vue}": [
-      "eslint --fix",
-      "git add"
+    "name": "ruoyi",
+    "version": "3.2.0",
+    "description": "智慧园区场景管理",
+    "author": "wt",
+    "license": "MIT",
+    "scripts": {
+        "dev": "vue-cli-service serve",
+        "build:prod": "vue-cli-service build",
+        "build:stage": "vue-cli-service build --mode staging",
+        "preview": "node build/index.js --preview",
+        "lint": "eslint --ext .js,.vue src",
+        "test:unit": "jest --clearCache && vue-cli-service test:unit",
+        "test:ci": "npm run lint && npm run test:unit",
+        "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
+        "new": "plop"
+    },
+    "husky": {
+        "hooks": {
+            "pre-commit": "lint-staged"
+        }
+    },
+    "lint-staged": {
+        "src/**/*.{js,vue}": [
+            "eslint --fix",
+            "git add"
+        ]
+    },
+    "keywords": [
+        "vue",
+        "admin",
+        "dashboard",
+        "element-ui",
+        "boilerplate",
+        "admin-template",
+        "management-system"
+    ],
+    "repository": {
+        "type": "git",
+        "url": "https://gitee.com/y_project/RuoYi-Vue.git"
+    },
+    "dependencies": {
+        "@riophae/vue-treeselect": "0.4.0",
+        "axios": "0.18.1",
+        "bpmn-js": "^9.1.0",
+        "clipboard": "2.0.4",
+        "core-js": "3.6.5",
+        "echarts": "4.2.1",
+        "element-ui": "2.13.2",
+        "file-saver": "2.0.1",
+        "fuse.js": "3.4.4",
+        "js-beautify": "1.10.2",
+        "js-cookie": "2.2.0",
+        "jsencrypt": "3.0.0-rc.1",
+        "normalize.css": "7.0.0",
+        "nprogress": "0.2.0",
+        "path-to-regexp": "2.4.0",
+        "quill": "1.3.7",
+        "screenfull": "4.2.0",
+        "sortablejs": "1.8.4",
+        "vue": "2.6.10",
+        "vue-count-to": "1.0.13",
+        "vue-cron": "^1.0.9",
+        "vue-cropper": "0.4.9",
+        "vue-router": "3.0.2",
+        "vue-splitpane": "1.0.4",
+        "vuedraggable": "2.20.0",
+        "vuex": "3.1.0"
+    },
+    "devDependencies": {
+        "@vue/cli-plugin-babel": "4.4.4",
+        "@vue/cli-plugin-eslint": "4.4.4",
+        "@vue/cli-plugin-unit-jest": "4.4.4",
+        "@vue/cli-service": "4.4.4",
+        "@vue/test-utils": "1.0.0-beta.29",
+        "autoprefixer": "9.5.1",
+        "babel-eslint": "10.1.0",
+        "babel-jest": "23.6.0",
+        "babel-plugin-dynamic-import-node": "2.3.3",
+        "chalk": "2.4.2",
+        "chokidar": "2.1.5",
+        "connect": "3.6.6",
+        "eslint": "6.7.2",
+        "eslint-plugin-vue": "6.2.2",
+        "html-webpack-plugin": "3.2.0",
+        "husky": "1.3.1",
+        "lint-staged": "8.1.5",
+        "mockjs": "1.0.1-beta3",
+        "plop": "2.3.0",
+        "runjs": "4.3.2",
+        "node-sass": "4.14.1",
+        "sass-loader": "8.0.2",
+        "script-ext-html-webpack-plugin": "2.1.3",
+        "script-loader": "0.7.2",
+        "serve-static": "1.13.2",
+        "svg-sprite-loader": "4.1.3",
+        "svgo": "1.2.0",
+        "vue-template-compiler": "2.6.10"
+    },
+    "engines": {
+        "node": ">=8.9",
+        "npm": ">= 3.0.0"
+    },
+    "browserslist": [
+        "> 1%",
+        "last 2 versions"
     ]
-  },
-  "keywords": [
-    "vue",
-    "admin",
-    "dashboard",
-    "element-ui",
-    "boilerplate",
-    "admin-template",
-    "management-system"
-  ],
-  "repository": {
-    "type": "git",
-    "url": "https://gitee.com/y_project/RuoYi-Vue.git"
-  },
-  "dependencies": {
-    "@riophae/vue-treeselect": "0.4.0",
-    "axios": "0.18.1",
-    "bpmn-js": "^9.1.0",
-    "clipboard": "2.0.4",
-    "core-js": "3.6.5",
-    "echarts": "4.2.1",
-    "element-ui": "2.13.2",
-    "file-saver": "2.0.1",
-    "fuse.js": "3.4.4",
-    "js-beautify": "1.10.2",
-    "js-cookie": "2.2.0",
-    "jsencrypt": "3.0.0-rc.1",
-    "normalize.css": "7.0.0",
-    "nprogress": "0.2.0",
-    "path-to-regexp": "2.4.0",
-    "quill": "1.3.7",
-    "screenfull": "4.2.0",
-    "sortablejs": "1.8.4",
-    "vue": "2.6.10",
-    "vue-count-to": "1.0.13",
-    "vue-cron": "^1.0.9",
-    "vue-cropper": "0.4.9",
-    "vue-router": "3.0.2",
-    "vue-splitpane": "1.0.4",
-    "vuedraggable": "2.20.0",
-    "vuex": "3.1.0"
-  },
-  "devDependencies": {
-    "@vue/cli-plugin-babel": "4.4.4",
-    "@vue/cli-plugin-eslint": "4.4.4",
-    "@vue/cli-plugin-unit-jest": "4.4.4",
-    "@vue/cli-service": "4.4.4",
-    "@vue/test-utils": "1.0.0-beta.29",
-    "autoprefixer": "9.5.1",
-    "babel-eslint": "10.1.0",
-    "babel-jest": "23.6.0",
-    "babel-plugin-dynamic-import-node": "2.3.3",
-    "chalk": "2.4.2",
-    "chokidar": "2.1.5",
-    "connect": "3.6.6",
-    "eslint": "6.7.2",
-    "eslint-plugin-vue": "6.2.2",
-    "html-webpack-plugin": "3.2.0",
-    "husky": "1.3.1",
-    "lint-staged": "8.1.5",
-    "mockjs": "1.0.1-beta3",
-    "plop": "2.3.0",
-    "runjs": "4.3.2",
-    "node-sass": "4.14.1",
-    "sass-loader": "8.0.2",
-    "script-ext-html-webpack-plugin": "2.1.3",
-    "script-loader": "0.7.2",
-    "serve-static": "1.13.2",
-    "svg-sprite-loader": "4.1.3",
-    "svgo": "1.2.0",
-    "vue-template-compiler": "2.6.10"
-  },
-  "engines": {
-    "node": ">=8.9",
-    "npm": ">= 3.0.0"
-  },
-  "browserslist": [
-    "> 1%",
-    "last 2 versions"
-  ]
-}
+}

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
src/assets/icons/svg/button.svg


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
src/assets/icons/svg/chongzhi.svg


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
src/assets/icons/svg/erweima.svg


+ 1 - 0
src/assets/icons/svg/guanli.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1630490338753" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5037" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M384 0H85.333333C38.4 0 0 38.4 0 85.333333v298.666667c0 46.933333 38.4 85.333333 85.333333 85.333333h298.666667c46.933333 0 85.333333-38.4 85.333333-85.333333V85.333333c0-46.933333-38.4-85.333333-85.333333-85.333333z m0 384H85.333333V85.333333h298.666667v298.666667z m0 42.666667v-42.666667 42.666667zM938.666667 0H640c-46.933333 0-85.333333 38.4-85.333333 85.333333v298.666667c0 46.933333 38.4 85.333333 85.333333 85.333333h298.666667c46.933333 0 85.333333-38.4 85.333333-85.333333V85.333333c0-46.933333-38.4-85.333333-85.333333-85.333333z m0 384H640V85.333333h298.666667v298.666667zM384 554.666667H85.333333c-46.933333 0-85.333333 38.4-85.333333 85.333333v298.666667c0 46.933333 38.4 85.333333 85.333333 85.333333h298.666667c46.933333 0 85.333333-38.4 85.333333-85.333333V640c0-46.933333-38.4-85.333333-85.333333-85.333333z m0 384H85.333333V640h298.666667v298.666667z m0 42.666666v-42.666666 42.666666zM938.666667 554.666667H640c-46.933333 0-85.333333 38.4-85.333333 85.333333v298.666667c0 46.933333 38.4 85.333333 85.333333 85.333333h298.666667c46.933333 0 85.333333-38.4 85.333333-85.333333V640c0-46.933333-38.4-85.333333-85.333333-85.333333z m0 384H640V640h298.666667v298.666667z" p-id="5038"></path></svg>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
src/assets/icons/svg/redis.svg


+ 1 - 1
src/assets/icons/svg/user.svg

@@ -1 +1 @@
-<svg t="1595838054275" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4071" width="200" height="200"><path d="M511.845 579.637c-60.191 0-116.781-23.44-159.343-66.002-42.562-42.562-66.002-99.151-66.002-159.343s23.44-116.78 66.002-159.343c42.562-42.562 99.152-66.002 159.343-66.002 60.191 0 116.781 23.44 159.343 66.002 42.562 42.562 66.002 99.151 66.002 159.343s-23.44 116.78-66.002 159.343c-42.56 42.563-99.15 66.002-159.343 66.002z m0-403.617c-98.3 0-178.273 79.972-178.273 178.273 0 98.3 79.973 178.272 178.273 178.272s178.273-79.972 178.273-178.272S610.145 176.02 511.845 176.02z" p-id="4072"></path><path d="M855.698 876.994h-47.072c0-78.935-30.74-153.144-86.554-208.96-55.815-55.813-130.024-86.553-208.959-86.553-78.933 0-153.144 30.74-208.959 86.554-55.814 55.815-86.553 130.024-86.553 208.959h-47.072c0-46.24 9.06-91.106 26.931-133.356 17.256-40.798 41.955-77.433 73.41-108.887s68.089-56.153 108.886-73.41c42.251-17.87 87.118-26.93 133.356-26.93 46.24 0 91.106 9.06 133.357 26.93 40.797 17.257 77.432 41.955 108.887 73.41s56.152 68.09 73.408 108.887c17.872 42.25 26.934 87.117 26.934 133.356z" p-id="4073"></path></svg>
+<svg width="130" height="130" xmlns="http://www.w3.org/2000/svg"><path d="M63.444 64.996c20.633 0 37.359-14.308 37.359-31.953 0-17.649-16.726-31.952-37.359-31.952-20.631 0-37.36 14.303-37.358 31.952 0 17.645 16.727 31.953 37.359 31.953zM80.57 75.65H49.434c-26.652 0-48.26 18.477-48.26 41.27v2.664c0 9.316 21.608 9.325 48.26 9.325H80.57c26.649 0 48.256-.344 48.256-9.325v-2.663c0-22.794-21.605-41.271-48.256-41.271z" stroke="#979797"/></svg>

+ 1 - 1
src/assets/icons/svg/validCode.svg

@@ -1 +1 @@
-<svg t="1595842171232" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1204" width="200" height="200"><path d="M888.49 222.686v-31.54l-65.672-0.955h-0.205a465.715 465.715 0 0 1-144.315-31.334c-77.005-31.198-126.294-66.765-126.703-67.107l-39.8-28.672-39.185 28.468c-2.048 1.501-49.903 36.044-126.908 67.31a447.42 447.42 0 0 1-144.52 31.335l-65.877 0.956v378.88c0 87.04 49.834 184.661 137.01 267.81 37.547 35.84 79.258 66.355 120.833 88.2 43.28 22.733 84.24 34.612 118.852 34.612 34.406 0 75.776-12.152 119.603-35.158a547.977 547.977 0 0 0 120.013-87.654 515.209 515.209 0 0 0 96.188-122.88c27.102-49.562 40.823-98.304 40.823-144.999l-0.136-347.204zM510.09 143.428l1.706-1.365 1.775 1.365c5.803 4.165 59.529 41.848 140.356 74.752 79.19 32.086 153.6 35.635 167.663 36.045l2.594 0.068 0.205 315.734c0.137 69.495-42.598 150.186-117.077 221.457C641.57 854.289 563.13 896.478 512 896.478c-23.689 0-55.57-9.899-89.702-27.785a478.822 478.822 0 0 1-105.609-77.278C242.21 720.213 199.475 639.522 199.475 569.89V254.225l2.73-0.136c3.278 0 82.604-1.502 167.664-35.977a739.942 739.942 0 0 0 140.22-74.615v-0.069z" p-id="1205"></path><path d="M713.318 368.64a32.222 32.222 0 0 0-45.329 0L449.195 587.435l-93.184-93.116a32.222 32.222 0 0 0-45.33 0 32.222 32.222 0 0 0 0 45.26l115.85 115.85a32.29 32.29 0 0 0 45.328 0L713.32 413.9a32.222 32.222 0 0 0 0-45.33z" p-id="1206"></path></svg>
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1569580729849" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1939" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M513.3 958.5c-142.2 0-397.9-222.1-401.6-440.5V268c1.7-39.6 31.7-72.3 71.1-77.3 49-4.6 97.1-16.5 142.7-35.3 47.8-14 91.9-38.3 129.4-71.1 30.3-24.4 72.9-26.3 105.3-4.6 39.9 30.7 83.8 55.9 130.5 74.6 48.6 14.7 98.2 25.9 148.4 33.7 38.5 7.6 67.1 40.3 69.5 79.5 3.3 84.9 2.5 169.9-2.6 254.7-33.7 281.6-253.7 436.4-392.7 436.3z m-0.1-813.7c-7.2-0.2-14.3 2-20 6.4-39.7 35.2-86.8 61.1-137.7 75.7-46.8 19.2-96.2 31-146.6 35.2-11 3.2-18.8 13-19.5 24.4v230.1c3.5 180.3 223.3 361 323.9 361s287.3-120.2 317.6-360.5c7.3-142.7 0-228.6 0-229.6-1.3-13.3-11-24.3-24-27.3-49.6-7.7-98.6-19-146.5-33.7-46.3-19.5-89.7-45.3-129-76.7-5.8-3.8-12.7-5.5-19.5-4.9l1.3-0.1z" fill="#C6CCDA" p-id="1940"></path><path d="M750.1 428L490.7 673.2c-11.7 11.1-29.5 12.9-43.1 4.2l-6.8-5.8-141.2-149.4c-9.3-9.3-12.7-22.9-9-35.5 3.8-12.6 14.1-22.1 27-24.8 12.9-2.7 26.1 1.9 34.6 11.9L469 597.5l233.7-221c14.6-12.8 36.8-11.6 49.9 2.7 13.2 14.2 11.5 35.3-2.5 48.8" fill="#C6CCDA" p-id="1941"></path></svg>

+ 2 - 0
src/assets/icons/svg/事件分类.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578859002" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="79418" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M127.99 127.97h320v320h-320zM575.99 127.97h384v128h-384zM575.99 319.97h384v128h-384zM575.99 575.97h384v128h-384zM575.99 767.97h384v128h-384zM127.99 575.97h320v320h-320z" p-id="79419" ></path></svg>

+ 2 - 0
src/assets/icons/svg/互联网ie.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578974074" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="84268" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M983.80562 228.193325c19.143116-71.103002 27.347308-207.839544-98.450311-226.98266-103.919772-10.938923-224.247929 54.694617-287.146738 98.450311-19.143116-2.734731-43.755693-5.469462-65.63354-5.469462-164.08385-2.734731-270.738353 51.959886-363.719202 172.288043C136.039059 310.23525 105.95702 384.072983 95.018096 466.114908c46.490424-79.307194 188.696428-224.247929 336.371894-281.677276 0 0-226.98266 161.34912-336.371894 391.06651v2.734731c-5.469462 10.938923-10.938923 19.143116-16.408385 32.81677-109.389234 270.738353-19.143116 388.331779 62.89881 407.474895 76.572464 19.143116 183.226966-16.408385 268.003622-109.389233 144.940735 32.81677 289.881469-5.469462 341.841355-32.81677 101.185041-54.694617 172.288043-155.879658 188.696428-257.0647H663.842111s-13.673654 87.511387-161.349119 87.511387c-136.736542 0-144.940735-158.614389-144.940735-158.614388h590.701862s10.938923-172.288043-73.837733-287.146739c-49.225155-62.898809-112.123964-120.328157-199.635351-150.410196 27.347308-19.143116 73.837733-51.959886 114.858695-60.164079 76.572464-19.143116 125.797619-8.204193 158.614389 49.225156 43.755693 76.572464-24.612578 251.595237-24.612578 251.595237s38.286232-49.225155 60.164079-123.062888zM371.225911 900.937112c-117.593426 95.715579-213.309006 84.776656-251.595237 27.347309-32.81677-51.959886-38.286232-139.471273 0-262.534161C138.77379 712.240684 166.121098 758.731108 207.142061 799.752071c49.225155 49.225155 106.654503 82.041925 164.08385 101.185041z m-5.469461-494.986282s5.469462-114.858695 128.532349-123.062888c109.389234-10.938923 164.08385 38.286232 180.492236 128.53235l-309.024585-5.469462z" p-id="84269" ></path></svg>

+ 2 - 0
src/assets/icons/svg/产品.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578926307" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="82264" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M305.28 128a177.28 177.28 0 0 1 177.152 177.28v177.152H305.28A177.28 177.28 0 0 1 305.28 128z m0 413.568h177.152v177.216A177.28 177.28 0 1 1 305.28 541.44zM718.72 128a177.28 177.28 0 0 1 0 354.432H541.632V305.28A177.28 177.28 0 0 1 718.72 128zM541.632 541.568h177.216a177.28 177.28 0 1 1-177.28 177.216V541.44z" p-id="82265" ></path></svg>

+ 2 - 0
src/assets/icons/svg/列表.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578848382" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="79018" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M187.392 70.656q28.672 0 48.64 19.456t19.968 48.128l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-54.272 0q-27.648 0-47.616-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.128t47.616-19.456l54.272 0zM889.856 70.656q27.648 0 47.616 19.456t19.968 48.128l0 52.224q0 28.672-19.968 48.64t-47.616 19.968l-437.248 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-28.672 19.968-48.128t48.64-19.456l437.248 0zM187.392 389.12q28.672 0 48.64 19.968t19.968 48.64l0 52.224q0 27.648-19.968 47.616t-48.64 19.968l-54.272 0q-27.648 0-47.616-19.968t-19.968-47.616l0-52.224q0-28.672 19.968-48.64t47.616-19.968l54.272 0zM889.856 389.12q27.648 0 47.616 19.968t19.968 48.64l0 52.224q0 27.648-19.968 47.616t-47.616 19.968l-437.248 0q-28.672 0-48.64-19.968t-19.968-47.616l0-52.224q0-28.672 19.968-48.64t48.64-19.968l437.248 0zM187.392 708.608q28.672 0 48.64 19.968t19.968 47.616l0 52.224q0 28.672-19.968 48.64t-48.64 19.968l-54.272 0q-27.648 0-47.616-19.968t-19.968-48.64l0-52.224q0-27.648 19.968-47.616t47.616-19.968l54.272 0zM889.856 708.608q27.648 0 47.616 19.968t19.968 47.616l0 52.224q0 28.672-19.968 48.64t-47.616 19.968l-437.248 0q-28.672 0-48.64-19.968t-19.968-48.64l0-52.224q0-27.648 19.968-47.616t48.64-19.968l437.248 0z" p-id="79019" ></path></svg>

+ 2 - 0
src/assets/icons/svg/厕所.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578920947" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="82060" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M480.7584 169.6h64v682.66666667h-64z"  p-id="82061"></path><path d="M272.48106667 311.4112m-62.86613334 0a62.86613333 62.86613333 0 1 0 125.73226667 0 62.86613333 62.86613333 0 1 0-125.73226667 0Z"  p-id="82062"></path><path d="M788.1728 752.89493333h-74.62186667l-74.66666666-308.20266666h223.9552z"  p-id="82063"></path><path d="M751.4144 311.4112m-62.86613333 0a62.86613333 62.86613333 0 1 0 125.73226666 0 62.86613333 62.86613333 0 1 0-125.73226666 0Z"  p-id="82064"></path><path d="M309.23946667 443.5616h-74.62186667l-74.66666667 309.00906667h223.9552z"  p-id="82065"></path></svg>

+ 2 - 0
src/assets/icons/svg/告警记录.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578826285" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="78218" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M793.6 819.2a51.2 51.2 0 1 1 0 102.4h-614.4a51.2 51.2 0 0 1 0-102.4h614.4z m-307.2-563.2a307.2 307.2 0 0 1 307.2 307.2v204.8h-614.4v-204.8a307.2 307.2 0 0 1 307.2-307.2z m51.2 102.4l-153.6 153.6H460.8l-25.6 153.6 153.6-153.6-76.8-0.0512L537.6 358.4zM138.1376 232.448l4.096 2.2528 76.8 51.2a25.6 25.6 0 0 1-24.3712 44.8l-4.096-2.2016-76.8-51.2a25.6 25.6 0 0 1 24.3712-44.8z m727.9616 9.3696a25.6 25.6 0 0 1-3.4816 32.5632l-3.584 2.9184-76.8 51.2-4.096 2.2016a25.6 25.6 0 0 1-27.9552-41.8816l3.584-2.9184 76.8-51.2 4.096-2.2016a25.6 25.6 0 0 1 31.4368 9.3184zM300.032 110.2336l2.8672 3.584 51.2 76.8a25.6 25.6 0 0 1-39.68 32l-2.9184-3.584-51.2-76.8a25.6 25.6 0 0 1 39.7312-32.0512z m405.3504-3.5328a25.6 25.6 0 0 1 9.3184 31.4368l-2.2016 4.096-51.2 76.8-2.8672 3.584a25.6 25.6 0 0 1-41.984-27.9552l2.2528-4.096 51.2-76.8 2.9184-3.584a25.6 25.6 0 0 1 32.5632-3.4816zM486.4 51.2a25.6 25.6 0 0 1 25.1904 20.992L512 76.8v102.4a25.6 25.6 0 0 1-50.7904 4.608L460.8 179.2v-102.4a25.6 25.6 0 0 1 25.6-25.6z" p-id="78219" ></path></svg>

+ 2 - 0
src/assets/icons/svg/安全.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578867129" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="79819" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M512 63.2L160.8 226.4v244.8c0 226.4 149.6 437.6 351.2 489.6 201.6-51.2 351.2-263.2 351.2-489.6V226.4L512 63.2z m-8 574.4l-45.6 45.6-45.6-45.6-90.4-90.4 45.6-45.6L458.4 592l204-204 45.6 45.6L504 637.6z" p-id="79820" ></path></svg>

+ 2 - 0
src/assets/icons/svg/安全隐患.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578965476" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="83865" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M513.950476 643.657143c-17.554286 0-31.695238 14.140952-31.695238 31.695238 0 14.140952 14.140952 28.281905 31.695238 28.281905s31.695238-14.140952 31.695238-31.695238c-3.413333-14.140952-17.554286-28.281905-31.695238-28.281905z" p-id="83866" ></path><path d="M855.28381 22.430476h-682.666667c-80.457143 0-146.285714 65.828571-146.285714 146.285714v682.666667c0 80.457143 65.828571 146.285714 146.285714 146.285714h682.666667c80.457143 0 146.285714-65.828571 146.285714-146.285714v-682.666667c0-80.457143-65.828571-146.285714-146.285714-146.285714z m-97.036191 751.908572H269.653333c-42.422857 0-67.291429-45.83619-45.83619-81.432381 81.432381-141.409524 162.864762-279.405714 244.297143-421.302857 21.455238-35.59619 74.118095-35.59619 95.573333 0 78.019048 137.99619 159.451429 279.405714 240.88381 421.302857 20.967619 35.59619-7.314286 81.432381-46.32381 81.432381z" p-id="83867" ></path><path d="M531.504762 593.92l10.727619-169.691429c0-17.554286-14.140952-31.695238-31.695238-31.695238-14.140952 0-28.281905 14.140952-28.281905 31.695238l10.727619 169.691429c3.413333 24.868571 38.521905 24.868571 38.521905 0z" p-id="83868" ></path></svg>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
src/assets/icons/svg/安防巡更.svg


+ 2 - 0
src/assets/icons/svg/工作流程图.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1659930213115" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1781" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M983.964 953.145 846.307 953.145c-21.721 0-39.33-17.575-39.33-39.249L806.977 796.141c0-21.677 17.609-39.249 39.33-39.249l39.33 0L885.637 580.263c0-21.679-17.607-39.251-39.33-39.251L531.664 541.012l0 215.88 39.332 0c21.721 0 39.33 17.572 39.33 39.249l0 117.756c0 21.674-17.609 39.249-39.33 39.249L433.34 953.146c-21.723 0-39.33-17.575-39.33-39.249L394.01 796.141c0-21.677 17.607-39.249 39.33-39.249l39.33 0 0-215.88L177.693 541.012c-21.721 0-39.33 17.572-39.33 39.251l0 176.629 39.33 0c21.721 0 39.33 17.572 39.33 39.249l0 117.756c0 21.674-17.609 39.249-39.33 39.249L40.036 953.146c-21.721 0-39.33-17.575-39.33-39.249L0.706 796.141c0-21.677 17.609-39.249 39.33-39.249l39.33 0L79.366 560.636c0-43.355 35.219-78.502 78.663-78.502L472.67 482.134 472.67 266.257l-39.33 0c-21.723 0-39.33-17.575-39.33-39.253L394.01 109.252c0-21.679 17.607-39.251 39.33-39.251l137.657 0c21.721 0 39.33 17.572 39.33 39.251l0 117.751c0 21.679-17.609 39.253-39.33 39.253l-39.332 0 0 215.878 334.309 0c43.441 0 78.66 35.147 78.66 78.502l0 196.255 39.33 0c21.721 0 39.33 17.572 39.33 39.249l0 117.756C1023.294 935.571 1005.684 953.145 983.964 953.145z" p-id="1782"></path></svg>

+ 2 - 0
src/assets/icons/svg/工单.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578970003" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="84067" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M802.9 153.2H717c0.5 4 0.7 8 0.7 12.1 0 56-45.8 101.8-101.8 101.8H409.7c-56 0-101.8-45.8-101.8-101.8 0-4.1 0.3-8.1 0.7-12.1h-85.9c-20 0-40 20.1-40 40.3v724.7c0 20.1 20 40.3 40 40.3H803c20 0 40-20.1 40-40.3V193.4c-0.1-20.1-20.1-40.2-40.1-40.2z m-75.6 575.6c0 22.1-18.1 40.3-40.3 40.3H338.6c-22.1 0-40.3-18.1-40.3-40.3 0-22.1 18.1-40.3 40.3-40.3H687c22.2 0.1 40.3 18.2 40.3 40.3z m0-158c0 22.1-18.1 40.3-40.3 40.3H338.6c-22.1 0-40.3-18.1-40.3-40.3 0-22.1 18.1-40.3 40.3-40.3H687c22.2 0 40.3 18.1 40.3 40.3z m0-158.1c0 22.1-18.1 40.3-40.3 40.3H338.6c-22.1 0-40.3-18.1-40.3-40.3 0-22.1 18.1-40.3 40.3-40.3H687c22.2 0 40.3 18.1 40.3 40.3z" p-id="84068" ></path><path d="M575.1 345h5.9c0.1 0 0.2 0.1 0.2 0.2s-0.1 0.2-0.2 0.2h-5.9c-0.1 0-0.2-0.1-0.2-0.2 0-0.2 0.1-0.2 0.2-0.2zM609 209.9H416.6c-36.3 0-66.1-29.7-66.1-66.1V134c0-36.3 29.7-66.1 66.1-66.1H609c36.3 0 66.1 29.7 66.1 66.1v9.8c0 36.4-29.8 66.1-66.1 66.1z" p-id="84069" ></path></svg>

+ 2 - 0
src/assets/icons/svg/建筑.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578952905" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="83265" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M704 25.6H313.6C256 25.6 192 76.8 192 147.2v838.4c0 12.8 12.8 32 19.2 32h582.4c12.8 0 19.2-12.8 19.2-19.2V147.2c12.8-64-32-121.6-108.8-121.6zM492.8 838.4c0 12.8-12.8 19.2-19.2 19.2h-128c-12.8 0-19.2-12.8-19.2-19.2v-19.2c0-12.8 12.8-19.2 19.2-19.2h121.6c12.8 0 19.2 12.8 19.2 19.2v19.2h6.4z m0-198.4c0 12.8-12.8 19.2-19.2 19.2h-128c-12.8 0-19.2-12.8-19.2-19.2v-19.2c0-12.8 12.8-19.2 19.2-19.2h121.6c12.8 0 19.2 12.8 19.2 19.2v19.2h6.4z m0-204.8c0 12.8-12.8 19.2-19.2 19.2h-128c-12.8 6.4-19.2-6.4-19.2-19.2v-19.2c0-12.8 12.8-19.2 19.2-19.2h121.6c12.8 0 19.2 12.8 19.2 19.2v19.2h6.4z m0-198.4c0 6.4-6.4 19.2-19.2 19.2h-128c-12.8 0-19.2-12.8-19.2-19.2v-19.2c0-12.8 12.8-19.2 19.2-19.2h121.6c12.8 0 19.2 12.8 19.2 19.2v19.2h6.4z" p-id="83266" ></path></svg>

+ 2 - 0
src/assets/icons/svg/建筑物.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578863282" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="79618" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M54.272 942.08a30.72 30.72 0 0 0 30.72 30.72h399.36a30.72 30.72 0 0 0 30.72-30.72V81.92a30.72 30.72 0 0 0-30.72-30.72h-399.36a30.72 30.72 0 0 0-30.72 30.72z m276.48-721.92a30.72 30.72 0 0 1 30.72-30.72h30.72a30.72 30.72 0 0 1 30.72 30.72v30.72a30.72 30.72 0 0 1-30.72 30.72h-30.72a30.72 30.72 0 0 1-30.72-30.72z m0 207.36a30.72 30.72 0 0 1 30.72-30.72h30.72a30.72 30.72 0 0 1 30.72 30.72V460.8a30.72 30.72 0 0 1-30.72 30.72h-30.72a30.72 30.72 0 0 1-30.72-30.72z m0 207.36a30.72 30.72 0 0 1 30.72-30.72h30.72a30.72 30.72 0 0 1 30.72 30.72v30.72a30.72 30.72 0 0 1-30.72 30.72h-30.72a30.72 30.72 0 0 1-30.72-30.72z m-184.32-414.72a30.72 30.72 0 0 1 30.72-30.72h30.72a30.72 30.72 0 0 1 30.72 30.72v30.72a30.72 30.72 0 0 1-30.72 30.72h-30.72a30.72 30.72 0 0 1-30.72-30.72z m0 207.36a30.72 30.72 0 0 1 30.72-30.72h30.72a30.72 30.72 0 0 1 30.72 30.72V460.8a30.72 30.72 0 0 1-30.72 30.72h-30.72a30.72 30.72 0 0 1-30.72-30.72z m0 207.36a30.72 30.72 0 0 1 30.72-30.72h30.72a30.72 30.72 0 0 1 30.72 30.72v30.72a30.72 30.72 0 0 1-30.72 30.72h-30.72a30.72 30.72 0 0 1-30.72-30.72z" p-id="79619" ></path><path d="M591.872 488.96a30.72 30.72 0 0 0-30.72 30.72v422.4a30.72 30.72 0 0 0 30.72 30.72h53.76a30.72 30.72 0 0 0 30.72-30.72v-161.792a30.72 30.72 0 0 1 30.72-30.72h122.88a30.72 30.72 0 0 1 30.72 30.72v161.792a30.72 30.72 0 0 0 30.72 30.72h53.76a30.72 30.72 0 0 0 30.72-30.72v-422.4a30.72 30.72 0 0 0-30.72-30.72z" p-id="79620" ></path></svg>

+ 2 - 0
src/assets/icons/svg/我的资产.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578854539" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="79218" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M511.5709 90.0536c-233.1771 0-422.2065 189.0284-422.2065 422.2065 0 233.1781 189.0284 422.2065 422.2065 422.2065 233.1791 0 422.2075-189.0284 422.2075-422.2065C933.7774 279.082 744.7491 90.0536 511.5709 90.0536zM679.2376 484.1871l0 57.428992L568.986624 541.616092l0 83.2 110.592 0 0 55.04-111.104 0 0 111.616-111.616 0 0-111.36-113.92 0 0-55.552 113.92 0 0-83.2-114.176 0 0-56.576 113.664 0-136.192-227.925 73.044992 0 120.4193 196.267 118.5137-196.267 70.313984 0-134.144 227.328L679.237632 484.187092z" p-id="79219" ></path></svg>

+ 2 - 0
src/assets/icons/svg/房间数.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578957397" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="83465" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M768 0H256C112.64 0 0 112.64 0 256v512c0 143.36 112.64 256 256 256h512c143.36 0 256-112.64 256-256V256c0-143.36-112.64-256-256-256zM358.4 358.4c30.72 0 51.2 20.48 51.2 51.2s-20.48 51.2-51.2 51.2-51.2-20.48-51.2-51.2 20.48-51.2 51.2-51.2z m512 358.4c0 30.72-20.48 51.2-51.2 51.2s-51.2-20.48-51.2-51.2v-51.2H256v51.2c0 30.72-20.48 51.2-51.2 51.2s-51.2-20.48-51.2-51.2V307.2c0-30.72 20.48-51.2 51.2-51.2s51.2 20.48 51.2 51.2v256h563.2c30.72 0 51.2 20.48 51.2 51.2v102.4z m-409.6-204.8s25.6-153.6 102.4-153.6c209.92 0 307.2 153.6 307.2 153.6H460.8z"  p-id="83466"></path></svg>

+ 2 - 0
src/assets/icons/svg/接口.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578820518" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="78018" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M569.56 531.47l-83.1 83.11-77.25-77.26 83.1-83.1-50.91-50.91-83.11 83.1-46.17-46.17L176.35 576c-66.28 66.28-73.95 169-23.06 243.68L64 908.94l51 50.91 89.25-89.26c74.73 50.9 177.4 43.22 243.68-23.06l135.72-135.77-46.28-46.27 83.1-83.1zM959.81 115.21L908.9 64.3l-89.25 89.25c-74.65-50.61-177.13-42.85-243.3 23.32L440.58 312.63l271.53 271.53L847.88 448.4c66.39-66.39 74-169.3 22.81-244.06z" p-id="78019" ></path></svg>

+ 2 - 0
src/assets/icons/svg/操作.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578883869" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="80625" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M495.175274 283.029333 175.40994 605.930667c0 0 27.605333 26.069333 98.474667 22.890667 15.146667 32.32 29.482667 70.336 112.277333 109.184-3.328 67.541333 29.184 105.450667 29.184 105.450667l320-322.645333c-3.925333-44.010667-36.864-98.816-89.109333-150.442667C574.791274 299.584 515.036607 285.802667 495.175274 283.029333z" p-id="80626" ></path><path d="M957.788607 52.096c-93.909333-76.949333-158.741333-54.4-191.829333-22.549333-11.498667 11.114667-47.808 40.362667-74.368 61.653333 29.909333 1.898667 90.005333 14.826667 155.946667 80.106667 65.6 64.938667 78.122667 120.490667 78.869333 151.488 22.314667-28.842667 57.344-74.005333 62.741333-79.488C1025.223274 206.506667 1051.676607 129.045333 957.788607 52.096z" p-id="80627" ></path><path d="M227.036607 667.328c-63.36 0.170667-78.165333-13.994667-78.165333-13.994667L1.77794 1021.994667l367.232-152.554667c0 0-29.141333-57.664-28.394667-88.576C314.92994 772.714667 247.66594 731.797333 227.036607 667.328z" p-id="80628" ></path><path d="M650.247274 126.656 613.831274 162.496c0 0 69.610667 11.349333 152.106667 93.12 51.776 51.392 79.68 105.770667 84.693333 143.744l34.837333-34.709333c0 0 12.096-62.890667-77.376-152.32C720.156607 124.416 650.247274 126.656 650.247274 126.656z" p-id="80629" ></path><path d="M806.684607 435.029333c0 0 11.584-60.16-74.048-145.792-84.16-84.138667-151.168-81.984-151.168-81.984" p-id="80630" ></path></svg>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
src/assets/icons/svg/日志.svg


+ 2 - 0
src/assets/icons/svg/智能烟感.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654579003724" class="icon" viewBox="0 0 1135 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="85424" xmlns:xlink="http://www.w3.org/1999/xlink" width="221.6796875" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M285.39285753 782c0 56.25 30.53571417 101.25 67.5 101.25h416.25c36.96428585 0 67.50000001-45 67.5-101.25v-379.28571417H287v379.28571417z m417.85714247-306.96428583h53.03571415v292.49999998c0 9.64285751-4.82142832 19.28571417-11.25 19.28571417h-41.78571415v-311.78571417z m-114.10714247-2e-8h53.03571414v311.78571417h-53.03571414v-311.78571417z m-112.5 0h53.03571414v311.78571417h-53.03571414v-311.78571417z m-115.71428586 0h53.03571418v311.78571417h-41.78571418c-6.42857168 0-12.85714249-8.03571415-12.85714335-19.28571417v-292.49999998zM124.67857168 172.89285753h867.85714249v89.99999998h-867.85714249z" p-id="85425" ></path><path d="M124.67857168 312.71428583v99.64285664c0 22.50000001 17.67857168 40.17857168 41.78571415 40.17857168h784.28571417c22.50000001 0 41.78571415-17.67857168 41.78571415-38.57142832v-99.64285751h-867.85714247z" p-id="85426" ></path></svg>

+ 2 - 0
src/assets/icons/svg/案件类型.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578941839" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="82864" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M877.378 399.87c0 48.709-38.88 73.098-73.097 73.098H609.355c-44.736 0-73.146-33.884-73.146-79l0.048-189.025c0-45.044 28.363-73.098 73.099-73.098h194.927c44.782 0.047 73.097 28.054 73.097 73.098V399.87zM365.694 521.7H219.5c-44.735 0-73.1 33.884-73.1 78.927v189.097c0 45.045 28.365 73.1 73.1 73.1h194.927c34.312 0 73.098-28.078 73.098-73.1V594.797c0-45.09-28.364-73.097-73.098-73.097h-48.732z m249.537-0.024c-45.068 0-78.975 28.363-78.975 73.122v194.927c0 50.756 30.171 73.1 78.904 73.1h189.121c45.068 0 73.097-28.34 73.097-73.1V594.797c0.048-44.806-28.03-73.097-73.097-73.097l-189.05-0.024zM219.499 131.845c-45.068 0-73.1 28.34-73.1 73.098V399.87c0 44.949 28.078 73.098 73.1 73.098h194.927c45.068 0 73.098-28.34 73.098-73.098V204.943c0.048-44.687-28.03-73.098-73.098-73.098H219.5z" p-id="82865" ></path></svg>

+ 2 - 0
src/assets/icons/svg/楼宇管理.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578811117" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="77818" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M471.243781 101.890547c28.137075 0 50.945274 22.808199 50.945274 50.945274v779.462686H78.965174V152.835821c0-28.137075 22.808199-50.945274 50.945274-50.945274h341.333333zM267.462687 621.532338H170.666667v96.79602h96.79602v-96.79602z m163.024875 0H333.691542v96.79602h96.79602v-96.79602zM267.462687 448.318408H170.666667v96.79602h96.79602V448.318408z m163.024875 0H333.691542v96.79602h96.79602V448.318408zM267.462687 275.104478H170.666667v96.79602h96.79602V275.104478z m163.024875 0H333.691542v96.79602h96.79602V275.104478zM899.18408 422.845771c28.137075 0 50.945274 22.808199 50.945273 50.945274v458.507462h-376.995025V473.791045c0-28.137075 22.808199-50.945274 50.945274-50.945274h275.104478z m-173.213931 290.38806h-96.79602v96.79602h96.79602v-96.79602z m163.024876 0h-96.79602v96.79602h96.79602v-96.79602z m-163.024876-173.213931h-96.79602v96.79602h96.79602v-96.79602z m163.024876 0h-96.79602v96.79602h96.79602v-96.79602z"  p-id="77819"></path></svg>

+ 2 - 0
src/assets/icons/svg/楼层.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578902853" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="81455" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M512 506.56a68.96 68.96 0 0 1-23.36-4l-304-107.52a55.84 55.84 0 0 1 0-107.52l304-107.52a70.88 70.88 0 0 1 46.72 0l304 107.52a55.84 55.84 0 0 1 0 107.52l-304 107.52a68.96 68.96 0 0 1-23.36 4z" p-id="81456" ></path><path d="M839.36 458.24l-48-16.8-89.92 32L811.68 512 512 617.76 212.32 512l109.76-38.72-90.08-32-48 16.8a55.84 55.84 0 0 0 0 107.52l304 107.52a70.24 70.24 0 0 0 46.72 0l304-107.52a55.84 55.84 0 0 0 0-107.52z" p-id="81457" ></path><path d="M839.36 628.96l-48-16.8-89.92 32 109.6 38.72L512 788.48l-299.2-105.76 109.76-38.72-90.08-32-48 16.8a55.84 55.84 0 0 0 0 107.52l304 107.52a70.24 70.24 0 0 0 46.72 0l304-107.52a55.84 55.84 0 0 0 0-107.52z" p-id="81458" ></path></svg>

+ 2 - 0
src/assets/icons/svg/水.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578981738" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="84468" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M512 1024C295.2192 1024 119.466667 846.848 119.466667 628.394667 119.466667 482.645333 250.299733 273.2032 512 0 773.700267 273.237333 904.533333 482.679467 904.533333 628.394667 904.533333 846.848 728.7808 1024 512 1024z m-287.675733-340.923733a337.134933 337.134933 0 0 0 213.060266 238.6944 34.577067 34.577067 0 0 0 44.270934-21.162667 34.986667 34.986667 0 0 0-20.992-44.612267 267.502933 267.502933 0 0 1-168.96-189.269333 34.6112 34.6112 0 1 0-67.3792 16.384z" p-id="84469" ></path></svg>

+ 2 - 0
src/assets/icons/svg/水井.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578937097" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="82664" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M896 640h-128V384h128a64 64 0 0 0 0-128h-128V128a64 64 0 0 0-128 0v128H384V128a64 64 0 0 0-128 0v128H128a64 64 0 0 0 0 128h128v256H128a64 64 0 0 0 0 128h128v128a64 64 0 0 0 128 0v-128h256v128a64 64 0 0 0 128 0v-128h128a64 64 0 0 0 0-128z m-512 0V384h256v256H384z"  p-id="82665"></path></svg>

+ 2 - 0
src/assets/icons/svg/消防.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578991335" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="84823" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M200.5 565.2c10 0 10-6.7 10-16.8V353.8c0-6.7-3.3-13.4-10-13.4-60.1 0-106.8 47-106.8 114.1-3.4 63.7 46.7 110.7 106.8 110.7z m617.5 0c63.4 0 113.5-50.3 113.5-114.1 0-63.7-53.4-110.7-116.8-110.7-6.7 0-20 0-20 10.1v204.6c3.3 10.1 13.3 10.1 23.3 10.1zM334 199.5h333.8c6.7 0 13.4-6.7 13.4-20.1-10-90.6-86.8-161-180.3-161-96.8 0-173.6 73.8-180.3 167.7 0 6.7 6.7 13.4 13.4 13.4z m534.1 681H691.2V605.4h63.4c6.7 0 10-3.4 10-10.1V316.9c0-6.7-3.3-10.1-10-10.1h-63.4v-63.7c0-6.7-3.3-10.1-10-10.1H327.3c-6.7-3.4-10 3.4-10 10.1v63.7h-63.4c-6.7-3.4-13.4 3.4-13.4 10.1v281.8c0 6.7 3.3 10.1 10 10.1H314v271.7H177.1c-33.4 0-60.1 26.8-60.1 60.4 0 33.5 26.7 63.7 60.1 63.7h691c33.4 0 60.1-26.8 60.1-60.4 0-33.5-26.8-63.7-60.1-63.7zM497.6 538.3c-50.1 0-90.1-40.3-90.1-90.6s40.1-90.6 90.1-90.6c50.1 0 90.1 40.3 90.1 90.6s-40.1 90.6-90.1 90.6z" p-id="84824" ></path></svg>

+ 2 - 0
src/assets/icons/svg/点位管理.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578915894" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="81860" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M512.448 887.68C302.72 647.808 197.888 457.152 197.888 315.776 197.888 103.616 338.688 0 512.448 0c173.696 0 314.56 103.68 314.56 315.712 0 141.376-104.896 332.032-314.56 572.032z m0-409.664c96.512 0 174.72-76.416 174.72-170.752 0-94.272-78.208-170.688-174.72-170.688s-174.72 76.416-174.72 170.688c0 94.336 78.208 170.752 174.72 170.752z m-217.6 203.648l48.832 48.384c-91.072 22.08-151.68 61.44-151.68 106.368 0 69.12 143.296 125.056 320 125.056s320-56 320-125.056c0-44.416-59.328-83.456-148.736-105.6l48.512-48.192c99.328 33.92 164.224 90.112 164.224 153.792C896 940.032 724.096 1024 512 1024s-384-83.968-384-187.52c0-64.256 66.112-120.96 166.912-154.816z" p-id="81861" ></path></svg>

+ 2 - 0
src/assets/icons/svg/登录.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578961332" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="83665" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M614.015 562.226H409.928c-191.021 0-346.487 153.046-346.487 341.29v20.07C63.441 1024 216.36 1024 409.928 1024h204.087c185.927 0 346.46 0 346.5-100.413v-20.121c0-188.156-155.48-341.291-346.5-341.291zM501.77 0C350.075 0 226.7 121.566 226.7 271.02s123.323 271.047 275.07 271.047S776.84 420.475 776.84 271.02 653.454 0 501.771 0z" p-id="83666" ></path></svg>

+ 2 - 0
src/assets/icons/svg/离线.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578841468" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="78818" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M230.4 872.411429h563.2v73.142857H230.4zM917.942857 125.44H106.057143c-20.114286 0-36.571429 16.457143-36.571429 36.571429v626.651428c0 20.114286 16.457143 36.571429 36.571429 36.571429h811.885714c20.114286 0 36.571429-16.457143 36.571429-36.571429V162.011429c0-20.114286-16.457143-36.571429-36.571429-36.571429zM660.114286 578.194286l-53.028572 50.468571-96.365714-101.485714-101.485714 96.365714-50.468572-53.028571 101.485715-96.365715-96.365715-101.485714 53.028572-50.468571 96.365714 101.485714 101.485714-96.365714 50.468572 53.028571-101.485715 96.365714 96.365715 101.485715z"  p-id="78819"></path></svg>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
src/assets/icons/svg/空调.svg


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
src/assets/icons/svg/系统设置.svg


+ 2 - 0
src/assets/icons/svg/视频监控.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578871088" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="80019" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M653.28896 716.672m-66.261333 0a66.261333 66.261333 0 1 0 132.522666 0 66.261333 66.261333 0 1 0-132.522666 0Z"  p-id="80020"></path><path d="M937.19296 525.098667v125.354666h-211.712a97.578667 97.578667 0 0 1 12.885333 114.901334h198.784V921.6H1024.019627v-396.501333h-86.826667zM533.694293 529.450667l211.968-201.429334a34.688 34.688 0 0 0 1.237334-49.066666l-157.44-165.76a34.688 34.688 0 0 0-49.066667-1.237334L55.742293 572.416a34.688 34.688 0 0 0-1.28 49.066667l157.482667 165.76a34.688 34.688 0 0 0 49.066667 1.237333l220.074666-209.109333 81.962667 98.773333a98.218667 98.218667 0 0 1 51.285333-51.498667l-80.64-97.194666zM10.08896 694.229333c-10.794667 20.352-15.274667 36.906667-1.450667 51.541334l81.365334 86.101333c13.824 14.634667 31.445333 11.050667 51.498666 1.450667l49.365334-22.954667-155.093334-164.096-25.685333 47.957333z"  p-id="80021"></path></svg>

+ 2 - 0
src/assets/icons/svg/计划.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578999729" class="icon" viewBox="0 0 1025 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="85223" xmlns:xlink="http://www.w3.org/1999/xlink" width="200.1953125" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M512.581211 109.722612a457.138694 457.138694 0 1 0 457.138694 457.138694A457.138694 457.138694 0 0 0 512.581211 109.722612z m36.571096 484.567016a35.473963 35.473963 0 0 1-11.33704 31.633997l-164.569929 164.56993a18.285548 18.285548 0 0 1-25.782623 0l-25.782622-25.782622a18.285548 18.285548 0 0 1 0-25.965478l149.941491-149.941492a18.285548 18.285548 0 0 0 5.302809-12.982739V273.195409a18.285548 18.285548 0 0 1 18.285548-18.285548h36.571096a18.285548 18.285548 0 0 1 18.285547 18.285548z" p-id="85224" ></path><path d="M922.360337 309.035083L896.577714 283.069605a36.571096 36.571096 0 0 1 0-51.565245l12.982739-12.982739a18.285548 18.285548 0 0 0 5.302809-12.982739 18.285548 18.285548 0 0 0-5.302809-12.982738l-77.713578-77.530723a18.285548 18.285548 0 0 0-25.782622 0l-12.982739 12.982739a36.571096 36.571096 0 0 1-51.7481 0L715.550792 102.225538a36.571096 36.571096 0 0 1 0-51.748101l12.982738-12.982738a127.998834 127.998834 0 0 1 181.026923 0l73.142191 74.239323A133.301643 133.301643 0 0 1 1024.576549 193.836132a127.998834 127.998834 0 0 1-36.571096 102.216212l-12.982739 12.982739a36.571096 36.571096 0 0 1-52.662377 0zM51.053986 309.035083l-9.508485-9.508485A134.764487 134.764487 0 0 1 0.585874 217.424488a127.998834 127.998834 0 0 1 36.571096-102.399067l78.445-77.530722a127.998834 127.998834 0 0 1 181.026922 0l12.982739 12.982738a36.571096 36.571096 0 0 1 0 51.748101L283.829009 128.00816a36.571096 36.571096 0 0 1-51.7481 0L220.012447 115.025421a18.285548 18.285548 0 0 0-25.782622 0l-78.627855 77.530723a18.285548 18.285548 0 0 0-5.302809 12.982738 18.285548 18.285548 0 0 0 5.302809 12.982739l12.982739 12.982739a36.571096 36.571096 0 0 1 0 51.565245L102.802086 309.035083a36.571096 36.571096 0 0 1-51.7481 0z" p-id="85225" ></path></svg>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
src/assets/icons/svg/记录.svg


+ 2 - 0
src/assets/icons/svg/设备状态.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578893550" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="81052" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M911.166 703H115.123c-23.147 0-41.979-18.841-41.979-42V195.004c0-23.159 18.832-42 41.979-42h796.043c23.147 0 41.979 18.841 41.979 42V661c0 23.159-18.832 42-41.979 42z m-788.021-50h780V203.004h-780V653z" p-id="81053" ></path><path d="M538.145 804c0 9.389-8.273 17-18.479 17h-13.043c-10.205 0-18.479-7.611-18.479-17V679c0-9.389 8.273-17 18.479-17h13.043c10.205 0 18.479 7.611 18.479 17v125z" p-id="81054" ></path><path d="M788.145 840c0 9.389-7.724 17-17.251 17H255.396c-9.527 0-17.251-7.611-17.251-17v-16c0-9.389 7.724-17 17.251-17h515.498c9.527 0 17.251 7.611 17.251 17v16zM192 273h628v300H192z" p-id="81055" ></path></svg>

+ 2 - 0
src/assets/icons/svg/评分.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578879750" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="80423" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M519.168 70.144 615.7824 265.8048 831.6928 297.1904 675.4304 449.5104 712.3456 664.576 519.168 563.072 326.0928 664.576 362.9056 449.5104 206.6688 297.1904 422.6304 265.8048Z" p-id="80424" ></path><path d="M244.1216 580.0448 298.8544 690.9696 421.2736 708.7616 332.6976 795.1104 353.6128 916.992 244.1216 859.4432 134.6304 916.992 155.5456 795.1104 66.9696 708.7616 189.3888 690.9696Z" p-id="80425" ></path><path d="M779.8784 580.0448 834.6368 690.9696 957.0304 708.7616 868.4544 795.1104 889.3184 916.992 779.8784 859.4432 670.4128 916.992 691.3024 795.1104 602.7264 708.7616 725.12 690.9696Z" p-id="80426" ></path></svg>

+ 2 - 0
src/assets/icons/svg/运维中心.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578931866" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="82464" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M84 362.7h109.3c11 0 20 9 20 20V940c0 11-9 20-20 20H84c-11 0-20-9-20-20V382.7c0-11.1 9-20 20-20zM308 64h109.3c11 0 20 9 20 20v856c0 11-9 20-20 20H308c-11 0-20-9-20-20V84c0-11 9-20 20-20zM532 549.3h109.3c11.1 0 20 9 20 20V940c0 11.1-9 20-20 20H532c-11.1 0-20-9-20-20V569.4c0-11.1 9-20.1 20-20.1zM960 586.7c0-47.5-29.9-89.8-74.7-105.6v105.6h-74.7V481c-58.3 20.6-88.9 84.6-68.4 142.9 11.3 31.9 36.4 57.1 68.4 68.4v252.4c0 8.5 6.9 15.4 15.4 15.4h44c8.5 0 15.4-6.9 15.4-15.4V692.3c44.7-15.8 74.6-58.2 74.6-105.6z" p-id="82465" ></path></svg>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
src/assets/icons/svg/运维日志.svg


+ 2 - 0
src/assets/icons/svg/频道管理.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578836596" class="icon" viewBox="0 0 1102 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="78618" xmlns:xlink="http://www.w3.org/1999/xlink" width="215.234375" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M78.769231 1024a78.769231 78.769231 0 0 1-78.769231-78.769231v-78.769231a78.769231 78.769231 0 0 1 78.769231-78.76923h945.230769a78.769231 78.769231 0 0 1 78.769231 78.76923v78.769231a78.769231 78.769231 0 0 1-78.769231 78.769231z m393.846154-393.846154a78.769231 78.769231 0 0 1-78.769231-78.769231V472.615385a78.769231 78.769231 0 0 1 78.769231-78.769231h551.384615a78.769231 78.769231 0 0 1 78.769231 78.769231v78.76923a78.769231 78.769231 0 0 1-78.769231 78.769231zM78.769231 630.153846a78.769231 78.769231 0 0 1-78.769231-78.769231V472.615385a78.769231 78.769231 0 0 1 78.769231-78.769231h157.538461a78.769231 78.769231 0 0 1 78.769231 78.769231v78.76923a78.769231 78.769231 0 0 1-78.769231 78.769231z m787.692307-393.846154a78.769231 78.769231 0 0 1-78.76923-78.76923V78.769231a78.769231 78.769231 0 0 1 78.76923-78.769231h157.538462a78.769231 78.769231 0 0 1 78.769231 78.769231v78.769231a78.769231 78.769231 0 0 1-78.769231 78.76923zM78.769231 236.307692a78.769231 78.769231 0 0 1-78.769231-78.76923V78.769231a78.769231 78.769231 0 0 1 78.769231-78.769231h551.384615a78.769231 78.769231 0 0 1 78.769231 78.769231v78.769231a78.769231 78.769231 0 0 1-78.769231 78.76923z" p-id="78619" ></path></svg>

+ 2 - 0
src/assets/icons/svg/风机.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654578948127" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="83064" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M696.8 504.5c0-11.7-1.4-23-3.4-34.1 2 11 3.4 22.4 3.4 34.1h260.8c0-135.6-60.6-256.8-155.8-338.8L632.4 364.6c-32.7-28.6-75-46.4-121.9-46.4-11.5 0-22.7 1.4-33.6 3.4 10.9-2 22.1-3.4 33.6-3.4V57.3c-137.1 0-259.6 61.8-341.6 158.9L368 385.8c-26.9 32.3-43.8 73.3-43.8 118.7 0 11.5 1.4 22.7 3.4 33.6-2-10.9-3.4-22.1-3.4-33.6H63.3c0 137.1 61.8 259.6 158.9 341.6L391.8 647c32.3 26.9 73.3 43.8 118.7 43.8 11.7 0 23-1.4 34.1-3.4-11.1 2.1-22.4 3.4-34.1 3.4v260.8c135.6 0 256.8-60.6 338.8-155.8l-199-169.4c28.6-32.8 46.5-75.1 46.5-121.9zM684 437.9c3.5 8.8 6.4 17.9 8.5 27.3-2.1-9.4-5.1-18.5-8.5-27.3z m-26-46.1c0.4 0.5 0.7 0.9 1.1 1.3-0.4-0.4-0.8-0.8-1.1-1.3z m10.9 15.7c4 6.4 7.7 13.1 10.9 20.1-3.2-7-7-13.6-10.9-20.1z m-198.1-84.9c-9.3 2-18.3 5-27 8.4 8.7-3.4 17.7-6.3 27-8.4z m-38.2 13.1c-6.9 3.2-13.5 6.8-19.9 10.8 6.4-4 13.1-7.6 19.9-10.8z m-35.2 21.7c-0.9 0.7-1.7 1.5-2.6 2.2 0.8-0.8 1.7-1.5 2.6-2.2zM337 571.2c-3.4-8.7-6.3-17.7-8.4-27 2 9.3 5 18.2 8.4 27z m28.5 49c-0.7-0.9-1.5-1.7-2.2-2.6 0.8 0.9 1.5 1.7 2.2 2.6z m-13-18z m46.2-97.7c0-61.6 50.1-111.8 111.8-111.8s111.8 50.1 111.8 111.8c0 61.6-50.1 111.8-111.8 111.8s-111.8-50.2-111.8-111.8zM623.1 652c-0.5 0.4-0.9 0.7-1.3 1.1 0.4-0.4 0.8-0.8 1.3-1.1z m-15.7 10.9c-6.4 4-13.1 7.7-20.1 10.9 7-3.2 13.7-7 20.1-10.9zM577 678c-8.8 3.5-17.9 6.4-27.3 8.5 9.5-2.1 18.5-5.1 27.3-8.5z" p-id="83065" ></path><path d="M510.5 504.5m-74.5 0a74.5 74.5 0 1 0 149 0 74.5 74.5 0 1 0-149 0Z" p-id="83066" ></path></svg>

+ 2 - 0
src/assets/icons/svg/首页.svg

@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1654580366486" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="92259" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
+</style></defs><path d="M982.028557 404.405174 573.32303 83.942886c-34.918864-27.694272-89.619352-27.694272-124.538216 0L43.175542 404.577188c-13.933143 11.008903-16.169326 31.134554-5.332437 44.895683s31.134554 16.169326 44.895683 5.332437l13.073072-10.320847 0 387.547791c0 54.872501 56.936671 95.983874 107.852847 95.983874l639.892491 0c50.22812 0 84.1149-38.531161 84.1149-95.983874L927.672098 443.452377l14.449185 11.352931c5.84848 4.644381 12.729044 6.880564 19.781623 6.880564 9.460776 0 18.921552-4.128339 25.286074-12.213002C998.369898 435.539728 995.789686 415.414077 982.028557 404.405174zM607.897867 797.113388l0 66.741475-63.989249 0-63.989249 0-63.989249 0 0-66.741475 0-112.325214c0-37.155048 30.102469-77.234336 95.983874-77.234336 66.053418 0 95.983874 40.079288 95.983874 77.234336L607.897867 797.113388 607.897867 797.113388z" p-id="92260" ></path></svg>

+ 0 - 0
src/assets/image/bg.png → src/assets/images/bg.png


+ 0 - 0
src/assets/image/img_bg.png → src/assets/images/img_bg.png


+ 0 - 0
src/assets/image/login-background.jpg → src/assets/images/login-background.jpg


+ 0 - 0
src/assets/image/profile.jpg → src/assets/images/profile.jpg


+ 7 - 7
src/layout/components/Navbar.vue

@@ -8,7 +8,7 @@
       <template v-if="device!=='mobile'">
         <span class="date" >{{date}}</span>
         <search id="header-search" class="right-menu-item" />
-        
+
         <!-- <el-tooltip content="源码地址" effect="dark" placement="bottom">
           <ruo-yi-git id="ruoyi-git" class="right-menu-item hover-effect" />
         </el-tooltip>
@@ -19,9 +19,9 @@
 
         <screenfull id="screenfull" class="right-menu-item hover-effect" />
 
-        <el-tooltip content="布局大小" effect="dark" placement="bottom">
+        <!-- <el-tooltip content="布局大小" effect="dark" placement="bottom">
           <size-select id="size-select" class="right-menu-item hover-effect" />
-        </el-tooltip>
+        </el-tooltip> -->
 
       </template>
 
@@ -35,9 +35,9 @@
           <!-- <router-link to="/user/profile">
             <el-dropdown-item>个人中心</el-dropdown-item>
           </router-link> -->
-          <el-dropdown-item @click.native="setting = true">
+          <!-- <el-dropdown-item @click.native="setting = true">
             <span>布局设置</span>
-          </el-dropdown-item>
+          </el-dropdown-item> -->
           <el-dropdown-item divided @click.native="logout">
             <span>退出登录</span>
           </el-dropdown-item>
@@ -103,7 +103,7 @@ export default {
         let sfb = hours + ':' + minutes + ':' + seconds
         that.date = year + month + day + ' ' + sfb
     });
-    
+
   },
   methods: {
     toggleSideBar() {
@@ -116,7 +116,7 @@ export default {
         type: 'warning'
       }).then(() => {
         this.$store.dispatch('LogOut').then(() => {
-          location.href = '/index';
+          location.href = '/center/';
         })
       })
     }

+ 46 - 47
src/permission.js

@@ -10,55 +10,54 @@ NProgress.configure({ showSpinner: false })
 const whiteList = ['/login', '/auth-redirect', '/bind', '/register']
 
 router.beforeEach((to, from, next) => {
-  NProgress.start()
-  if (getToken()) {
-    /* has token*/
-    if (to.path === '/login') {
-      next({ path: '/' })
-      NProgress.done()
+    NProgress.start()
+    if (getToken()) {
+        /* has token*/
+        if (to.path === '/login') {
+            NProgress.done()
+        } else {
+            if (store.getters.roles.length === 0) {
+                // 判断当前用户是否已拉取完user_info信息
+                store.dispatch('GetInfo').then(res => {
+                        // 拉取user_info
+                        const roles = res.roles
+                        store.dispatch('GenerateRoutes', { roles }).then(accessRoutes => {
+                            // 测试 默认静态页面
+                            // store.dispatch('permission/generateRoutes', { roles }).then(accessRoutes => {
+                            // 根据roles权限生成可访问的路由表
+                            router.addRoutes(accessRoutes) // 动态添加可访问路由表
+                            next({...to, replace: true }) // hack方法 确保addRoutes已完成
+                        })
+                    })
+                    .catch(err => {
+                        store.dispatch('FedLogOut').then(() => {
+                            Message.error(err)
+                            next({ path: '/' })
+                        })
+                    })
+            } else {
+                next()
+                    // 没有动态改变权限的需求可直接next() 删除下方权限判断 ↓
+                    // if (hasPermission(store.getters.roles, to.meta.roles)) {
+                    //   next()
+                    // } else {
+                    //   next({ path: '/401', replace: true, query: { noGoBack: true }})
+                    // }
+                    // 可删 ↑
+            }
+        }
     } else {
-      if (store.getters.roles.length === 0) {
-        // 判断当前用户是否已拉取完user_info信息
-        store.dispatch('GetInfo').then(res => {
-          // 拉取user_info
-          const roles = res.roles
-          store.dispatch('GenerateRoutes', { roles }).then(accessRoutes => {
-          // 测试 默认静态页面
-          // store.dispatch('permission/generateRoutes', { roles }).then(accessRoutes => {
-            // 根据roles权限生成可访问的路由表
-            router.addRoutes(accessRoutes) // 动态添加可访问路由表
-            next({ ...to, replace: true }) // hack方法 确保addRoutes已完成
-          })
-        })
-          .catch(err => {
-            store.dispatch('FedLogOut').then(() => {
-              Message.error(err)
-              next({ path: '/' })
-            })
-          })
-      } else {
-        next()
-        // 没有动态改变权限的需求可直接next() 删除下方权限判断 ↓
-        // if (hasPermission(store.getters.roles, to.meta.roles)) {
-        //   next()
-        // } else {
-        //   next({ path: '/401', replace: true, query: { noGoBack: true }})
-        // }
-        // 可删 ↑
-      }
+        // 没有token
+        if (whiteList.indexOf(to.path) !== -1) {
+            // 在免登录白名单,直接进入
+            next()
+        } else {
+            next(`/login?redirect=${to.fullPath}`) // 否则全部重定向到登录页
+            NProgress.done()
+        }
     }
-  } else {
-    // 没有token
-    if (whiteList.indexOf(to.path) !== -1) {
-      // 在免登录白名单,直接进入
-      next()
-    } else {
-      next(`/login?redirect=${to.fullPath}`) // 否则全部重定向到登录页
-      NProgress.done()
-    }
-  }
 })
 
 router.afterEach(() => {
-  NProgress.done()
-})
+    NProgress.done()
+})

+ 100 - 103
src/router/index.js

@@ -25,109 +25,106 @@ import Layout from '@/layout'
  */
 
 // 公共路由
-export const constantRoutes = [
-  {
-    path: '/redirect',
-    component: Layout,
-    hidden: true,
-    children: [
-      {
-        path: '/redirect/:path(.*)',
-        component: (resolve) => require(['@/views/redirect'], resolve)
-      }
-    ]
-  },
-  {
-    path: '/login',
-    component: (resolve) => require(['@/views/login'], resolve),
-    hidden: true
-  },
-  {
-    path: '/404',
-    component: (resolve) => require(['@/views/error/404'], resolve),
-    hidden: true
-  },
-  {
-    path: '/401',
-    component: (resolve) => require(['@/views/error/401'], resolve),
-    hidden: true
-  },
-  // {
-  //   path: '',
-  //   component: Layout,
-  //   redirect: 'index',
-  //   children: [
-  //     {
-  //       path: 'index',
-  //       component: (resolve) => require(['@/views/index'], resolve),
-  //       name: '首页',
-  //       meta: { title: '首页', icon: 'monitor', noCache: true, affix: true }
-  //     }
-  //   ]
-  // },
-  // {
-  //   path: "/bpmn",
-  //   name: "编辑模式",
-  //   component: () => import("../views/bpmn-modeler.vue")
-  // },
-  
-  {
-    path: '/user',
-    component: Layout,
-    hidden: true,
-    redirect: 'noredirect',
-    children: [
-      {
-        path: 'profile',
-        component: (resolve) => require(['@/views/system/user/profile/index'], resolve),
-        name: 'Profile',
-        meta: { title: '个人中心', icon: 'user' }
-      }
-    ]
-  },
-  {
-    path: '/dict',
-    component: Layout,
-    hidden: true,
-    children: [
-      {
-        path: 'type/data/:dictId(\\d+)',
-        component: (resolve) => require(['@/views/system/dict/data'], resolve),
-        name: 'Data',
-        meta: { title: '字典数据', icon: '' }
-      }
-    ]
-  },
-  {
-    path: '/job',
-    component: Layout,
-    hidden: true,
-    children: [
-      {
-        path: 'log',
-        component: (resolve) => require(['@/views/monitor/job/log'], resolve),
-        name: 'JobLog',
-        meta: { title: '调度日志' }
-      }
-    ]
-  },
-  {
-    path: '/gen',
-    component: Layout,
-    hidden: true,
-    children: [
-      {
-        path: 'edit/:tableId(\\d+)',
-        component: (resolve) => require(['@/views/tool/gen/editTable'], resolve),
-        name: 'GenEdit',
-        meta: { title: '修改生成配置' }
-      }
-    ]
-  }
+export const constantRoutes = [{
+        path: '/redirect',
+        component: Layout,
+        hidden: true,
+        children: [{
+            path: '/redirect/:path(.*)',
+            component: (resolve) => require(['@/views/redirect'], resolve)
+        }]
+    },
+    {
+        path: '/login',
+        component: (resolve) => require(['@/views/login'], resolve),
+        hidden: true
+    },
+    {
+        path: '/404',
+        component: (resolve) => require(['@/views/error/404'], resolve),
+        hidden: true
+    },
+    {
+        component: "Layout",
+        path: '/',
+        redirect: 'Middleware/bpmn/index',
+        component: (resolve) => require(['@/views/business/Middleware/bpmn/index'], resolve),
+
+    },
+
+    {
+        path: '/401',
+        component: (resolve) => require(['@/views/error/401'], resolve),
+        hidden: true
+    },
+    // {
+    //   path: '',
+    //   component: Layout,
+    //   redirect: 'index',
+    //   children: [
+    //     {
+    //       path: 'index',
+    //       component: (resolve) => require(['@/views/index'], resolve),
+    //       name: '首页',
+    //       meta: { title: '首页', icon: 'monitor', noCache: true, affix: true }
+    //     }
+    //   ]
+    // },
+    // {
+    //   path: "/bpmn",
+    //   name: "编辑模式",
+    //   component: () => import("../views/bpmn-modeler.vue")
+    // },
+
+    {
+        path: '/user',
+        component: Layout,
+        hidden: true,
+        redirect: 'noredirect',
+        children: [{
+            path: 'profile',
+            component: (resolve) => require(['@/views/system/user/profile/index'], resolve),
+            name: 'Profile',
+            meta: { title: '个人中心', icon: 'user' }
+        }]
+    },
+    {
+        path: '/dict',
+        component: Layout,
+        hidden: true,
+        children: [{
+            path: 'type/data/:dictId(\\d+)',
+            component: (resolve) => require(['@/views/system/dict/data'], resolve),
+            name: 'Data',
+            meta: { title: '字典数据', icon: '' }
+        }]
+    },
+    {
+        path: '/job',
+        component: Layout,
+        hidden: true,
+        children: [{
+            path: 'log',
+            component: (resolve) => require(['@/views/monitor/job/log'], resolve),
+            name: 'JobLog',
+            meta: { title: '调度日志' }
+        }]
+    },
+    {
+        path: '/gen',
+        component: Layout,
+        hidden: true,
+        children: [{
+            path: 'edit/:tableId(\\d+)',
+            component: (resolve) => require(['@/views/tool/gen/editTable'], resolve),
+            name: 'GenEdit',
+            meta: { title: '修改生成配置' }
+        }]
+    }
 ]
 
 export default new Router({
-  //mode: 'history', // 去掉url中的#
-  scrollBehavior: () => ({ y: 0 }),
-  routes: constantRoutes
-})
+    //mode: 'history', // 去掉url中的#
+    scrollBehavior: () => ({ y: 0 }),
+    routes: constantRoutes
+})

+ 25 - 25
src/settings.js

@@ -1,31 +1,31 @@
 module.exports = {
-  title: '中控管理系统',
+    title: '智慧园区场景管理',
 
-  /**
-   * 是否系统布局配置
-   */
-  showSettings: false,
+    /**
+     * 是否系统布局配置
+     */
+    showSettings: false,
 
-  /**
-   * 是否显示 tagsView
-   */
-  tagsView: true,
+    /**
+     * 是否显示 tagsView
+     */
+    tagsView: true,
 
-  /**
-   * 是否固定头部
-   */
-  fixedHeader: false,
+    /**
+     * 是否固定头部
+     */
+    fixedHeader: false,
 
-  /**
-   * 是否显示logo
-   */
-  sidebarLogo: true,
+    /**
+     * 是否显示logo
+     */
+    sidebarLogo: true,
 
-  /**
-   * @type {string | array} 'production' | ['production', 'development']
-   * @description Need show err logs component.
-   * The default is only used in the production env
-   * If you want to also use it in dev, you can pass ['production', 'development']
-   */
-  errorLog: 'production'
-}
+    /**
+     * @type {string | array} 'production' | ['production', 'development']
+     * @description Need show err logs component.
+     * The default is only used in the production env
+     * If you want to also use it in dev, you can pass ['production', 'development']
+     */
+    errorLog: 'production'
+}

+ 6 - 6
src/store/modules/permission.js

@@ -67,11 +67,11 @@ const permission = {
                             hidden: false,
                             path: "/",
                             children: [{
-                                component: "business/Middleware/bpmn/index",
+                                component: "business/Middleware/bpmn",
                                 hidden: false,
-                                meta: { title: "流程图", icon: "international", noCache: true, link: null },
-                                name: "Middleware/bpmn/index",
-                                path: "Middleware/bpmn/index",
+                                meta: { title: "流程图", icon: "工作流程图", noCache: true, link: null },
+                                name: "Middleware/bpmn",
+                                path: "Middleware/bpmn",
                             }]
                         },
                         {
@@ -93,7 +93,7 @@ const permission = {
                             children: [{
                                 component: "business/Middleware/bpmn/executionRecord",
                                 hidden: false,
-                                meta: { title: "历史流程图执行记录", icon: "international", noCache: true, link: null },
+                                meta: { title: "历史流程图执行记录", icon: "log", noCache: true, link: null },
                                 name: "Middleware/bpmn/executionRecord",
                                 path: "Middleware/bpmn/executionRecord",
                             }]
@@ -105,7 +105,7 @@ const permission = {
                             children: [{
                                 component: "business/Middleware/bpmn/executionLog",
                                 hidden: true,
-                                meta: { title: "历史流程图执行日志", icon: "international", noCache: true, link: null },
+                                meta: { title: "历史流程图执行日志", icon: "log", noCache: true, link: null },
                                 name: "Middleware/bpmn/executionLog",
                                 path: "Middleware/bpmn/executionLog",
                             }]

+ 101 - 101
src/store/modules/user.js

@@ -2,114 +2,114 @@ import { login, logout, loginERP, getInfo } from '@/api/login'
 import { getToken, setToken, removeToken } from '@/utils/auth'
 
 const user = {
-  state: {
-    token: getToken(),
-    name: '',
-    nickName:'',
-    avatar: '',
-    roles: [],
-    permissions: []
-  },
-
-  mutations: {
-    SET_TOKEN: (state, token) => {
-      state.token = token
-    },
-    SET_NAME: (state, name) => {
-      state.name = name
-    },
-    SET_NICK_NAME: (state, nickName) => {
-      state.nickName = nickName
-    },
-    SET_AVATAR: (state, avatar) => {
-      state.avatar = avatar
-    },
-    SET_ROLES: (state, roles) => {
-      state.roles = roles
+    state: {
+        token: getToken(),
+        name: '',
+        nickName: '',
+        avatar: '',
+        roles: [],
+        permissions: []
     },
-    SET_PERMISSIONS: (state, permissions) => {
-      state.permissions = permissions
-    }
-  },
 
-  actions: {
-    // 登录
-    Login({ commit }, userInfo) {
-      const username = userInfo.username.trim()
-      const password = userInfo.password
-      const code = userInfo.code
-      const uuid = userInfo.uuid
-      return new Promise((resolve, reject) => {
-        login(username, password, code, uuid).then(res => {
-          setToken(res.data)
-          commit('SET_TOKEN', res.data)
-          resolve()
-        }).catch(error => {
-          reject(error)
-        })
-      })
+    mutations: {
+        SET_TOKEN: (state, token) => {
+            state.token = token
+        },
+        SET_NAME: (state, name) => {
+            state.name = name
+        },
+        SET_NICK_NAME: (state, nickName) => {
+            state.nickName = nickName
+        },
+        SET_AVATAR: (state, avatar) => {
+            state.avatar = avatar
+        },
+        SET_ROLES: (state, roles) => {
+            state.roles = roles
+        },
+        SET_PERMISSIONS: (state, permissions) => {
+            state.permissions = permissions
+        }
     },
 
-    // 登录PER
-    LoginERP({ commit }, userInfo) {
-      return new Promise((resolve, reject) => {
-        loginERP({username:userInfo.username,password:userInfo.password}).then(res => {
-            setToken(res.data)
-            commit('SET_TOKEN', res.data)
-            resolve()
-        }).catch(error => {
-            reject(error)
-        })
-      })
-    },
+    actions: {
+        // 登录
+        Login({ commit }, userInfo) {
+            const username = userInfo.username.trim()
+            const password = userInfo.password
+            const code = userInfo.code
+            const uuid = userInfo.uuid
+            return new Promise((resolve, reject) => {
+                login(username, password, code, uuid).then(res => {
+                    setToken(res.data)
+                    commit('SET_TOKEN', res.data)
+                    resolve()
+                }).catch(error => {
+                    reject(error)
+                })
+            })
+        },
 
-    // 获取用户信息
-    GetInfo({ commit, state }) {
-      return new Promise((resolve, reject) => {
-        getInfo(state.token).then(res => {
-          const user = res.data.user
-          const avatar = user.avatar == "" ? '' : process.env.VUE_APP_BASE_API + user.avatar;
-          //const avatar = user.avatar == "" ? require("@/assets/image/profile.jpg") : user.avatar.substr(0,4)=="http"?user.avatar: process.env.VUE_APP_BASE_API + user.avatar;
-          if (res.data.roles && res.data.roles.length > 0) { // 验证返回的roles是否是一个非空数组
-            commit('SET_ROLES', res.data.roles)
-            commit('SET_PERMISSIONS', res.data.permissions)
-          } else {
-            commit('SET_ROLES', ['ROLE_DEFAULT'])
-          }
-          commit('SET_NAME', user.userName)
-          commit('SET_NICK_NAME', user.nickName)
-          commit('SET_AVATAR', avatar)
-          resolve(res)
-        }).catch(error => {
-          reject(error)
-        })
-      })
-    },
+        // 登录PER
+        LoginERP({ commit }, userInfo) {
+            return new Promise((resolve, reject) => {
+                loginERP({ username: userInfo.username, password: userInfo.password }).then(res => {
+                    setToken(res.data)
+                    commit('SET_TOKEN', res.data)
+                    resolve()
+                }).catch(error => {
+                    reject(error)
+                })
+            })
+        },
 
-    // 退出系统
-    LogOut({ commit, state }) {
-      return new Promise((resolve, reject) => {
-        logout(state.token).then(() => {
-          commit('SET_TOKEN', '')
-          commit('SET_ROLES', [])
-          commit('SET_PERMISSIONS', [])
-          removeToken()
-          resolve()
-        }).catch(error => {
-          reject(error)
-        })
-      })
-    },
+        // 获取用户信息
+        GetInfo({ commit, state }) {
+            return new Promise((resolve, reject) => {
+                getInfo(state.token).then(res => {
+                    const user = res.data.user
+                    const avatar = user.avatar == "" ? '' : process.env.VUE_APP_BASE_API + user.avatar;
+                    //const avatar = user.avatar == "" ? require("@/assets/image/profile.jpg") : user.avatar.substr(0,4)=="http"?user.avatar: process.env.VUE_APP_BASE_API + user.avatar;
+                    if (res.data.roles && res.data.roles.length > 0) { // 验证返回的roles是否是一个非空数组
+                        commit('SET_ROLES', res.data.roles)
+                        commit('SET_PERMISSIONS', res.data.permissions)
+                    } else {
+                        commit('SET_ROLES', ['ROLE_DEFAULT'])
+                    }
+                    commit('SET_NAME', user.userName)
+                    commit('SET_NICK_NAME', user.nickName)
+                    commit('SET_AVATAR', avatar)
+                    resolve(res)
+                }).catch(error => {
+                    reject(error)
+                })
+            })
+        },
+
+        // 退出系统
+        LogOut({ commit, state }) {
+            return new Promise((resolve, reject) => {
+                logout(state.token).then(() => {
+                    commit('SET_TOKEN', '')
+                    commit('SET_ROLES', [])
+                    commit('SET_PERMISSIONS', [])
+                    removeToken()
+                    resolve()
+                }).catch(error => {
+                    reject(error)
+                })
+            })
+        },
 
-    // 前端 登出
-    FedLogOut({ commit }) {
-      return new Promise(resolve => {
-        commit('SET_TOKEN', '')
-        removeToken()
-        resolve()
-      })
+        // 前端 登出
+        FedLogOut({ commit }) {
+            return new Promise(resolve => {
+                commit('SET_TOKEN', '')
+                removeToken()
+                resolve()
+            })
+        }
     }
-  }
 }
 
-export default user
+export default user

+ 0 - 778
src/views/business/Middleware/bpmn/customModeler copy.vue

@@ -1,778 +0,0 @@
-<template>
-    <div class="app-container">
-        <div class="containers">
-            <div class="canvas" ref="canvas"></div>
-            <ul class="buttons">
-                <li>
-                    <a href="javascript:" class="active" ref="saveXML" title="保存为bpmn"
-                    >保存为bpmn</a
-                    >
-                </li>
-                <li>
-                    <a href="javascript:" class="active" ref="saveSvg" title="保存为svg"
-                    >保存为svg</a
-                    >
-                </li>
-                <li>
-                    <a
-                    href="javascript:"
-                    class="active"
-                    @click="handlerUndo"
-                    title="撤销操作"
-                    >撤销</a
-                    >
-                </li>
-                <li>
-                    <a
-                    href="javascript:"
-                    class="active"
-                    @click="handlerRedo"
-                    title="恢复操作"
-                    >恢复</a
-                    >
-                </li>
-                <li>
-                    <a
-                    href="javascript:"
-                    class="active"
-                    @click="handlerZoom(0.1)"
-                    title="放大"
-                    >放大</a
-                    >
-                </li>
-                <li>
-                    <a
-                    href="javascript:"
-                    class="active"
-                    @click="handlerZoom(-0.1)"
-                    title="缩小"
-                    >缩小</a
-                    >
-                </li>
-                <li>
-                    <a
-                    href="javascript:"
-                    class="active"
-                    @click="handlerZoom(0)"
-                    title="还原"
-                    >还原</a
-                    >
-                </li>
-                <li>
-                    <el-button type="primary" @click="submitBpmn" v-if="!loading" title="提交流程图">提 交</el-button>
-                    <el-button :loading="loading" type="primary" @click="submitBpnm" v-else>提交中...</el-button>
-                </li>
-            </ul>
-
-        </div>
-         <!-- 添加或修改节点参数配置对话框 -->
-        <el-dialog  title="修改" :visible.sync="serviceTask" width="600px" append-to-body :before-close="cancel" :close-on-click-modal="false">
-            <el-form ref="form" :model="formData" :rules="rules" label-width="80px" >
-                <el-row :gutter="20">
-                    <el-col :span="24" >
-                        <el-form-item label="节点名称" prop="name" >
-                        <el-input v-model.trim="formData.name" placeholder="请输入节点名称"  @input="onInput" maxlength="30" show-word-limit  />
-                        </el-form-item>
-                    </el-col>
-                    <el-col :span="24">
-                        <el-form-item label="执行" prop="nodeId">
-                        <treeselect v-model="formData.nodeId" :options="dataOptions" :show-count="true" placeholder="请选择执行场景" @change="selectOptions" />
-                        </el-form-item>
-                    </el-col>
-                    <el-col :span="8" v-if="status">
-                        <el-form-item label="参数名称" prop="params1" >
-                        <el-input v-model.trim="formData.params1" placeholder="参数名称"  @input="onInput"  show-word-limit  />
-                        </el-form-item>
-                    </el-col>
-                    <el-col :span="8" v-if="status">
-                        <el-form-item label="参数类型" prop="params2" >
-                        <el-input v-model.trim="formData.params2" placeholder="参数类型"  @input="onInput"  show-word-limit  />
-                        </el-form-item>
-                    </el-col>
-                    <el-col :span="8" v-if="status">
-                        <el-form-item label="参数描述" prop="params3" >
-                        <el-input v-model.trim="formData.params3" placeholder="参数描述"  @input="onInput"  show-word-limit  />
-                        </el-form-item>
-                    </el-col>
-                </el-row>
-            </el-form>
-            <div slot="footer" class="dialog-footer">
-                <el-button type="primary" @click="submitForm" v-if="!loading">确 定</el-button>
-                <el-button :loading="loading" type="primary" @click="submitForm" v-else>提交中...</el-button>
-                <el-button @click="cancel">取 消</el-button>
-            </div>
-        </el-dialog>
-
-        <!-- 添加或修改流程图参数配置对话框 -->
-        <el-dialog  title="修改" :visible.sync="openBpmn" width="600px" append-to-body :before-close="cancel" :close-on-click-modal="false">
-            <el-form ref="form2" :model="formData2" :rules="rules2" label-width="120px" >
-                <el-row :gutter="20">
-                    <el-col :span="24" >
-                        <el-form-item label="流程图名称" prop="name" >
-                        <el-input v-model.trim="formData2.name" placeholder="请输入流程图名称"  @input="onInput" maxlength="30" show-word-limit  />
-                        </el-form-item>
-                    </el-col>
-                    <el-col :span="24" >
-                        <el-form-item label="流程图描述" prop="procdefDescribe" >
-                        <el-input type="textarea" v-model.trim="formData2.procdefDescribe" placeholder="请输入流程图描述"  @input="onInput" maxlength="60" show-word-limit  />
-                        </el-form-item>
-                    </el-col>
-                </el-row>
-            </el-form>
-            <div slot="footer" class="dialog-footer">
-                <el-button type="primary" @click="submitBpnmForm" v-if="!loading">确 定</el-button>
-                <el-button :loading="loading" type="primary" @click="submitBpnmForm" v-else>提交中...</el-button>
-                <el-button @click="cancelBpnm">取 消</el-button>
-            </div>
-        </el-dialog>
-    </div>
-</template>
-
-<script>
-// 引入相关的依赖
-import { xmlStr } from "@/mock/xmlStrPreview2";
-import { CustomModeler } from "@/components/customBpmn";
-import Treeselect from "@riophae/vue-treeselect";
-import '@riophae/vue-treeselect/dist/vue-treeselect.css'
-import { getBpmnZkNodeList, getBpmnZkNodeTreeList, addBpmnZkNode, updataBpmnZkNode,
-getBpmnZkReNodeProcdefTreeList, getBpmnZkReNodeProcdefCheckedTreeList,
-getBpmnZkReProcdefList, addBpmnZkReProcdef, updataBpmnZkReProcdef, delBpmnZkReProcdef, getBpmnZkReNodeProcdefListByPorcedfId} from "@/api/business/Middleware/bpmn";
-export default {
-  name: "",
-  components: { Treeselect },
-  data() {
-    return {
-      bpmnModeler: null,
-      container: null,
-      canvas: null,
-      scale: 1,
-      userTask: false,
-      serviceTask: false,
-      scriptTask: false,
-      sequenceFlow: "",
-      formData: {
-        name: "",
-        type: "",
-        nodeId:undefined,
-        // order:undefined
-
-      },
-      //节点树选项
-      dataOptions: [],
-
-      data:undefined,
-      openBpmn:false,
-      // 节点表单校验
-      rules: {
-        name: [
-          { required: true, message: "节点名称不能为空", trigger: "blur" }
-        ],
-        // order: [
-        //   { required: true, message: "执行顺序不能为空", trigger: "blur" }
-        // ],
-        nodeId: [
-          { required: true, message: "场景不能为空", trigger: ["blur",'change'] }
-        ],
-      },
-      formData2: {
-        name: undefined,
-        procdefDescribe:undefined,
-      },
-      // 流程图表单校验
-      rules2: {
-        name: [
-          { required: true, message: "流程描述名称不能为空", trigger: "blur" }
-        ],
-        procdefDescribe: [
-          { required: true, message: "流程图描述不能为空", trigger: ["blur",'change'] }
-        ],
-      },
-      loading:false,
-      bpmnData:[], //待提交数据,
-      bpmnTitle:undefined,//待提交流程图名称
-      bpmnNodeId:undefined,// 弹框打开时节点Id
-      xml:undefined,
-      serviceTaskStatus:false,
-      checkedKeys:[],//流程图返回节点
-      bpmnDataFH:[],//流程图返回信息
-
-      status:false,
-      msg:[]
-    };
-  },
-  created(){
-
-
-  },
-  mounted() {
-    this.getNodeTree()
-
-    if(this.$route.query.name){
-      getBpmnZkReProcdefList({name:this.$route.query.name,current: 1,size: 20}).then(res=>{
-        this.bpmnDataFH = res.data.records[0]
-        this.init()
-      })
-      getBpmnZkReNodeProcdefListByPorcedfId({procdefId:this.$route.query.id}).then(res=>{
-        this.checkedKeys = res.data
-      })
-    }else{
-      this.init()
-    }
-  },
-
-  // 方法集合
-  methods: {
-    selectOptions(value){
-      console.log(value.params)
-    },
-      //强制el-input刷新
-    onInput(){
-        this.$forceUpdate();
-    },
-    init() {
-      // 获取到属性ref为“canvas”的dom节点
-      const canvas = this.$refs.canvas;
-      // 建模
-      this.bpmnModeler = new CustomModeler({
-        container: canvas,
-        additionalModules: [
-          {
-            // 禁止编辑label
-            labelEditingProvider: ["value", ""]
-          }
-        ]
-      });
-      this.createNewDiagram();
-
-    },
-    async createNewDiagram() {
-      let that = this
-      try {
-        //编辑或默认视图
-        if(that.bpmnDataFH.resourceName){
-          var result = await this.bpmnModeler.importXML(that.bpmnDataFH.resourceName);
-        }else{
-          var result = await this.bpmnModeler.importXML(xmlStr);
-        }
-
-        // 上传
-        console.log(result)
-        const { warnings } = result;
-        this.data = result.warnings
-        console.log(warnings);
-
-        this.success();
-      } catch (err) {
-        console.log(err.message, err.warnings);
-      }
-    },
-    success() {
-      this.addBpmnListener();
-      this.addModelerListener();
-      this.addEventBusListener();
-    },
-    addModelerListener() {
-      const bpmnjs = this.bpmnModeler;
-      const that = this;
-      // 这里我是用了一个forEach给modeler上添加要绑定的事件
-      const events = [
-        "shape.added",
-        "shape.move.end",
-        "shape.removed",
-        "connect.end",
-        "connect.move"
-      ];
-      events.forEach(function(event) {
-        that.bpmnModeler.on(event, e => {
-          console.log(1,event, e,that.data );
-          var elementRegistry = bpmnjs.get("elementRegistry");
-          var shape = e.element ? elementRegistry.get(e.element.id) : e.shape;
-          console.log(2,shape);
-        });
-      });
-    },
-    // 下载
-    async addBpmnListener() {
-      console.log(11111)
-      const that = this;
-      const downloadLink = this.$refs.saveXML;
-      console.log(downloadLink)
-      const downloadSvgLink = this.$refs.saveSvg;
-
-      async function opscoffee() {
-        try {
-          const result = await that.saveSVG();
-          const { svg } = result;
-
-          that.setEncoded(downloadSvgLink, "ops-coffee.svg", svg);
-        } catch (err) {
-          console.log(err);
-        }
-
-        try {
-          const result = await that.saveXML();
-          const { xml } = result;
-
-          that.setEncoded(downloadLink, "ops-coffee.bpmn", xml);
-        } catch (err) {
-          console.log(err);
-        }
-      }
-
-      opscoffee();
-      this.bpmnModeler.on("commandStack.changed", opscoffee);
-    },
-    async saveSVG(done) {
-      try {
-        const result = await this.bpmnModeler.saveSVG(done);
-        return result;
-      } catch (err) {
-        console.log(err);
-      }
-    },
-    async saveXML(done) {
-      try {
-        const result = await this.bpmnModeler.saveXML({ format: true }, done);
-        this.xml = result
-        // console.log(this.xml)
-        return result;
-      } catch (err) {
-        console.log(err);
-      }
-    },
-    setEncoded(link, name, data) {
-      const encodedData = encodeURIComponent(data);
-
-      if (data) {
-        link.href = "data:application/bpmn20-xml;charset=UTF-8," + encodedData;
-        link.download = name;
-      }
-    },
-    handlerRedo() {
-      this.bpmnModeler.get("commandStack").redo();
-    },
-    handlerUndo() {
-      this.bpmnModeler.get("commandStack").undo();
-    },
-    handlerZoom(radio) {
-      const newScale = !radio ? 1.0 : this.scale + radio;
-      this.bpmnModeler.get("canvas").zoom(newScale);
-
-      this.scale = newScale;
-    },
-    addEventBusListener() {
-      const that = this;
-      const eventBus = this.bpmnModeler.get("eventBus");
-      const modeling = this.bpmnModeler.get("modeling");
-      const elementRegistry = this.bpmnModeler.get("elementRegistry");
-
-      eventBus.on("element.click", function(e) {
-        // console.log(
-        //   "点击了element",
-        //   e.element.businessObject.id,
-        //   e.element.businessObject.$type,
-        //   e.element.businessObject.name,that.data
-        // );
-        e.element.businessObject.nodeId = that.formData.nodeId
-        // e.element.businessObject.order = that.formData.order
-        console.log(
-          "点击了element",
-          e,e.element.businessObject.name,
-          e.element.businessObject.nodeId
-        );
-
-        if (e.element.businessObject.$type == "bpmn:SequenceFlow") {
-          const sourceRef = e.element.businessObject.sourceRef;
-
-          if (sourceRef.$type == "bpmn:ExclusiveGateway") {
-            var targetElement = elementRegistry.get(sourceRef.id);
-
-            modeling.updateProperties(targetElement, {
-              default: e.element.businessObject
-            });
-          }
-        }
-      });
-    },
-    // 节点取消按钮
-    cancel() {
-        this.serviceTask = false
-        // this.reset();
-    },
-    // 表单重置
-    reset() {
-      this.formData = {
-        name: undefined,
-        order: undefined,
-        deptId: undefined,
-        type: undefined
-      };
-      this.resetForm("form");
-    },
-    /** 节点提交按钮 */
-    submitForm(row) {
-      let that = this
-      this.$refs["form"].validate(valid => {
-        if (valid) {
-            this.msgSuccess("节点属性保存成功");
-            this.loading = false
-            let data = this.dataOptions
-            for(let a = 0; a<Object.keys(data).length; a++){
-                if(data[a].id == this.formData.nodeId){
-                    this.formData.param =  data[a].params
-                }
-                if(data[a].children){
-                    if(Object.keys(data[a].children).length>0){
-                        for(let b = 0; b<Object.keys(data[a].children).length; b++){
-                            if(data[a].children[b].id == this.formData.nodeId){
-                                this.formData.param = data[a].children[b].params
-                            }
-                            if(data[a].children[b].children){
-                                if(Object.keys(data[a].children[b].children).length>0){
-                                    for(let c = 0; c<Object.keys(data[a].children[b].children).length; c++){
-                                        if(data[a].children[b].children[c].id == this.formData.nodeId){
-                                            this.formData.param = data[a].children[b].children[c].params
-                                        }
-                                    }
-                                }
-                            }
-                        }
-                    }
-                }
-            }
-            this.formData.procedefKey = this.$store.state.bpmn.nodeInfo.businessObject.id
-            delete this.formData.type
-            let arr = JSON.parse(JSON.stringify(this.bpmnData))
-            if(arr.length>0){
-              let num = 0
-              for(let i =0;i<arr.length;i++){
-                if(this.$store.state.bpmn.nodeInfo.businessObject.id == arr[i].procedefKey){
-                  arr[i] = this.formData
-                }else{
-                  num +=1
-                  if(num == arr.length){
-                    this.bpmnData.push(this.formData)
-                  }
-                }
-              }
-            }else{
-              this.bpmnData.push(this.formData)
-            }
-            //异步避免需要二次关闭
-            setTimeout(()=>{
-              that.serviceTask = false
-            },1)
-        }
-      });
-    },
-    /** 流程图提交按钮 */
-    submitBpmn(){
-      // if(this.bpmnDataFH.name){
-      //   this.formData2.procdefDescribe = this.bpmnDataFH.procdefDescribe
-      //   this.formData2.name = this.bpmnDataFH.name
-      // }
-      // console.log(this.formData2)
-      // this.openBpmn = true
-      console.log(this.msg)
-      let arr = {}
-      arr.name = "流程图1"
-      arr.resourceName = "流程图1描述"
-      arr.nodes = []
-      for(let i=0;i<this.msg.length;i++){
-        arr.nodes[i] = {}
-        arr.nodes[i].nodeId = this.msg[i].nodeId
-        var arr1 = {}
-        arr1.id = null
-        arr1.deptIds = null
-        arr1.createTime = null
-        arr1.blurry = this.msg[i].params1
-        let info1 = JSON.stringify(arr1)
-        let info = '(' + info1 + 'zknode)'
-        arr.nodes[i].param = info
-      }
-      console.log(arr)
-      addBpmnZkReProcdef(arr).then(res=>{
-        this.msgSuccess("流程图保存成功");
-        this.loading = false
-        this.openBpmn = false
-        // this.$router.push('/business/Middleware/bpmn/index')
-      })
-    },
-    /** 流程图提交数据 */
-    submitBpnmForm(){
-
-      // this.$refs["form2"].validate(valid => {
-      //   if (valid) {
-      //       if(this.bpmnData.length<2 && this.checkedKeys.length<2){
-      //         this.msgError("流程图节点数据个数小于2");
-      //       }else{
-
-      //         if(this.checkedKeys.length>1){
-      //           let arr = {}
-      //           arr.name = this.formData2.name
-      //           arr.procdefDescribe = this.formData2.procdefDescribe
-      //           arr.procedefKey = this.formData2.procedefKey
-      //           arr.nodes = []
-      //           arr.params1 = this.checkedKeys[i].params1
-      //           arr.params2 = this.checkedKeys[i].params2
-      //           arr.params3 = this.checkedKeys[i].params3
-      //           for(let i = 0; i<this.checkedKeys.length;i++){
-      //             arr.nodes[i] = {}
-      //             arr.nodes[i].param = this.checkedKeys[i].param
-
-      //             arr.nodes[i].procedefKey = this.checkedKeys[i].procedefKey
-      //             arr.nodes[i].nodeId = this.checkedKeys[i].id
-      //             if(this.bpmnData.length>0){
-      //              for(let n=0;n<this.bpmnData.length;n++){
-      //                 if(this.bpmnData[n].procedefKey){
-      //                   if(this.bpmnData[n].procedefKey == arr.nodes[i].procedefKey){
-      //                     arr.nodes[i].param = this.bpmnData[n].param
-      //                     arr.nodes[i].nodeId = this.bpmnData[n].nodeId
-      //                   }
-      //                 }
-      //               }
-      //             }
-      //           }
-      //           arr.resourceName =  this.xml.xml;
-      //           arr.id = this.bpmnDataFH.id
-      //           console.log(arr)
-      //           updataBpmnZkReProcdef(arr).then(res=>{
-      //             this.msgSuccess("流程图修改成功");
-      //             this.loading = false
-      //             this.openBpmn = false
-      //             this.$router.push('/business/Middleware/bpmn/index')
-      //           })
-      //         }else if(this.bpmnData.length>1){
-      //           let arr = {}
-      //           arr.name = this.formData2.name
-      //           arr.procdefDescribe = this.formData2.procdefDescribe
-      //           arr.procedefKey = this.formData2.procedefKey
-      //           arr.nodes = this.bpmnData
-      //           arr.resourceName =  this.xml.xml;
-      //           console.log(arr)
-      //           addBpmnZkReProcdef(arr).then(res=>{
-      //             this.msgSuccess("流程图保存成功");
-      //             this.loading = false
-      //             this.openBpmn = false
-      //             this.$router.push('/business/Middleware/bpmn/index')
-      //           })
-      //         }
-
-
-      //       }
-      //   }
-      // });
-    },
-    /** 流程图取消按钮 */
-    cancelBpnm(){
-      this.openBpmn = false
-    },
-    getNodeTree(){
-        getBpmnZkNodeTreeList().then(res =>{
-            if(res.data){
-                for(let a = 0; a<Object.keys(res.data).length; a++){
-                    this.dataOptions[a] = []
-                    this.dataOptions[a].label = res.data[a].name
-                    this.dataOptions[a].id = res.data[a].id
-                    this.dataOptions[a].params = res.data[a].params
-                    if(res.data[a].children){
-                    if(Object.keys(res.data[a].children).length>0){
-                        this.dataOptions[a].children = []
-                        for(let b = 0; b<Object.keys(res.data[a].children).length; b++){
-                        this.dataOptions[a].children[b] = {}
-                        this.dataOptions[a].children[b].label = res.data[a].children[b].name
-                        this.dataOptions[a].children[b].id = res.data[a].children[b].id
-                        this.dataOptions[a].children[b].params = res.data[a].children[b].params
-
-                        if(res.data[a].children[b].children){
-                            if(Object.keys(res.data[a].children[b].children).length>0){
-                            this.dataOptions[a].children[b].children = []
-                            for(let c = 0; c<Object.keys(res.data[a].children[b].children).length; c++){
-                                this.dataOptions[a].children[b].children[c] = {}
-                                this.dataOptions[a].children[b].children[c].label = res.data[a].children[b].children[c].name
-                                this.dataOptions[a].children[b].children[c].id = res.data[a].children[b].children[c].id
-                                this.dataOptions[a].children[b].children[c].params= res.data[a].children[b].children[c].params
-                            }
-                            }
-                        }
-                        }
-                    }
-                    }
-                }
-                console.log(this.dataOptions)
-            }
-        })
-    },
-    currDeptChange(val) {
-      console.log('currDeptChange', val)
-      if(val == '1' || val == '2'){
-        this.status = true
-      }
-    },
-  },
-  // 计算属性
-  computed: {
-    task: {
-      get: function() {
-        const that = this;
-        const element = this.$store.state.bpmn.nodeInfo;
-        if (element.businessObject) {
-          // console.log(
-          //   element.businessObject.id,
-          //   element.businessObject.name,
-          //   element.businessObject.$type
-          // );
-
-        //   if (element.businessObject.$type === "bpmn:UserTask") {
-        //     that.formData.type = "用户任务1";
-        //     that.formData.name = element.businessObject.name;
-        //     that.userTask = this.$store.state.bpmn.nodeVisible;
-        //   }
-
-          if (element.businessObject.$type === "bpmn:ServiceTask") {
-            that.formData = {
-              name: "",
-              type: "",
-              nodeId:undefined,
-              params1:undefined,
-              params2:undefined,
-              params3:undefined,
-
-            }
-            that.formData.name = element.businessObject.name;
-            let data = that.bpmnData
-            that.formData.params1 = data.params1
-            that.formData.params2 = data.params2
-            that.formData.params3 = data.params3
-
-            if(that.checkedKeys.length>0){
-              for(let i = 0; i<that.checkedKeys.length;i++){
-                if(element.businessObject.id == that.checkedKeys[i].procedefKey){
-                  this.formData.nodeId = that.checkedKeys[i].id
-                }
-              }
-            }
-            if(data.length>0){
-              for(let i = 0; i<data.length;i++){
-                if(element.businessObject.id == data[i].procedefKey){
-                  this.formData.nodeId = data[i].nodeId
-                }
-              }
-            }
-            // if(that.serviceTaskStatus == false){
-            //   that.serviceTask = true
-            // }else{
-            //   that.serviceTask = false
-            // }
-            that.serviceTask = this.$store.state.bpmn.nodeVisible;
-
-            that.msg = data
-            console.log(that.msg,data,this.formData)
-          }
-
-        //   if (element.businessObject.$type === "bpmn:ScriptTask") {
-        //     that.formData.type = "脚本任务1";
-        //     that.formData.name = element.businessObject.name;
-        //     that.serviceTask = this.$store.state.bpmn.nodeVisible;
-        //   }
-
-        //   if (element.businessObject.$type === "bpmn:SequenceFlow") {
-        //     that.sequenceFlow = element.businessObject.name;
-        //     that.scriptTask = this.$store.state.bpmn.nodeVisible;
-        //   }
-        }
-
-        return false;
-      },
-      set: function(val) {
-        this.$store.state.bpmn.nodeVisible = val;
-      }
-    }
-  },
-  watch: {
-    'formData.nodeId': 'currDeptChange',
-    task(val) {},
-    userTask(val) {
-      this.$store.state.bpmn.nodeVisible = val;
-    },
-    serviceTask(val) {
-      this.$store.state.bpmn.nodeVisible = val;
-    },
-    scriptTask(val) {
-      this.$store.state.bpmn.nodeVisible = val;
-    },
-    sequenceFlow(val) {
-      const element = this.$store.state.bpmn.nodeInfo;
-      const modeling = this.bpmnModeler.get("modeling");
-      modeling.updateLabel(element, val);
-    },
-    "formData.name": {
-      handler(val, old) {
-        const element = this.$store.state.bpmn.nodeInfo;
-        const modeling = this.bpmnModeler.get("modeling");
-        modeling.updateLabel(element, val);
-      },
-      deep: true
-    },
-  }
-};
-</script>
-
-<style scoped>
-.containers {
-  background: white;
-  overflow: auto;
-  background-image: linear-gradient(
-      90deg,
-      rgba(220, 220, 220, 0.5) 6%,
-      transparent 0
-    ),
-    linear-gradient(rgba(192, 192, 192, 0.5) 6%, transparent 0);
-  background-size: 12px 12px;
-  width: 100%;
-  height: 85vh;
-  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
-}
-.canvas {
-  width: 100%;
-  height: 100%;
-}
-.panel {
-  position: absolute;
-  right: 0;
-  top: 0;
-  width: 300px;
-}
-.buttons {
-  position: absolute;
-  left: 80px;
-  bottom: 20px;
-}
-.buttons li {
-  display: inline-block;
-  margin: 5px;
-}
-.buttons li a {
-  color: #999;
-  background: #eee;
-  cursor: not-allowed;
-  padding: 8px;
-  border: 1px solid #ccc;
-  text-decoration: none;
-}
-.buttons li a.active {
-  color: #333;
-  background: #fff;
-  cursor: pointer;
-}
-.demo-drawer-footer {
-  width: 100%;
-  position: absolute;
-  bottom: 0;
-  left: 0;
-  border-top: 1px solid #e8e8e8;
-  padding: 10px 16px;
-  text-align: right;
-  background: #fff;
-}
-</style>

+ 2 - 1
src/views/business/Middleware/bpmn/executionLog.vue

@@ -38,7 +38,8 @@
           <el-button type="primary" icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
         </el-form-item>
       </el-form>
-    <el-table v-loading="loading" :data="adminList"  height="calc(100vh - 30vh)">
+      <!-- height="calc(100vh - 30vh)" -->
+    <el-table v-loading="loading" :data="adminList">
       <el-table-column label="历史流程id" align="center" prop="hiProcdefId"  show-overflow-tooltip />
       <el-table-column label="任务名称" align="center" prop="taskName" show-overflow-tooltip />
       <!-- <el-table-column label="参数" align="center" prop="taskParams" show-overflow-tooltip />

+ 2 - 1
src/views/business/Middleware/bpmn/executionRecord.vue

@@ -38,7 +38,8 @@
           <el-button type="primary" icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
         </el-form-item>
       </el-form>
-    <el-table v-loading="loading" :data="adminList"  height="calc(100vh - 30vh)">
+      <!-- height="calc(100vh - 30vh)" -->
+    <el-table v-loading="loading" :data="adminList">
       <el-table-column label="id" align="center" prop="id"  show-overflow-tooltip />
       <el-table-column label="流程id" align="center" prop="procdefId"  show-overflow-tooltip />
       <el-table-column label="流程名称" align="center" prop="procdefName" show-overflow-tooltip />

+ 1 - 1
src/views/business/Middleware/bpmn/index.vue

@@ -23,7 +23,7 @@
           >新增</el-button>
         </el-form-item>
       </el-form>
-    <el-table v-loading="loading" :data="adminList"  height="calc(100vh - 30vh)">
+    <el-table v-loading="loading" :data="adminList">
       <el-table-column label="流程id" align="center" prop="id" show-overflow-tooltip />
       <el-table-column label="流程图名称" align="center" prop="name" show-overflow-tooltip />
       <el-table-column label="描述" align="center" prop="procdefDescribe"  show-overflow-tooltip />

+ 1 - 1
src/views/error/401.vue

@@ -12,7 +12,7 @@
         <h6>对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面</h6>
         <ul class="list-unstyled">
           <li class="link-type">
-            <router-link to="/">
+            <router-link to="/Middleware/bpmn">
               回首页
             </router-link>
           </li>

+ 1 - 1
src/views/error/404.vue

@@ -17,7 +17,7 @@
         <div class="bullshit__info">
           对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。
         </div>
-        <router-link to="/Middleware/bpmn/index" class="bullshit__return-home">
+        <router-link to="/Middleware/bpmn" class="bullshit__return-home">
           返回首页
         </router-link>
       </div>

+ 255 - 308
src/views/login.vue

@@ -1,65 +1,65 @@
 <template>
-  <div class="login">
-    <div class="bg" v-if="erp"><img :src="bg" alt="" style="width:100%;height:100%"></div>
-    <div class="logoImg" v-if="erp">
+  <div class="login" >
+    <div class="bg" v-if="erp"><img :src="bg" alt="" style="width:100%;height:100%;"></div>
+    <div class="logo" v-if="erp">
       <img :src="logo" alt="">
-      <span class="logoTxt">东信中控管理系统</span>
+      <span class="logo_txt">智慧园区场景管理</span>
     </div>
-    <div class="main" v-if="erp">
-      <!-- <img src="@/assets/logo/logo.png" alt="" class="img1"> -->
-      <img src="@/assets/image/img_bg.png" alt="" class="img2">
-      <h3>中控系统管理</h3>
-      <!-- <h4>OA SYSTEM MANAGEMENT</h4> -->
-      <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
-        <h2 class="title">欢迎登录</h2>
-        <el-form-item prop="username">
-          <el-input v-model="loginForm.username" type="text" auto-complete="off"   @focus="isUsername=true"
-                    @blur="isUsername=false" placeholder="用户名">
-            <svg-icon slot="prefix" icon-class="user" v-bind:class="{'color-class':isUsername}" class=" input-icon " />
-          </el-input>
-        </el-form-item>
-        <el-form-item prop="password">
-          <el-input
-            v-model="loginForm.password"
-            type="password"
-            auto-complete="off"
-            placeholder="密码"
-            @focus="isPassword=true"
-            @blur="isPassword=false"
-            @keyup.enter.native="handleLogin"
-          >
-            <svg-icon slot="prefix" icon-class="password" v-bind:class="{'color-class':isPassword}" class="el-input__icon input-icon " />
-          </el-input>
-        </el-form-item>
-        <el-form-item prop="code">
-          <el-input
-            v-model="loginForm.code"
-            auto-complete="off"
-            placeholder="验证码"
-            @focus="isValidCode=true"
-            @blur="isValidCode=false"
-            @keyup.enter.native="handleLogin"
-          >
-            <svg-icon slot="prefix" icon-class="validCode" v-bind:class="{'color-class':isValidCode}" class="el-input__icon input-icon "  />
-          </el-input>
-          <div class="login-code">
-            <img :src="codeUrl" @click="getCode" />
-          </div>
-        </el-form-item>
-        <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox>
-        <el-form-item style="width:100%;">
-          <el-button
-            :loading="loading"
-            size="medium"
-            type="primary"
-            style="width:100%;"
-            @click.native.prevent="handleLogin"
-          >
-            <span v-if="!loading">登 录</span>
-            <span v-else>登 录 中...</span>
-          </el-button>
-        </el-form-item>
-      </el-form>
+    <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form" v-if="erp">
+      <h3 class="title">用户登录 <span>LOGIN</span></h3>
+      <el-form-item prop="username" >
+        <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
+          <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
+        </el-input>
+      </el-form-item>
+      <el-form-item prop="password">
+        <el-input
+          v-model="loginForm.password"
+          :type="passwordtxt"
+          auto-complete="off"
+          placeholder="密码"
+          @keyup.enter.native="handleLogin"
+        >
+          <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
+          <svg-icon slot="prefix" icon-class="eye"  class="el-input__icon input-icon"  style="position:absolute;right:-340px"  @click="eyeTab" v-show="passwordtxt =='password'" />
+          <svg-icon slot="prefix" icon-class="eye-open"  class="el-input__icon input-icon"  style="position:absolute;right:-340px"  @click="eyeTab" v-show="passwordtxt =='text'" />
+        </el-input>
+
+      </el-form-item>
+      <el-form-item prop="code" v-if="captchaOnOff">
+        <el-input
+          v-model="loginForm.code"
+          auto-complete="off"
+          placeholder="验证码"
+          style="width: 63%"
+          @keyup.enter.native="handleLogin"
+        >
+          <svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" />
+        </el-input>
+        <div class="login-code">
+          <img :src="codeUrl" @click="getCode" class="login-code-img"/>
+        </div>
+      </el-form-item>
+      <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;"  @change="memory">记住密码</el-checkbox>
+      <el-form-item style="width:100%;">
+        <el-button
+          :loading="loading"
+          size="medium"
+          type="primary"
+          style="width:100%;"
+          @click.native.prevent="handleLogin"
+        >
+          <span v-if="!loading">登 录</span>
+          <span v-else>登 录 中...</span>
+        </el-button>
+        <!-- <div style="float: right;" v-if="register">
+          <router-link class="link-type" :to="'/register'">立即注册</router-link>
+        </div> -->
+      </el-form-item>
+    </el-form>
+    <!--  底部  -->
+    <div class="el-login-footer" v-if="erp">
+      <!-- <span>Copyright © 2018-2021 yongtian.vip All Rights Reserved.</span> -->
     </div>
     <div id="loader-wrapper" v-if="ERPloading">
         <div id="loader"></div>
@@ -67,155 +67,143 @@
         <div class="loader-section section-right"></div>
         <div class="load_title">正在加载系统资源,请耐心等待</div>
     </div>
-
-    <!--  底部  -->
-    <!-- <div class="el-login-footer">
-      <span>© 2020 All Rights Reserved. ruoyichina.com<br> 蒙ICP备2020003903号 <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAUCAMAAAC3SZ14AAACBFBMVEVHcEzknkbrvFL04pfow2v//9apiXD/5K3ks1Pq0o736ajt3I3w5MDRq3bn0o7t7bfoxmTy56Tw26b256jqy3vbo1HgrV/v4LH0u1HpwHm+lnP36cv05admSVDcqV+WcVFsW2KIgHjZol/48cPfo1DOkEXdp0/MilTpwGzlrVLpwFjjr1zqzIbduX3msVjTmmXltFLr2HzkvmDt2YHw3HbjuGTz3HjgsFJfPEHqxXHisHOldFrPsYn10WfXvJfw4oh0cXVcRVmFeG/bwZulgWmsjGGmbkHNrH1SOVjywWLfs27vqkndr3Hxy5yMgXXrvlnouFQhI3MbHHjhpkrsx1/enUfVHBXXjD7ttlPTJRl3dnrIRSXXLBfosk3pwV7lvGP10mH0ylzZRiTXZy3ghz/npEEXC2LXVCjrbzLhTyLnu1vs0Wrpx2bzw1boqk+pkmTzyGi7qnaRZUTWlVGzHhcoD1mdCBn3NRPbeTvjkz5tYmnWOB+xo3vPBwS6VSvLVCTQFg7Xr2RseosiFGceKYotQozuezTalUbtwVmTWDPr22zgMxq3llZgHkuKemeFiI1EAEBuJ0rhfDPZEQ3Xu3DZbjjUXDBVV3RcAz2+Lh+il3WpCh21Li7FYT/pZi/dbjCzn2m9pm3kol5pV1rrXB/aBwgTDXO/sIaVhHqxl3aggFekcEYg5SEkAAAAc3RSTlMA/PqN3gbRBP4VKVE9xiQO53lZZuL+2078sKIuQ/vj/v395zXYqst0wuT0z5xi4zrsytiM7OPw+vnN0tuk8IWv+vjqgN7w76/6sX/trDbr///////////////////////////////////////////////+NgsVowAAAXJJREFUGNNjYAACdk4eZzY2Ox5OVgYoYBeXsnYrknd1kRKHiUmzWXTWpc8vzpdlkwYLsCq7yxYlh1UnxaTMUrDhAqlT5vVYPKk7LLK6IWZRlCMvF9Agbr8g+SWTI8PCImvnzQp04mZn8PVUDFqduTQyKSmmNnNhoIM9D4OX94qgVW0N0eHBFTFtCwIVbZkZfBhXtiik1kcnV0xN8a8KqpGQZFCqbGxtrstIj56WnjG3uXVKqhiDUnhE07Ky8sz65Izy2WlN/oxiDLyMictbJpSVlMyMnjMjsLCAQ5LBKjSvoD8wrbR3YmlaUFRIBIclg4hoMWN8YV9Ufk/V9KjG1FAOEQZBFtHwFImExNyIkK6OynZzFmEGfmEBjvBQoIh/QkJeaDyLECsDuxBLSBaHf1xcSEAwR06OKdBDnMxm2fFZAQH+AcHBAXHZJsycDOxcxkYGTEyxsbEB/loChoJ87MDQ4dRXV1VT0dTT1tDR5eNnYAAAHI5j3PTE3yIAAAAASUVORK5CYII=" alt=""></span>
-    </div> -->
   </div>
 </template>
 
 <script>
-  import bgImg from "@/assets/image/bg.png";
-  import logoImg from "@/assets/logo/logo-b.png";
-  import { getCodeImg } from "@/api/login";
-  import Cookies from "js-cookie";
-  import { encrypt, decrypt } from '@/utils/jsencrypt'
-
-  export default {
-    name: "Login",
-    data() {
-      return {
-        isUsername:false,
-        isPassword:false,
-        isValidCode:false,
-        codeUrl: "",
-        cookiePassword: "",
-        loginForm: {
-          username: "",
-          password: "",
-          rememberMe: false,
-          code: "",
-          uuid: ""
-        },
-        loginRules: {
-          username: [
-            { required: true, trigger: "blur", message: "用户名不能为空" }
-          ],
-          password: [
-            { required: true, trigger: "blur", message: "密码不能为空" }
-          ],
-          code: [{ required: true, trigger: "change", message: "验证码不能为空" }]
-        },
-        loading: false,
-        redirect: undefined,
-        bg:bgImg,
-        logo:logoImg,
-        erp:false,
-        ERPloading:true,
+import bgImg from "@/assets/images/bg.png";
+import logoImg from "@/assets/logo/logo-b.png";
+import { getCodeImg } from "@/api/login";
+import Cookies from "js-cookie";
+import { encrypt, decrypt } from '@/utils/jsencrypt'
 
-      };
-    },
-    watch: {
-      $route: {
-        handler: function(route) {
-          this.redirect = route.query && route.query.redirect;
-        },
-        immediate: true
+export default {
+  name: "Login",
+  data() {
+    return {
+      erp:false,
+      ERPloading:true,
+      passwordtxt:"password",
+      bg:bgImg,
+      logo:logoImg,
+      codeUrl: "",
+      cookiePassword: "",
+      loginForm: {
+        username: "admin",
+        password: "12345678",
+        rememberMe: false,
+        code: "",
+        uuid: ""
+      },
+      loginRules: {
+        username: [
+          { required: true, trigger: "blur", message: "请输入您的账号" }
+        ],
+        password: [
+          { required: true, trigger: "blur", message: "请输入您的密码" }
+        ],
+        code: [{ required: true, trigger: "change", message: "请输入验证码" }]
+      },
+      loading: false,
+      // 验证码开关
+      captchaOnOff: false,
+      // 注册开关
+      register: false,
+      redirect: undefined
+    };
+  },
+  watch: {
+    $route: {
+      handler: function(route) {
+        this.redirect = route.query && route.query.redirect;
+      },
+      immediate: true
+    }
+  },
+  created() {
+    this.getUrl()
+  },
+  methods: {
+    getUrl(){
+      let url = this.$route.query
+      if(url.username && url.password){
+        let data = {username:url.username,password:url.password}
+        this.handleLoginERP(data)
+      }else{
+        this.getCode();
+        this.getCookie();
       }
     },
-    created() {
-      this.getUrl()
-    },
-    methods: {
-      getUrl(){
-        let url = this.$route.query
-        if(url.username && url.password){
-          let data = {username:url.username,password:url.password}
-          if(url.path){
-            if(url.path == "subsystem"){
-              Cookies.set("path","subsystem")
-            }
-            if(url.path == "hostEquipment"){
-              Cookies.set("path","hostEquipment")
-            }
-            if(url.path == "functionalInterface"){
-              Cookies.set("path","functionalInterface")
-            }
-          }
-          this.handleLoginERP(url)
-        }else{
-          this.getCode();
-          this.getCookie();
-        }
-      },
-      handleLoginERP(data) {//erp登录
-        this.$store.dispatch("LoginERP", data).then((res) => {
-          if(Cookies.get("path") === "subsystem"){
-            this.$router.push({ path: "/business/Middleware/subsystem" });
-          }
-          if(Cookies.get("path") === "hostEquipment"){
-            this.$router.push({ path: "/business/Middleware/hostEquipment" });
-          }
-          if(Cookies.get("path") === "functionalInterface"){
-            this.$router.push({ path: "/business/Middleware/functionalInterface" });
-          }
+    eyeTab(){
+      if(this.passwordtxt == "password"){
+        this.passwordtxt = "text"
+      }else{
 
-        }).catch((err) => {
-          location.href = '/deviceManager/#/';
-        });
-      },
-      getCode() {
-        getCodeImg().then(res => {
+        this.passwordtxt = "password"
+      }
+
+    },
+    getCode() {
+      getCodeImg().then(res => {
+        this.captchaOnOff = res.captchaOnOff === undefined ? true : res.captchaOnOff;
+        if (this.captchaOnOff) {
           this.codeUrl = "data:image/gif;base64," + res.data.img;
           this.loginForm.uuid = res.data.uuid;
           this.erp = true
           setTimeout(()=>{
             this.ERPloading = false
-          },1)
-        });
-      },
-      getCookie() {
-        const username = Cookies.get("username");
-        const password = Cookies.get("password");
-        const rememberMe = Cookies.get('rememberMe')
-        this.loginForm = {
-          username: username === undefined ? this.loginForm.username : username,
-          password: password === undefined ? this.loginForm.password : decrypt(password),
-          rememberMe: rememberMe === undefined ? false : Boolean(rememberMe)
-        };
-      },
-      handleLogin() {
-        this.$refs.loginForm.validate(valid => {
-          if (valid) {
-            this.loading = true;
-            if (this.loginForm.rememberMe) {
-              Cookies.set("username", this.loginForm.username, { expires: 30 });
-              Cookies.set("password", encrypt(this.loginForm.password), { expires: 30 });
-              Cookies.set('rememberMe', this.loginForm.rememberMe, { expires: 30 });
-            } else {
-              Cookies.remove("username");
-              Cookies.remove("password");
-              Cookies.remove('rememberMe');
+          },)
+        }
+      });
+    },
+    getCookie() {
+      const username = Cookies.get("username20220808");
+      const password = Cookies.get("password20220808");
+      const rememberMe = Cookies.get('rememberMe20220808')
+      this.loginForm = {
+        username: username === undefined ? this.loginForm.username : username,
+        password: password === undefined ? this.loginForm.password : decrypt(password),
+        rememberMe: rememberMe === undefined ? false : Boolean(rememberMe)
+      };
+    },
+    handleLogin() {
+      this.$refs.loginForm.validate(valid => {
+        if (valid) {
+          this.loading = true;
+          this.$store.dispatch("Login", this.loginForm).then((res) => {
+            this.$router.push({ path: "/Middleware/bpmn"}).catch(()=>{});
+          }).catch(() => {
+            this.loading = false;
+            if (this.captchaOnOff) {
+              this.getCode();
             }
-            this.$store
-              .dispatch("Login", this.loginForm)
-              .then(() => {
-                this.$router.push({ path: "/Middleware/bpmn/index" });
-                //this.$router.push({ path: this.redirect || "/" });
-              })
-              .catch(() => {
-                this.loading = false;
-                this.getCode();
-              });
-          }
-        });
+          });
+        }
+      });
+    },
+    memory(){
+      if (this.loginForm.rememberMe) {
+        Cookies.set("username20220808", this.loginForm.username, { expires: 30 });
+        Cookies.set("password20220808", encrypt(this.loginForm.password), { expires: 30 });
+        Cookies.set('rememberMe20220808', this.loginForm.rememberMe, { expires: 30 });
+      } else {
+        Cookies.remove("username20220808");
+        Cookies.remove("password20220808");
+        Cookies.remove('rememberMe20220808');
       }
-    }
-  };
+    },
+    // handleLoginERP(data) {//erp登录
+    //   this.$store.dispatch("LoginERP", data).then((res) => {
+    //     this.$router.push({ path: "/index"}).catch(()=>{});
+    //   }).catch((err) => {
+    //     location.href = '/center/#/';
+    //   });
+    // }
+  }
+};
 </script>
 
-<style rel="stylesheet/scss" lang="scss">
+<style  lang="scss" scoped>
 .bg{
   width:100%;
   height:100%;
@@ -233,142 +221,101 @@
     z-index: -1;
   }
 }
-.logoImg{
+.logo{
   width:100%;
   position: fixed;
   top:0;
-  z-index: 1;
   img{
     width:152px;
     margin:10px 2rem 0 20px;
     vertical-align: middle;
   }
-  .logoTxt{
+  .logo_txt{
     font-size: 1.5rem;
     color:#fff;
     vertical-align: middle;
     letter-spacing: 4px;
   }
 }
-  .login {
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    height: 100%;
-    // background-color: #0D1D30;
-    position: relative;
+.login {
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  height: 100%;
+  // background-image: url("../assets/images/login-background.jpg");
+  background-size: cover;
+}
+.title {
+  margin: 0px auto 30px auto;
+  text-align: left;
+  color: #000000;
+  font-size: 20px;
+  span{
+    margin-left:10px;
+    opacity: 0.25;
   }
+}
 
-  .main{
-    position: relative;
-    width: 940px;
-    height: 495px;
-    background:rgba(25,41,59,1);
-    border-radius:12px;
-    box-shadow:0px 2px 12px 0px rgba(9,23,39,1);
-    color:rgba(255,255,255,1);
-    .img1{
-      position:absolute;
-      top: 46px;
-      left: 53px;
-      width: 110px;
-    }
-    .img2{
-      position:absolute;
-      top: 63px;
-      left: 132px;
-      width: 348px;
-      height: 299px;
-    }
-    h3{
-      margin-left: 52px;
-      margin-top: 383px;
-      margin-bottom: 0;
-      font-size:32px;
-
-    }
-    h4{
-      margin-left: 52px;
-      font-size:24px;
-      margin-top: 16px;
-    }
-    .login-form {
-      position:absolute;
-      right: 0;
-      top: 0;
-      border-radius: 6px;
-      background: #ffffff;
-      width: 299px;
-      height: 495px;
-      padding: 58px 33px 33px 33px;
-      .title {
-        width:85px;
-        font-size:20px;
-        margin: 0px auto 62px auto;
-        border-bottom: 3px rgba(27,74,127,1) ridge;
-        text-align: center;
-        color: #333333;
-        padding-bottom: 8px;
-      }
-      .el-input {
-        height: 32px;
-        input:focus  {
-          color:rgba(6,104,185,1);
-        }
-
-        input {
-          outline:none;
-          height: 38px;
-          border-top: 0;
-          border-left: 0;
-          border-right: 0;
-          border-radius:0;
-        }
-
-      }
-      .color-class{
-        color:rgba(6,104,185,1);
-      }
-      .input-icon {
-        height: 39px;
-        width: 19px;
-        margin-left: 2px;
-      }
+.login-form {
+  border-radius: 6px;
+  background: #ffffff;
+  width: 456px;
+  padding: 63px 35px;
+  .el-input {
+    height: 40px;
+    font-size: 16px !important;
+    input {
+      height: 40px;
     }
   }
-
-
-
-
-  .login-code {
-    position:absolute;
-    width: 88px;
-    height: 32px;
-    right: 0;
-    bottom: 8px;
-    img {
-      width: 88px;
-      height: 32px;
-      cursor: pointer;
-      vertical-align: middle;
-    }
+  .input-icon {
+    height: 39px;
+    width: 14px;
+    margin-left: 2px;
   }
-  .el-login-footer {
-    height: 40px;
-    line-height: 40px;
-    position: absolute;
-    transform: translateY(273px);
-    width: 100%;
-    text-align: center;
-    color: #fff;
-    font-family: Arial;
-    font-size: 12px;
-    letter-spacing: 1px;
-    span{
-      img{
-        height: 12px;
-      }
-    }
+}
+.login-tip {
+  font-size: 13px;
+  text-align: center;
+  color: #bfbfbf;
+}
+.login-code {
+  width: 33%;
+  height: 36px;
+  float: right;
+  img {
+    cursor: pointer;
+    vertical-align: middle;
+    width:100%;
+    height: 36px;
+    margin-top:-1px;
   }
+}
+.el-login-footer {
+  height: 40px;
+  line-height: 40px;
+  position: fixed;
+  bottom: 0;
+  width: 100%;
+  text-align: center;
+  color: #fff;
+  font-family: Arial;
+  font-size: 12px;
+  letter-spacing: 1px;
+}
+::v-deep .el-input__inner{
+  height:36px !important;
+  line-height: 36px !important;
+}
+</style>
+<style>
+html,
+body,
+#app {
+    height: 100%;
+    margin: 0px;
+    padding: 0px;
+    background-color: transparent !important;
 
+}
 </style>

+ 1 - 1
vue.config.js

@@ -6,7 +6,7 @@ function resolve(dir) {
     return path.join(__dirname, dir)
 }
 
-const name = defaultSettings.title || '中控管理系统' // 标题
+const name = defaultSettings.title || '智慧园区场景管理' // 标题
 
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
 

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott