Files
Mediation-Frontend/src/views/caseManagement/caseList.vue
T

800 lines
33 KiB
Vue
Raw Normal View History

2024-01-09 19:19:29 +08:00
<template>
2024-01-11 10:47:07 +08:00
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true">
<el-form-item label="案件状态" prop="caseFlowId">
2024-01-24 17:47:31 +08:00
<el-select v-model="queryParams.caseFlowId" placeholder="请选择" clearable>
2024-02-29 09:32:44 +08:00
<el-option v-for="dict in caseStausArr" :key="dict.id" :label="dict.caseStatusName" :value="dict.id"
@keyup.enter.native="handleQuery"></el-option>
</el-select>
</el-form-item>
2024-02-06 11:43:37 +08:00
<!-- <el-form-item label="申请机构" prop="applicationOrganId">
<el-select v-model="queryParams.applicationOrganId" placeholder="请选择" clearable>
<el-option v-for="dict in deptList" :key="dict.deptId" :label="dict.deptName" :value="dict.deptId"
@keyup.enter.native="handleQuery"></el-option>
</el-select>
2024-02-06 11:43:37 +08:00
</el-form-item> -->
2024-01-30 09:21:59 +08:00
<!-- <el-form-item label="批号" prop="batchNumber">
<el-input v-model="queryParams.batchNumber" placeholder="请输入案件批号" clearable style="width: 240px"
2024-01-11 10:47:07 +08:00
@keyup.enter.native="handleQuery" />
2024-01-30 09:21:59 +08:00
</el-form-item> -->
<el-form-item label="案件编号" prop="caseNum">
2024-04-02 15:11:35 +08:00
<el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" :disabled='queryDisable' clearable
style="width: 240px" @keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="创建时间" prop="caseTime">
2024-02-19 18:17:00 +08:00
<el-date-picker v-model="caseTime" type="daterange" align="right" unlink-panels range-separator="至"
2024-03-12 11:18:18 +08:00
start-placeholder="开始日期" end-placeholder="结束日期" clearable style="width: 240px"
@change="caseTimeChange">
</el-date-picker>
</el-form-item>
2024-01-11 10:47:07 +08:00
<el-form-item>
<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> -->
2024-01-11 10:47:07 +08:00
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
2024-02-29 09:32:44 +08:00
<el-button type="primary" plain icon="el-icon-plus" v-hasPermi="['caseManagement:list:add']" size="mini"
@click="addCase()">新增案件</el-button>
2024-01-11 10:47:07 +08:00
</el-col>
2024-02-19 17:32:03 +08:00
<!-- TODO 后期可能加上-->
<!-- <el-col :span="1.5">
<el-button type="primary" plain icon="el-icon-plus" size="mini"
@click="compressedPackages">案件压缩包上传</el-button>
2024-02-19 17:32:03 +08:00
</el-col> -->
2024-01-11 10:47:07 +08:00
</el-row>
<el-table v-loading="loading" :data="dataList" style="width: 100%">
<el-table-column label="序号" type="index" align="center">
<template slot-scope="scope">
<span>{{
2024-03-12 11:18:18 +08:00
(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
}}</span>
2024-01-11 10:47:07 +08:00
</template>
</el-table-column>
2024-01-30 09:21:59 +08:00
<!-- <el-table-column label="批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" /> -->
2024-01-11 10:47:07 +08:00
<el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
2024-01-30 17:20:29 +08:00
<el-table-column label="申请人" align="center" prop="applicationName" :show-overflow-tooltip="true" />
2024-01-11 10:47:07 +08:00
<el-table-column label="被申请人" align="center" prop="respondentName" :show-overflow-tooltip="true" />
2024-02-23 11:19:14 +08:00
<!-- <el-table-column label="案件标的" align="center" prop="caseSubjectAmount" :show-overflow-tooltip="true" /> -->
2024-01-11 10:47:07 +08:00
<el-table-column label="调解员" align="center" prop="mediatorName" :show-overflow-tooltip="true" />
2024-02-19 18:17:00 +08:00
<el-table-column label="调解方式" align="center" prop="mediationMethodName" :show-overflow-tooltip="true" />
2024-02-19 14:19:18 +08:00
<el-table-column label="调解时间" align="center" prop="hearDate" :show-overflow-tooltip="true" />
2024-01-11 10:47:07 +08:00
<el-table-column label="案件状态" align="center" prop="caseStatusName" :show-overflow-tooltip="true" />
<el-table-column label="创建时间" align="center" prop="createTime" :show-overflow-tooltip="true" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
2024-01-11 10:47:07 +08:00
<template slot-scope="scope">
2024-02-29 09:32:44 +08:00
<el-button size="mini" @click="eidtNodeprocess(scope.row)" type="text" icon="el-icon-edit"
v-hasPermi="['caseManagement:list:edit']" v-if="scope.row.caseFlowId <= 1">修改</el-button>
2024-03-12 11:18:18 +08:00
<el-button size="mini" @click="checkDetail(scope.row)" type="text"
icon="el-icon-view">查看详情</el-button>
<el-button size="mini" @click="caseFlow(scope.row)" type="text"
icon="el-icon-zoom-in">查看流程</el-button>
2024-01-19 18:02:16 +08:00
<el-button size="mini" @click="caseLog(scope.row)" type="text"
icon="el-icon-edit-outline">案件日志</el-button>
2024-03-12 11:18:18 +08:00
<el-button size="mini" @click="viewpaymentformRow(scope.row)" type="text" icon="el-icon-edit"
v-if="scope.row.caseFlowId > 2">查看缴费单</el-button>
2024-02-29 09:32:44 +08:00
<el-button size="mini" type="text" icon="el-icon-edit" @click="evidenceUpload(scope.row)"
2024-03-12 11:18:18 +08:00
v-hasPermi="['caseManagement:list:evidenceEdit']"
v-if="scope.row.caseFlowId <= 9">上传证据</el-button>
2024-02-29 09:39:26 +08:00
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseFlowId == 15 ||
2024-03-12 11:18:18 +08:00
scope.row.caseFlowId == 16 ||
scope.row.caseFlowId == 17
" @click="caseFilingDetails(scope.row)">归档详情</el-button>
2024-02-29 09:39:26 +08:00
<div class="btnList" v-for="item in buttonList" :key="item.id">
2024-02-29 09:32:44 +08:00
<el-button size="mini" type="text" icon="el-icon-tickets" @click="caseClick(scope.row, item.id)"
2024-04-02 15:11:35 +08:00
v-if="(item.id == scope.row.caseFlowId &&
2024-03-12 11:18:18 +08:00
checkPermi([item.buttonAuthFlag]) &&
2024-04-02 15:11:35 +08:00
scope.row.signButtonFlag != 1) && (scope.row.appOperatorFlag == 1 || scope.row.resOperatorFlag == 1 || scope.row.otherFlag == 1)
2024-03-12 11:18:18 +08:00
">{{ item.nodeName }}</el-button>
2024-02-29 09:32:44 +08:00
</div>
2024-01-11 10:47:07 +08:00
</template>
</el-table-column>
</el-table>
2024-03-12 11:18:18 +08:00
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" @pagination="getList(queryParams)" />
<!-- 新增编辑详情 -->
<addCase :addVisable="addVisable" :queryParams="queryParams" @cancelCaseAdd="cancelCaseAdd" @getList="getList"
2024-03-12 11:18:18 +08:00
:caseData="caseData" :caseDisabled="caseDisabled" :tabFlag="tabFlag" :addModifyData="addModifyData">
</addCase>
<!-- 压缩包导入 -->
<caseCompressionPackage :openCompressedPackages="openCompressedPackages" :queryParams="queryParams"
@cancelCompreess="cancelCompreess" :getList="getList">
</caseCompressionPackage>
2024-01-12 18:15:12 +08:00
<!-- 案件详情 -->
2024-01-19 18:02:16 +08:00
<mediationCaseDetails :processVisable="processVisable" @cancelViewProcess="cancelViewProcess"
:caseFlowNumber="caseFlowNumber">
2024-01-15 17:46:58 +08:00
</mediationCaseDetails>
2024-01-12 18:15:12 +08:00
<!-- 案件日志 -->
2024-02-29 09:32:44 +08:00
<mediationCaseLog :showcaseLog="showcaseLog" @cancelcaseLog="cancelcaseLog" :caselogDataArr="caselogDataArr"
:flagLoading="flagLoading"></mediationCaseLog>
2024-01-12 14:03:10 +08:00
<!-- 证据修改 -->
2024-03-12 11:18:18 +08:00
<evidenceDialog :evidenceVisable="evidenceVisable" @cancelEvidence="cancelEvidence"
:evidenceData="evidenceData">
2024-01-12 14:03:10 +08:00
</evidenceDialog>
2024-01-15 17:46:58 +08:00
<!-- 缴费 -->
2024-03-12 11:18:18 +08:00
<payDialog :openPay="openPay" :payTitle="payTitle" :formPayDetail="formPayDetail" :payId="payId"
:payForm="payForm" :queryParams="queryParams" @getList="getList" @paycancelRow="paycancelRow"
2024-02-29 09:32:44 +08:00
:formPayDetailAffiliate="formPayDetailAffiliate"></payDialog>
<!-- 缴费确认查看详情 -->
2024-01-19 18:02:16 +08:00
<paymentdetailsDialog :openDialog="openDialog" @cancelpaymentdetails="cancelpaymentdetails" :title="payTitle"
2024-02-29 09:32:44 +08:00
:detailform="detailform" :queryParams="queryParams" :flag="flag" :paymentConfirma="paymentConfirma"
:isapplicant="isapplicant" @getList="getList">
2024-01-19 18:02:16 +08:00
</paymentdetailsDialog>
<!-- 案件受理 -->
2024-01-19 18:02:16 +08:00
<caseAcceptance :showAcceptance="showAcceptance" @cancelAcceptance="cancelAcceptance"
2024-03-06 15:09:52 +08:00
:caseAcceptanceData="caseAcceptanceData" @getList="getList" :queryParams="queryParams"></caseAcceptance>
2024-01-31 18:00:19 +08:00
<!-- 被申请人缴费 -->
2024-02-29 09:32:44 +08:00
<respondentPay :openResPay="openResPay" :resPayTitle="resPayTitle" :formResPayDetail="formResPayDetail"
:resPayId="resPayId" :resPayForm="resPayForm" :queryParams="queryParams" @getList="getList"
@paycancelRes="paycancelRes" :formResPay="formResPay"></respondentPay>
2024-01-16 18:06:41 +08:00
<!-- 调解员弹窗 -->
2024-01-19 18:02:16 +08:00
<selectMediator @cancelMediator="cancelMediator" :mediatorVisable="mediatorVisable" :mediatorData="mediatorData"
@getList="getList" :queryParams="queryParams"></selectMediator>
2024-01-17 17:58:03 +08:00
<!-- 秘书确认 -->
2024-01-19 18:02:16 +08:00
<confirmMediator @cancelConfirm="cancelConfirm" :confirmVisable="confirmVisable" :confirmData="confirmData"
@getList="getList" :queryParams="queryParams"></confirmMediator>
2024-01-17 17:58:03 +08:00
<!-- 部门长确认 -->
2024-01-19 18:02:16 +08:00
<departmentMediator @cancelDepartment="cancelDepartment" :departmentVisable="departmentVisable"
:departmentData="departmentData" @getList="getList" :queryParams="queryParams"></departmentMediator>
2024-01-18 16:19:11 +08:00
<!-- 秘书确认时间 -->
2024-01-19 18:02:16 +08:00
<timeConfirm @cancelTimeConfirm="cancelTimeConfirm" :timeConfirmVisable="timeConfirmVisable"
:timeConfirmData="timeConfirmData" @getList="getList" :queryParams="queryParams"></timeConfirm>
<!-- 待调解 -->
2024-03-12 11:18:18 +08:00
<mediation @cancelMediation="cancelMediation" :mediationVisable="mediationVisable"
:mediationData="mediationData" @getList="getList" :queryParams="queryParams"></mediation>
2024-01-20 17:20:15 +08:00
<confirmMediation @cancelConfirmTion="cancelConfirmTion" :confirmTionVisable="confirmTionVisable"
2024-01-25 15:10:11 +08:00
:confirmTionData="confirmTionData" @getList="getList" :queryParams="queryParams"></confirmMediation>
<!-- 归档详情 -->
2024-02-29 09:32:44 +08:00
<caseFilingDetailsPage :showarchiveDetails="showarchiveDetails" :caseFilingData="caseFilingData"
@cancelDetail="cancelDetail" :detailsAwardNum="detailsAwardNum" :flagLoadingS="flagLoadingS">
</caseFilingDetailsPage>
2024-01-11 10:47:07 +08:00
</div>
2024-01-09 19:19:29 +08:00
</template>
<script>
2024-02-28 18:13:28 +08:00
import {
2024-02-29 09:39:26 +08:00
caseApplicationList,
caseApplicationSelectById,
submitCaseApply,
selectPaymentDetail,
sealApply,
selectSealUrl,
listCaseLogRecord,
msCaseFile,
msCaseSign,
listDeptApplied,
msCaseSignUrlApplyPC,
2024-02-28 18:13:28 +08:00
} from "@/api/caseManagement/caseManagement.js";
import { listDept } from "@/api/system/dept.js";
import { queryCaseFlowInfo } from "@/api/caseprocessManagement/caseprocessManagement.js";
import moment from "moment";
2024-02-28 18:13:28 +08:00
import addCase from "./components/addCase.vue";
import evidenceDialog from "./components/evidenceDialog.vue";
import caseCompressionPackage from "./components/caseCompressionPackage.vue";
import mediationCaseDetails from "./components/mediationCaseDetails.vue";
import mediationCaseLog from "./components/mediationCaseLog.vue";
2024-01-15 17:46:58 +08:00
import payDialog from "./components/payDialog.vue";
2024-02-28 18:13:28 +08:00
import respondentPay from "./components/respondentPay.vue";
import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
import caseAcceptance from "./components/caseAcceptance.vue";
import selectMediator from "./components/selectMediator.vue";
import confirmMediator from "./components/confirmMediator.vue";
import departmentMediator from "./components/departmentMediator.vue";
import timeConfirm from "./components/timeConfirm.vue";
import mediation from "./components/mediation.vue";
import confirmMediation from "./components/confirmMediation.vue";
import caseFilingDetailsPage from "./components/caseFilingDetailsPage.vue";
2024-01-09 19:19:29 +08:00
export default {
2024-01-11 10:47:07 +08:00
name: "caseList",
dicts: ["case_flow_node"],
2024-01-11 10:47:07 +08:00
components: {
addCase,
2024-01-12 18:15:12 +08:00
caseCompressionPackage,
mediationCaseDetails,
2024-01-12 21:44:17 +08:00
mediationCaseLog,
2024-01-15 17:46:58 +08:00
evidenceDialog,
payDialog,
paymentdetailsDialog,
2024-01-16 18:06:41 +08:00
caseAcceptance,
2024-02-29 09:39:26 +08:00
selectMediator, //调解员弹窗
2024-01-17 17:58:03 +08:00
confirmMediator,
2024-01-18 16:19:11 +08:00
departmentMediator,
2024-01-19 18:02:16 +08:00
timeConfirm,
2024-01-20 17:20:15 +08:00
mediation,
2024-01-25 15:10:11 +08:00
confirmMediation,
2024-01-31 18:00:19 +08:00
caseFilingDetailsPage,
2024-02-29 09:39:26 +08:00
respondentPay,
2024-01-09 19:19:29 +08:00
},
2024-01-11 10:47:07 +08:00
data() {
return {
queryParams: {
pageNum: 1,
pageSize: 10,
},
2024-04-02 15:11:35 +08:00
queryDisable: false,
2024-01-11 10:47:07 +08:00
// 遮罩层
loading: false,
// 总条数
total: 0,
// 表格数据
form: {},
// 校验表单
rules: {},
dataList: [],
2024-02-29 09:39:26 +08:00
addVisable: false, //新增弹窗
2024-01-15 17:46:58 +08:00
openPay: false, //缴费弹框
2024-02-29 09:39:26 +08:00
openResPay: false, //被申请人缴费弹窗
2024-01-15 17:46:58 +08:00
formPayDetail: {},
2024-02-29 09:32:44 +08:00
formResPayDetail: {},
2024-01-15 17:46:58 +08:00
payId: null,
2024-02-29 09:32:44 +08:00
resPayId: null,
2024-01-15 17:46:58 +08:00
payForm: {},
2024-02-29 09:32:44 +08:00
resPayForm: {},
2024-02-29 09:39:26 +08:00
openCompressedPackages: false, //压缩包导入弹窗
processVisable: false, //案件详情
showcaseLog: false, //案件日志
openDialog: false, //确认缴费和缴费详情
detailform: {}, //缴费详情数据
2024-02-29 09:39:26 +08:00
evidenceVisable: false, //证据修改弹窗
mediationVisable: false, //待调解弹窗
2024-02-29 09:32:44 +08:00
mediationData: {},
2024-02-29 09:39:26 +08:00
payTitle: "", //缴费标题
resPayTitle: "", //被申请人缴费标题
paymentConfirma: {}, //缴费确认
showAcceptance: false, //案件受理弹框
caseAcceptanceData: {}, //案件受理数据
mediatorVisable: false, //选择调解员弹窗
timeVisable: false, //预约时间弹窗
confirmVisable: false, //确认时间/调解员
caseFlowNumber: {}, //案件流程数据
caselogDataArr: [], //案件日志数据
2024-01-19 14:39:53 +08:00
flagLoading: true, //案件日志弹框loading
2024-02-29 09:39:26 +08:00
confirmTionVisable: false, //确认调解书弹窗
addModifyData: null, //新增修改传的参数
showarchiveDetails: false, //归档详情弹窗
2024-02-29 09:32:44 +08:00
detailsAwardNum: {},
2024-01-25 15:10:11 +08:00
flagLoadingS: true,
2024-02-29 09:32:44 +08:00
formPayDetailAffiliate: {},
formResPay: {},
mediatorData: {},
flag: null,
2024-01-11 10:47:07 +08:00
caseData: {},
2024-01-12 14:03:10 +08:00
evidenceData: {},
caseDisabled: false,
2024-02-29 09:39:26 +08:00
caseTime: "",
2024-01-15 17:46:58 +08:00
deptList: [],
2024-02-29 09:39:26 +08:00
payTitle: "",
2024-01-17 17:58:03 +08:00
tabFlag: false,
2024-01-19 18:02:16 +08:00
confirmData: {},
departmentVisable: false,
departmentData: {},
timeConfirmVisable: false,
timeConfirmData: {},
2024-02-29 09:32:44 +08:00
confirmTionData: {},
2024-02-21 11:29:00 +08:00
buttonList: [],
2024-02-29 09:39:26 +08:00
caseStausArr: [], //案件状态
2024-02-21 11:29:00 +08:00
isapplicant: true, //判断角色申请人或非申请人
2024-02-29 09:39:26 +08:00
caseFilingData: {},
2024-01-09 19:19:29 +08:00
};
},
2024-01-11 10:47:07 +08:00
created() {
2024-03-28 18:04:52 +08:00
this.queryParams.caseNum = this.$route.query.caseNum;
2024-04-02 15:11:35 +08:00
if (this.$route.query.token) {
2024-03-28 18:04:52 +08:00
this.queryDisable = true;
2024-04-02 15:11:35 +08:00
} else {
2024-03-28 18:04:52 +08:00
this.queryDisable = false;
}
2024-02-29 09:39:26 +08:00
// this.getList(this.queryParams);
this.listDeptFn();
// this.getButtonList()
queryCaseFlowInfo({
pageNum: 1,
pageSize: 100000,
}).then((res) => {
res.rows.forEach((item) => {
if (item.id != 17) {
this.buttonList.push(item);
}
this.caseStausArr.push(item);
});
2024-03-01 18:14:15 +08:00
// if (this.$route.query.caseFlowId) {
// let querydata = Number(this.$route.query.caseFlowId);
// if (querydata > 0) {
// this.$set(this.queryParams, 'caseFlowId', querydata)
// }
// }
// this.getList(this.queryParams);
});
if (this.$route.query.caseFlowId) {
2024-03-12 11:18:18 +08:00
let querydata = Number(this.$route.query.caseFlowId);
if (querydata > 0) {
this.$set(this.queryParams, 'caseFlowId', querydata)
2024-02-29 09:39:26 +08:00
}
2024-03-12 11:18:18 +08:00
}
this.getList(this.queryParams);
2024-01-09 19:19:29 +08:00
},
2024-01-11 10:47:07 +08:00
methods: {
2024-01-19 18:02:16 +08:00
/**所有按钮事件 */
2024-02-29 09:32:44 +08:00
caseClick(val, type) {
if (type == 1) {
2024-01-19 18:02:16 +08:00
// 提交案件
this.onsubmitRow(val);
2024-02-29 09:32:44 +08:00
} else if (type == 2) {
2024-01-19 18:02:16 +08:00
// 缴费
this.payStatus(val);
2024-02-29 09:32:44 +08:00
} else if (type == 3 || type == 45) {
2024-01-19 18:02:16 +08:00
// 确认缴费
2024-02-29 09:32:44 +08:00
this.paymentconfirmationRow(val, type);
} else if (type == 4) {
2024-01-19 18:02:16 +08:00
// 受理分配
this.caseAccep(val);
2024-02-29 09:32:44 +08:00
} else if (type == 5) {
2024-01-19 18:02:16 +08:00
// 选择调解员
this.selectMediator(val);
2024-02-29 09:32:44 +08:00
} else if (type == 6) {
2024-01-19 18:02:16 +08:00
// 核实调解员
this.secretaryConfirm(val);
2024-02-29 09:32:44 +08:00
} else if (type == 7) {
2024-01-19 18:02:16 +08:00
// 确认调解员
this.department(val);
2024-02-29 09:32:44 +08:00
} else if (type == 8) {
2024-01-19 18:02:16 +08:00
// 确定调解时间
this.timeConfirm(val);
2024-02-29 09:32:44 +08:00
} else if (type == 9) {
2024-01-19 18:02:16 +08:00
// 调解
2024-02-29 09:39:26 +08:00
this.mediationClick(val);
2024-02-29 09:32:44 +08:00
} else if (type == 10) {
2024-01-19 18:02:16 +08:00
// 确认调解书
2024-02-29 09:39:26 +08:00
this.confirmMediation(val);
2024-02-29 09:32:44 +08:00
} else if (type == 11) {
2024-01-19 18:02:16 +08:00
// 签名
2024-02-29 09:39:26 +08:00
this.msCaseSignUrlApplyPCFn(val);
2024-02-29 09:32:44 +08:00
} else if (type == 12) {
2024-01-19 18:02:16 +08:00
// 用印申请
2024-02-29 09:39:26 +08:00
this.consultantApplica(val);
2024-02-29 09:32:44 +08:00
} else if (type == 13) {
2024-01-19 18:02:16 +08:00
// 用印
2024-02-29 09:39:26 +08:00
this.departmentApplica(val);
2024-02-29 09:32:44 +08:00
} else if (type == 14) {
2024-01-19 18:02:16 +08:00
// 归档
2024-01-20 18:01:40 +08:00
this.caseFiling(val);
2024-02-29 09:32:44 +08:00
} else if (type == 15) {
2024-01-20 18:01:40 +08:00
// 申请人签收
2024-02-29 09:39:26 +08:00
this.signMediation(val);
2024-02-29 09:32:44 +08:00
} else if (type == 16) {
2024-01-20 18:01:40 +08:00
// 被申请人签收
2024-02-29 09:39:26 +08:00
this.receivedMediation(val);
2024-02-29 09:32:44 +08:00
} else if (type == 17) {
2024-01-20 18:01:40 +08:00
//结束
2024-02-29 09:32:44 +08:00
} else if (type == 44) {
2024-01-31 18:00:19 +08:00
// 被申请人缴费
2024-02-29 09:39:26 +08:00
this.resPayStatus(val);
2024-01-19 18:02:16 +08:00
}
},
/**查询按钮列表 */
2024-02-29 09:39:26 +08:00
getButtonList() { },
2024-01-11 10:47:07 +08:00
/** 新增案件 */
2024-01-31 18:00:19 +08:00
addCase() {
2024-02-29 09:32:44 +08:00
this.addModifyData = 1;
2024-01-11 10:47:07 +08:00
this.addVisable = true;
this.caseData = {};
this.caseDisabled = false;
2024-01-15 17:46:58 +08:00
this.tabFlag = false;
2024-01-11 10:47:07 +08:00
},
/** 查看详情 */
checkDetail(val) {
2024-02-29 09:32:44 +08:00
this.addModifyData = 2;
this.addVisable = true;
this.caseData = val;
this.caseDisabled = true;
2024-01-15 17:46:58 +08:00
this.tabFlag = true;
2024-01-11 10:47:07 +08:00
},
/** 修改案件 */
2024-02-02 09:19:51 +08:00
eidtNodeprocess(row) {
2024-02-29 09:39:26 +08:00
this.addModifyData = 3;
2024-01-11 10:47:07 +08:00
this.addVisable = true;
this.caseData = row;
2024-02-29 09:39:26 +08:00
this.$set(this.caseData, "flag", 2);
this.caseDisabled = false;
2024-01-15 17:46:58 +08:00
this.tabFlag = false;
2024-01-11 10:47:07 +08:00
},
/** 案件导入压缩包 */
compressedPackages() {
this.openCompressedPackages = true;
},
2024-01-15 17:46:58 +08:00
/** 缴费 */
payStatus(val) {
this.getDetail({ id: val.id });
2024-01-31 18:00:19 +08:00
this.payTitle = "申请人缴费";
2024-01-15 17:46:58 +08:00
this.payId = val.id;
this.openPay = true;
},
2024-01-31 18:00:19 +08:00
/** 被申请人缴费 */
resPayStatus(val) {
this.getResDetail({ id: val.id });
this.resPayTitle = "被申请人缴费";
this.resPayId = val.id;
this.openResPay = true;
},
2024-01-15 17:46:58 +08:00
/** 列表提交立案 */
onsubmitRow(row) {
this.$modal
2024-02-19 14:19:18 +08:00
.confirm("是否提交调解申请?")
2024-01-15 17:46:58 +08:00
.then(function () {
2024-01-19 18:02:16 +08:00
return submitCaseApply({ id: row.id, caseFlowId: row.caseFlowId });
2024-01-15 17:46:58 +08:00
})
.then(() => {
this.getList(this.queryParams);
2024-02-19 14:19:18 +08:00
this.$modal.msgSuccess("调解申请成功");
2024-01-15 17:46:58 +08:00
})
.catch(() => { });
},
2024-02-19 17:32:03 +08:00
/** 签名 */
msCaseSignUrlApplyPCFn(row) {
// this.$modal
// .confirm("是否")
// .then(function () {
// return msCaseSignUrlApplyPC({ caseId: row.id });
// })
// .then(() => {
// this.getList(this.queryParams);
// this.$modal.msgSuccess("立案申请成功");
// })
// .catch(() => { });
2024-02-29 09:39:26 +08:00
msCaseSignUrlApplyPC({ caseId: row.id }).then((res) => {
2024-02-29 09:32:44 +08:00
console.log(res, "PPPPPPPPPPPPPPPPPPPP");
2024-02-19 17:32:03 +08:00
window.open(res.data.sealUrl);
2024-02-29 09:39:26 +08:00
});
2024-02-19 17:32:03 +08:00
},
2024-01-16 18:06:41 +08:00
/** 选择调解员 */
2024-01-19 18:02:16 +08:00
selectMediator(val) {
2024-01-16 18:06:41 +08:00
this.mediatorVisable = true;
this.mediatorData = val;
},
/** 预约时间 */
2024-01-19 18:02:16 +08:00
selectTime(val) {
2024-01-16 18:06:41 +08:00
this.timeVisable = true;
},
2024-01-19 18:02:16 +08:00
/** 调解 */
2024-02-29 09:32:44 +08:00
mediationClick(val) {
2024-01-19 18:02:16 +08:00
this.mediationVisable = true;
this.mediationData = val;
},
2024-01-20 17:20:15 +08:00
/** 确认调解书 */
2024-02-29 09:32:44 +08:00
confirmMediation(val) {
2024-01-20 17:20:15 +08:00
this.confirmTionVisable = true;
this.confirmTionData = val;
},
2024-01-15 17:46:58 +08:00
getDetail(parms) {
caseApplicationSelectById(parms).then((res) => {
this.formPayDetail = res.data;
2024-01-24 15:33:37 +08:00
this.formPayDetailAffiliate = res.data.affiliate;
2024-04-02 15:11:35 +08:00
let applicantStr = '';
let resStr = '';
applicantStr = this.formPayDetailAffiliate.applicant.map(item => item.applicant.name).join(',');
resStr = this.formPayDetailAffiliate.res.map(item => item.res.name).join(',');
this.formPayDetailAffiliate.applicationName = applicantStr;
this.formPayDetailAffiliate.respondentName = resStr;
2024-01-15 17:46:58 +08:00
this.payForm.feePayable = res.data.feePayable;
this.payForm.caseId = res.data.id;
});
},
2024-01-31 18:00:19 +08:00
getResDetail(parms) {
caseApplicationSelectById(parms).then((res) => {
this.formResPayDetail = res.data;
this.formResPay = res.data.affiliate;
2024-04-02 15:11:35 +08:00
let applicantStr = '';
let resStr = '';
applicantStr = this.formResPay.applicant.map(item => item.applicant.name).join(',');
resStr = this.formResPay.res.map(item => item.res.name).join(',');
this.formResPay.applicationName = applicantStr;
this.formResPay.respondentName = resStr;
2024-01-31 18:00:19 +08:00
this.resPayForm.feePayable = res.data.feePayable;
this.resPayForm.caseId = res.data.id;
});
},
2024-01-18 16:19:11 +08:00
/** 确认调解员 */
2024-01-19 18:02:16 +08:00
secretaryConfirm(val) {
2024-01-17 17:58:03 +08:00
this.confirmVisable = true;
this.confirmData = val;
},
2024-01-18 16:19:11 +08:00
/** 部门长确认调解员 */
2024-01-19 18:02:16 +08:00
department(val) {
2024-01-17 17:58:03 +08:00
this.departmentVisable = true;
this.departmentData = val;
},
2024-01-18 16:19:11 +08:00
/**确认时间 */
2024-01-19 18:02:16 +08:00
timeConfirm(val) {
2024-01-18 16:19:11 +08:00
this.timeConfirmVisable = true;
this.timeConfirmData = val;
},
/** 时间改变处理 */
caseTimeChange() {
if (this.caseTime) {
2024-02-29 09:39:26 +08:00
this.queryParams.startTime = moment(this.caseTime[0]).format(
"YYYY-MM-DD HH:mm:ss"
);
this.queryParams.endTime = moment(this.caseTime[1]).format(
"YYYY-MM-DD HH:mm:ss"
);
} else {
2024-02-29 09:39:26 +08:00
this.queryParams.startTime = "";
this.queryParams.endTime = "";
}
},
/** 获取所有部门 */
listDeptFn() {
2024-02-29 09:39:26 +08:00
listDeptApplied().then((res) => {
this.deptList = res.data;
2024-02-29 09:39:26 +08:00
});
},
2024-01-12 14:03:10 +08:00
/** 修改证据 */
evidenceUpload(row) {
this.evidenceData = row;
this.evidenceVisable = true;
},
/** 取消弹窗(证据弹窗) */
cancelEvidence() {
this.evidenceVisable = false;
},
/** 关闭新增弹窗 */
cancelCaseAdd() {
2024-01-11 10:47:07 +08:00
this.addVisable = false;
},
/** 关闭压缩包导入弹窗 */
cancelCompreess() {
this.openCompressedPackages = false;
},
2024-01-15 17:46:58 +08:00
/**取消缴费*/
paycancelRow(row) {
this.openPay = false;
},
2024-01-31 18:00:19 +08:00
/**被申请人取消缴费*/
paycancelRes(row) {
this.openResPay = false;
},
2024-01-16 18:06:41 +08:00
/** 取消调解员弹窗 */
2024-01-19 18:02:16 +08:00
cancelMediator() {
2024-01-16 18:06:41 +08:00
this.mediatorVisable = false;
},
/** 取消预约时间弹窗 */
2024-01-19 18:02:16 +08:00
cancelTime() {
2024-01-16 18:06:41 +08:00
this.timeVisable = false;
},
2024-01-19 18:02:16 +08:00
/**取消调解 */
2024-02-29 09:32:44 +08:00
cancelMediation() {
2024-01-19 18:02:16 +08:00
this.timeConfirmVisable = false;
},
2024-01-20 17:20:15 +08:00
/** 取消确认调解弹窗 */
2024-02-29 09:32:44 +08:00
cancelConfirmTion() {
2024-01-20 17:20:15 +08:00
this.confirmTionVisable = false;
},
2024-02-29 09:32:44 +08:00
cancelMediation() {
2024-01-19 18:02:16 +08:00
this.mediationVisable = false;
},
cancelConfirm() {
2024-01-17 17:58:03 +08:00
this.confirmVisable = false;
},
2024-01-19 18:02:16 +08:00
cancelDepartment() {
2024-01-17 17:58:03 +08:00
this.departmentVisable = false;
},
2024-01-19 18:02:16 +08:00
cancelTimeConfirm() {
2024-01-18 16:19:11 +08:00
this.timeConfirmVisable = false;
},
2024-01-11 10:47:07 +08:00
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList(this.queryParams);
},
/** 重置按钮操作 */
// resetQuery() {
// this.resetForm("queryForm");
// this.handleQuery();
// },
2024-01-11 10:47:07 +08:00
// 查询列表数据
getList(parms) {
this.loading = true;
caseApplicationList(parms).then((response) => {
this.dataList = response.rows;
this.total = response.total;
this.loading = false;
2024-02-29 09:39:26 +08:00
});
2024-01-11 10:47:07 +08:00
},
2024-01-11 16:59:36 +08:00
// 法律顾问用印申请
consultantApplica(row) {
2024-01-19 18:02:16 +08:00
let paramsValue = {
caseId: row.id,
batchNumber: "",
2024-02-29 09:39:26 +08:00
caseFlowId: row.caseFlowId,
};
this.$modal
.confirm("你确定要用印申请吗?")
.then((res) => {
sealApply(paramsValue).then((res) => {
this.getList(this.queryParams);
this.$modal.msgSuccess("用印申请成功");
});
2024-01-16 17:21:13 +08:00
})
2024-02-29 09:39:26 +08:00
.catch(() => { });
2024-01-11 16:59:36 +08:00
},
// 部门长用印申请
2024-01-16 17:21:13 +08:00
departmentApplica(row) {
2024-02-29 09:39:26 +08:00
this.$modal
.confirm("你确定要用印确认吗?")
.then((res) => {
let paramsValue = {
caseId: row.id,
};
selectSealUrl(paramsValue).then((res) => {
window.open(res.data.sealUrl);
this.$modal
.confirm("你确认用印了吗?")
.then((res) => {
this.getList(this.queryParams);
})
.catch(() => { });
});
2024-01-19 18:02:16 +08:00
})
2024-02-29 09:39:26 +08:00
.catch(() => { });
},
// 案件受理
2024-01-19 18:02:16 +08:00
caseAccep(row) {
2024-02-29 09:39:26 +08:00
this.caseAcceptanceData = row;
this.showAcceptance = true;
},
2024-01-19 18:02:16 +08:00
cancelAcceptance() {
2024-02-29 09:39:26 +08:00
this.showAcceptance = false;
},
// 缴费确认
2024-02-29 09:32:44 +08:00
paymentconfirmationRow(row, type) {
2024-02-29 09:39:26 +08:00
this.paymentConfirma = row;
console.log(this.paymentConfirma);
this.paymentDetails({
2024-02-29 09:39:26 +08:00
id: row.id,
});
this.openDialog = true;
this.payTitle = "缴费确认";
this.flag = 0;
2024-02-29 09:39:26 +08:00
this.detailform = {};
2024-02-21 11:29:00 +08:00
if (type == 3) {
2024-02-29 09:32:44 +08:00
// 申请人
2024-02-29 09:39:26 +08:00
this.isapplicant = true;
2024-02-29 09:32:44 +08:00
} else {
2024-02-29 09:39:26 +08:00
this.isapplicant = false;
2024-02-21 11:29:00 +08:00
}
},
2024-01-19 18:02:16 +08:00
cancelpaymentdetails() {
2024-02-29 09:39:26 +08:00
this.openDialog = false;
},
// 查看缴费确认
2024-01-19 18:02:16 +08:00
viewpaymentformRow(row) {
this.paymentDetails({
2024-02-29 09:39:26 +08:00
id: row.id,
});
this.payTitle = "缴费单详情";
this.flag = 1;
2024-02-29 09:39:26 +08:00
this.detailform = {};
this.openDialog = true;
},
// 缴费详情
2024-01-19 18:02:16 +08:00
paymentDetails(val) {
2024-02-29 09:39:26 +08:00
selectPaymentDetail(val).then((res) => {
this.detailform = res.data;
2024-02-29 09:39:26 +08:00
});
2024-01-12 18:15:12 +08:00
},
//案件流程
2024-01-15 17:46:58 +08:00
caseFlow(row) {
2024-02-29 09:39:26 +08:00
this.caseFlowNumber = row;
this.processVisable = true;
2024-01-12 18:15:12 +08:00
},
2024-01-15 17:46:58 +08:00
cancelViewProcess() {
2024-02-29 09:39:26 +08:00
this.processVisable = false;
2024-01-12 18:15:12 +08:00
},
//案件日志
2024-01-19 14:39:53 +08:00
caseLog(row) {
2024-02-29 09:39:26 +08:00
this.caseLogNumber = row;
this.showcaseLog = true;
2024-01-19 14:39:53 +08:00
this.flagLoading = true;
2024-02-29 09:39:26 +08:00
listCaseLogRecord({ caseId: row.id }).then((res) => {
this.caselogDataArr = res.data;
2024-02-29 09:32:44 +08:00
this.flagLoading = false;
2024-02-29 09:39:26 +08:00
});
2024-01-12 18:15:12 +08:00
},
2024-01-15 17:46:58 +08:00
cancelcaseLog() {
2024-02-29 09:39:26 +08:00
this.showcaseLog = false;
2024-01-12 18:15:12 +08:00
},
2024-01-31 16:04:35 +08:00
// 案件送达
2024-01-20 18:01:40 +08:00
caseFiling(row) {
2024-02-29 09:39:26 +08:00
console.log(row.id);
2024-01-20 18:01:40 +08:00
let paramValues = {
2024-02-29 09:39:26 +08:00
ids: [row.id],
};
2024-03-12 11:18:18 +08:00
this.$confirm("你确定要案件送达吗?", "提示", {
2024-04-02 15:11:35 +08:00
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
callback: () => { },
beforeClose: (action, ctx, close) => {
if (action !== 'confirm') {
close();
return;
2024-03-12 11:18:18 +08:00
}
2024-04-02 15:11:35 +08:00
ctx.confirmButtonLoading = true;
msCaseFile(paramValues).then((res) => {
this.$modal.msgSuccess("案件送达成功");
close();
this.getList(this.queryParams);
}).finally(() => {
ctx.confirmButtonLoading = false;
})
}
}).finally(() => { })
2024-03-12 11:18:18 +08:00
// .then((res) => {
// msCaseFile(paramValues).then((res) => {
// this.$modal.msgSuccess("案件送达成功");
// this.getList(this.queryParams);
// });
// })
// .catch(() => { });
2024-01-12 18:15:12 +08:00
},
2024-01-20 18:01:40 +08:00
//申请人签收调解书
signMediation(row) {
2024-02-29 09:39:26 +08:00
this.$modal
.confirm("你确定要签收调解书吗?")
.then((res) => {
this.signingMediationAgreement({ caseId: row.id, isSignApply: 1 });
})
.catch(() => { });
2024-01-12 21:44:17 +08:00
},
2024-01-20 18:01:40 +08:00
//被申请人签收调解书
receivedMediation(row) {
2024-02-29 09:39:26 +08:00
this.$modal
.confirm("你确定要签收调解书吗?")
.then((res) => {
this.signingMediationAgreement({ caseId: row.id, isSignRespon: 1 });
})
.catch(() => { });
2024-01-20 18:01:40 +08:00
},
// 申请人和被申请人签收调解书接口
2024-02-29 09:32:44 +08:00
signingMediationAgreement(val) {
2024-02-29 09:39:26 +08:00
console.log(val);
msCaseSign(val).then((res) => {
2024-02-29 09:32:44 +08:00
this.$modal.msgSuccess("签收成功");
this.getList(this.queryParams);
2024-02-29 09:39:26 +08:00
});
2024-02-29 09:32:44 +08:00
},
2024-01-25 15:10:11 +08:00
//归档详情
2024-02-29 09:32:44 +08:00
caseFilingDetails(val) {
2024-02-26 18:00:14 +08:00
this.showarchiveDetails = true;
this.caseFilingData = val;
2024-02-29 09:39:26 +08:00
let vals = { id: val.id };
caseApplicationSelectById(vals).then((res) => {
2024-04-02 15:11:35 +08:00
res.data.affiliate.applicant.forEach(item => {
if (!item.applicant) {
item.applicant = {}
}
if (!item.applicantAgent) {
item.applicantAgent = {}
}
})
res.data.affiliate.res.forEach(item => {
if (!item.res) {
item.res = {}
}
if (!item.resAgent) {
item.resAgent = {}
}
})
2024-02-29 09:39:26 +08:00
this.detailsAwardNum = res.data;
console.log(this.detailsAwardNum);
this.flagLoadingS = false;
});
2024-01-25 15:10:11 +08:00
},
2024-02-29 09:32:44 +08:00
cancelDetail() {
2024-02-29 09:39:26 +08:00
this.showarchiveDetails = false;
},
2024-01-09 19:19:29 +08:00
},
};
</script>
2024-01-11 10:47:07 +08:00
<style lang="scss" scoped></style>