Browse Source

新增client-sensor-v3

liangzhicheng 2 years ago
parent
commit
12b8c47687
4 changed files with 20 additions and 1 deletions
  1. 2 1
      package.json
  2. 1 0
      src/main.js
  3. 2 0
      src/routes/index.js
  4. 15 0
      src/routes/route-sensor-v3.js

+ 2 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "prodog-pc-client",
   "description": "Leanwo Prodog Client",
-  "version": "1.0.77",
+  "version": "1.0.78",
   "author": "yangzhijie1488 <yangzhijie1488@163.com>",
   "scripts": {
     "dev": "cross-env webpack serve --config ./webpack.dev.js",
@@ -23,6 +23,7 @@
     "client-eam-v3": "^3.0.39",
     "client-role-v3": "^3.0.8",
     "client-trace-v3": "^1.0.20",
+    "client-sensor-v3": "^1.0.1",
     "client-wms-v3": "^3.0.4",
     "dayjs": "^1.11.6",
     "dingtalk-jsapi": "^2.8.33",

+ 1 - 0
src/main.js

@@ -36,6 +36,7 @@ import 'client-dic-v3/dist/client-dic-v3.css';
 import 'client-eam-v3/dist/client-eam-v3.css';
 import 'client-wms-v3/dist/client-wms-v3.css';
 import 'client-trace-v3/dist/client-trace-v3.css';
+import 'client-sensor-v3/dist/client-sensor-v3.css';
 
 
 import { store } from './store.js';

+ 2 - 0
src/routes/index.js

@@ -7,6 +7,7 @@ import routes3 from './route-dic-v3.js';
 import routes5 from './route-eam-v3.js';
 import routes6 from './route-wms-v3.js';
 import routes7 from './route-trace-v3.js';
+import routes8 from './route-sensor-v3.js';
 
 import merge from '../merge.js';
 
@@ -16,6 +17,7 @@ routes = merge.mergeArray(routes, routes3);
 routes = merge.mergeArray(routes, routes5);
 routes = merge.mergeArray(routes, routes6);
 routes = merge.mergeArray(routes, routes7);
+routes = merge.mergeArray(routes, routes8);
 
 const router = createRouter({
   history: createWebHashHistory(),

+ 15 - 0
src/routes/route-sensor-v3.js

@@ -0,0 +1,15 @@
+import{
+    HumitureChart,
+    HumitureWarningChart
+} from 'client-sensor-v3/dist/client-sensor-v3.js'
+
+const routes = [
+
+    //项目管理员列表
+    { path: '/sensor/HumitureChart', component: HumitureChart},
+    // 已完成项目追踪
+    { path: '/sensor/HumitureWarningChart', component: HumitureWarningChart},
+      
+  ];
+
+export default routes;