Ver Fonte

首页统计:添加面积数

chengbeibei há 9 meses atrás
pai
commit
03f1ef42d8
1 ficheiros alterados com 30 adições e 18 exclusões
  1. 30 18
      src/views/dashboard/IndexChart.vue

+ 30 - 18
src/views/dashboard/IndexChart.vue

@@ -33,12 +33,12 @@
                 </chart-card>
               </a-col>
               <a-col  :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="sbdks">
-                <chart-card v-if="this.yhjs=='shyh'" :loading="loading" title="上报地块数(省属企业)" :total="this.sbdks">
+                <chart-card v-if="this.yhjs=='shyh'" :loading="loading" title="上报地块数 | 面积 (省属企业)" :total="this.sbdks+' | '+this.sbdkmj+'㎡'">
                   <a-tooltip title="指标说明" slot="action">
                     <a-icon type="info-circle-o" />
                   </a-tooltip>
                 </chart-card>
-                <chart-card v-else  :loading="loading" title="上报地块数" :total="this.sbdks">
+                <chart-card v-else  :loading="loading" title="上报地块数 | 面积" :total="this.sbdks+' | '+this.sbdkmj+'㎡'">
                   <a-tooltip title="指标说明" slot="action">
                     <a-icon type="info-circle-o" />
                   </a-tooltip>
@@ -46,7 +46,7 @@
               </a-col>
 
               <a-col v-show="!this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="dqsbs">
-                <chart-card :loading="loading" title="审核通过数" :total="this.shtgs">
+                <chart-card :loading="loading" title="审核通过数 | 面积" :total="this.shtgs+' | '+this.shtgmj+'㎡'">
                   <a-tooltip title="指标说明" slot="action">
                     <a-icon type="info-circle-o" />
                   </a-tooltip>
@@ -55,7 +55,7 @@
             </a-row>
           <a-row :gutter="24" style="margin-top: 1%;margin-left: 5%">
               <a-col v-show="!this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="shbtg">
-                <chart-card :loading="loading" title="审核不通过(退回)" :total="this.cwth">
+                <chart-card :loading="loading" title="审核不通过(退回) | 面积" :total="this.cwth+' | '+this.cwthmj+'㎡'">
                   <a-tooltip title="指标说明" slot="action">
                     <a-icon type="info-circle-o" />
                   </a-tooltip>
@@ -63,12 +63,12 @@
                 </chart-card>
               </a-col>
               <a-col  :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="wshsl">
-                <chart-card  v-if="this.yhjs=='shyh'" :loading="loading" title="未审核地块数(省属企业)" :total="this.wshsl">
+                <chart-card  v-if="this.yhjs=='shyh'" :loading="loading" title="未审核地块数 | 面积 (省属企业)" :total="this.wshsl+' | '+this.wshsmj+'㎡'">
                   <a-tooltip title="指标说明" slot="action">
                     <a-icon type="info-circle-o" />
                   </a-tooltip>
                 </chart-card>
-                <chart-card v-else :loading="loading" title="未审核地块数" :total="this.wshsl">
+                <chart-card v-else :loading="loading" title="未审核地块数 | 面积" :total="this.wshsl+' | '+this.wshsmj+'㎡'">
                   <a-tooltip title="指标说明" slot="action">
                     <a-icon type="info-circle-o" />
                   </a-tooltip>
@@ -141,12 +141,12 @@
               </chart-card>
             </a-col>
             <a-col  :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="sbdks">
-              <chart-card v-if="this.yhjs=='shyh'" :loading="loading" title="上报地块数(省属企业)" :total="this.sbdks">
+              <chart-card v-if="this.yhjs=='shyh'" :loading="loading" title="上报地块数 | 面积 (省属企业)" :total="this.sbdks+' | '+this.sbdkmj+'㎡'">
                 <a-tooltip title="指标说明" slot="action">
                   <a-icon type="info-circle-o" />
                 </a-tooltip>
               </chart-card>
-              <chart-card v-else  :loading="loading" title="上报地块数" :total="this.sbdks">
+              <chart-card v-else  :loading="loading" title="上报地块数 | 面积" :total="this.sbdks+' | '+this.sbdkmj+'㎡'">
                 <a-tooltip title="指标说明" slot="action">
                   <a-icon type="info-circle-o" />
                 </a-tooltip>
@@ -154,7 +154,7 @@
             </a-col>
 
             <a-col v-show="!this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="dqsbs">
-              <chart-card :loading="loading" title="审核通过数" :total="this.shtgs">
+              <chart-card :loading="loading" title="审核通过数 | 面积" :total="this.shtgs+' | '+this.shtgmj+'㎡'">
                 <a-tooltip title="指标说明" slot="action">
                   <a-icon type="info-circle-o" />
                 </a-tooltip>
@@ -163,7 +163,7 @@
           </a-row>
           <a-row :gutter="24" style="margin-top: 1%;margin-left: 5%">
             <a-col v-show="!this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="shbtg">
-              <chart-card :loading="loading" title="审核不通过(退回)" :total="this.cwth">
+              <chart-card :loading="loading" title="审核不通过(退回) | 面积" :total="this.cwth+' | '+this.cwthmj+'㎡'">
                 <a-tooltip title="指标说明" slot="action">
                   <a-icon type="info-circle-o" />
                 </a-tooltip>
@@ -171,12 +171,12 @@
               </chart-card>
             </a-col>
             <a-col  :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="wshsl">
-              <chart-card  v-if="this.yhjs=='shyh'" :loading="loading" title="未审核地块数(省属企业)" :total="this.wshsl">
+              <chart-card  v-if="this.yhjs=='shyh'" :loading="loading" title="未审核地块数 | 面积 (省属企业)" :total="this.wshsl+' | '+this.wshsmj+'㎡'">
                 <a-tooltip title="指标说明" slot="action">
                   <a-icon type="info-circle-o" />
                 </a-tooltip>
               </chart-card>
-              <chart-card v-else :loading="loading" title="未审核地块数" :total="this.wshsl">
+              <chart-card v-else :loading="loading" title="未审核地块数 | 面积" :total="this.wshsl+' | '+this.wshsmj+'㎡'">
                 <a-tooltip title="指标说明" slot="action">
                   <a-icon type="info-circle-o" />
                 </a-tooltip>
@@ -456,13 +456,17 @@
         yxdls:'',
         yhjs:'',
         wshsl:'',
+        wshsmj:'', // 未审核面积数
         xfrws:'',
         sbdks:'',
+        sbdkmj:'', // 上报地块面积
         dqsbs:'',
         tgsh:'',
         btgsh:'',
         shtgs:'',
+        shtgmj:'', // 审核通过面积
         cwth:'',
+        cwthmj:'', // 错误退回面积
        sydwxfrws:'',//下发任务数
        sydwyxdls:'',//有效登录数
        sydwsbdks:'',//上报地块数
@@ -549,15 +553,15 @@
         clearInterval(this.time)
       },
       handleAdd(){
-       this.$router.push({name:'qcsb.qyxx-qcQyxx-list5'})
+       this.$router.push({path:'/enterpriseInfo/infoSubmit'})
 
       },
       handleRouter(){
-        this.$router.push({name:'qcsb.qyxx-qcQyxx-list'})
+        this.$router.push({path:'/enterpriseInfo/infoSubmit'})
 
       },
       handleRouter2(){
-        this.$router.push({name:'qcsb-qcSsgqzysytdqk-list'})
+        this.$router.push({path:'/land/landInfo'})
       },
       handleSbdks(view){
         this.$router.push({name:view})
@@ -577,7 +581,7 @@
         this.$router.push({name:view})
       },
       handleAdd2(){
-        this.$router.push({name:'qcsb-QcSsgqzysytdqkList-list5'})
+        this.$router.push({path:'/land/landInfo'})
        /* getAction("/qcsb/qcSsgqzysytdqk/selectQyxx").then(res=>{
 
           if(res.result==null){
@@ -682,6 +686,7 @@
               this.yxdls=res.result1[1];//有效登录数
               this.sbdks=res.result1[2];//上报地块数
               this.yhjs=res.result1[3];//用戶角色
+              this.sbdkmj=res.result1[4];//上报地块数
             }
           }
           if(this.yhjs=='shyh'||this.yhjs=='sjzh'){
@@ -751,7 +756,9 @@
           if(res.code==200){
             this.shtgs=res.result1[0]//审核通过数
             this.cwth=res.result1[1]//错误退回
-            this.yhjs=res.result1[3];
+            this.yhjs=res.result1[2];
+            this.shtgmj=res.result1[3]; // 通过审核面积
+            this.cwthmj=res.result1[4]; // 未通过审核面积
              if(this.yhjs=="shyh"){
                this.showDqsbs=false;
              }
@@ -761,7 +768,12 @@
       selectWshsl(){
         getAction("/qcsb.qyxx/qcQyxx/wshsl").then(res=>{
           if(res.code==200){
-          this.wshsl= res.result
+            // res.result返回格式 “0|0”
+            let wsh = res.result.slice('|');
+
+            this.wshsl = wsh.length > 1 ? wsh[0] : wsh;
+
+            this.wshsmj = wsh.length > 1 ? wsh[2]: 0; // 未审核面积数
           }
         })
       },