|
|
@@ -33,19 +33,31 @@
|
|
33
|
33
|
form.claimLiquidDamag
|
|
34
|
34
|
}}</el-descriptions-item>
|
|
35
|
35
|
<el-descriptions-item label="申请人案件证据资料">
|
|
36
|
|
- <span @click="toFile(2)">
|
|
37
|
|
- <a href="#">{{ applicantFile }}</a>
|
|
38
|
|
- </span>
|
|
|
36
|
+ <p
|
|
|
37
|
+ @click="toFile(index, 2)"
|
|
|
38
|
+ v-for="(item, index) in applicantFileArr"
|
|
|
39
|
+ :key="index"
|
|
|
40
|
+ >
|
|
|
41
|
+ <a href="#">{{ item }}</a>
|
|
|
42
|
+ </p>
|
|
39
|
43
|
</el-descriptions-item>
|
|
40
|
44
|
<el-descriptions-item label="被申请人案件证据资料">
|
|
41
|
|
- <span @click="toFile(6)">
|
|
42
|
|
- <a href="#">{{ respondentFile }}</a>
|
|
43
|
|
- </span>
|
|
|
45
|
+ <p
|
|
|
46
|
+ v-for="(item, index) in respondentFileArr"
|
|
|
47
|
+ :key="index"
|
|
|
48
|
+ @click="toFile(index, 6)"
|
|
|
49
|
+ >
|
|
|
50
|
+ <a href="#">{{ item }}</a>
|
|
|
51
|
+ </p>
|
|
44
|
52
|
</el-descriptions-item>
|
|
45
|
53
|
<el-descriptions-item label="裁决书附件">
|
|
46
|
|
- <span @click="toFile(3)">
|
|
47
|
|
- <a href="#">{{ awardFile }}</a>
|
|
48
|
|
- </span>
|
|
|
54
|
+ <p
|
|
|
55
|
+ v-for="(item, index) in awardFileArr"
|
|
|
56
|
+ :key="index"
|
|
|
57
|
+ @click="toFile(index, 3)"
|
|
|
58
|
+ >
|
|
|
59
|
+ <a href="#">{{ item }}</a>
|
|
|
60
|
+ </p>
|
|
49
|
61
|
</el-descriptions-item>
|
|
50
|
62
|
</el-descriptions>
|
|
51
|
63
|
<el-form
|
|
|
@@ -62,6 +74,7 @@
|
|
62
|
74
|
<el-input
|
|
63
|
75
|
type="textarea"
|
|
64
|
76
|
autosize
|
|
|
77
|
+ :disabled="flag == 2 || flag == 1"
|
|
65
|
78
|
placeholder="请输入内容"
|
|
66
|
79
|
v-model="arbitrateRecord.evidenDetermi"
|
|
67
|
80
|
/>
|
|
|
@@ -73,6 +86,7 @@
|
|
73
|
86
|
<el-input
|
|
74
|
87
|
type="textarea"
|
|
75
|
88
|
autosize
|
|
|
89
|
+ :disabled="flag == 2 || flag == 1"
|
|
76
|
90
|
placeholder="请输入内容"
|
|
77
|
91
|
v-model="arbitrateRecord.factDetermi"
|
|
78
|
92
|
/>
|
|
|
@@ -81,6 +95,7 @@
|
|
81
|
95
|
<el-input
|
|
82
|
96
|
type="textarea"
|
|
83
|
97
|
autosize
|
|
|
98
|
+ :disabled="flag == 2 || flag == 1"
|
|
84
|
99
|
placeholder="请输入内容"
|
|
85
|
100
|
v-model="arbitrateRecord.caseSketch"
|
|
86
|
101
|
/>
|
|
|
@@ -89,6 +104,7 @@
|
|
89
|
104
|
<el-input
|
|
90
|
105
|
type="textarea"
|
|
91
|
106
|
autosize
|
|
|
107
|
+ :disabled="flag == 2 || flag == 1"
|
|
92
|
108
|
placeholder="请输入内容"
|
|
93
|
109
|
v-model="arbitrateRecord.arbitrateThink"
|
|
94
|
110
|
/>
|
|
|
@@ -97,6 +113,7 @@
|
|
97
|
113
|
<el-input
|
|
98
|
114
|
type="textarea"
|
|
99
|
115
|
autosize
|
|
|
116
|
+ :disabled="flag == 2 || flag == 1"
|
|
100
|
117
|
placeholder="请输入内容"
|
|
101
|
118
|
v-model="arbitrateRecord.rulingFollows"
|
|
102
|
119
|
/>
|
|
|
@@ -105,6 +122,7 @@
|
|
105
|
122
|
<el-input
|
|
106
|
123
|
type="textarea"
|
|
107
|
124
|
autosize
|
|
|
125
|
+ :disabled="flag == 2"
|
|
108
|
126
|
placeholder="请输入内容"
|
|
109
|
127
|
v-model="arbitrateRecord.verificaOpinion"
|
|
110
|
128
|
/>
|
|
|
@@ -214,24 +232,29 @@ export default {
|
|
214
|
232
|
},
|
|
215
|
233
|
],
|
|
216
|
234
|
},
|
|
217
|
|
- applicantFile: "", //申请人
|
|
218
|
|
- applicantPath: "", //申请人
|
|
219
|
|
- respondentFile: "", //被申请人
|
|
220
|
|
- respondentPath: "", //被申请人
|
|
221
|
|
- awardFile: "", //裁决书
|
|
222
|
|
- awardPath: "", //裁决书
|
|
|
235
|
+ applicantFileArr: [], //申请人
|
|
|
236
|
+ applicantPathArr: [], //申请人
|
|
|
237
|
+ respondentFileArr: [], //被申请人
|
|
|
238
|
+ respondenPathArr: [], //被申请人
|
|
|
239
|
+ awardFileArr: [], //裁决书
|
|
|
240
|
+ awardPathArr: [], //裁决书
|
|
223
|
241
|
};
|
|
224
|
242
|
},
|
|
225
|
243
|
watch: {
|
|
226
|
|
- openDialog: {
|
|
|
244
|
+ detailform: {
|
|
227
|
245
|
handler(val) {
|
|
228
|
246
|
if (val) {
|
|
229
|
|
- setTimeout(() => {
|
|
230
|
|
- this.form = this.detailform;
|
|
231
|
|
- this.arbitrateRecord = this.form.arbitrateRecord;
|
|
232
|
|
- console.log(this.form, "this.form");
|
|
233
|
|
- this.evidenceFile(this.form);
|
|
234
|
|
- }, 1000);
|
|
|
247
|
+ (this.applicantFileArr = []), //申请人
|
|
|
248
|
+ (this.applicantPathArr = []), //申请人
|
|
|
249
|
+ (this.respondentFileArr = []), //被申请人
|
|
|
250
|
+ (this.respondenPathArr = []), //被申请人
|
|
|
251
|
+ (this.awardFileArr = []), //裁决书
|
|
|
252
|
+ (this.awardPathArr = []), //裁决书
|
|
|
253
|
+ setTimeout(() => {
|
|
|
254
|
+ this.form = this.detailform;
|
|
|
255
|
+ this.arbitrateRecord = this.form.arbitrateRecord;
|
|
|
256
|
+ this.evidenceFile(this.form);
|
|
|
257
|
+ }, 1000);
|
|
235
|
258
|
}
|
|
236
|
259
|
},
|
|
237
|
260
|
},
|
|
|
@@ -241,27 +264,28 @@ export default {
|
|
241
|
264
|
evidenceFile(val) {
|
|
242
|
265
|
if (val) {
|
|
243
|
266
|
val.caseAttachList.forEach((item) => {
|
|
244
|
|
- if ((item.annexType = 2)) {
|
|
245
|
|
- this.applicantFile = item.annexName;
|
|
246
|
|
- this.applicantPath = item.annexPath;
|
|
247
|
|
- } else if ((item.annexType = 6)) {
|
|
248
|
|
- this.respondentFile = item.annexName;
|
|
249
|
|
- this.respondenPath = item.annexPath;
|
|
250
|
|
- } else if ((item.annexType = 3)) {
|
|
251
|
|
- this.awardFile = item.annexName;
|
|
252
|
|
- this.awardPath = item.annexPath;
|
|
|
267
|
+ if (item.annexType == 2) {
|
|
|
268
|
+ this.applicantFileArr.push(item.annexName);
|
|
|
269
|
+ this.applicantPathArr.push(item.annexPath);
|
|
|
270
|
+ } else if (item.annexType == 6) {
|
|
|
271
|
+ this.respondentFileArr.push(item.annexName);
|
|
|
272
|
+ this.respondenPathArr.push(item.annexPath);
|
|
|
273
|
+ } else if (item.annexType == 3) {
|
|
|
274
|
+ this.awardFileArr.push(item.annexName);
|
|
|
275
|
+ this.awardPathArr.push(item.annexPath);
|
|
253
|
276
|
}
|
|
254
|
277
|
});
|
|
255
|
278
|
}
|
|
256
|
279
|
},
|
|
257
|
|
- toFile(val) {
|
|
|
280
|
+ // 预览文件
|
|
|
281
|
+ toFile(index, val) {
|
|
258
|
282
|
let headPath = window.location.origin + "/API";
|
|
259
|
283
|
if (val == 2) {
|
|
260
|
|
- window.open(headPath + this.applicantPath, "_black");
|
|
|
284
|
+ window.open(headPath + this.applicantPathArr[index], "_blank");
|
|
261
|
285
|
} else if (val == 6) {
|
|
262
|
|
- window.open(headPath + this.respondenPath, "_black");
|
|
|
286
|
+ window.open(headPath + this.respondenPathArr[index], "_blank");
|
|
263
|
287
|
} else if (val == 3) {
|
|
264
|
|
- window.open(headPath + this.awardPath, "_black");
|
|
|
288
|
+ window.open(headPath + this.awardPathArr[index], "_blank");
|
|
265
|
289
|
}
|
|
266
|
290
|
},
|
|
267
|
291
|
// 校验裁决书
|