diff --git a/.gitignore b/.gitignore
index ba7a2d8..eab9941 100644
--- a/.gitignore
+++ b/.gitignore
@@ -96,4 +96,6 @@ fabric.properties
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
+package-lock.json
+node_modules/
monitor-ui/
diff --git a/package.json b/package.json
index 3eb3e10..05884a5 100644
--- a/package.json
+++ b/package.json
@@ -17,6 +17,7 @@
"axios": "^0.24.0",
"bpmn-js": "^9.2.2",
"core-js": "^2.6.12",
+ "echarts": "^5.4.2",
"ejs": "^2.7.4",
"element-ui": "2.15.13",
"js-cookie": "2.2.0",
@@ -33,8 +34,8 @@
"vue-router": "3.0.6",
"vuex": "3.1.0",
"vuex-persistedstate": "^4.0.0",
- "xcrud": "^0.4.19",
- "web-control": "^1.0.2"
+ "web-control": "^1.0.2",
+ "xcrud": "^0.4.19"
},
"devDependencies": {
"@vue/cli-plugin-babel": "4.4.4",
diff --git a/public/image/yujing.png b/public/image/yujing.png
new file mode 100644
index 0000000..dea6d73
Binary files /dev/null and b/public/image/yujing.png differ
diff --git a/src/views/index.vue b/src/views/index.vue
index 74059ff..48a0e16 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -1,5 +1,5 @@
-
+
@@ -10,8 +10,8 @@
正常:26
-
离线:12
-
报警:11
+
离线:12
+
报警:11
@@ -24,8 +24,8 @@
正常:36
-
离线:16
-
+
离线:16
+
@@ -38,8 +38,8 @@
正常:38
-
离线:15
-
报警:12
+
离线:15
+
报警:12
@@ -52,8 +52,8 @@
正常:26
-
离线:12
-
报警:11
+
离线:12
+
报警:11
@@ -66,8 +66,8 @@
正常:39
-
离线:15
-
报警:12
+
离线:15
+
报警:12
@@ -86,7 +86,7 @@
@@ -96,7 +96,7 @@
-
+
电子围栏
@@ -113,7 +113,7 @@
-
-
+
+
待办
更多>
@@ -170,295 +170,364 @@
-
+
+ background-color: #07C160;
+ }
+
+ .iconbox_blue {
+ background-color: #3f9bfa;
+ }
+
+ .iconbox_zi {
+ background-color: #6421ff;
+ }
+
+ .iconbox_fen {
+ background-color: #9b2efb;
+ }
+
+ .tops .topbox .mids .rights {
+ flex: 1;
+ padding: 2px 0 2px 10px;
+ }
+
+ .tops .topbox .mids .rights .note {
+ color: #333;
+ font-size: 14px;
+ padding: 0 0 3px 0;
+ }
+
+ .tops .topbox .mids .rights .note span {
+ font-size: 20px;
+ padding: 0 5px;
+ }
+
+ /* 饼图部分 */
+ .tbars {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ align-items: flex-start;
+ margin: 0;
+ padding: 20px 0 0 0;
+ }
+
+ .tbar {
+ width: 25%;
+ margin: 0 20px 0 0;
+ background-color: #fff;
+ box-shadow: 0px 0px 10px #E9E9E9;
+ border-radius: 5px;
+ padding: 10px;
+ }
+
+ .tbar:last-of-type {
+ margin: 0;
+ }
+
+ .tbar0 {
+ border-bottom: 0px solid #032ab8;
+ }
+
+ .tbar .title {
+ font-size: 20px;
+ padding: 10px 20px;
+ font-weight: bold;
+ color: #333;
+ font-size: 16px;
+ border-bottom: 1px solid #ececee;
+ }
+
+ .tbar .title span {
+ padding: 0 10px 0 0;
+ }
+
+ .tbar .bar {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ align-items: center;
+ margin: 0;
+ padding: 0px;
+ height: 190px;
+
+ }
+
+ .con {
+ padding: 20px 0;
+ display: flex;
+ flex-direction: row;
+ flex-wrap: nowrap;
+ justify-content: space-around;
+ }
+
+ .news {
+ width: 25%;
+ margin: 0 20px 0 0;
+ background-color: #fff;
+ box-shadow: 0px 0px 10px #E9E9E9;
+ border-radius: 5px;
+ padding: 10px;
+ }
+
+ .news:last-of-type {
+ margin: 0;
+ }
+
+ .news .title {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: nowrap;
+ justify-content: space-between;
+ align-items: center;
+ padding: 10px 10px 10px 20px;
+ border-bottom: 1px solid #ececee;
+ }
+
+ .news .title .newstits {
+ font-weight: bold;
+ color: #333;
+ font-size: 16px;
+ }
+
+ .news .title .more {
+ text-align: right;
+ cursor: pointer;
+ color: #6c6a6a;
+ font-size: 14px;
+ }
+
+ .news .content {
+ padding: 10px 0;
+ height: 210px;
+ overflow: hidden;
+ }
+
+ .news .content .newsli {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: nowrap;
+ justify-content: space-between;
+ margin: 0px 0px;
+ padding: 5px 10px;
+ border-bottom: 1px solid #ececee;
+ }
+
+ .news .content .newsli .dot {
+ padding: 0px 8px 0 0;
+ font-size: 18px;
+ height: 25px;
+ line-height: 25px;
+ color: #047cf7;
+ }
+
+ .news .content .newsli .tit {
+ padding: 0px 0;
+ font-size: 14px;
+ flex: 3;
+ height: 25px;
+ overflow: hidden;
+ line-height: 25px;
+ cursor: pointer;
+ }
+
+ // .news .content .newsli .tel{padding: 10px 0;color: #84d1f5;flex: 1;text-align: center;}
+ .news .content .newsli .time {
+ padding: 0px 0;
+ color: #666666;
+ text-align: right;
+ font-size: 14px;
+ width: 100px;
+ height: 25px;
+ line-height: 25px;
+ }
+
\ No newline at end of file
diff --git a/src/views/shebeirizhi/shebeirizhiList.vue b/src/views/shebeirizhi/shebeirizhiList.vue
index 652fbc8..fe920cb 100644
--- a/src/views/shebeirizhi/shebeirizhiList.vue
+++ b/src/views/shebeirizhi/shebeirizhiList.vue
@@ -12,7 +12,7 @@
maxlength="20">
-
+
diff --git a/src/views/shebeitaizhang/shebeitaizhangList.vue b/src/views/shebeitaizhang/shebeitaizhangList.vue
index bb23c49..ccc01f1 100644
--- a/src/views/shebeitaizhang/shebeitaizhangList.vue
+++ b/src/views/shebeitaizhang/shebeitaizhangList.vue
@@ -43,7 +43,7 @@
-
+
diff --git a/vue.config.js b/vue.config.js
index 35f96af..2cb6d66 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -24,7 +24,7 @@ module.exports = {
*在大多数情况下,请使用“/”!!!
*详细信息:https://cli.vuejs.org/config/#publicpath
*/
- publicPath: process.env.NODE_ENV === 'production' ? '/monitor/' : '/',
+ publicPath: process.env.NODE_ENV === 'production' ? '/' : '/',
outputDir: 'monitor-ui',
assetsDir: 'static',
lintOnSave: process.env.NODE_ENV === 'development',