3 Commits 9a9c3abdd7 ... 08ee6a55f5

Author SHA1 Message Date
  psj 08ee6a55f5 电子证照查询bug修改 1 year ago
  psj 42e87c02d7 Merge branch 'master' of http://47.101.207.123:3000/sharedExchange/gxjh-ywtb 1 year ago
  psj 2918edbb79 好差评增加办件总量和评价率 1 year ago
2 changed files with 12 additions and 8 deletions
  1. 6 6
      src/views/electricCard/ElectricCard.vue
  2. 6 2
      src/views/evaluate/c-cpns/TopArea.vue

+ 6 - 6
src/views/electricCard/ElectricCard.vue

@@ -390,12 +390,13 @@ export default {
       });
       return promise; //通过返回一个promis对象解决
     },
-    getlastDate(){
+    getlastDate(type){
       this.$request({
         url:'/ywtb/selectMaxLicenseDate',
         method:'post',
         data:{
-          "appkey":localStorage.getItem("ywtb_userkeycode")
+          "appkey":localStorage.getItem("ywtb_userkeycode"),
+          "type": type == '3' ? '' : type
         }
       }).then(response => {
         var dataArr = response.data.msg[0].Rows[0];
@@ -405,7 +406,6 @@ export default {
       })
     },
     showDetail(data){
-      console.log(data);
       this.searchDate =data.time;
       this.isModelShow = true;
     },
@@ -562,11 +562,11 @@ export default {
       if(code =='3'){
         this.tableHeader =this.electricTableHeader;
         this.hasOperation= true;
-        this.getlastDate();
+        this.getlastDate(code);
       }else if(code =='1'||code=='2'){
         this.hasOperation= false;
-        this.tableHeader =this.electricSevenTableHeader;
-        this.getlastDate();
+        this.tableHeader = JSON.parse(JSON.stringify(this.electricSevenTableHeader));
+        this.getlastDate(code);
       }else{
         this.hasOperation= false;
         this.tableHeader =this.electricYearTableHeader;

+ 6 - 2
src/views/evaluate/c-cpns/TopArea.vue

@@ -14,6 +14,7 @@
             </div>
          </div>
         <div class="category-content">
+          <Compare text="办件总量" :value="item.bj_all_pls" :is-column="true"/>
           <Compare :text="titleName" :value="item.count" :is-column="true"/>
           <Compare text="同比" :value="item.count_tb" :is-column="true">
             <span>
@@ -27,6 +28,7 @@
               <img src="../../../assets/imgs/箭头下.png" v-if="showDownIcon(item.count_hb)" alt="">
             </span>
           </Compare>
+          <Compare text="评价率" :value="item.bj_all_pll" :is-column="true"/>
           <Compare :text="commitName" :value="item.interest" :is-column="true"/>
           <Compare text="同比" :value="item.interest_tb"  :is-column="true">
             <span>
@@ -129,6 +131,8 @@ export default {
                 interest:dataArr[i].CPL,
                 interest_tb:dataArr[i].CPL_YEAR_ON_YEAR,
                 interest_hb:dataArr[i].CPL_MONTH_ON_MONTH,
+                bj_all_pls:dataArr[i].BJ_ALL_PL_NUM,
+                bj_all_pll:dataArr[i].BJ_ALL_PJL,
               }
               this.dataList.push(arr);
             }
@@ -245,7 +249,7 @@ export default {
           display: flex;
           flex-wrap: wrap;
           >div{
-            width: 33.33%;
+            width: 25%;
           }
         }
         .top-t{
@@ -263,7 +267,7 @@ export default {
 
 
 
-        width: 435px;
+        width: 485px;
         height: 117px;
         box-sizing: border-box;
         padding: 10px 15px;