Explorar o código

数字资源 地质灾害易发区

wangzhe %!s(int64=2) %!d(string=hai) anos
pai
achega
6bfce3f873
Modificáronse 3 ficheiros con 10 adicións e 2 borrados
  1. 8 0
      src/api/bigdata.js
  2. 1 1
      src/views/bigdata/bigdata.vue
  3. 1 1
      src/views/bigdata/chart-farmtype.vue

+ 8 - 0
src/api/bigdata.js

@@ -34,6 +34,14 @@ export function getLcfbtj() {
   })
 }
 
+// 地质灾害易发区
+export function get5() {
+  return request({
+    url: '/center-resources/VisuForestCloudBigDataController/getHazardResources',
+    method: 'post',
+  })
+}
+
 //土地资源管理信息--雷达图
 export function getQhyytj(param) {
   //暂时传当年,以后再说

+ 1 - 1
src/views/bigdata/bigdata.vue

@@ -100,7 +100,7 @@
         <!--</div>-->
         <div class="b-con mg-b-20 b-49">
           <div class="b-tit"><img src="@/assets/images/integrated/bigdata-tit-icon.png">
-            <span>偷钓偷捕事件分析</span>
+            <span>地质灾害易发区</span>
           </div>
           <chartPitG5></chartPitG5>
         </div>

+ 1 - 1
src/views/bigdata/chart-farmtype.vue

@@ -27,7 +27,7 @@
       getPitG5(){
         let that = this
         get5().then(resp =>{
-          console.log("偷钓偷捕事件分析", resp.data)
+          console.log("地质灾害易发区", resp.data)
           that.source = resp.data
           that.data = []
           for (let i = 0; i < resp.data.length; i++) {