Files
Arbitrate-Frontend/src/views/caseFiling/archiveList.vue
T

198 lines
6.8 KiB
Vue
Raw Normal View History

2023-09-18 21:55:43 +08:00
<template>
2023-09-21 19:00:27 +08:00
<div class="app-container">
2023-10-18 08:50:17 +08:00
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
2023-09-21 19:00:27 +08:00
<el-form-item label="案件编号" prop="caseNum">
2023-10-18 08:50:17 +08:00
<el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
2023-09-21 19:00:27 +08:00
</el-form-item>
<!-- <el-form-item label="案件状态" prop="caseStatus">
<el-select
v-model="queryParams.caseStatus"
placeholder="请选择案件状态"
clearable
@keyup.enter.native="handleQuery"
>
<el-option
v-for="dict in dict.type.case_status"
:key="dict.value"
:label="dict.label"
:value="dict.value"
></el-option>
</el-select>
</el-form-item> -->
2023-10-15 23:09:05 +08:00
<!-- <el-form-item label="开庭日期" prop="hearDate">
2023-09-21 19:00:27 +08:00
<el-date-picker
v-model="queryParams.hearDate"
type="daterange"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
>
</el-date-picker>
2023-10-15 23:09:05 +08:00
</el-form-item> -->
2023-09-21 19:00:27 +08:00
<el-form-item>
2023-10-18 08:50:17 +08:00
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
2023-09-21 19:00:27 +08:00
</el-form-item>
</el-form>
<el-row style="margin-bottom:5px;">
<el-button type="primary" size="mini" class="el-icon-download" @click="downloadZips">案件归档</el-button>
</el-row>
2023-09-21 19:00:27 +08:00
<el-table v-loading="loading" :data="dataList" style="width: 100%">
<el-table-column label="序号" type="index" align="center">
<template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
}}</span>
</template>
</el-table-column>
2023-10-18 08:50:17 +08:00
<el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
<el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
<el-table-column label="立案日期" align="center" prop="registerDate" :show-overflow-tooltip="true" />
2023-10-12 15:54:30 +08:00
<el-table-column label="案件状态" align="center" prop="caseStatusName">
<template slot-scope="scope">
<el-tag type="success">{{ scope.row.caseStatusName }}</el-tag>
</template>
</el-table-column>
2023-10-18 08:50:17 +08:00
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
2023-09-21 19:00:27 +08:00
<template slot-scope="scope">
2023-10-18 08:50:17 +08:00
<el-button size="mini" type="text" icon="el-icon-reading"
v-if="scope.row.filearbitraUrl && scope.row.filearbitraUrl !== ''"
@click="showModel(scope.row)">查看裁决书</el-button>
<el-button size="mini" type="text" icon="el-icon-reading" @click="showDetail(scope.row)">归档详情</el-button>
2023-09-21 19:00:27 +08:00
</template>
</el-table-column>
</el-table>
2023-10-18 08:50:17 +08:00
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
@pagination="getList(queryParams)" />
2023-09-21 19:00:27 +08:00
<!-- 弹窗 -->
2023-11-10 17:56:22 +08:00
<archiveDetailsDialog v-if="showarchiveDetails" :showarchiveDetails="showarchiveDetails" :caseDetail="caseDetail" :caseLog="caseLog" :videoList="videoList" :detailform="detailform"
2023-10-18 08:50:17 +08:00
:flagLoading="flagLoading" @cancelpaymentdetails="cancelpaymentdetails" @updataList="updataList">
</archiveDetailsDialog>
2023-09-21 19:00:27 +08:00
</div>
2023-09-18 21:55:43 +08:00
</template>
2023-09-21 19:00:27 +08:00
2023-09-18 21:55:43 +08:00
<script>
2023-11-10 17:56:22 +08:00
import { caseApplicationList, selectSignSealUrl,caseApplicationDetail } from "@/api/awardManagement/awardManagement";
import { caseLogRecordList, logistics } from "@/api/caseManagement/caseManagement";
2023-10-29 17:46:48 +08:00
import { adjudicationArchives, videoList } from "@/api/caseFiling/caseFiling";
2023-10-11 14:43:26 +08:00
import archiveDetailsDialog from "./components/archiveDetailsDialog.vue";
2023-09-21 19:00:27 +08:00
export default {
name: "archiveList",
dicts: ["case_status"],
2023-10-11 14:43:26 +08:00
components: { archiveDetailsDialog },
2023-09-21 19:00:27 +08:00
data() {
return {
queryParams: {
pageNum: 1,
pageSize: 10,
},
// 遮罩层
loading: false,
// 总条数
total: 0,
// 表格数据
list: [],
// 是否显示弹出层
// 弹出层内容
form: {},
// 校验表单
rules: {},
dataList: [],
detailform: [], //详情数据
2023-10-11 14:43:26 +08:00
showarchiveDetails: false, //详情数据弹框
2023-10-12 10:39:01 +08:00
flagLoading: false, //详情弹框loading
2023-11-10 17:56:22 +08:00
videoList:"",
caseDetail:{},
caseLog:null
2023-09-21 19:00:27 +08:00
};
},
created() {
this.queryParams.caseStatusList = [17];
2023-09-21 19:00:27 +08:00
this.getList(this.queryParams);
},
methods: {
2023-10-18 08:50:17 +08:00
showModel(row) {
selectSignSealUrl({ id: row.id }).then(res => {
let url = res.data.filearbitraUrl;
window.open(url)
})
},
2023-09-21 19:00:27 +08:00
updataList() {
this.getList(this.queryParams);
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList(this.queryParams);
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.handleQuery();
},
// 下在案件归档压缩包
downloadZips(){
// console.log(this.download)
},
2023-09-21 19:00:27 +08:00
// 查询列表数据
getList(parms) {
this.loading = true;
caseApplicationList(parms).then((response) => {
this.dataList = response.rows;
this.total = response.total;
this.loading = false;
});
},
// model框显示
showDetail(row) {
// this.getDetail({ id: row.id });
this.logisticsFn({ id: row.id })
2023-10-29 17:46:48 +08:00
this.getvideoList({ caseId: row.id });
2023-11-10 17:56:22 +08:00
this.getCaseDetail({ id: row.id })
this.getCaseLog({caseAppliId :row.id})
2023-10-12 15:54:30 +08:00
this.showarchiveDetails = true;
this.flagLoading = true;
2023-09-21 19:00:27 +08:00
},
// 关闭弹窗
cancelpaymentdetails() {
2023-10-11 14:43:26 +08:00
this.showarchiveDetails = false;
2023-09-21 19:00:27 +08:00
},
2023-10-29 17:46:48 +08:00
// 根据id查询视频列表
getvideoList(data) {
videoList(data).then(res => {
this.videoList = res.data;
})
},
2023-09-21 19:00:27 +08:00
/** 查询详情 */
// getDetail(parms) {
// adjudicationArchives(parms).then((res) => {
// console.log(res,"PPPPPPPPPPPPPPPPPPPPPPPPP");
// this.detailform = res.data.logisticsInfoVOList;
// });
// },
// 查询快递单号信息 logistics
logisticsFn(params) {
logistics(params).then((res) => {
2023-11-10 17:56:22 +08:00
// console.log(res,"PPPPPPPPPPPPPPPPPPPPPPPPP");
this.detailform = res.data;
})
2023-09-21 19:00:27 +08:00
},
2023-11-10 17:56:22 +08:00
// 查询案件详情
getCaseDetail(params){
caseApplicationDetail(params).then(res=>{
this.caseDetail = res.data;
this.flagLoading = false;
})
},
// 查看案件日志
getCaseLog(params){
caseLogRecordList(params).then(res=>{
// console.log(res,"LLLLLLLLLLL");
this.caseLog = res.data;
2023-11-10 17:56:22 +08:00
})
}
2023-09-21 19:00:27 +08:00
},
};
2023-09-18 21:55:43 +08:00
</script>
2023-09-21 19:00:27 +08:00
<style lang="scss" scoped></style>