|
@@ -405,11 +405,11 @@
|
|
</template>
|
|
</template>
|
|
<template v-if="tableList.length && action == 18">
|
|
<template v-if="tableList.length && action == 18">
|
|
<el-table :data="tableList" style="width: 100%" :row-style="rowStyle" :header-row-style="rowStyle" :style="dataTableContentStyle" height="calc(100vh - 236px)" max-height="calc(100vh - 236px)" :stripe="tableProps.stripe" :row-key="tableProps.rowKey" :highlight-current-row="tableProps.highlightCurrentRow" :header-cell-class-name="tableProps.headerCellClassName" :tooltip-effect="tableProps.tooltipEffect" :summary-method="totalOutPrice" :show-summary="tableProps.showSummary" :header-cell-style="{ background: '#F9FAFC' }">
|
|
<el-table :data="tableList" style="width: 100%" :row-style="rowStyle" :header-row-style="rowStyle" :style="dataTableContentStyle" height="calc(100vh - 236px)" max-height="calc(100vh - 236px)" :stripe="tableProps.stripe" :row-key="tableProps.rowKey" :highlight-current-row="tableProps.highlightCurrentRow" :header-cell-class-name="tableProps.headerCellClassName" :tooltip-effect="tableProps.tooltipEffect" :summary-method="totalOutPrice" :show-summary="tableProps.showSummary" :header-cell-style="{ background: '#F9FAFC' }">
|
|
- <el-table-column prop="flight_date" label="区域" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
|
|
|
+ <el-table-column prop="typeName" label="区域" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="allflight" label="一级部门" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
|
|
|
+ <el-table-column prop="department" label="一级部门" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="allflight" label="二级部门" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
|
|
|
+ <el-table-column prop="department" label="二级部门" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="航班异常" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
<el-table-column label="航班异常" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
<el-table-column label="航班总数" prop="allflight" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
<el-table-column label="航班总数" prop="allflight" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
@@ -432,42 +432,42 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="运单异常" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
<el-table-column label="运单异常" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
- <el-table-column label="运单总数" prop="allflight" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
|
|
|
+ <el-table-column label="运单总数" prop="allstock" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="数据缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
<el-table-column label="数据缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
- <el-table-column prop="havenot_allnode_flight" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="havenot_allnode_stock" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
<el-table-column prop="havenot_allnode_lv" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
<el-table-column prop="havenot_allnode_lv" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="流程节点缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
<el-table-column label="流程节点缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
- <el-table-column prop="have_part_flight" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="have_part_stock" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
<el-table-column prop="have_part_lv" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
<el-table-column prop="have_part_lv" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="时间倒置" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
<el-table-column label="时间倒置" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
- <el-table-column prop="time_inversion_flight" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="time_inversion_stock" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
<el-table-column prop="time_inversion_lv" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
<el-table-column prop="time_inversion_lv" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="时间相同" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
<el-table-column label="时间相同" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
- <el-table-column prop="time_equal_flight" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="time_equal_stock" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
<el-table-column prop="time_equal_lv" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
<el-table-column prop="time_equal_lv" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
</template>
|
|
</template>
|
|
<template v-if="tableList.length && action == 19">
|
|
<template v-if="tableList.length && action == 19">
|
|
- <el-table :data="tableList" style="width: 100%" :row-style="rowStyle" :header-row-style="rowStyle" :style="dataTableContentStyle" height="calc(100vh - 236px)" max-height="calc(100vh - 236px)" :stripe="tableProps.stripe" :row-key="tableProps.rowKey" :highlight-current-row="tableProps.highlightCurrentRow" :header-cell-class-name="tableProps.headerCellClassName" :tooltip-effect="tableProps.tooltipEffect" :summary-method="totalOutPrice" :show-summary="tableProps.showSummary" :header-cell-style="{ background: '#F9FAFC' }">
|
|
|
|
- <el-table-column prop="indexs" label="航班号" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
|
|
|
+ <el-table :data="tableList" style="width: 100%" :row-style="rowStyle" :header-row-style="rowStyle" :style="dataTableContentStyle" height="calc(100vh - 236px)" max-height="calc(100vh - 236px)" :stripe="tableProps.stripe" :row-key="tableProps.rowKey" :highlight-current-row="tableProps.highlightCurrentRow" :header-cell-class-name="tableProps.headerCellClassName" :tooltip-effect="tableProps.tooltipEffect" :header-cell-style="{ background: '#F9FAFC' }">
|
|
|
|
+ <el-table-column prop="flight_all_no" label="航班号" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="flightDate" label="运单号" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
|
|
|
+ <el-table-column prop="stock_code" label="运单号" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="flightNO" label="指标分类" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
|
|
|
+ <el-table-column prop="index_class" label="指标分类" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="stockCode" label="节点名称" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
|
|
|
+ <el-table-column prop="node" label="节点名称" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="weight" label="节点时间" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
|
|
|
+ <el-table-column prop="execT" label="节点时间" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="stockCode" label="一级部门" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
|
|
|
+ <el-table-column prop="department" label="一级部门" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="weight" label="二级部门" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
|
|
|
+ <el-table-column prop="second_department" label="二级部门" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
</template>
|
|
</template>
|
|
@@ -786,11 +786,11 @@ export default {
|
|
let [allflightNum, allhavenotNum, allhaveNum, allinversionNum, allequalNum] = [null, null, null, null, null]
|
|
let [allflightNum, allhavenotNum, allhaveNum, allinversionNum, allequalNum] = [null, null, null, null, null]
|
|
this.tableData.forEach(item => {
|
|
this.tableData.forEach(item => {
|
|
const { allflight, havenot_allnode_flight, have_part_flight, time_inversion_flight, time_equal_flight } = item
|
|
const { allflight, havenot_allnode_flight, have_part_flight, time_inversion_flight, time_equal_flight } = item
|
|
- allflightNum += allflight
|
|
|
|
- allhavenotNum += havenot_allnode_flight,
|
|
|
|
- allhaveNum += have_part_flight,
|
|
|
|
- allinversionNum += time_inversion_flight,
|
|
|
|
- allequalNum += time_equal_flight
|
|
|
|
|
|
+ allflightNum += Number(allflight == '/' ? 0 : allflight)
|
|
|
|
+ allhavenotNum += Number(havenot_allnode_flight == '/' ? 0 : havenot_allnode_flight)
|
|
|
|
+ allhaveNum += Number(have_part_flight == '/' ? 0 : have_part_flight)
|
|
|
|
+ allinversionNum += Number(time_inversion_flight == '/' ? 0 : time_inversion_flight)
|
|
|
|
+ allequalNum += Number(time_equal_flight == '/' ? 0 : time_equal_flight)
|
|
})
|
|
})
|
|
sums[3] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + '%'
|
|
sums[3] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + '%'
|
|
sums[5] = ((allhaveNum / allflightNum) * 100).toFixed(2) + '%'
|
|
sums[5] = ((allhaveNum / allflightNum) * 100).toFixed(2) + '%'
|
|
@@ -800,16 +800,39 @@ export default {
|
|
let [allflightNum, allhavenotNum, allhaveNum, allinversionNum, allequalNum] = [null, null, null, null, null]
|
|
let [allflightNum, allhavenotNum, allhaveNum, allinversionNum, allequalNum] = [null, null, null, null, null]
|
|
this.tableData.forEach(item => {
|
|
this.tableData.forEach(item => {
|
|
const { allstock, havenot_allnode_stock, have_part_stock, time_inversion_stock, time_equal_stock } = item
|
|
const { allstock, havenot_allnode_stock, have_part_stock, time_inversion_stock, time_equal_stock } = item
|
|
- allflightNum += allstock
|
|
|
|
- allhavenotNum += havenot_allnode_stock,
|
|
|
|
- allhaveNum += have_part_stock,
|
|
|
|
- allinversionNum += time_inversion_stock,
|
|
|
|
- allequalNum += time_equal_stock
|
|
|
|
|
|
+ allflightNum += Number(allstock == '/' ? 0 : allstock)
|
|
|
|
+ allhavenotNum += Number(havenot_allnode_stock == '/' ? 0 : havenot_allnode_stock)
|
|
|
|
+ allhaveNum += Number(have_part_stock == '/' ? 0 : have_part_stock)
|
|
|
|
+ allinversionNum += Number(time_inversion_stock == '/' ? 0 : time_inversion_stock)
|
|
|
|
+ allequalNum += Number(time_equal_stock == '/' ? 0 : time_equal_stock)
|
|
})
|
|
})
|
|
sums[3] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + '%'
|
|
sums[3] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + '%'
|
|
sums[5] = ((allhaveNum / allflightNum) * 100).toFixed(2) + '%'
|
|
sums[5] = ((allhaveNum / allflightNum) * 100).toFixed(2) + '%'
|
|
sums[7] = ((allinversionNum / allflightNum) * 100).toFixed(2) + '%'
|
|
sums[7] = ((allinversionNum / allflightNum) * 100).toFixed(2) + '%'
|
|
sums[9] = ((allequalNum / allflightNum) * 100).toFixed(2) + '%'
|
|
sums[9] = ((allequalNum / allflightNum) * 100).toFixed(2) + '%'
|
|
|
|
+ } else if (this.action === 18) {
|
|
|
|
+ let [allflightNum1, allhavenotNum1, allhaveNum1, allinversionNum1, allequalNum1, allflightNum2, allhavenotNum2, allhaveNum2, allinversionNum2, allequalNum2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
|
|
|
+ this.tableData.forEach(item => {
|
|
|
|
+ const { allstock, havenot_allnode_stock, have_part_stock, time_inversion_stock, time_equal_stock, allflight, havenot_allnode_flight, have_part_flight, time_inversion_flight, time_equal_flight } = item
|
|
|
|
+ allflightNum1 += Number(allflight == '/' ? 0 : allflight)
|
|
|
|
+ allhavenotNum1 += Number(havenot_allnode_flight == '/' ? 0 : havenot_allnode_flight)
|
|
|
|
+ allhaveNum1 += Number(have_part_flight == '/' ? 0 : have_part_flight)
|
|
|
|
+ allinversionNum1 += Number(time_inversion_flight == '/' ? 0 : time_inversion_flight)
|
|
|
|
+ allequalNum1 += Number(time_equal_flight == '/' ? 0 : time_equal_flight)
|
|
|
|
+ allflightNum2 += Number(allstock == '/' ? 0 : allstock)
|
|
|
|
+ allhavenotNum2 += Number(havenot_allnode_stock == '/' ? 0 : havenot_allnode_stock)
|
|
|
|
+ allhaveNum2 += Number(have_part_stock == '/' ? 0 : have_part_stock)
|
|
|
|
+ allinversionNum2 += Number(time_inversion_stock == '/' ? 0 : time_inversion_stock)
|
|
|
|
+ allequalNum2 += Number(time_equal_stock == '/' ? 0 : time_equal_stock)
|
|
|
|
+ })
|
|
|
|
+ sums[5] = ((allhavenotNum1 / allflightNum1) * 100).toFixed(2) + '%'
|
|
|
|
+ sums[7] = ((allhaveNum1 / allflightNum1) * 100).toFixed(2) + '%'
|
|
|
|
+ sums[9] = ((allinversionNum1 / allflightNum1) * 100).toFixed(2) + '%'
|
|
|
|
+ sums[11] = ((allequalNum1 / allflightNum1) * 100).toFixed(2) + '%'
|
|
|
|
+ sums[14] = ((allhavenotNum2 / allflightNum2) * 100).toFixed(2) + '%'
|
|
|
|
+ sums[16] = ((allhaveNum2 / allflightNum2) * 100).toFixed(2) + '%'
|
|
|
|
+ sums[18] = ((allinversionNum2 / allflightNum2) * 100).toFixed(2) + '%'
|
|
|
|
+ sums[20] = ((allequalNum2 / allflightNum2) * 100).toFixed(2) + '%'
|
|
}
|
|
}
|
|
});
|
|
});
|
|
return sums;
|
|
return sums;
|