Explorar el Código

Merge remote-tracking branch 'origin/master'

sugb hace 10 meses
padre
commit
1b73a3641a

+ 1 - 1
src/views/system/UserAnnouncementList.vue

@@ -35,7 +35,7 @@
       ref="table"
       size="default"
       bordered
-      :rowKey="(record,index)=>{return infffffffdex}"
+      :rowKey="(record,index)=>{return index}"
       :columns="columns"
       :dataSource="dataSource"
       :pagination="ipagination"

+ 18 - 3
src/views/tj/compoent/map3Data.vue

@@ -29,8 +29,9 @@ export default {
       tem_areaData: "",//临时数据
       areaUrl: "",
       options: {},
-      myTool1_show: false
-
+      myTool1_show: false,
+      rangeMax: 200,
+      rangeMin: 0,
     }
   },
   mounted() {
@@ -48,6 +49,11 @@ export default {
           }
           this.getPie()
         })
+        // 获取组件允许最大值
+        // this.rangeMax = Math.max.apply(Math, newVal.map(item => item.value));
+        // 获取组件允许最小值
+        // this.rangeMin = Math.min.apply(Math, newVal.map(item => item.value));
+
       }
     },
     tem_data: {
@@ -57,6 +63,7 @@ export default {
           this.tem_resultMapData = oldVal
           this.getPie()
         }
+
       }
 
     }
@@ -110,6 +117,11 @@ export default {
       document.oncontextmenu = function () {
         return false;
       };
+      // 获取组件允许最大值
+      this.rangeMax = Math.max.apply(Math, this.tem_data.map(item => item.value));
+      // 获取组件允许最小值
+      this.rangeMin = Math.min.apply(Math, this.tem_data.map(item => item.value));
+
       // 显示 loading 动画
       myChart.showLoading();
       myChart.on("contextmenu", (params) => {
@@ -217,7 +229,9 @@ export default {
           text: ['高', '低'],
           showLabel: false,
           seriesIndex: [0],
-
+          // min: 0,
+          min: this.rangeMin,
+          max: this.rangeMax,
           inRange: {
             color: ['#ADD6F1', '#26AEFB', '#0290EB'] // 渐变颜色
           },
@@ -266,6 +280,7 @@ export default {
         }]
       };
       myChart.clear();
+      console.log("tem_data", this.tem_data);
       myChart.setOption(this.options, true);
       myChart.resize();
       //地图的点击事件

+ 13 - 2
src/views/tj/sjtjModules.vue

@@ -600,7 +600,7 @@ export default {
       }
     },
 
-
+    // 顶部四大卡片数据查询
     getAreaData() {
       getAction("/qcsb.qyxx/qcQyxx/sbdkmj").then(res => {
         if (res.code == 200) {
@@ -620,6 +620,7 @@ export default {
         }
       })
     },
+    // 省属企业土地获取方式占比
     getPieData() {
       getAction("/qcsb.qyxx/qcQyxx/tdhqfs", {xzqh: this.tem_xzqh}).then(res => {
         if (res.code == 200) {
@@ -634,6 +635,7 @@ export default {
     //     }
     //   })
     // },
+    // 省属企业土地地块面积获取方式占比
     getPieData2() {
       getAction("/qcsb.qyxx/qcQyxx/tdhqfsArea", {xzqh: this.tem_xzqh}).then(res => {
         if (res.code == 200) {
@@ -641,6 +643,7 @@ export default {
         }
       })
     },
+    // 省直单位土地获取方式占比
     getPieDatasz() {
       getAction("/qcsb.qyxx/qcQyxx/tdhqfssz", {xzqh: this.tem_xzqh}).then(res => {
         if (res.code == 200) {
@@ -648,6 +651,7 @@ export default {
         }
       })
     },
+    // 省直单位权证登记比例情况
     getDougatass() {
       getAction("/qcsb.qyxx/qcQyxx/qzdjblss", {xzqh: this.tem_xzqh}).then(res => {
         if (res.code == 200) {
@@ -656,6 +660,7 @@ export default {
       })
 
     },
+    // 省属企业权证登记比例情况
     getDougatasz() {
       getAction("/qcsb.qyxx/qcQyxx/qzdjblsz", {xzqh: this.tem_xzqh}).then(res => {
         if (res.code == 200) {
@@ -664,7 +669,7 @@ export default {
         }
       })
     },
-    //统计-土地使用现状占比
+    //统计-土地使用现状占比/省属企业土地使用现状占比
     getTdsyxzDougatasz() {
       getAction("/qcsb.qyxx/qcQyxx/tdsyxzzb", {xzqh: this.tem_xzqh}).then(res => {
         if (res.code == 200) {
@@ -672,6 +677,7 @@ export default {
         }
       })
     },
+    // 省直单位土地批准用途情况
     getBarsz() {
       getAction("/qcsb.qyxx/qcQyxx/sjyttjsz", {xzqh: this.tem_xzqh}).then(res => {
         if (res.code == 200) {
@@ -680,6 +686,7 @@ export default {
       })
 
     },
+    // 省属企业土地实际用途情况
     getBarss() {
       getAction("/qcsb.qyxx/qcQyxx/sjyttjss", {xzqh: this.tem_xzqh}).then(res => {
         if (res.code == 200) {
@@ -694,6 +701,7 @@ export default {
         })
 
     },
+    // 省直单位地块统计
     getMapSzData() {
       getAction("/qcsb.qyxx/qcQyxx/szdtdktj").then(res => {
         if (res.code == 200) {
@@ -703,6 +711,7 @@ export default {
       })
 
     },
+    // 省属企业地块统计
     getMapSsData() {
       getAction("/qcsb.qyxx/qcQyxx/ssdtdktj").then(res => {
         if (res.code == 200) {
@@ -710,6 +719,7 @@ export default {
         }
       })
     },
+    // 省属企业实际占用面积
     getBarssSjzyData() {
       getAction("/qcsb.qyxx/qcQyxx/sszytdmjtj", {xzqh: this.tem_xzqh}).then(res => {
         if (res.code == 200) {
@@ -718,6 +728,7 @@ export default {
         }
       })
     },
+    // 省直单位实际占用面积
     getBarszSjzyData() {
       getAction("/qcsb.qyxx/qcQyxx/szzytdmjtj", {xzqh: this.tem_xzqh}).then(res => {
         if (res.code == 200) {