Hwt %!s(int64=2) %!d(string=hai) anos
pai
achega
b593a22bd6

+ 5 - 2
operationSupport/src/views/patrolManagement/PatrolStatistics.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author:韩玮涛
  * @Date: 2022-08-08 09:38:04
- * @LastEditTime: 2022-08-10 17:50:14
+ * @LastEditTime: 2022-08-11 16:43:43
  * @LastEditors: D4THYL3
  * @Description: In User Settings Edit
  * @FilePath: \operationSupport\src\views\patrolManagement\PatrolStatistics.vue
@@ -256,6 +256,8 @@ export default {
       if (this.mixins_query.communityId == "" || this.mixins_query.patrolType == "") {
         this.$message.error('请选择社区或巡更类型');
       } else {
+        this.tableData = [];
+        this.outermostTitle = [];
         this.mixinsQuery();
       }
 
@@ -271,7 +273,7 @@ export default {
           data.list.forEach((item, index) => {
             this.tableData.push({
               communityName: item.communityName,
-              patrolDate: item.patrolDate,
+              patrolDate: (item.patrolDate).substr(0, 7),
               patrolTime: item.patrolTime,
               routeName: item.routeName,
               userName: item.userName
@@ -300,6 +302,7 @@ export default {
                 })
               }
             })
+            console.log('77770', this.outermostTitle);
           })
         }
       })