wenhongquan 3 anni fa
parent
commit
23d0b25d06

+ 1 - 1
src/components/HeaderDiv/index.vue

@@ -53,7 +53,7 @@ export default {
       }else if(index == 5){
            this.$router.push('/public')
       }else if(index == 6){
-           this.$router.push('/index')
+           this.$router.push('/qdlt/area')
       }else if(index == 7){
            this.$router.push('/introduction')
       }

+ 1 - 1
src/components/map/index.vue

@@ -134,7 +134,7 @@ export default {
       pointObj:{type:Object},
       isEdit:false,
       isLine:false,
-      lineLocations:{type:Array,default:[]},
+      // lineLocations:{type:Array,default:[]},
   },
   dicts: ['tl_static_type','tl_area_type','tl_dt_type'],
   data() {

+ 3 - 3
src/router/index.js

@@ -70,8 +70,8 @@ export const constantRoutes = [{
         children: [{
             path: "index",
             component: () =>
-                import ("@/views/index"),
-            name: "Index"
+                import ("@/views/qdtl/area"),
+            name: "Index",
         }, ],
     },
     {
@@ -197,4 +197,4 @@ export default new Router({
     mode: 'hash', // 去掉url中的#
     scrollBehavior: () => ({ y: 0 }),
     routes: constantRoutes
-})
+})

+ 5 - 5
src/views/introduction/index.vue

@@ -71,7 +71,7 @@ export default {
             this.$refs.mapdiv.iconSelect = index
         },
          getTrain(){
-                  this.$refs.mapdiv.addPoint('video.png');            
+                  this.$refs.mapdiv.addPoint('video.png');
          },
          getResource(){
                getResource({date:'2022-03-12'}).then(response =>{
@@ -98,7 +98,7 @@ export default {
                              bridgeArry.push(obj);
                          }else if(obj.areaType == '4'){
                              obj.name = obj.areaName
-                             railArry.push(obj);   
+                             railArry.push(obj);
                          }
                      }
                      for(var index in areaList){
@@ -133,7 +133,7 @@ export default {
                         var json = JSON.parse(data.data);
                          this.$refs.mapdiv.addPoints(json.data.list,'video.png',0.6,'video');
                   });
-              
+
          }
 
     }
@@ -159,7 +159,7 @@ export default {
 
 
   .item{
-    width: 27%;
+    width: 33%;
     text-align: center;
     justify-content: center;
     position: relative;
@@ -169,7 +169,7 @@ export default {
     }
   }
    .item1{
-    width: 23%;
+    width: 33%;
   }
   .item2::after{
     content: "";