diff --git a/src/views/awardManagement/components/paymentdetailsDialog.vue b/src/views/awardManagement/components/paymentdetailsDialog.vue index 3ce6eaa..f063fea 100644 --- a/src/views/awardManagement/components/paymentdetailsDialog.vue +++ b/src/views/awardManagement/components/paymentdetailsDialog.vue @@ -33,19 +33,31 @@ form.claimLiquidDamag }} - - {{ applicantFile }} - +

+ {{ item }} +

- - {{ respondentFile }} - +

+ {{ item }} +

- - {{ awardFile }} - +

+ {{ item }} +

@@ -73,6 +86,7 @@ @@ -81,6 +95,7 @@ @@ -89,6 +104,7 @@ @@ -97,6 +113,7 @@ @@ -105,6 +122,7 @@ @@ -214,24 +232,29 @@ export default { }, ], }, - applicantFile: "", //申请人 - applicantPath: "", //申请人 - respondentFile: "", //被申请人 - respondentPath: "", //被申请人 - awardFile: "", //裁决书 - awardPath: "", //裁决书 + applicantFileArr: [], //申请人 + applicantPathArr: [], //申请人 + respondentFileArr: [], //被申请人 + respondenPathArr: [], //被申请人 + awardFileArr: [], //裁决书 + awardPathArr: [], //裁决书 }; }, watch: { - openDialog: { + detailform: { handler(val) { if (val) { - setTimeout(() => { - this.form = this.detailform; - this.arbitrateRecord = this.form.arbitrateRecord; - console.log(this.form, "this.form"); - this.evidenceFile(this.form); - }, 1000); + (this.applicantFileArr = []), //申请人 + (this.applicantPathArr = []), //申请人 + (this.respondentFileArr = []), //被申请人 + (this.respondenPathArr = []), //被申请人 + (this.awardFileArr = []), //裁决书 + (this.awardPathArr = []), //裁决书 + setTimeout(() => { + this.form = this.detailform; + this.arbitrateRecord = this.form.arbitrateRecord; + this.evidenceFile(this.form); + }, 1000); } }, }, @@ -241,27 +264,28 @@ export default { evidenceFile(val) { if (val) { val.caseAttachList.forEach((item) => { - if ((item.annexType = 2)) { - this.applicantFile = item.annexName; - this.applicantPath = item.annexPath; - } else if ((item.annexType = 6)) { - this.respondentFile = item.annexName; - this.respondenPath = item.annexPath; - } else if ((item.annexType = 3)) { - this.awardFile = item.annexName; - this.awardPath = item.annexPath; + if (item.annexType == 2) { + this.applicantFileArr.push(item.annexName); + this.applicantPathArr.push(item.annexPath); + } else if (item.annexType == 6) { + this.respondentFileArr.push(item.annexName); + this.respondenPathArr.push(item.annexPath); + } else if (item.annexType == 3) { + this.awardFileArr.push(item.annexName); + this.awardPathArr.push(item.annexPath); } }); } }, - toFile(val) { + // 预览文件 + toFile(index, val) { let headPath = window.location.origin + "/API"; if (val == 2) { - window.open(headPath + this.applicantPath, "_black"); + window.open(headPath + this.applicantPathArr[index], "_blank"); } else if (val == 6) { - window.open(headPath + this.respondenPath, "_black"); + window.open(headPath + this.respondenPathArr[index], "_blank"); } else if (val == 3) { - window.open(headPath + this.awardPath, "_black"); + window.open(headPath + this.awardPathArr[index], "_blank"); } }, // 校验裁决书 diff --git a/src/views/awardManagement/listofAwards.vue b/src/views/awardManagement/listofAwards.vue index 16f8f1c..ae2794d 100644 --- a/src/views/awardManagement/listofAwards.vue +++ b/src/views/awardManagement/listofAwards.vue @@ -182,7 +182,6 @@ export default { }, // 送达裁决书弹框 showMailaward(row) { - // console.log(row,'ppppppppppppppppp'); this.mailawardata = row; this.openMailawardDialog = true }, diff --git a/src/views/caseManagement/components/caseentryDialog.vue b/src/views/caseManagement/components/caseentryDialog.vue index a2a85f7..17e8bd7 100644 --- a/src/views/caseManagement/components/caseentryDialog.vue +++ b/src/views/caseManagement/components/caseentryDialog.vue @@ -785,12 +785,13 @@ export default { }; }, watch: { - visible: { + initpaymentArr: { handler(val) { if (val) { + this.applicateArr = []; + this.quiltArr = []; this.formData = this.form; if (this.flag == "1" || this.flag == "0") { - setTimeout(() => { this.form2.paymentArr = this.initpaymentArr; this.form3.paymentArr1 = this.initpaymentArr1; console.log(this.caseAttachList, "caseAttachList"); @@ -803,11 +804,10 @@ export default { } }); this.fileList = this.caseAttachList; - this.fileList.forEach((item)=> { - item["name"]=item.annexName; + this.fileList.forEach((item) => { + item["name"] = item.annexName; item["certificatePath"] = item.annexPath; - }) - }, 1000); + }); } if (this.flag == "2") { this.form2.paymentArr = [ @@ -857,7 +857,7 @@ export default { } else { this.$message.warning("暂不支持预览"); } -}, + }, // 文件上传成功 handlSuccess(res, file) { diff --git a/src/views/caseManagement/components/choosetrialmethodDaiog.vue b/src/views/caseManagement/components/choosetrialmethodDaiog.vue index 13ce7f4..45d09e6 100644 --- a/src/views/caseManagement/components/choosetrialmethodDaiog.vue +++ b/src/views/caseManagement/components/choosetrialmethodDaiog.vue @@ -2,26 +2,42 @@
-
+ + + {{ + choosetrialmethodata.arbitratMethodName + }} + + + + - @@ -33,15 +49,13 @@ export default { name: "showchoosetrialmethodDialog", props: ["showchoosetrialmethod", "choosetrialmethodata", "queryParams"], data() { - return { - radio: 1, - }; + return {}; }, methods: { // 审核仲裁方式 arbitrateMethod - submitForm() { + submitForm(val) { let paramsdata = { - opinion: this.radio, + opinion: val, }; let id = { id: this.choosetrialmethodata.id, @@ -50,7 +64,7 @@ export default { .then((res) => { this.$modal.msgSuccess("提交成功"); this.cancel(); - this.$emit("getcaseApply",this.queryParams); + this.$emit("getcaseApply", this.queryParams); }) .catch((err) => {}); }, diff --git a/src/views/caseManagement/components/trialincourtDialog.vue b/src/views/caseManagement/components/trialincourtDialog.vue index c4e7c21..8501540 100644 --- a/src/views/caseManagement/components/trialincourtDialog.vue +++ b/src/views/caseManagement/components/trialincourtDialog.vue @@ -299,8 +299,8 @@ export default { }, // 打开会议 openmeeting() { - window.open('https://txroom.xayunmei.com'); - // window.open(`https://txroom.xayunmei.com/#/home?name=${this.user}`); + // window.open('https://txroom.xayunmei.com'); + window.open(`https://txroom.xayunmei.com/#/home?name=${this.user}`); }, // 提交仲裁结果 openArbitrationresults() {