Files
Arbitrate-Frontend/src/views/caseFiling/components/archiveDetailsDialog.vue
T

108 lines
2.6 KiB
Vue
Raw Normal View History

2023-10-11 14:43:26 +08:00
<template>
<div>
<el-dialog
title="归档详情"
:visible="showarchiveDetails"
@close="cancel"
:destroy-on-close="true"
center
>
2023-10-11 20:20:30 +08:00
<div class="loading" v-if="flagLoading">
<i class="el-icon-loading"></i>
</div>
<div v-else>
<div class="noData" v-if="noData">暂无数据!</div>
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="案件信息" name="first">
<caseInfo :caseApplicationObj="caseApplicationObj"></caseInfo>
</el-tab-pane>
<el-tab-pane label="案件日志" name="second">
<caselogInfo :caselogDataArr="caselogDataArr"></caselogInfo>
</el-tab-pane>
<el-tab-pane label="快递信息" name="third">
<expressDeliveryInfo
:deliveryDataArr="deliveryDataArr"
></expressDeliveryInfo>
</el-tab-pane>
</el-tabs>
</div>
2023-10-11 14:43:26 +08:00
<div slot="footer" class="dialog-footer">
<el-button @click="cancel">取 消</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import caseInfo from "./caseInfo.vue";
2023-10-11 20:20:30 +08:00
import caselogInfo from "./caselogInfo.vue";
import expressDeliveryInfo from "./expressDeliveryInfo.vue";
2023-10-11 14:43:26 +08:00
export default {
2023-10-11 20:20:30 +08:00
props: ["showarchiveDetails", "detailform", "flagLoading"],
2023-10-11 14:43:26 +08:00
components: {
caseInfo,
2023-10-11 20:20:30 +08:00
caselogInfo,
expressDeliveryInfo,
2023-10-11 14:43:26 +08:00
},
data() {
return {
activeName: "first",
2023-10-11 20:20:30 +08:00
caseApplicationObj: {}, //案件信息
caselogDataArr: [], //案件日志
deliveryDataArr: [], //快递信息
noData: false,
2023-10-11 14:43:26 +08:00
};
},
2023-10-11 20:20:30 +08:00
watch: {
detailform: {
handler(val) {
if (val) {
this.caseApplicationObj = val.caseApplication;
this.caselogDataArr = val.caseLogRecordList;
this.deliveryDataArr = val.logisticsInfoVOList;
}
},
},
},
2023-10-11 14:43:26 +08:00
methods: {
handleClick(tab, event) {
2023-10-11 20:20:30 +08:00
// console.log(tab, event);
2023-10-11 14:43:26 +08:00
},
cancel() {
this.$emit("cancelpaymentdetails");
},
},
};
</script>
<style lang="scss" scoped>
::v-deep .el-dialog {
width: 1000px;
background: #ffffff;
border-radius: 20px;
}
::v-deep .el-dialog__body {
height: 700px !important;
overflow: auto !important;
}
2023-10-11 20:20:30 +08:00
.loading {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
.el-icon-loading {
font-size: 50px;
}
}
.noData {
width: 100%;
height: 400px;
font-size: 30px;
font-weight: 700;
color: #959595;
display: flex;
justify-content: center;
align-items: center;
}
2023-10-11 14:43:26 +08:00
</style>