Переглянути джерело

去除统计的其他选项

zhuliu 1 рік тому
батько
коміт
5eb97e8859

+ 2 - 2
src/views/report/components/patentList/components/customFields/index.vue

@@ -290,14 +290,14 @@ export default {
         } else {
           const [num] = await Promise.allSettled([this.esCountAnalysis(row)])
           var nums = num.status == 'fulfilled' ? num.value : []
-          if(row.groupBy == "company"){
+          // if(row.groupBy == "company"){
             for(var i = 0;i<nums.length;i++){
               if(nums[i].name == '其他'){
                 nums.splice(i,1)
                 break;
               }
             }
-          }
+          // }
           this.$set(row, 'options', nums)
           if (!sign) {
             this.$set(row, 'check', [])