|
@@ -352,19 +352,19 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</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" :render-header="renderHeader">
|
|
|
<el-table-column prop="havenot_allnode_flight" label="航班数" class-name="cell-click" 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 label="流程节点缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ <el-table-column label="流程节点缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align" :render-header="renderHeader">
|
|
|
<el-table-column prop="have_part_flight" class-name="cell-click" 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 label="时间倒置" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ <el-table-column label="时间倒置" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align" :render-header="renderHeader">
|
|
|
<el-table-column prop="time_inversion_flight" class-name="cell-click" 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 label="时间相同" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ <el-table-column label="时间相同" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align" :render-header="renderHeader">
|
|
|
<el-table-column prop="time_equal_flight" class-name="cell-click" 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>
|
|
@@ -381,20 +381,20 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</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" :render-header="renderHeader">
|
|
|
<el-table-column prop="havenot_allnode_stock" class-name="cell-click" 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 label="流程节点缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ <el-table-column label="流程节点缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align" :render-header="renderHeader">
|
|
|
<el-table-column prop="have_part_stock" class-name="cell-click" 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 label="时间倒置" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ <el-table-column label="时间倒置" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align" :render-header="renderHeader">
|
|
|
<el-table-column prop="time_inversion_stock" class-name="cell-click" 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 label="时间相同" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ <el-table-column label="时间相同" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align" :render-header="renderHeader">
|
|
|
<el-table-column prop="time_equal_stock" class-name="cell-click" 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>
|
|
@@ -411,19 +411,19 @@
|
|
|
<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>
|
|
|
- <el-table-column label="数据缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ <el-table-column label="数据缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align" :render-header="renderHeader">
|
|
|
<el-table-column prop="havenot_allnode_flight" class-name="cell-click" label="航班数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
<el-table-column prop="havenot_allnode_lv_flight" 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" :render-header="renderHeader">
|
|
|
<el-table-column prop="have_part_flight" class-name="cell-click" label="航班数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
<el-table-column prop="have_part_lv_flight" 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" :render-header="renderHeader">
|
|
|
<el-table-column prop="time_inversion_flight" class-name="cell-click" label="航班数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
<el-table-column prop="time_inversion_lv_flight" 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" :render-header="renderHeader">
|
|
|
<el-table-column prop="time_equal_flight" class-name="cell-click" label="航班数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
<el-table-column prop="time_equal_lv_flight" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
</el-table-column>
|
|
@@ -441,19 +441,19 @@
|
|
|
<el-table-column label="运单异常" :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 label="数据缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ <el-table-column label="数据缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align" :render-header="renderHeader">
|
|
|
<el-table-column prop="havenot_allnode_stock" class-name="cell-click" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
<el-table-column prop="havenot_allnode_lv_stock" 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" :render-header="renderHeader">
|
|
|
<el-table-column prop="have_part_stock" class-name="cell-click" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
<el-table-column prop="have_part_lv_stock" 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" :render-header="renderHeader">
|
|
|
<el-table-column prop="time_inversion_stock" class-name="cell-click" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
<el-table-column prop="time_inversion_lv_stock" 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" :render-header="renderHeader">
|
|
|
<el-table-column prop="time_equal_stock" class-name="cell-click" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
<el-table-column prop="time_equal_lv_stock" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
|
|
|
</el-table-column>
|
|
@@ -461,6 +461,26 @@
|
|
|
</el-table>
|
|
|
</template>
|
|
|
<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" :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 prop="flight_date" label="航班日期" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ </el-table-column>
|
|
|
+ <!-- <el-table-column prop="stock_code" label="运单号" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ </el-table-column> -->
|
|
|
+ <el-table-column prop="index_class" label="指标分类" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="node" label="节点名称" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="execT" label="节点时间" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="department" label="一级部门" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="second_department" label="二级部门" :show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </template>
|
|
|
+ <template v-if="tableList.length && action == 21">
|
|
|
<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>
|
|
@@ -486,6 +506,16 @@
|
|
|
|
|
|
<script>
|
|
|
import SimpleTable from "@/components/SimpleTable/index.vue";
|
|
|
+import Toolstip from './tooltip.vue'
|
|
|
+import { h } from 'vue'
|
|
|
+
|
|
|
+const vnode = h(
|
|
|
+ 'div', // type
|
|
|
+ { id: 'foo', class: 'bar' }, // props
|
|
|
+ [
|
|
|
+ /* children */
|
|
|
+ ]
|
|
|
+)
|
|
|
export default {
|
|
|
props: {
|
|
|
tableList: {
|
|
@@ -507,6 +537,10 @@ export default {
|
|
|
searchParams: {
|
|
|
type: Object,
|
|
|
default: () => { },
|
|
|
+ },
|
|
|
+ sortMsg: {
|
|
|
+ type: Array,
|
|
|
+ default: () => [],
|
|
|
}
|
|
|
},
|
|
|
data () {
|
|
@@ -668,6 +702,7 @@ export default {
|
|
|
pcsall: 0,
|
|
|
},
|
|
|
capLen: null,
|
|
|
+ tableSortMsg: []
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
@@ -678,6 +713,13 @@ export default {
|
|
|
deep: true,
|
|
|
immediate: true,
|
|
|
},
|
|
|
+ sortMsg: {
|
|
|
+ handler (val) {
|
|
|
+ this.tableSortMsg = val;
|
|
|
+ },
|
|
|
+ deep: true,
|
|
|
+ immediate: true,
|
|
|
+ }
|
|
|
},
|
|
|
computed: {
|
|
|
dataTableContentStyle () {
|
|
@@ -1000,6 +1042,14 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ renderHeader ({ column, $index }) {
|
|
|
+ return h('div', [
|
|
|
+ h(Toolstip, {
|
|
|
+ sortmsg: this.tableSortMsg[$index - 1],
|
|
|
+ property: column.label
|
|
|
+ })
|
|
|
+ ])
|
|
|
+ }
|
|
|
//滚动分页加载
|
|
|
// load () {
|
|
|
// this.$emit("load", true);
|
|
@@ -1007,6 +1057,7 @@ export default {
|
|
|
},
|
|
|
components: {
|
|
|
SimpleTable,
|
|
|
+ Toolstip
|
|
|
},
|
|
|
};
|
|
|
</script>
|