927问题修复
This commit is contained in:
@@ -33,19 +33,31 @@
|
||||
form.claimLiquidDamag
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="申请人案件证据资料">
|
||||
<span @click="toFile(2)">
|
||||
<a href="#">{{ applicantFile }}</a>
|
||||
</span>
|
||||
<p
|
||||
@click="toFile(index, 2)"
|
||||
v-for="(item, index) in applicantFileArr"
|
||||
:key="index"
|
||||
>
|
||||
<a href="#">{{ item }}</a>
|
||||
</p>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="被申请人案件证据资料">
|
||||
<span @click="toFile(6)">
|
||||
<a href="#">{{ respondentFile }}</a>
|
||||
</span>
|
||||
<p
|
||||
v-for="(item, index) in respondentFileArr"
|
||||
:key="index"
|
||||
@click="toFile(index, 6)"
|
||||
>
|
||||
<a href="#">{{ item }}</a>
|
||||
</p>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="裁决书附件">
|
||||
<span @click="toFile(3)">
|
||||
<a href="#">{{ awardFile }}</a>
|
||||
</span>
|
||||
<p
|
||||
v-for="(item, index) in awardFileArr"
|
||||
:key="index"
|
||||
@click="toFile(index, 3)"
|
||||
>
|
||||
<a href="#">{{ item }}</a>
|
||||
</p>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
<el-form
|
||||
@@ -62,6 +74,7 @@
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
:disabled="flag == 2 || flag == 1"
|
||||
placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.evidenDetermi"
|
||||
/>
|
||||
@@ -73,6 +86,7 @@
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
:disabled="flag == 2 || flag == 1"
|
||||
placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.factDetermi"
|
||||
/>
|
||||
@@ -81,6 +95,7 @@
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
:disabled="flag == 2 || flag == 1"
|
||||
placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.caseSketch"
|
||||
/>
|
||||
@@ -89,6 +104,7 @@
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
:disabled="flag == 2 || flag == 1"
|
||||
placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.arbitrateThink"
|
||||
/>
|
||||
@@ -97,6 +113,7 @@
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
:disabled="flag == 2 || flag == 1"
|
||||
placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.rulingFollows"
|
||||
/>
|
||||
@@ -105,6 +122,7 @@
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
:disabled="flag == 2"
|
||||
placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.verificaOpinion"
|
||||
/>
|
||||
@@ -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");
|
||||
}
|
||||
},
|
||||
// 校验裁决书
|
||||
|
||||
@@ -182,7 +182,6 @@ export default {
|
||||
},
|
||||
// 送达裁决书弹框
|
||||
showMailaward(row) {
|
||||
// console.log(row,'ppppppppppppppppp');
|
||||
this.mailawardata = row;
|
||||
this.openMailawardDialog = true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user