| 1234567891011121314151617181920212223242526272829303132 | 
							- <template>
 
-     <div>
 
-         <basic-map :height="height||mapHeight" layersUrl='/resManager.catalog/rescatalog/resList'
 
-                    queryUrl="querymanage/querymanage/list" toolbar></basic-map>
 
-     </div>
 
- </template>
 
- <script>
 
- import BasicMap from '@/components/BasicMap/BasicMap.vue';
 
- import {getAction} from "../../api/manage";
 
- export default {
 
-     name: 'mapIndex',
 
-     props:{
 
-         height: {
 
-             type: String
 
-         }
 
-     },
 
-     data(){
 
-         return{
 
-            mapHeight:null
 
-         }
 
-     },
 
-     components: {
 
-         BasicMap
 
-     },
 
-     beforeMount() {
 
-         let calcHeight = window.document.documentElement.clientHeight - 156;
 
-         this.mapHeight = calcHeight.toString()+'px';
 
-     }
 
- };
 
- </script>
 
 
  |