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

96 lines
2.1 KiB
Vue
Raw Normal View History

2024-05-24 01:49:45 +00:00
<template>
<div class="app-container">
<el-row :gutter="0" type='flex'>
<el-col :span="24" :xs="24">
<el-tabs v-model="activeTab" class="center-tabs">
2024-06-11 11:49:02 +00:00
<el-tab-pane label="寄件录单统计" name="a1" />
<el-tab-pane label="目的网点录单统计" name="a2" />
<el-tab-pane label="扫描数据统计" name="a3" />
<el-tab-pane label="全部明细统计" name="a4" />
2024-05-24 01:49:45 +00:00
</el-tabs>
2024-07-18 12:05:49 +00:00
</el-col>
</el-row>
<div v-show="activeTab==='a1'">
2024-07-21 03:43:45 +00:00
<SendStatPanel @onSelect="onSendSelect"></SendStatPanel>
</div>
2024-07-18 12:05:49 +00:00
2024-07-21 03:43:45 +00:00
<div v-show="activeTab==='a2'">
<DestStatPanel @onSelect="onDestSelect"></DestStatPanel>
</div>
2024-07-18 12:05:49 +00:00
2024-07-21 03:43:45 +00:00
<div v-show="activeTab==='a3'">
<ScanDtlListPanel :queryObj="queryDtlObj"></ScanDtlListPanel>
</div>
2024-07-18 12:05:49 +00:00
2024-07-21 03:43:45 +00:00
<div v-show="activeTab==='a4'">
<ScanDtlAllListPanel></ScanDtlAllListPanel>
</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>