Explorar o código

会议核心指标

tianyabing %!s(int64=2) %!d(string=hai) anos
pai
achega
653748d0de
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      src/components/work/meeting/workMeeting.vue

+ 5 - 1
src/components/work/meeting/workMeeting.vue

@@ -566,7 +566,11 @@ export default {
     //},
     // 核心指标
     getCoreData() {
-      return apiWorkMeeting.getCoreData(this.queryData).then((res) => {
+        let params = JSON.parse(JSON.stringify(this.queryData));
+        if (params.floorId=='0') {
+            delete params.floorId
+        }
+      return apiWorkMeeting.getCoreData(params).then((res) => {
         this.coreData[0].num = res.list[0].value;
         this.coreData[0].historyNum = res.list[0].compare;
         this.coreData[1].num = res.list[1].value;