巡检日,周,月完成,数据概况待修改
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
<el-table v-loading="loading" border :data="planList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="巡检计划名称" align="center" prop="planName" />
|
||||
<el-table-column label="巡检人员" align="center" prop="inspectorNames" show-overflow-tooltip />
|
||||
<el-table-column label="执行周期" align="center" prop="executeCycle" />
|
||||
<el-table-column label="执行星期" align="center">
|
||||
<template #default="scope">
|
||||
@@ -146,7 +145,6 @@ const getList = async () => {
|
||||
planList.value = res.rows;
|
||||
planList.value.forEach((item) => {
|
||||
item.routeNames = item.routeList.map((item) => item.routeName).join(',');
|
||||
item.inspectorNames = item.inspectorList.map((item2) => item2.nickName).join(',');
|
||||
item.executeDayNames = item.executeDay
|
||||
.split(',')
|
||||
.sort((a, b) => Number(a) - Number(b))
|
||||
|
||||
Reference in New Issue
Block a user