修改仲裁bug

This commit is contained in:
gyj
2024-05-08 17:07:11 +08:00
parent b6a782e1df
commit d4a850cf4b
28 changed files with 1596 additions and 188 deletions
+242 -14
View File
@@ -7,16 +7,16 @@
<el-form-item label="案件批号" prop="caseNum">
<el-input style="width:180px" v-model="queryParams.batchNumber" placeholder="请输入案件批号" clearable @keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="申请人" prop="applicantName">
<!-- <el-form-item label="申请人" prop="applicantName"> -->
<!-- <el-input
v-model="queryParams.applicantName"
placeholder="请输入机构名称"
clearable
@keyup.enter.native="handleQuery"
/> -->
<el-cascader v-model="queryParams.nameId" :options="options" @change="changeDept" :props="{ checkStrictly: true }"
<!-- <el-cascader v-model="queryParams.nameId" :options="options" @change="changeDept" :props="{ checkStrictly: true }"
clearable></el-cascader>
</el-form-item>
</el-form-item> -->
<el-form-item label="案件状态" prop="caseStatus">
<el-select :disabled="caseStatusType" v-model="queryParams.caseStatus" placeholder="请选择案件状态" clearable
@keyup.enter.native="handleQuery">
@@ -129,6 +129,8 @@
<el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)" v-if="scope.row.caseStatus == 2 &&
checkPermi(['caseManagement:list:pay']) && btnStatus
">缴费</el-button>
<el-button size="mini" type="text" icon="el-icon-zoom-in" @click="paymentconfirmationRow(scope.row)" v-if="checkPermi(['caseManagement:list:payconfirm']) && btnStatus&&scope.row.caseStatus==3">确认缴费</el-button>
<el-button size="mini" type="text" icon="el-icon-edit" @click="viewpaymentformRow(scope.row)" v-if="checkPermi(['caseManagement:list:detail'])">查看缴费单</el-button>
<el-button size="mini" type="text" icon="el-icon-tickets" @click="evidenceListS(scope.row)" >证据清单</el-button>
<!-- <el-button
size="mini"
@@ -174,6 +176,34 @@
<el-button size="mini" type="text" icon="el-icon-unlock"
v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 1 && btnStatus"
@click="ulockClick(scope.row)">解锁</el-button>
<el-button size="mini" type="text" icon="el-icon-reading"
v-if="scope.row.filearbitraUrl && scope.row.filearbitraUrl !== ''"
@click="showModel(scope.row, 0)">查看裁决书</el-button>
<el-button size="mini" type="text" icon="el-icon-edit"
v-if="scope.row.caseStatus == 11 && checkPermi(['caseManagement:list:secretarycheck'])"
@click="showModel(scope.row, 1)">秘书确认</el-button>
<el-button size="mini" type="text" icon="el-icon-edit"
v-if="scope.row.caseStatus == 18 && checkPermi(['caseManagement:list:arbitratorcheck']) && btnStatus"
@click="showModel(scope.row, 4)">仲裁员确认</el-button>
<el-button size="mini" type="text" icon="el-icon-edit"
v-if="scope.row.caseStatus == 12 && checkPermi(['caseManagement:list:confirmaward']) && btnStatus"
@click="showModel(scope.row, 2)">部门长确认</el-button>
<el-button size="mini" type="text" icon="el-icon-edit"
v-if="scope.row.caseStatus == 13 && checkPermi(['caseManagement:list:sign']) && btnStatus"
@click="showModel(scope.row, 3)">签名</el-button>
<el-button size="mini" type="text" icon="el-icon-edit"
v-if="scope.row.caseStatus == 14 && checkPermi(['caseManagement:list:signprint']) && btnStatus"
@click="showaffixModel(scope.row, 4)">用印</el-button>
<el-button size="mini" type="text" icon="el-icon-truck"
v-if="scope.row.caseStatus > 15 && checkPermi(['caseManagement:list:delivery'])"
@click="showDeliveryModel(scope.row, 4)">快递信息</el-button>
<el-button size="mini" type="text" icon="el-icon-edit"
v-if="scope.row.caseStatus == 15 && checkPermi(['caseManagement:list:sendaward']) && btnStatus"
@click="showMailaward(scope.row)">送达裁决书</el-button>
<el-button size="mini" type="text" icon="el-icon-edit"
v-if="scope.row.caseStatus == 16 && checkPermi(['caseManagement:list:archive']) && btnStatus"
@click="showCasefilingModel(scope.row, 6)">案件归档</el-button>
<el-button size="mini" type="text" icon="el-icon-tickets" @click="detailsAwardList(scope.row)">案件详情</el-button>
<!-- 暂时隐藏后期可能会放其他地方 -->
<!-- <el-button v-if="checkPermi(['caseManagement:list:listEvidence']) && scope.row.caseStatus <= 1 && btnStatus"
size="mini" type="text" icon="el-icon-upload" @click="uploadCase(scope.row)">上传证据目录</el-button> -->
@@ -226,6 +256,9 @@
<!-- 缴费 -->
<payDialog :openPay="openPay" :payTitle="payTitle" :form="form" :payForm="payForm" :queryParams="queryParams"
@getcaseApply="getcaseApply" @paycancelRow="paycancelRow" :payId="payId"></payDialog>
<!-- 缴费确认数据详情 -->
<paymentdetailsDialog :openDialog="openDialog" :detailform="detailform" :title="title" :flag="flag" :queryParams="queryParams"
@getcaseApply="getcaseApply" @cancelpaymentdetails="cancelpaymentdetails"></paymentdetailsDialog>
<!-- 案件日志 -->
<caselogDialog :showcaseLog="showcaseLog" @cancelcaseLog="cancelcaseLog" :flagLoading="flagLoading"
:caselogDataArr="caselogDataArr"></caselogDialog>
@@ -250,10 +283,10 @@
</uploadCaseDialog>
<!-- 秘书审核修改页面 -->
<caseentryExamineDialog :dialogtitle="dialogtitle" :caseentryExamineVisible="caseentryExamineVisible" :queryParams="queryParams"
:getcaseApply="getcaseApply"
@getcaseApply="getcaseApply"
@caseentryExamineCancel="caseentryExamineCancel" :caseentryExamineData="caseentryExamineData" :caseentryExamineDataAll="caseentryExamineDataAll"></caseentryExamineDialog>
<caseCompressionPackage :openCompressedPackages="openCompressedPackages" :queryParams="queryParams" @cancelCompreess="cancelCompreess"
:getcaseApply="getcaseApply">
@getcaseApply="getcaseApply">
</caseCompressionPackage>
<!-- 证据清单 -->
<evidenceList :evidenceListD ="evidenceListD" @cancelevidenceList="cancelevidenceList" :caseAttachListR ="caseAttachListR"></evidenceList>
@@ -263,6 +296,17 @@
<batchSignature :signatureVisable="signatureVisable" @signatureOperate="signatureOperate"></batchSignature>
<!-- 批量用印 -->
<batchPrinting :printingVisable="printingVisable" @printingOperate="printingOperate"></batchPrinting>
<!-- 裁决书弹窗 -->
<judgmentInformation :openDialogInfor="openDialogInfor" :awardDetailform="awardDetailform" :title="title" :flag="flag" @getcaseApply="getcaseApply" :queryParams="queryParams"
@cancelpaymentdetailsCom="cancelpaymentdetailsCom"></judgmentInformation>
<!-- 快递信息页面 -->
<expressDeliveryDialog :showDelivery="showDelivery" :deliveryDataArr="deliveryDataArr"
@closeDeliveryModel="closeDeliveryModel" :flagLoading="flagLoading"></expressDeliveryDialog>
<!-- 送达裁决书页面 -->
<mailawardDialog :openMailawardDialog="openMailawardDialog" @closeMailaward="closeMailaward" :mailawardata="mailawardata" :emailobj="emailobj" @getcaseApply="getcaseApply" :queryParams="queryParams"></mailawardDialog>
<detailsAward :showarchiveDetails="showarchiveDetails" @cancelDetail="cancelDetail" :detailsAwardNum="detailsAwardNum" :videoList="videoList"
:flagLoadingS="flagLoadingS" :trialTranscripts="trialTranscripts"
></detailsAward>
</div>
</template>
@@ -287,9 +331,19 @@ import evidenceList from './components/evidenceList.vue'
import batchConfirmationPaymen from './components/batchConfirmationPaymen.vue'
import batchSignature from './components/batchSignature.vue'
import batchPrinting from './components/batchPrinting.vue'
import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
// 秘书审核页面
import caseentryExamineDialog from './components/caseentryExamine.vue';
import { caseApplicationDetail } from "@/api/pay/pay";
//裁决书弹框页面
import judgmentInformation from './components/judgmentInformation.vue';
//快递弹窗
import expressDeliveryDialog from './components/expressDeliveryDialog.vue';
//裁决书弹窗
import mailawardDialog from './components/mailawardDialog.vue';
//归档详情弹窗
import detailsAward from './components/detailsAward.vue';
import { caseApplicationDetail,selectCaseApplicationConfirm } from "@/api/pay/pay";
import { videoList } from "@/api/caseFiling/caseFiling";
import {
caseApply,
removeCaseApply,
@@ -303,8 +357,10 @@ import {
caseLogRecordList,
revoke,
selectCompareCase,
updateAudit
updateAudit,
attachListByCaseId
} from "@/api/caseManagement/caseManagement";
import {selectSignSealUrl,selectSignUrl,selectSealUrl,adjudicationLogistics,emailByCaseId,adjudicationCaseFile,} from "@/api/awardManagement/awardManagement";
import { getDicts } from '@/api/system/dict/data.js';
export default {
name: "caseList",
@@ -330,7 +386,14 @@ export default {
evidenceList,
batchConfirmationPaymen,
batchSignature,
batchPrinting
batchPrinting,
paymentdetailsDialog,
judgmentInformation,
expressDeliveryDialog,
mailawardDialog,
detailsAward
},
data() {
return {
@@ -392,6 +455,23 @@ export default {
flagLoading: true, //案件日志弹框loading
caselogDataArr: [],
options: [], //机构数据
detailform:{},//缴费详情
awardDetailform:{},//裁决书详情
openDialog: false, //缴费详情数据弹框
openDialogInfor:false,//裁决书弹框
showDelivery:false,//快递弹窗
flagLoading: true,
deliveryDataArr: [],//快递信息数据
openMailawardDialog: false, //送达裁决书页面
mailawardata: {}, //裁决书送达界面数据
emailobj: {},//邮箱存储
showarchiveDetails:false,//归档详情弹框
videoList:"", //视频数据
flagLoadingS: true,
trialTranscripts:[],//庭审笔录
detailsAwardNum:{},//归档详情数据
flag: null,
title: "",
payId: null,
caseStatus: [],
processData: {},
@@ -466,7 +546,10 @@ export default {
signatureOperate(){
this.signatureVisable = false;
},
// 关闭确认缴费弹窗
cancelpaymentdetails() {
this.openDialog = false;
},
// 上传证据目录弹窗
uploadCase(row) {
this.uploadCaseData = row;
@@ -688,6 +771,7 @@ export default {
editRow(row) {
this.flag = "1";
this.form = row;
console.log(this.form)
this.visible = true;
this.dialogtitle = "立案修改";
this.getInfo(row);
@@ -732,12 +816,32 @@ export default {
res.data.caseStatusName = "待缴费";
}
this.form = res.data;
console.log(this.form)
this.detailform = res.data;
this.awardDetailform = res.data;
this.detailsAwardNum = res.data;
console.log(this.detailsAwardNum)
this.payForm.feePayable = res.data.feePayable;
this.payForm.caseId = res.data.id;
});
},
// 缴费确认
paymentconfirmationRow(row) {
console.log(row)
this.getDetail({ id: row.id,version: row.version });
this.openDialog = true;
this.title = "缴费确认";
this.flag = 0;
this.detailform = {}
},
// 查看缴费单
viewpaymentformRow(row) {
// console.log("查看缴费单", row);
this.getDetail({ id: row.id,version: row.version});
this.openDialog = true;
this.title = "缴费单详情";
this.flag = 1;
this.detailform = {}
},
// 组庭
// formationcourtRow(row) {
// console.log(row, "组庭");
@@ -787,7 +891,8 @@ export default {
},
// 组庭审核
courtreviewRow(row) {
// console.log(row, "组庭审核");
console.log(row, "组庭审核");
this.formateCourtData = row;
console.log(row)
this.showformateCourt = true;
@@ -882,7 +987,7 @@ export default {
this.form.requestRule = res.data.requestRule;
this.form.properPreser = res.data.properPreser;
this.form.facts =res.data.facts;
this.form.applicantIsWrittenHear = 1
// this.form.applicantIsWrittenHear = 1
});
},
// 删除
@@ -931,7 +1036,130 @@ export default {
return 'pendingTrial'
}
}
},
// model框显示
showModel(row, type) {
switch (type) {
case 0:
selectSignSealUrl({ id: row.id }).then(res => {
let url = res.data.filearbitraUrl;
window.open(url)
})
break;
case 1:
this.getDetail({ id: row.id,version: row.version });
this.openDialogInfor = true;
this.title = "核验裁决书";
this.flag = 1;
break;
case 2:
this.getDetail({ id: row.id,version: row.version });
this.openDialogInfor = true;
this.title = "审核裁决书";
this.flag = 2;
break;
case 3:
selectSignUrl({ id: row.id }).then(res => {
console.log(res)
let url = res.data.signUrl;
window.open(url)
})
break;
case 4:
this.getDetail({ id: row.id,version: row.version});
this.openDialogInfor = true;
this.title = "审核裁决书";
this.flag = 4;
break;
default:
break;
}
},
// 关闭弹窗
cancelpaymentdetailsCom() {
this.openDialogInfor = false;
},
// 用印申请
showaffixModel(row) {
this.$modal.confirm('是否进行用印申请?')
.then(function () {
selectSealUrl({ id: row.id }).then(res => {
let url = res.data.sealUrl;
window.open(url)
})
}).catch(function () {
});
},
// 快递信息弹框
showDeliveryModel(row) {
console.log(row, '快递');
this.showDelivery = true
this.getadjudicationLogistics({ id: row.id })
},
closeDeliveryModel() {
this.showDelivery = false
},
// 查询物流信息
getadjudicationLogistics(val) {
this.flagLoading = true;
adjudicationLogistics(val).then((res) => {
this.deliveryDataArr = res.data
this.flagLoading = false
})
},
// 送达裁决书弹框
showMailaward(row) {
this.mailawardata = row;
this.emailByCaseIdFn(row.id)
this.openMailawardDialog = true
},
// 关闭送达裁决书弹框
closeMailaward(row) {
this.openMailawardDialog = false
},
// 根据案件id查询邮件
emailByCaseIdFn(val) {
emailByCaseId({ id: val }).then((res) => {
this.emailobj = res.data
})
},
// 案件归档
showCasefilingModel(row) {
this.$modal.confirm('是否确认立即进行案件扫描?').then(
function () {
// return adjudicationCaseFile({ id: row.id })
return adjudicationCaseFile({ ids: [row.id] })
}
).then(() => {
this.getcaseApply(this.queryParams);
this.$modal.msgSuccess("归档成功!");
}).catch(function () { })
},
// 归档详情
detailsAwardList(row){
this.showarchiveDetails = true
this.getDetail({ id: row.id })
this.getvideoList({ caseId: row.id })
this.getAttachListByCaseId({caseAppliId:row.id,annexType:11})
this.flagLoadingS = false
},
// 根据id查询视频列表
getvideoList(data){
videoList(data).then(res => {
this.videoList = res.data;
})
},
//根据案件id和类型查询附件
getAttachListByCaseId(data){
attachListByCaseId(data).then(res =>{
this.trialTranscripts = res.data;
})
},
// 归档详情关闭弹框
cancelDetail(){
this.showarchiveDetails = false;
},
},
};
</script>