Просмотр исходного кода

信息查询省直和省属统计图表权证统计信息修改

zhourj 6 месяцев назад
Родитель
Сommit
1e8a2e440a

+ 5 - 4
src/views/listStatistics/listTab.vue

@@ -19,6 +19,7 @@
             <j-vxe-table
               :columns="columns"
               :data-source="data"
+              :height="300"
             >
               <a slot="name" slot-scope="text">{{ text }}</a>
 
@@ -36,7 +37,7 @@
             <j-vxe-table
               :columns="areaColumns"
               :data-source="areaData"
-
+              :height="300"
             >
               <a slot="name" slot-scope="text">{{ text }}</a>
 
@@ -137,7 +138,7 @@ export default {
       pieResultData: [],
       DoughnutData: [],
       DoughnutResultData: [],
-      color1: ['#8c42a1', '#4fa5e7'],
+      color1: ['#8E42FF', '#FF6B6B', '#FF9B42', '#F0D418', '#2E64FF'],
       registerData: [],
 
       columns: [
@@ -258,12 +259,12 @@ export default {
           this.areaData.push({type: key.toString(), number: this.pieArea[key].toFixed(2)})
         }
         for (let key in this.DoughnutData) {
-          if (key != '证书') {
+          if (key != '证书' && key!='待核实') {
             this.number = this.number + this.DoughnutData[key]
           }
           this.registerData.push({type: key.toString(), number: this.DoughnutData[key]})
         }
-        this.DoughnutResultData.push({name: '有证', value: this.DoughnutData['证书']},
+        this.DoughnutResultData.push({name: '有证', value: this.DoughnutData['证书']},{name: '待核实', value: this.DoughnutData['待核实']},
           {name: '无证', value: this.number})
 
         for (let key in this.doughnutByXzData) {

+ 12 - 3
src/views/listStatistics/listTabBySz.vue

@@ -135,10 +135,11 @@ export default {
     return {
       pieData: {},
       number: 0,
+      yznumber:0,
       pieResultData: [],
       DoughnutData: [],
       DoughnutResultData: [],
-      color1: ['#8c42a1', '#4fa5e7'],
+      color1: ['#8E42FF', '#FF6B6B', '#FF9B42', '#F0D418', '#2E64FF'],
       registerData: [],
       columns: [
         {
@@ -258,12 +259,20 @@ export default {
         }
 
         for (let key in this.DoughnutData) {
-          if (key != '证书') {
+          if(key === '不动产权证书')
+          {
+            this.yznumber=this.yznumber + this.DoughnutData[key];
+          }
+          else if(key === '国有土地使用证')
+          {
+            this.yznumber=this.yznumber + this.DoughnutData[key];
+          }
+          else{
             this.number = this.number + this.DoughnutData[key]
           }
           this.registerData.push({ type: key.toString(), number: this.DoughnutData[key] })
         }
-        this.DoughnutResultData.push({ name: '有证', value: this.DoughnutData['证书'] },
+        this.DoughnutResultData.push({ name: '有证',value: this.yznumber },
           { name: '无证', value: this.number })
 
         for (let key in this.doughnutByXzData) {

+ 1 - 1
src/views/tj/sjtjModules.vue

@@ -401,7 +401,7 @@ export default {
       tem_xzqhmc: "",
       paramSz: "",
       resData2: [],
-      color: ['#00e4ff', '#8E42FF', '#FF6B6B', '#FF9B42', '#F0D418', '#2E64FF'],
+      color: ['#8E42FF', '#FF6B6B', '#FF9B42', '#F0D418', '#2E64FF'],
       color1: ['#ff8c37', '#a181fc','#fd6f97','#389af4'],
       resData1:
         [                  //每个模块的名字和值