|
@@ -90,7 +90,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { getHomeLastMission, getAviationList, getHomeAviationProject, getHomeAviationAmount, getHomeAviationMoney } from '@/api/home'
|
|
|
-import { getFaultStatisticsListAll, getFaultStatistics } from '@/api/als/faultStatistics'
|
|
|
+import { getExclusionList, getFaultStatistics } from '@/api/als/faultStatistics'
|
|
|
import { getAircaftCatalogAll } from '@/api/als/aircraft'
|
|
|
|
|
|
import * as echarts from 'echarts'
|
|
@@ -158,11 +158,11 @@ export default {
|
|
|
const { pageSize, pageIndex } = this.tableRequset
|
|
|
const {
|
|
|
data: { list, total }
|
|
|
- } = await getFaultStatistics({ pageSize, pageIndex })
|
|
|
+ } = await getExclusionList({ pageSize, pageNum: pageIndex })
|
|
|
// const { data } = await getFaultStatisticsListAll({})
|
|
|
this.tableRequset.total = total
|
|
|
- this.maintainTableData = list.filter((item) => {
|
|
|
- return item.repairStatus !== '已完成'
|
|
|
+ this.maintainTableData = list.map((item) => {
|
|
|
+ return { ...item, repairStatus: '排故中' }
|
|
|
})
|
|
|
// this.getAircaftCatalogAllAPI()
|
|
|
const { data: AircaftCatalogData } = await getAircaftCatalogAll({
|