emis-frontend/src/views/emis/emisWaybill/recordScanStatistics.vue

103 lines
2.2 KiB
Vue
Raw Normal View History

2024-05-24 01:49:45 +00:00
<template>
<div class="app-container">
2024-10-15 13:46:32 +00:00
<div class="el-tabs-container">
<el-tabs v-model="activeTab" style="flex:1;">
<el-tab-pane label="寄件录单统计" name="a1" >
<SendStatPanel @onSelect="onSendSelect"></SendStatPanel>
</el-tab-pane>
<el-tab-pane label="目的网点录单统计" name="a2" >
<DestStatPanel @onSelect="onDestSelect"></DestStatPanel>
</el-tab-pane>
<el-tab-pane label="扫描数据统计" name="a3" >
<ScanDtlListPanel :queryObj="queryDtlObj"></ScanDtlListPanel>
</el-tab-pane>
<el-tab-pane label="全部明细统计" name="a4" >
<ScanDtlAllListPanel></ScanDtlAllListPanel>
</el-tab-pane>
2024-05-24 01:49:45 +00:00
</el-tabs>
2024-10-15 13:46:32 +00:00
</div>
2024-07-18 12:05:49 +00:00
2024-10-15 13:46:32 +00:00
<!-- <div v-if="activeTab==='a1'">
2024-07-18 12:05:49 +00:00
2024-10-15 13:46:32 +00:00
</div> -->
<!-- <div v-if="activeTab==='a2'">
2024-07-18 12:05:49 +00:00
2024-07-21 03:43:45 +00:00
</div>
2024-07-18 12:05:49 +00:00
2024-10-07 22:39:49 +00:00
<div v-if="activeTab==='a3'">
2024-10-15 13:46:32 +00:00
2024-07-21 03:43:45 +00:00
</div>
2024-07-18 12:05:49 +00:00
2024-10-07 22:39:49 +00:00
<div v-if="activeTab==='a4'">
2024-10-15 13:46:32 +00:00
</div> -->
2024-05-24 01:49:45 +00:00
</div>
</template>
<script>
2024-07-21 03:43:45 +00:00
import SendStatPanel from '@/views/emis/emisWaybill/statpanel/SendStatPanel.vue';
import DestStatPanel from '@/views/emis/emisWaybill/statpanel/DestStatPanel.vue';
import ScanDtlListPanel from '@/views/emis/emisWaybill/statpanel/ScanDtlListPanel.vue';
import ScanDtlAllListPanel from '@/views/emis/emisWaybill/statpanel/ScanDtlAllListPanel.vue';
2024-07-18 12:05:49 +00:00
2024-05-24 01:49:45 +00:00
export default {
2024-07-21 03:43:45 +00:00
name: "RecordScanStatistics",
2024-05-24 01:49:45 +00:00
components: {
2024-07-21 03:43:45 +00:00
SendStatPanel,
DestStatPanel,
ScanDtlListPanel,
ScanDtlAllListPanel
2024-05-24 01:49:45 +00:00
},
2024-07-21 03:43:45 +00:00
dicts: [],
2024-05-24 01:49:45 +00:00
data() {
return {
2024-07-18 12:05:49 +00:00
activeTab:'a1',
2024-07-21 03:43:45 +00:00
queryDtlObj:null,
2024-05-24 01:49:45 +00:00
};
},
created() {
},
methods: {
2024-07-21 03:43:45 +00:00
onSendSelect(item){
this.queryDtlObj=item;
this.activeTab="a3";
2024-05-24 01:49:45 +00:00
},
2024-07-21 03:43:45 +00:00
onDestSelect(item){
this.queryDtlObj=item;
this.activeTab="a3";
2024-07-18 12:05:49 +00:00
},
2024-05-24 01:49:45 +00:00
}
};
</script>
<style lang="scss" scoped>
.el-divider{
margin-top: 0px;
background: 0 0;
border-top: 1px solid #E6EBF5;
}
.el-divider__text {
color: #0955ee;
cursor: pointer;
}
.query-label {
.el-radio{
display: block;
line-height: 23px;
white-space: normal;
margin-right: 0;
}
}
</style>