Ver código fonte

fix(monthlyAssessSum): 过滤掉deptId为487的大队,并添加调试日志

在获取大队列表的过滤逻辑中新增排除deptId为487的条目,同时添加大队列表的调试打印日志,方便后续排查问题
huoyi 3 semanas atrás
pai
commit
df4c3e72a7

+ 2 - 2
src/views/performanceManage/monthlyAssessSum/index.vue

@@ -515,8 +515,8 @@ const getList = async () => {
515
 
515
 
516
     // 获取大队列表
516
     // 获取大队列表
517
     const brigadeListRes = await listDept()
517
     const brigadeListRes = await listDept()
518
-    const brigadeList = (brigadeListRes.data || []).filter(item => item.deptType === 'BRIGADE' && item.isFunctionalDept == 0)
519
-
518
+    const brigadeList = (brigadeListRes.data || []).filter(item => item.deptType === 'BRIGADE' && item.isFunctionalDept == 0 && item.deptId !== 487)
519
+    // console.log('大队列表:', brigadeList)
520
     // 其他接口调用
520
     // 其他接口调用
521
     const formattedQueryParams = formatParams(queryParams)
521
     const formattedQueryParams = formatParams(queryParams)
522
     const results = await Promise.allSettled([
522
     const results = await Promise.allSettled([