Răsfoiți Sursa

图表最大最小值

zpf 11 luni în urmă
părinte
comite
0b85723b6d

+ 3 - 2
src/views/cockpit/bjxm.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="bjxm">
     <div>
-      <Title :title="'报项目'" class="title_bjxm"></Title>
+      <Title :title="'报项目'" class="title_bjxm"></Title>
 
       <div class="selectTab">
         <el-select v-model="left_value" placeholder="请选择" :popper-append-to-body="false" @change="changeChartsLeft">
@@ -71,6 +71,7 @@ export default {
       };
       let res = await QueryOne(obj);
       this.sdata = res.data;
+      console.log('res.data: ', res.data);
     },
     async init_bjxm_echart_info(params) {
       const that = this;
@@ -238,7 +239,7 @@ export default {
           // },
           {
             min: 0,
-            max: 20,
+            max: 15,
             interval: 5,
             name: '项目数(个)',
             type: 'value',

+ 3 - 3
src/views/cockpit/common/DiscountedAColumnar.vue

@@ -111,7 +111,7 @@ export default {
                 },
                 grid: {
                     left: 0,
-                    right: 0,
+                    right: 10,
                     bottom: 20,
                     top: 30,
                     containLabel: true
@@ -141,7 +141,7 @@ export default {
                 yAxis: [
                     {
                         min: 0,
-                        max: 1200,
+                        max: 900,
                         interval: 200,
                         type: 'value',
                         name: '临时用地(公顷)',
@@ -170,7 +170,7 @@ export default {
                     },
                     {
                         min: 0,
-                        max: 1200,
+                        max: 900,
                         interval: 200,
                         name: '项目数(个)',
                         type: 'value',