From c071610f806a33ce8b61a51b2bb63fca88a05f81 Mon Sep 17 00:00:00 2001 From: hanchaobo Date: Tue, 2 Apr 2024 15:11:35 +0800 Subject: [PATCH] =?UTF-8?q?0329=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/caseManagement/caseList.vue | 81 +- .../caseManagement/components/addCase.vue | 86 +- .../components/caseFilingDetailsPage.vue | 906 ++++++++++++------ .../caseManagement/components/mediation.vue | 3 +- .../caseManagement/components/payDialog.vue | 2 +- 5 files changed, 730 insertions(+), 348 deletions(-) diff --git a/src/views/caseManagement/caseList.vue b/src/views/caseManagement/caseList.vue index d048a65..0fc43e2 100644 --- a/src/views/caseManagement/caseList.vue +++ b/src/views/caseManagement/caseList.vue @@ -18,8 +18,8 @@ @keyup.enter.native="handleQuery" /> --> - + 归档详情
{{ item.nodeName }}
@@ -211,7 +211,7 @@ export default { pageNum: 1, pageSize: 10, }, - queryDisable:false, + queryDisable: false, // 遮罩层 loading: false, // 总条数 @@ -279,9 +279,9 @@ export default { }, created() { this.queryParams.caseNum = this.$route.query.caseNum; - if(this.$route.query.token){ + if (this.$route.query.token) { this.queryDisable = true; - }else{ + } else { this.queryDisable = false; } // this.getList(this.queryParams); @@ -469,6 +469,12 @@ export default { caseApplicationSelectById(parms).then((res) => { this.formPayDetail = res.data; this.formPayDetailAffiliate = res.data.affiliate; + 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; this.payForm.feePayable = res.data.feePayable; this.payForm.caseId = res.data.id; }); @@ -477,6 +483,12 @@ export default { caseApplicationSelectById(parms).then((res) => { this.formResPayDetail = res.data; this.formResPay = res.data.affiliate; + 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; this.resPayForm.feePayable = res.data.feePayable; this.resPayForm.caseId = res.data.id; }); @@ -698,25 +710,25 @@ export default { ids: [row.id], }; this.$confirm("你确定要案件送达吗?", "提示", { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'warning', - callback: () => { }, - beforeClose: (action, ctx, close) => { - if (action !== 'confirm') { - close(); - return; - } - ctx.confirmButtonLoading = true; - msCaseFile(paramValues).then((res) => { - this.$modal.msgSuccess("案件送达成功"); - close(); - this.getList(this.queryParams); - }).finally(() => { - ctx.confirmButtonLoading = false; - }) + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning', + callback: () => { }, + beforeClose: (action, ctx, close) => { + if (action !== 'confirm') { + close(); + return; } - }).finally(() => { }) + ctx.confirmButtonLoading = true; + msCaseFile(paramValues).then((res) => { + this.$modal.msgSuccess("案件送达成功"); + close(); + this.getList(this.queryParams); + }).finally(() => { + ctx.confirmButtonLoading = false; + }) + } + }).finally(() => { }) // .then((res) => { // msCaseFile(paramValues).then((res) => { // this.$modal.msgSuccess("案件送达成功"); @@ -757,9 +769,22 @@ export default { this.caseFilingData = val; let vals = { id: val.id }; caseApplicationSelectById(vals).then((res) => { - res.data.affiliate.respondentSex = Number( - res.data.affiliate.respondentSex - ); + 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 = {} + } + }) this.detailsAwardNum = res.data; console.log(this.detailsAwardNum); this.flagLoadingS = false; diff --git a/src/views/caseManagement/components/addCase.vue b/src/views/caseManagement/components/addCase.vue index 82bc35e..28a1e98 100644 --- a/src/views/caseManagement/components/addCase.vue +++ b/src/views/caseManagement/components/addCase.vue @@ -64,7 +64,7 @@
-
+
{{ item.annexName }}
@@ -631,6 +631,7 @@ export default { title: "新增案件", // organizeFlag:0,//选择机构和自然人 formData: { + caseSource:"YC", arbitratClaims: "", facts: "", organizeFlag: 0, @@ -785,6 +786,7 @@ export default { if (val) { if (this.addModifyData == 1) { this.formData = { + caseSource:"YC", organizeFlag: 0, affiliate: { @@ -1024,19 +1026,19 @@ export default { this.$set(this.formData, 'organizeFlag', 0); this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims); this.$set(this.formData, 'facts', this.formZipData.facts); - this.$set(this.formData.affiliate.applicant[0].applicant, 'home', this.formZipData.affiliate[0].applicant.home); - this.$set(this.formData.affiliate.applicant[0].applicant, 'address', this.formZipData.affiliate[0].applicant.address); - this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'phone', this.formZipData.affiliate[0].applicantAgent.phone); - this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'name', this.formZipData.affiliate[0].applicantAgent.name); - this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'email', this.formZipData.affiliate[0].applicantAgent.email); - this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate[0].res.name); - this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate[0].res.phone); - this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate[0].res.idCard); - this.$set(this.formData.affiliate.res[0].res, 'sex', this.formZipData.affiliate[0].res.sex); - this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate[0].res.birth); - this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate[0].res.home); - this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate[0].res.email); - this.$set(this.formData.affiliate.applicant[0].applicant, 'compLegalPerson', this.formZipData.affiliate[0].applicant.compLegalPerson); + this.$set(this.formData.affiliate.applicant[0].applicant, 'home', this.formZipData.affiliate.applicant[0].applicant.home); + this.$set(this.formData.affiliate.applicant[0].applicant, 'address', this.formZipData.affiliate.applicant[0].applicant.address); + this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'phone', this.formZipData.affiliate.applicant[0].applicantAgent.phone); + this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'name', this.formZipData.affiliate.applicant[0].applicantAgent.name); + this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'email', this.formZipData.affiliate.applicant[0].applicantAgent.email); + this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate.res[0].res.name); + this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate.res[0].res.phone); + this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate.res[0].res.idCard); + this.$set(this.formData.affiliate.res[0].res, 'sex', this.formZipData.affiliate.res[0].res.sex); + this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate.res[0].res.birth); + this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate.res[0].res.home); + this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate.res[0].res.email); + this.$set(this.formData.affiliate.applicant[0].applicant, 'compLegalPerson', this.formZipData.affiliate.applicant[0].applicant.compLegalPerson); // this.$set(this.formData.affiliate,'respondentSex',Number(res.data.affiliate.respondentSex)); }, handlePreview(file) { @@ -1067,18 +1069,18 @@ export default { this.$set(this.formData, 'organizeFlag', 0); this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims); this.$set(this.formData, 'facts', this.formZipData.facts); - this.$set(this.formData.affiliate.applicant[0].applicant, 'name', this.formZipData.affiliate[0].applicant.name); - this.$set(this.formData.affiliate.applicant[0].applicant, 'address', this.formZipData.affiliate[0].applicant.address); - this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'phone', this.formZipData.affiliate[0].applicantAgent.phone); - this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'name', this.formZipData.affiliate[0].applicantAgent.name); - this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'email', this.formZipData.affiliate[0].applicantAgent.email); - this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate[0].res.name); - this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate[0].res.phone); - this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate[0].res.idCard); - this.$set(this.formData.affiliate.res[0].res, 'sex', Number(this.formZipData.affiliate[0].res.sex)); - this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate[0].res.birth); - this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate[0].res.home); - this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate[0].res.email); + this.$set(this.formData.affiliate.applicant[0].applicant, 'name', this.formZipData.affiliate.applicant[0].applicant.name); + this.$set(this.formData.affiliate.applicant[0].applicant, 'address', this.formZipData.affiliate.applicant[0].applicant.address); + this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'phone', this.formZipData.affiliate.applicant[0].applicantAgent.phone); + this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'name', this.formZipData.affiliate.applicant[0].applicantAgent.name); + this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'email', this.formZipData.affiliate.applicant[0].applicantAgent.email); + this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate.res[0].res.name); + this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate.res[0].res.phone); + this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate.res[0].res.idCard); + this.$set(this.formData.affiliate.res[0].res, 'sex', Number(this.formZipData.affiliate.res[0].res.sex)); + this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate.res[0].res.birth); + this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate.res[0].res.home); + this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate.res[0].res.email); } else { this.formData.affiliate.applicant[0].applicantAgent.name = null; this.formData.affiliate.applicant[0].applicantAgent.email = null; @@ -1092,17 +1094,17 @@ export default { this.$set(this.formData, 'organizeFlag', 1); this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims); this.$set(this.formData, 'facts', this.formZipData.facts); - this.$set(this.formData.affiliate.applicant[0].applicant, 'name', this.formZipData.affiliate[0].applicant.name); - this.$set(this.formData.affiliate.applicant[0].applicant, 'code', this.formZipData.affiliate[0].applicant.code); - this.$set(this.formData.affiliate.applicant[0].applicant, 'email', this.formZipData.affiliate[0].applicant.email); - this.$set(this.formData.affiliate.applicant[0].applicant, 'phone', this.formZipData.affiliate[0].applicant.phone); - this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate[0].res.name); - this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate[0].res.phone); - this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate[0].res.idCard); - this.$set(this.formData.affiliate.res[0].res, 'sex', this.formZipData.affiliate[0].res.sex); - this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate[0].res.birth); - this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate[0].res.home); - this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate[0].res.email); + this.$set(this.formData.affiliate.applicant[0].applicant, 'name', this.formZipData.affiliate.applicant[0].applicant.name); + this.$set(this.formData.affiliate.applicant[0].applicant, 'code', this.formZipData.affiliate.applicant[0].applicant.code); + this.$set(this.formData.affiliate.applicant[0].applicant, 'email', this.formZipData.affiliate.applicant[0].applicant.email); + this.$set(this.formData.affiliate.applicant[0].applicant, 'phone', this.formZipData.affiliate.applicant[0].applicant.phone); + this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate.res[0].res.name); + this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate.res[0].res.phone); + this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate.res[0].res.idCard); + this.$set(this.formData.affiliate.res[0].res, 'sex', this.formZipData.affiliate.res[0].res.sex); + this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate.res[0].res.birth); + this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate.res[0].res.home); + this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate.res[0].res.email); } else { this.$set(this.formData.affiliate.applicant[0].applicant, 'name', null); this.$set(this.formData.affiliate.applicant[0].applicant, 'idCard', null); @@ -1121,12 +1123,12 @@ export default { handleBlur(index) { // console.log(this.formData.affiliate.respondentIdentityNum); let idCards = { - idCard: this.formData.affiliate[index].res.idCard, + idCard: this.formData.affiliate.res[index].res.idCard, }; getInfoByIdCard(idCards).then((res) => { - this.formData.affiliate[index].res.sex = res.respondentSex; + this.formData.affiliate.res[index].res.sex = res.respondentSex; // console.log(res.respondentBirth); - this.formData.affiliate[index].res.birth = res.respondentBirth; + this.formData.affiliate.res[index].res.birth = res.respondentBirth; }); }, /**删除新增信息某一项 */ @@ -1177,7 +1179,7 @@ export default { addRes(){ this.formData.affiliate.res.push({ res: { - roleType: 1, + roleType: 3, name: "", idCard: "", code: "", @@ -1193,7 +1195,7 @@ export default { operatorFlag:0 }, resAgent: { - roleType: 2, + roleType: 4, name: "", idCard: "", code: "", diff --git a/src/views/caseManagement/components/caseFilingDetailsPage.vue b/src/views/caseManagement/components/caseFilingDetailsPage.vue index 09a208f..aebed59 100644 --- a/src/views/caseManagement/components/caseFilingDetailsPage.vue +++ b/src/views/caseManagement/components/caseFilingDetailsPage.vue @@ -5,252 +5,575 @@
- - - - - - - - -
- -
- {{item.annexName}} -
- -
- + + + + +
+ +
+ {{ item.annexName }} +
+ +
+ -
-
- {{item.annexName}} -
- -
-
-
- -
- -
-
-
- {{item.annexName}} -
- -
-
- - -
-
-
案件信息:
-
- - - - - - - - - - - - - - - 点击上传 -
- 文件支持上传.jpg,png,.doc,docx,.txt,.pdf文件 -
-
-
-
- - -
-
- {{ item.annexName }} -
-
-
-
- - -
-
- {{ item.annexName }} -
-
-
-
- - -
-
- {{ item.annexName }} -
-
-
-
- - - 达成调解 - 未达成调解 - 未达成调解但不在争议 - 未达成调解但同意引入仲裁 - 达成和解 - - - +
+
+ {{ item.annexName }} +
+ +
+
+
+ +
+ +
+
+
+ {{ item.annexName }} +
+ +
+
+ +
-
双方信息:
+
案件信息:
- - - - - 自然人 - 机构 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 男 - 女 - - - - - - - - - - - - - - - - - - - -
- - - - - -
-
+ + + + + + + + + + + + +
+
+ {{ item.annexName }} +
+
+
+
+ + +
+
+ {{ item.annexName }} +
+
+
+
+ + + 达成调解 + 未达成调解 + 未达成调解但不在争议 + 未达成调解但同意引入仲裁 + 达成和解 + + + +
+
+
双方信息:
+
+ +
+ + + + 自然人 + 机构 + + + +
+ +
+
+
申请人
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
申请人代理人
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
被申请人
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 男 + 女 + + + + +
+
+
被申请人代理人
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+