|  |  | 
 |  |  |         </view> | 
 |  |  |       </wd-col> | 
 |  |  |     </wd-row> | 
 |  |  |     <wd-tabs v-model="tab" auto-line-width slidable="always" map-num> | 
 |  |  |       <wd-tab  | 
 |  |  |         v-for="(item, index) in patrolList"  | 
 |  |  |     <wd-tabs v-model="tab" auto-line-width slidable="always" :map-num="patrolList.length"> | 
 |  |  |       <wd-tab | 
 |  |  |         v-for="(item, index) in patrolList" | 
 |  |  |         :key="index" | 
 |  |  |         :title="`${item.deviceModel}(待检查${item.pendingNum}条)`" | 
 |  |  |         class="tab_bg" | 
 |  |  |       > | 
 |  |  |         <ProductList | 
 |  |  |           :api="RoutingInspectionApi.getInspectListByPatrol" | 
 |  |  |           :ProList="item" | 
 |  |  |         /> | 
 |  |  |         <ProductList :api="RoutingInspectionApi.getInspectListByPatrol" :ProList="item" /> | 
 |  |  |       </wd-tab> | 
 |  |  |     </wd-tabs> | 
 |  |  |     <Scan ref="scanRef" emitName="scan" /> | 
 |  |  | 
 |  |  | const userInfo: any = computed(() => userStore.userInfo); | 
 |  |  | const toast = useToast(); | 
 |  |  | const tab = ref<number>(0); | 
 |  |  | const patrolList = ref<any[]>([]);// 巡检设备列表数据 | 
 |  |  |  | 
 |  |  | const patrolList = ref<any[]>([]); // 巡检设备列表数据 | 
 |  |  |  | 
 |  |  | const handlePatrolData = (index: number, count: number) => { | 
 |  |  |   // 可以在这里更新特定巡检设备的待检查数量 | 
 |  |  | 
 |  |  |         type: "巡检", | 
 |  |  |         data: { | 
 |  |  |           total: 0, | 
 |  |  |           records: [] | 
 |  |  |         } | 
 |  |  |       } | 
 |  |  |           records: [], | 
 |  |  |         }, | 
 |  |  |       }, | 
 |  |  |     }; | 
 |  |  |   }; | 
 |  |  | }; |