瀏覽代碼

no message

XAWDJ0277HWXPT2\Administrator 5 年之前
父節點
當前提交
ccef081518

文件差異過大導致無法顯示
+ 0 - 1
web/css/chunk-27550a72.170aff88.css


文件差異過大導致無法顯示
+ 1 - 0
web/css/chunk-27550a72.99e14beb.css


文件差異過大導致無法顯示
+ 1 - 1
web/index.html


文件差異過大導致無法顯示
+ 2 - 2
web/js/app.c312860a.js


文件差異過大導致無法顯示
+ 1 - 1
web/js/app.c312860a.js.map


文件差異過大導致無法顯示
+ 2 - 0
web/js/chunk-27550a72.81fd3b05.js


文件差異過大導致無法顯示
+ 1 - 0
web/js/chunk-27550a72.81fd3b05.js.map


文件差異過大導致無法顯示
+ 0 - 2
web/js/chunk-27550a72.cb5bb79f.js


文件差異過大導致無法顯示
+ 0 - 1
web/js/chunk-27550a72.cb5bb79f.js.map


+ 21 - 1
webConfig/src/views/dashboard.vue

@@ -57,8 +57,9 @@
                     </div>
                 </div>
                 <div class="echarts_map_box">
-                    <div class="echarts_title"><img src="../img/iconfont/map.png"><span style="cursor: pointer;" @click="mapReturn()">Bangladesh Map</span></div>
+                    <div class="echarts_title"><img src="../img/iconfont/map.png"><span>Bangladesh Map</span></div>
                     <div class="echarts_map"></div>
+                    <div class="map_return" @click="mapReturn()" v-if="provinceId"><i class="el-icon-back"></i><span>{{mapType}}</span></div>
                 </div>
             </div>
             <div class="right_box">
@@ -324,6 +325,7 @@
                 pro_dev_count:[],
                 city_dev_count:[],
                 area_dev_count:[],
+                mapType:'',
 
                 loading:{
                     deviceList:false,
@@ -722,6 +724,7 @@
                     return
                 }
                 nameSuffix = 'District';
+                this.mapType = 'Bangladesh'
                 if(mapName == 'bangladesh'){
                     nameSuffix = 'Division';
                 }
@@ -730,6 +733,8 @@
                     nameSuffix = '';
                     cityName = 'area/'
                     mapName = mapName+'_3'
+                    // this.mapType = mapName+' Division';
+                    // this.mapType = mapName+' District';
                 }else{
                     cityName = ''
                 }
@@ -1061,6 +1066,7 @@
                 .echarts_map_box{
                     margin-top: 0.8rem;
                     border:0.08rem solid rgba(240,240,240,1);
+                    position: relative;
                     .echarts_title{
                         display: flex;
                         align-items: center;
@@ -1080,6 +1086,20 @@
                         width: 100%;
                         height: 38rem;
                     }
+                    .map_return{
+                        display: flex;
+                        align-items: center;
+                        position: absolute;
+                        top: 4rem;left: 1rem;
+                        height: 2rem;line-height: 2rem;
+                        background-color: #fc8940;
+                        cursor: pointer;
+                        padding: 0 0.5rem;
+                        color:#fff;
+                        i{
+                            margin: 0 0.5rem 0 0.5rem;
+                        }
+                    }
                 }
             }
             .right_box{