Browse Source

添加参数

zpf 9 months ago
parent
commit
1557a2746a
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/siteselection/components/dkDetailsNew.vue

+ 4 - 1
src/views/siteselection/components/dkDetailsNew.vue

@@ -67,6 +67,7 @@ export default {
   },
   methods: {
     async show(item, title) {
+      console.log('item: ', item);
 
 
       this.title = title;
@@ -93,7 +94,7 @@ export default {
     },
     setEchart(data, type, index) {
       this.$nextTick(() => {
-        let max =7
+        let max = 7
         let legend_right = "4%"
         this.$refs.ghxz_pie[index].setOptions({ data, type, max, legend_right });
       });
@@ -102,7 +103,9 @@ export default {
       this.rawData = [];
       this.tabs_list.forEach(async element => {
         if (element.tableName == tab.name) {
+
           let pane_obj = {
+            sourceDataId: this.optional.landIds.join(','),
             sourcePolygonWkt: this.optional.geom.split(";")[1],
             // sourcePolygonWkt: 'POLYGON((109.49712143164533 18.309279728765855,109.49711192926624 18.310380990351096,109.49711161665255 18.310417116323478,109.4972007070708 18.31050362418087,109.49850056210042 18.310513852191068,109.49859113294231 18.31042875918721,109.49859144375941 18.31039263236441,109.4986014051776 18.309237180686633,109.4984888696287 18.309127909086385,109.49725521594395 18.30911820207864,109.49712174425906 18.30924360340898,109.49712143164533 18.309279728765855))',