'调解首页开发'

This commit is contained in:
hhl123456789
2024-02-28 18:13:28 +08:00
parent 7b17d986f3
commit 504e8ef1d5
5 changed files with 1057 additions and 681 deletions
+10
View File
@@ -0,0 +1,10 @@
import request from '@/utils/request'
// 查询首页待办
export function todoCount(data) {
return request({
url: '/caseApplication/todoCount',
method: 'get',
params: data
})
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

+461 -201
View File
@@ -2,9 +2,18 @@
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true">
<el-form-item label="案件状态" prop="caseFlowId"> <el-form-item label="案件状态" prop="caseFlowId">
<el-select v-model="queryParams.caseFlowId" placeholder="请选择" clearable> <el-select
<el-option v-for="dict in caseStausArr" :key="dict.id" :label="dict.caseStatusName" v-model="queryParams.caseFlowId"
:value="dict.id" @keyup.enter.native="handleQuery"></el-option> placeholder="请选择"
clearable
>
<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-select>
</el-form-item> </el-form-item>
<!-- <el-form-item label="申请机构" prop="applicationOrganId"> <!-- <el-form-item label="申请机构" prop="applicationOrganId">
@@ -18,22 +27,51 @@
@keyup.enter.native="handleQuery" /> @keyup.enter.native="handleQuery" />
</el-form-item> --> </el-form-item> -->
<el-form-item label="案件编号" prop="caseNum"> <el-form-item label="案件编号" prop="caseNum">
<el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable style="width: 240px" <el-input
@keyup.enter.native="handleQuery" /> v-model="queryParams.caseNum"
placeholder="请输入案件编号"
clearable
style="width: 240px"
@keyup.enter.native="handleQuery"
/>
</el-form-item> </el-form-item>
<el-form-item label="创建时间" prop="caseTime"> <el-form-item label="创建时间" prop="caseTime">
<el-date-picker v-model="caseTime" type="daterange" align="right" unlink-panels range-separator="至" <el-date-picker
start-placeholder="开始日期" end-placeholder="结束日期" clearable style="width: 240px" @change="caseTimeChange"> v-model="caseTime"
type="daterange"
align="right"
unlink-panels
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
clearable
style="width: 240px"
@change="caseTimeChange"
>
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> <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> --> <!-- <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> -->
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<el-col :span="1.5"> <el-col :span="1.5">
<el-button type="primary" plain icon="el-icon-plus" v-hasPermi="['caseManagement:list:add']" size="mini" @click="addCase()">新增案件</el-button> <el-button
type="primary"
plain
icon="el-icon-plus"
v-hasPermi="['caseManagement:list:add']"
size="mini"
@click="addCase()"
>新增案件</el-button
>
</el-col> </el-col>
<!-- TODO 后期可能加上--> <!-- TODO 后期可能加上-->
<!-- <el-col :span="1.5"> <!-- <el-col :span="1.5">
@@ -50,107 +88,318 @@
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" /> --> <!-- <el-table-column label="批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" /> -->
<el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" /> <el-table-column
<el-table-column label="申请人" align="center" prop="applicationName" :show-overflow-tooltip="true" /> label="案件编号"
<el-table-column label="被申请人" align="center" prop="respondentName" :show-overflow-tooltip="true" /> align="center"
prop="caseNum"
:show-overflow-tooltip="true"
/>
<el-table-column
label="申请人"
align="center"
prop="applicationName"
:show-overflow-tooltip="true"
/>
<el-table-column
label="被申请人"
align="center"
prop="respondentName"
:show-overflow-tooltip="true"
/>
<!-- <el-table-column label="案件标的" align="center" prop="caseSubjectAmount" :show-overflow-tooltip="true" /> --> <!-- <el-table-column label="案件标的" align="center" prop="caseSubjectAmount" :show-overflow-tooltip="true" /> -->
<el-table-column label="调解员" align="center" prop="mediatorName" :show-overflow-tooltip="true" /> <el-table-column
<el-table-column label="调解方式" align="center" prop="mediationMethodName" :show-overflow-tooltip="true" /> label="调解员"
<el-table-column label="调解时间" align="center" prop="hearDate" :show-overflow-tooltip="true" /> align="center"
<el-table-column label="案件状态" align="center" prop="caseStatusName" :show-overflow-tooltip="true" /> prop="mediatorName"
<el-table-column label="创建时间" align="center" prop="createTime" :show-overflow-tooltip="true" /> :show-overflow-tooltip="true"
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> />
<el-table-column
label="调解方式"
align="center"
prop="mediationMethodName"
:show-overflow-tooltip="true"
/>
<el-table-column
label="调解时间"
align="center"
prop="hearDate"
:show-overflow-tooltip="true"
/>
<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"
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" @click="eidtNodeprocess(scope.row)" type="text" <el-button
icon="el-icon-edit" v-hasPermi="['caseManagement:list:edit']" v-if="scope.row.caseFlowId <= 1">修改</el-button> size="mini"
<el-button size="mini" @click="checkDetail(scope.row)" type="text" icon="el-icon-view">查看详情</el-button> @click="eidtNodeprocess(scope.row)"
<el-button size="mini" @click="caseFlow(scope.row)" type="text" icon="el-icon-zoom-in">查看流程</el-button> type="text"
<el-button size="mini" @click="caseLog(scope.row)" type="text" icon="el-icon-edit"
icon="el-icon-edit-outline">案件日志</el-button> v-hasPermi="['caseManagement:list:edit']"
<el-button size="mini" @click="viewpaymentformRow(scope.row)" type="text" v-if="scope.row.caseFlowId <= 1"
icon="el-icon-edit">查看缴费单</el-button> >修改</el-button
<el-button size="mini" type="text" icon="el-icon-edit" >
@click="evidenceUpload(scope.row)" v-hasPermi="['caseManagement:list:evidenceEdit']" v-if="scope.row.caseFlowId <= 9">上传证据</el-button> <el-button
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseFlowId == 15 || scope.row.caseFlowId == 16 || scope.row.caseFlowId == 17" @click="caseFilingDetails(scope.row)">归档详情</el-button> size="mini"
<el-button size="mini" type="text" icon="el-icon-tickets" v-for="(item) in buttonList" :key="item.id" @click="checkDetail(scope.row)"
@click="caseClick(scope.row,item.id)" v-if="item.id == scope.row.caseFlowId && checkPermi([item.buttonAuthFlag]) && scope.row.signButtonFlag != 1">{{ item.nodeName }}</el-button> 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
>
<el-button
size="mini"
@click="caseLog(scope.row)"
type="text"
icon="el-icon-edit-outline"
>案件日志</el-button
>
<el-button
size="mini"
@click="viewpaymentformRow(scope.row)"
type="text"
icon="el-icon-edit"
>查看缴费单</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="evidenceUpload(scope.row)"
v-hasPermi="['caseManagement:list:evidenceEdit']"
v-if="scope.row.caseFlowId <= 9"
>上传证据</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-edit"
v-if="
scope.row.caseFlowId == 15 ||
scope.row.caseFlowId == 16 ||
scope.row.caseFlowId == 17
"
@click="caseFilingDetails(scope.row)"
>归档详情</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-tickets"
v-for="item in buttonList"
:key="item.id"
@click="caseClick(scope.row, item.id)"
v-if="
item.id == scope.row.caseFlowId &&
checkPermi([item.buttonAuthFlag]) &&
scope.row.signButtonFlag != 1
"
>{{ item.nodeName }}</el-button
>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <pagination
@pagination="getList(queryParams)" /> 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" <addCase
:caseData="caseData" :caseDisabled="caseDisabled" :tabFlag="tabFlag" :addModifyData="addModifyData"></addCase> :addVisable="addVisable"
:queryParams="queryParams"
@cancelCaseAdd="cancelCaseAdd"
@getList="getList"
:caseData="caseData"
:caseDisabled="caseDisabled"
:tabFlag="tabFlag"
:addModifyData="addModifyData"
></addCase>
<!-- 压缩包导入 --> <!-- 压缩包导入 -->
<caseCompressionPackage :openCompressedPackages="openCompressedPackages" :queryParams="queryParams" <caseCompressionPackage
@cancelCompreess="cancelCompreess" :getList="getList"> :openCompressedPackages="openCompressedPackages"
:queryParams="queryParams"
@cancelCompreess="cancelCompreess"
:getList="getList"
>
</caseCompressionPackage> </caseCompressionPackage>
<!-- 案件详情 --> <!-- 案件详情 -->
<mediationCaseDetails :processVisable="processVisable" @cancelViewProcess="cancelViewProcess" <mediationCaseDetails
:caseFlowNumber="caseFlowNumber"> :processVisable="processVisable"
@cancelViewProcess="cancelViewProcess"
:caseFlowNumber="caseFlowNumber"
>
</mediationCaseDetails> </mediationCaseDetails>
<!-- 案件日志 --> <!-- 案件日志 -->
<mediationCaseLog :showcaseLog="showcaseLog" @cancelcaseLog="cancelcaseLog" :caselogDataArr="caselogDataArr" :flagLoading="flagLoading"></mediationCaseLog> <mediationCaseLog
:showcaseLog="showcaseLog"
@cancelcaseLog="cancelcaseLog"
:caselogDataArr="caselogDataArr"
:flagLoading="flagLoading"
></mediationCaseLog>
<!-- 证据修改 --> <!-- 证据修改 -->
<evidenceDialog :evidenceVisable="evidenceVisable" @cancelEvidence="cancelEvidence" :evidenceData="evidenceData"> <evidenceDialog
:evidenceVisable="evidenceVisable"
@cancelEvidence="cancelEvidence"
:evidenceData="evidenceData"
>
</evidenceDialog> </evidenceDialog>
<!-- 缴费 --> <!-- 缴费 -->
<payDialog :openPay="openPay" :payTitle="payTitle" :formPayDetail="formPayDetail" :payId="payId" :payForm="payForm" <payDialog
:queryParams="queryParams" @getList="getList" @paycancelRow="paycancelRow" :formPayDetailAffiliate="formPayDetailAffiliate"></payDialog> :openPay="openPay"
:payTitle="payTitle"
:formPayDetail="formPayDetail"
:payId="payId"
:payForm="payForm"
:queryParams="queryParams"
@getList="getList"
@paycancelRow="paycancelRow"
:formPayDetailAffiliate="formPayDetailAffiliate"
></payDialog>
<!-- 缴费确认查看详情 --> <!-- 缴费确认查看详情 -->
<paymentdetailsDialog :openDialog="openDialog" @cancelpaymentdetails="cancelpaymentdetails" :title="payTitle" <paymentdetailsDialog
:detailform="detailform" :queryParams="queryParams" :flag="flag" :paymentConfirma="paymentConfirma" :isapplicant="isapplicant" @getList="getList"> :openDialog="openDialog"
@cancelpaymentdetails="cancelpaymentdetails"
:title="payTitle"
:detailform="detailform"
:queryParams="queryParams"
:flag="flag"
:paymentConfirma="paymentConfirma"
:isapplicant="isapplicant"
@getList="getList"
>
</paymentdetailsDialog> </paymentdetailsDialog>
<!-- 案件受理 --> <!-- 案件受理 -->
<caseAcceptance :showAcceptance="showAcceptance" @cancelAcceptance="cancelAcceptance" <caseAcceptance
:caseAcceptanceData="caseAcceptanceData" @getList="getList"></caseAcceptance> :showAcceptance="showAcceptance"
@cancelAcceptance="cancelAcceptance"
:caseAcceptanceData="caseAcceptanceData"
@getList="getList"
></caseAcceptance>
<!-- 被申请人缴费 --> <!-- 被申请人缴费 -->
<respondentPay :openResPay="openResPay" :resPayTitle="resPayTitle" :formResPayDetail="formResPayDetail" :resPayId="resPayId" :resPayForm="resPayForm" <respondentPay
:queryParams="queryParams" @getList="getList" @paycancelRes="paycancelRes" :formResPay="formResPay"></respondentPay> :openResPay="openResPay"
:resPayTitle="resPayTitle"
:formResPayDetail="formResPayDetail"
:resPayId="resPayId"
:resPayForm="resPayForm"
:queryParams="queryParams"
@getList="getList"
@paycancelRes="paycancelRes"
:formResPay="formResPay"
></respondentPay>
<!-- 调解员弹窗 --> <!-- 调解员弹窗 -->
<selectMediator @cancelMediator="cancelMediator" :mediatorVisable="mediatorVisable" :mediatorData="mediatorData" <selectMediator
@getList="getList" :queryParams="queryParams"></selectMediator> @cancelMediator="cancelMediator"
:mediatorVisable="mediatorVisable"
:mediatorData="mediatorData"
@getList="getList"
:queryParams="queryParams"
></selectMediator>
<!-- 秘书确认 --> <!-- 秘书确认 -->
<confirmMediator @cancelConfirm="cancelConfirm" :confirmVisable="confirmVisable" :confirmData="confirmData" <confirmMediator
@getList="getList" :queryParams="queryParams"></confirmMediator> @cancelConfirm="cancelConfirm"
:confirmVisable="confirmVisable"
:confirmData="confirmData"
@getList="getList"
:queryParams="queryParams"
></confirmMediator>
<!-- 部门长确认 --> <!-- 部门长确认 -->
<departmentMediator @cancelDepartment="cancelDepartment" :departmentVisable="departmentVisable" <departmentMediator
:departmentData="departmentData" @getList="getList" :queryParams="queryParams"></departmentMediator> @cancelDepartment="cancelDepartment"
:departmentVisable="departmentVisable"
:departmentData="departmentData"
@getList="getList"
:queryParams="queryParams"
></departmentMediator>
<!-- 秘书确认时间 --> <!-- 秘书确认时间 -->
<timeConfirm @cancelTimeConfirm="cancelTimeConfirm" :timeConfirmVisable="timeConfirmVisable" <timeConfirm
:timeConfirmData="timeConfirmData" @getList="getList" :queryParams="queryParams"></timeConfirm> @cancelTimeConfirm="cancelTimeConfirm"
:timeConfirmVisable="timeConfirmVisable"
:timeConfirmData="timeConfirmData"
@getList="getList"
:queryParams="queryParams"
></timeConfirm>
<!-- 待调解 --> <!-- 待调解 -->
<mediation @cancelMediation="cancelMediation" :mediationVisable="mediationVisable" <mediation
:mediationData="mediationData" @getList="getList" :queryParams="queryParams"></mediation> @cancelMediation="cancelMediation"
<confirmMediation @cancelConfirmTion="cancelConfirmTion" :confirmTionVisable="confirmTionVisable" :mediationVisable="mediationVisable"
:confirmTionData="confirmTionData" @getList="getList" :queryParams="queryParams"></confirmMediation> :mediationData="mediationData"
@getList="getList"
:queryParams="queryParams"
></mediation>
<confirmMediation
@cancelConfirmTion="cancelConfirmTion"
:confirmTionVisable="confirmTionVisable"
:confirmTionData="confirmTionData"
@getList="getList"
:queryParams="queryParams"
></confirmMediation>
<!-- 归档详情 --> <!-- 归档详情 -->
<caseFilingDetailsPage :showarchiveDetails="showarchiveDetails" :caseFilingData="caseFilingData" @cancelDetail="cancelDetail" :detailsAwardNum="detailsAwardNum" :flagLoadingS="flagLoadingS"></caseFilingDetailsPage> <caseFilingDetailsPage
:showarchiveDetails="showarchiveDetails"
:caseFilingData="caseFilingData"
@cancelDetail="cancelDetail"
:detailsAwardNum="detailsAwardNum"
:flagLoadingS="flagLoadingS"
></caseFilingDetailsPage>
</div> </div>
</template> </template>
<script> <script>
import { caseApplicationList, caseApplicationSelectById,submitCaseApply,selectPaymentDetail,sealApply,selectSealUrl,listCaseLogRecord,msCaseFile,msCaseSign,listDeptApplied,msCaseSignUrlApplyPC} from '@/api/caseManagement/caseManagement.js' import {
import { listDept } from '@/api/system/dept.js' caseApplicationList,
import { queryCaseFlowInfo } from '@/api/caseprocessManagement/caseprocessManagement.js' caseApplicationSelectById,
submitCaseApply,
selectPaymentDetail,
sealApply,
selectSealUrl,
listCaseLogRecord,
msCaseFile,
msCaseSign,
listDeptApplied,
msCaseSignUrlApplyPC,
} from "@/api/caseManagement/caseManagement.js";
import { listDept } from "@/api/system/dept.js";
import { queryCaseFlowInfo } from "@/api/caseprocessManagement/caseprocessManagement.js";
import moment from "moment"; import moment from "moment";
import addCase from './components/addCase.vue' import addCase from "./components/addCase.vue";
import evidenceDialog from './components/evidenceDialog.vue'; import evidenceDialog from "./components/evidenceDialog.vue";
import caseCompressionPackage from './components/caseCompressionPackage.vue'; import caseCompressionPackage from "./components/caseCompressionPackage.vue";
import mediationCaseDetails from './components/mediationCaseDetails.vue' import mediationCaseDetails from "./components/mediationCaseDetails.vue";
import mediationCaseLog from './components/mediationCaseLog.vue' import mediationCaseLog from "./components/mediationCaseLog.vue";
import payDialog from "./components/payDialog.vue"; import payDialog from "./components/payDialog.vue";
import respondentPay from "./components/respondentPay.vue" import respondentPay from "./components/respondentPay.vue";
import paymentdetailsDialog from './components/paymentdetailsDialog.vue' import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
import caseAcceptance from './components/caseAcceptance.vue' import caseAcceptance from "./components/caseAcceptance.vue";
import selectMediator from './components/selectMediator.vue' import selectMediator from "./components/selectMediator.vue";
import confirmMediator from './components/confirmMediator.vue' import confirmMediator from "./components/confirmMediator.vue";
import departmentMediator from './components/departmentMediator.vue' import departmentMediator from "./components/departmentMediator.vue";
import timeConfirm from './components/timeConfirm.vue' import timeConfirm from "./components/timeConfirm.vue";
import mediation from './components/mediation.vue' import mediation from "./components/mediation.vue";
import confirmMediation from './components/confirmMediation.vue' import confirmMediation from "./components/confirmMediation.vue";
import caseFilingDetailsPage from './components/caseFilingDetailsPage.vue' import caseFilingDetailsPage from "./components/caseFilingDetailsPage.vue";
export default { export default {
name: "caseList", name: "caseList",
dicts: ["case_flow_node"], dicts: ["case_flow_node"],
@@ -170,7 +419,7 @@ export default {
mediation, mediation,
confirmMediation, confirmMediation,
caseFilingDetailsPage, caseFilingDetailsPage,
respondentPay respondentPay,
}, },
data() { data() {
return { return {
@@ -205,7 +454,7 @@ export default {
mediationVisable: false, //待调解弹窗 mediationVisable: false, //待调解弹窗
mediationData: {}, mediationData: {},
payTitle: "", //缴费标题 payTitle: "", //缴费标题
resPayTitle:'',//被申请人缴费标题 resPayTitle: "", //被申请人缴费标题
paymentConfirma: {}, //缴费确认 paymentConfirma: {}, //缴费确认
showAcceptance: false, //案件受理弹框 showAcceptance: false, //案件受理弹框
caseAcceptanceData: {}, //案件受理数据 caseAcceptanceData: {}, //案件受理数据
@@ -227,9 +476,9 @@ export default {
caseData: {}, caseData: {},
evidenceData: {}, evidenceData: {},
caseDisabled: false, caseDisabled: false,
caseTime: '', caseTime: "",
deptList: [], deptList: [],
payTitle: '', payTitle: "",
tabFlag: false, tabFlag: false,
confirmData: {}, confirmData: {},
departmentVisable: false, departmentVisable: false,
@@ -240,13 +489,31 @@ export default {
buttonList: [], buttonList: [],
caseStausArr: [], //案件状态 caseStausArr: [], //案件状态
isapplicant: true, //判断角色申请人或非申请人 isapplicant: true, //判断角色申请人或非申请人
caseFilingData:{} caseFilingData: {},
}; };
}, },
created() { created() {
// 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);
});
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); this.getList(this.queryParams);
this.listDeptFn() });
this.getButtonList()
}, },
methods: { methods: {
/**所有按钮事件 */ /**所有按钮事件 */
@@ -277,50 +544,37 @@ export default {
this.timeConfirm(val); this.timeConfirm(val);
} else if (type == 9) { } else if (type == 9) {
// 调解 // 调解
this.mediationClick(val) this.mediationClick(val);
} else if (type == 10) { } else if (type == 10) {
// 确认调解书 // 确认调解书
this.confirmMediation(val) this.confirmMediation(val);
} else if (type == 11) { } else if (type == 11) {
// 签名 // 签名
this.msCaseSignUrlApplyPCFn(val) this.msCaseSignUrlApplyPCFn(val);
} else if (type == 12) { } else if (type == 12) {
// 用印申请 // 用印申请
this.consultantApplica(val) this.consultantApplica(val);
} else if (type == 13) { } else if (type == 13) {
// 用印 // 用印
this.departmentApplica(val) this.departmentApplica(val);
} else if (type == 14) { } else if (type == 14) {
// 归档 // 归档
this.caseFiling(val); this.caseFiling(val);
} else if (type == 15) { } else if (type == 15) {
// 申请人签收 // 申请人签收
this.signMediation(val) this.signMediation(val);
} else if (type == 16) { } else if (type == 16) {
// 被申请人签收 // 被申请人签收
this.receivedMediation(val) this.receivedMediation(val);
} else if (type == 17) { } else if (type == 17) {
//结束 //结束
} else if (type == 44) { } else if (type == 44) {
// 被申请人缴费 // 被申请人缴费
this.resPayStatus(val) this.resPayStatus(val);
} }
}, },
/**查询按钮列表 */ /**查询按钮列表 */
getButtonList() { getButtonList() {},
queryCaseFlowInfo({
pageNum: 1,
pageSize: 100000
}).then(res => {
console.log(res)
res.rows.forEach(item => {
if(item.id !=17){
this.buttonList.push(item)
}
this.caseStausArr.push(item)
});
})
},
/** 新增案件 */ /** 新增案件 */
addCase() { addCase() {
this.addModifyData = 1; this.addModifyData = 1;
@@ -339,10 +593,10 @@ export default {
}, },
/** 修改案件 */ /** 修改案件 */
eidtNodeprocess(row) { eidtNodeprocess(row) {
this.addModifyData = 3 this.addModifyData = 3;
this.addVisable = true; this.addVisable = true;
this.caseData = row; this.caseData = row;
this.$set(this.caseData,'flag',2) this.$set(this.caseData, "flag", 2);
this.caseDisabled = false; this.caseDisabled = false;
this.tabFlag = false; this.tabFlag = false;
}, },
@@ -389,10 +643,10 @@ export default {
// this.$modal.msgSuccess("立案申请成功"); // this.$modal.msgSuccess("立案申请成功");
// }) // })
// .catch(() => { }); // .catch(() => { });
msCaseSignUrlApplyPC({ caseId: row.id }).then(res=>{ msCaseSignUrlApplyPC({ caseId: row.id }).then((res) => {
console.log(res, "PPPPPPPPPPPPPPPPPPPP"); console.log(res, "PPPPPPPPPPPPPPPPPPPP");
window.open(res.data.sealUrl); window.open(res.data.sealUrl);
}) });
}, },
/** 选择调解员 */ /** 选择调解员 */
selectMediator(val) { selectMediator(val) {
@@ -447,23 +701,22 @@ export default {
/** 时间改变处理 */ /** 时间改变处理 */
caseTimeChange() { caseTimeChange() {
if (this.caseTime) { if (this.caseTime) {
this.queryParams.startTime = moment( this.queryParams.startTime = moment(this.caseTime[0]).format(
this.caseTime[0] "YYYY-MM-DD HH:mm:ss"
).format("YYYY-MM-DD HH:mm:ss"); );
this.queryParams.endTime = moment( this.queryParams.endTime = moment(this.caseTime[1]).format(
this.caseTime[1] "YYYY-MM-DD HH:mm:ss"
).format("YYYY-MM-DD HH:mm:ss"); );
} else { } else {
this.queryParams.startTime = ''; this.queryParams.startTime = "";
this.queryParams.endTime = ''; this.queryParams.endTime = "";
} }
}, },
/** 获取所有部门 */ /** 获取所有部门 */
listDeptFn() { listDeptFn() {
listDeptApplied().then(res => { listDeptApplied().then((res) => {
this.deptList = res.data; this.deptList = res.data;
}) });
}, },
/** 修改证据 */ /** 修改证据 */
evidenceUpload(row) { evidenceUpload(row) {
@@ -535,163 +788,170 @@ export default {
this.dataList = response.rows; this.dataList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
}) });
}, },
// 法律顾问用印申请 // 法律顾问用印申请
consultantApplica(row) { consultantApplica(row) {
let paramsValue = { let paramsValue = {
caseId: row.id, caseId: row.id,
batchNumber: "", batchNumber: "",
caseFlowId: row.caseFlowId caseFlowId: row.caseFlowId,
} };
this.$modal.confirm("你确定要用印申请吗?").then((res) => { this.$modal
sealApply(paramsValue).then(res => { .confirm("你确定要用印申请吗?")
.then((res) => {
sealApply(paramsValue).then((res) => {
this.getList(this.queryParams); this.getList(this.queryParams);
this.$modal.msgSuccess("用印申请成功"); this.$modal.msgSuccess("用印申请成功");
});
}) })
}).catch(() => { .catch(() => {});
})
}, },
// 部门长用印申请 // 部门长用印申请
departmentApplica(row) { departmentApplica(row) {
this.$modal.confirm("你确定要用印确认吗?").then((res) => { this.$modal
.confirm("你确定要用印确认吗?")
.then((res) => {
let paramsValue = { let paramsValue = {
caseId: row.id caseId: row.id,
} };
selectSealUrl(paramsValue).then(res => { selectSealUrl(paramsValue).then((res) => {
window.open(res.data.sealUrl) window.open(res.data.sealUrl);
this.$modal.confirm("你确认用印了吗?").then((res) => { this.$modal
.confirm("你确认用印了吗?")
.then((res) => {
this.getList(this.queryParams); this.getList(this.queryParams);
}).catch(() => {
}) })
.catch(() => {});
});
}) })
}).catch(() => { .catch(() => {});
})
}, },
// 案件受理 // 案件受理
caseAccep(row) { caseAccep(row) {
this.caseAcceptanceData = row this.caseAcceptanceData = row;
this.showAcceptance = true this.showAcceptance = true;
}, },
cancelAcceptance() { cancelAcceptance() {
this.showAcceptance = false this.showAcceptance = false;
}, },
// 缴费确认 // 缴费确认
paymentconfirmationRow(row, type) { paymentconfirmationRow(row, type) {
this.paymentConfirma = row this.paymentConfirma = row;
console.log(this.paymentConfirma) console.log(this.paymentConfirma);
this.paymentDetails({ this.paymentDetails({
id: row.id id: row.id,
}) });
this.openDialog = true this.openDialog = true;
this.payTitle = "缴费确认" this.payTitle = "缴费确认";
this.flag = 0; this.flag = 0;
this.detailform = {} this.detailform = {};
if (type == 3) { if (type == 3) {
// 申请人 // 申请人
this.isapplicant = true this.isapplicant = true;
} else { } else {
this.isapplicant = false this.isapplicant = false;
} }
}, },
cancelpaymentdetails() { cancelpaymentdetails() {
this.openDialog = false this.openDialog = false;
}, },
// 查看缴费确认 // 查看缴费确认
viewpaymentformRow(row) { viewpaymentformRow(row) {
this.paymentDetails({ this.paymentDetails({
id: row.id id: row.id,
}) });
this.payTitle = "缴费单详情" this.payTitle = "缴费单详情";
this.flag = 1; this.flag = 1;
this.detailform = {} this.detailform = {};
this.openDialog = true this.openDialog = true;
}, },
// 缴费详情 // 缴费详情
paymentDetails(val) { paymentDetails(val) {
selectPaymentDetail(val).then(res => { selectPaymentDetail(val).then((res) => {
this.detailform = res.data; this.detailform = res.data;
}) });
}, },
//案件流程 //案件流程
caseFlow(row) { caseFlow(row) {
this.caseFlowNumber = row this.caseFlowNumber = row;
this.processVisable = true this.processVisable = true;
}, },
cancelViewProcess() { cancelViewProcess() {
this.processVisable = false this.processVisable = false;
}, },
//案件日志 //案件日志
caseLog(row) { caseLog(row) {
this.caseLogNumber = row this.caseLogNumber = row;
this.showcaseLog = true this.showcaseLog = true;
this.flagLoading = true; this.flagLoading = true;
listCaseLogRecord({caseId:row.id}).then(res=>{ listCaseLogRecord({ caseId: row.id }).then((res) => {
this.caselogDataArr = res.data this.caselogDataArr = res.data;
this.flagLoading = false; this.flagLoading = false;
}) });
}, },
cancelcaseLog() { cancelcaseLog() {
this.showcaseLog = false this.showcaseLog = false;
}, },
// 案件送达 // 案件送达
caseFiling(row) { caseFiling(row) {
console.log(row.id) console.log(row.id);
let paramValues = { let paramValues = {
ids:[row.id] ids: [row.id],
} };
this.$modal.confirm("你确定要案件送达吗?").then((res) => { this.$modal
msCaseFile(paramValues).then(res=>{ .confirm("你确定要案件送达吗?")
.then((res) => {
msCaseFile(paramValues).then((res) => {
this.$modal.msgSuccess("案件送达成功"); this.$modal.msgSuccess("案件送达成功");
this.getList(this.queryParams); this.getList(this.queryParams);
});
}) })
}).catch(() => { .catch(() => {});
})
}, },
//申请人签收调解书 //申请人签收调解书
signMediation(row) { signMediation(row) {
this.$modal.confirm("你确定要签收调解书吗?").then((res) => { this.$modal
this.signingMediationAgreement({caseId:row.id,isSignApply:1}) .confirm("你确定要签收调解书吗?")
}).catch(() => { .then((res) => {
this.signingMediationAgreement({ caseId: row.id, isSignApply: 1 });
}) })
.catch(() => {});
}, },
//被申请人签收调解书 //被申请人签收调解书
receivedMediation(row) { receivedMediation(row) {
this.$modal.confirm("你确定要签收调解书吗?").then((res) => { this.$modal
this.signingMediationAgreement({caseId:row.id,isSignRespon:1}) .confirm("你确定要签收调解书吗?")
}).catch(() => { .then((res) => {
this.signingMediationAgreement({ caseId: row.id, isSignRespon: 1 });
}) })
.catch(() => {});
}, },
// 申请人和被申请人签收调解书接口 // 申请人和被申请人签收调解书接口
signingMediationAgreement(val) { signingMediationAgreement(val) {
console.log(val) console.log(val);
msCaseSign(val).then(res=>{ msCaseSign(val).then((res) => {
this.$modal.msgSuccess("签收成功"); this.$modal.msgSuccess("签收成功");
this.getList(this.queryParams); this.getList(this.queryParams);
}) });
}, },
//归档详情 //归档详情
caseFilingDetails(val) { caseFilingDetails(val) {
this.showarchiveDetails = true; this.showarchiveDetails = true;
this.caseFilingData = val; this.caseFilingData = val;
let vals = {id:val.id} let vals = { id: val.id };
caseApplicationSelectById(vals).then(res=>{ caseApplicationSelectById(vals).then((res) => {
res.data.affiliate.respondentSex = Number(res.data.affiliate.respondentSex) res.data.affiliate.respondentSex = Number(
this.detailsAwardNum = res.data res.data.affiliate.respondentSex
console.log(this.detailsAwardNum) );
this.flagLoadingS = false this.detailsAwardNum = res.data;
}) console.log(this.detailsAwardNum);
this.flagLoadingS = false;
});
}, },
cancelDetail() { cancelDetail() {
this.showarchiveDetails = false this.showarchiveDetails = false;
} },
}, },
}; };
</script> </script>
+105 -3
View File
@@ -1,27 +1,129 @@
<template> <template>
<div class="app-container home"> <div class="app-container home">
调解系统 <div class="header">
<div class="iconTitle"></div>
<div class="headerMain">我的待办</div>
</div>
<div class="homeMain">
<div class="cardList" v-for="(item, index) in pendingTasks" :key="index" @click="pushPage(item.caseFlowId)">
<div class="badge">{{item.caseCount}}</div>
<div class="cardMain">
<img class="iconImg" src="@/assets/images/daiban.png" alt="" />
</div>
<div class="cardMain">
<div class="imgTitle">{{ item.caseStatusName }}</div>
</div>
</div>
</div>
</div> </div>
</template> </template>
<script> <script>
import { todoCount } from "@/api/system/homepage.js";
export default { export default {
name: "Index", name: "Index",
data() { data() {
return { return {
// 版本号 // 版本号
version: "3.8.6" version: "3.8.6",
pendingTasks: [], //案件代办状态
}; };
}, },
created() {
this.gettodoCount();
},
methods: { methods: {
goTarget(href) { goTarget(href) {
window.open(href, "_blank"); window.open(href, "_blank");
},
// 查询代办状态
gettodoCount() {
todoCount({}).then((res) => {
this.pendingTasks = res.data.toDoCountList
console.log(res.data.toDoCountList, "this.pendingTasks");
});
},
// 点击待办按钮跳转
pushPage(status) {
this.$router.push({ path: '/caseManagement/caseManagement/caseList', query: { caseFlowId: status + '' } })
} }
} },
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.home {
font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
color: #676a6c;
overflow-x: hidden;
background-color: #f1f1f1;
height: 100vh;
.header {
width: 100%;
height: 80px;
display: flex;
align-items: center;
.iconTitle {
width: 5px;
height: 25px;
background-color: #0f5c9b;
margin-right: 25px;
}
.headerMain {
font-size: 20px;
}
}
.homeMain {
width: 100%;
display: flex;
flex-wrap: wrap;
.cardList {
width: 13%;
height: 200px;
border-radius: 30px;
background-color: #ffffff;
position: relative;
margin-right: 38px;
margin-bottom: 30px;
.badge {
width: 50px;
height: 30px;
text-align: center;
line-height: 30px;
font-size: 18px;
font-weight: 500;
color: #e32a4f;
border-radius: 10px 30px 10px 30px;
background-color: #05baf1;
position: absolute;
right: 0;
}
.cardMain {
width: 100%;
display: flex;
justify-content: center;
margin-top: 20px;
.iconImg {
width: 100px;
height: 110px;
}
.imgTitle {
font-size: 15px;
font-weight: 900;
}
}
}
}
}
</style> </style>
+7 -3
View File
@@ -67,7 +67,8 @@
</div> </div>
<!-- 底部 --> <!-- 底部 -->
<div class="el-login-footer"> <div class="el-login-footer">
<span>Copyright © 2023 乙巢(上海)企业管理服务有限公司.</span> <div>Copyright © 2023 乙巢(上海)企业管理服务有限公司.</div>
<div>Version:1.0.1</div>
</div> </div>
</div> </div>
</template> </template>
@@ -247,8 +248,8 @@ export default {
} }
.el-login-footer { .el-login-footer {
background-color: rgb(126, 131, 135); background-color: rgb(126, 131, 135);
height: 40px; height: 55px;
line-height: 40px; line-height: 55px;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
@@ -257,6 +258,9 @@ export default {
font-family: Arial; font-family: Arial;
font-size: 12px; font-size: 12px;
letter-spacing: 1px; letter-spacing: 1px;
div {
height: 30%;
}
} }
.login-code-img { .login-code-img {
height: 38px; height: 38px;