浏览代码

优化报表

hsh 4 月之前
父节点
当前提交
ddb0b1b7f0
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/operate-monitoring/DeptBusinessMonthReport.vue

+ 3 - 0
src/views/operate-monitoring/DeptBusinessMonthReport.vue

@@ -89,6 +89,9 @@ const query = () => {
   queryData.value.startTime = month.value + '-01 00:00:00'
   queryData.value.endTime = month.value + '-' + days + ' 23:59:59'
   queryData.value.reportTypeList = reportTL.value
+  if(!dept.value){
+    queryData.value.dept = ''
+  }
   queryDeptReportList()
 }
 const querySearchDept = async (str, cb) => {