Procházet zdrojové kódy

fix:处理个人任务统计已办数据不显示问题

liujiayin před 2 roky
rodič
revize
a2610210a4

+ 6 - 10
src/views/peopleManages/personComcont/BarChart.vue

@@ -1,27 +1,24 @@
 <template>
   <div class="pieView">
-    <div
-      style="
+    <div style="
         height: 10%;
         line-height: 30px;
         text-align: left;
         padding-left: 10px;
         width: 100%;
         color: white;
-      "
-    >
+      ">
       {{ config.title }}
     </div>
-    <div
-      style="
+    <div style="
         width: 100%;
         height: 90%;
         display: inline-block;
         overflow: hidden;
         box-sizing: border-box;
-      "
-    >
-      <div :id="config.id" style="width: 100%; height: 100%"></div>
+      ">
+      <div :id="config.id"
+           style="width: 100%; height: 100%"></div>
     </div>
   </div>
 </template>
@@ -63,7 +60,6 @@ export default {
   watch: {
     info: {
       handler(newVal, oldVal) {
-        console.log("11111");
         this.getMiddleLeft();
       },
       deep: true,

+ 4 - 14
src/views/peopleManages/taskStatistics/index.vue

@@ -380,12 +380,7 @@ export default {
               show: true,
               position: "right",
               valueAnimation: true,
-            },
-            itemStyle: {
-              normal: {
-                color: ["#7070ff"],
-              },
-            },
+            }
           },
           {
             name: "已办事宜数",
@@ -395,12 +390,7 @@ export default {
               show: true,
               position: "right",
               valueAnimation: true,
-            },
-            itemStyle: {
-              normal: {
-                color: ["#00CC33"],
-              },
-            },
+            }
           },
         ],
         dataZoom: [
@@ -416,6 +406,7 @@ export default {
             filterMode: "none",
           },
         ],
+        color: ['#6666FF', '#9b4400'],
       },
     };
   },
@@ -623,8 +614,7 @@ export default {
                         ee.name_,a.AUDITOR_,a.STATUS_,ee.CREATE_TIME_ from IBPS_BPM_APPROVAL_HIS as a join ibps_party_employee as ee on a.AUDITOR_ = ee.id_
                         where  a.CREATE_TIME_  between '${this.startDate
         }' and '${this.endDate
-        }' and ee.id_ and (${this.otherPositions.join(" or ")} )
-                        in(${personIds})  group by a.PROC_inst_ID_) as bb  group by AUDITOR_ order by  CREATE_TIME_ asc `;
+        }' and ee.id_ in(${personIds}) and (${this.otherPositions.join(" or ")} )   group by a.PROC_inst_ID_) as bb  group by AUDITOR_ order by  CREATE_TIME_ asc `;
       await curdPost("sql", yibansql2).then((res) => {
         yibanData2 = res.variables.data;
       });