|
|
@@ -1,69 +1,40 @@
|
|
1
|
1
|
<template>
|
|
2
|
2
|
<div>
|
|
3
|
|
- <el-dialog
|
|
4
|
|
- title="开庭审理"
|
|
5
|
|
- :visible="showtrialincourt"
|
|
6
|
|
- @close="cancel"
|
|
7
|
|
- :destroy-on-close="true"
|
|
8
|
|
- >
|
|
|
3
|
+ <el-dialog title="开庭审理" :visible="showtrialincourt" @close="cancel" :destroy-on-close="true">
|
|
9
|
4
|
<el-form ref="form" :model="formData" label-width="180px">
|
|
10
|
5
|
<div class="caseInfo">案件信息:</div>
|
|
11
|
6
|
<el-divider></el-divider>
|
|
12
|
7
|
<el-row>
|
|
13
|
8
|
<el-col :span="12">
|
|
14
|
9
|
<el-form-item label="案件编号:" prop="caseNum">
|
|
15
|
|
- <el-input
|
|
16
|
|
- v-model="formData.caseNum"
|
|
17
|
|
- placeholder="请输入案件编号"
|
|
18
|
|
- :disabled="true"
|
|
19
|
|
- />
|
|
|
10
|
+ <el-input v-model="formData.caseNum" placeholder="请输入案件编号" :disabled="true" />
|
|
20
|
11
|
</el-form-item>
|
|
21
|
12
|
</el-col>
|
|
22
|
13
|
<el-col :span="12">
|
|
23
|
14
|
<el-form-item label="申请人:" prop="applicantName">
|
|
24
|
|
- <el-input
|
|
25
|
|
- v-model="adjudicatename.applicantName"
|
|
26
|
|
- :disabled="true"
|
|
27
|
|
- />
|
|
|
15
|
+ <el-input v-model="formData.applicantName" :disabled="true" />
|
|
28
|
16
|
</el-form-item>
|
|
29
|
17
|
</el-col>
|
|
30
|
18
|
<el-col :span="12">
|
|
31
|
19
|
<el-form-item label="被申请人:" prop="respondentName">
|
|
32
|
|
- <el-input
|
|
33
|
|
- v-model="adjudicatename.respondentName"
|
|
34
|
|
- :disabled="true"
|
|
35
|
|
- />
|
|
|
20
|
+ <el-input v-model="formData.respondentName" :disabled="true" />
|
|
36
|
21
|
</el-form-item>
|
|
37
|
22
|
</el-col>
|
|
38
|
23
|
<el-col :span="12">
|
|
39
|
24
|
<el-form-item label="借款开始日期:" prop="loanStartDate">
|
|
40
|
|
- <el-date-picker
|
|
41
|
|
- v-model="formData.loanStartDate"
|
|
42
|
|
- type="datetime"
|
|
43
|
|
- placeholder="借款开始日期"
|
|
44
|
|
- :disabled="true"
|
|
45
|
|
- >
|
|
|
25
|
+ <el-date-picker v-model="formData.loanStartDate" type="datetime" placeholder="借款开始日期" :disabled="true">
|
|
46
|
26
|
</el-date-picker>
|
|
47
|
27
|
</el-form-item>
|
|
48
|
28
|
</el-col>
|
|
49
|
29
|
<el-col :span="12">
|
|
50
|
30
|
<el-form-item label="借款结束日期:" prop="loanEndDate">
|
|
51
|
|
- <el-date-picker
|
|
52
|
|
- v-model="formData.loanEndDate"
|
|
53
|
|
- type="datetime"
|
|
54
|
|
- placeholder="借款结束日期"
|
|
55
|
|
- :disabled="true"
|
|
56
|
|
- >
|
|
|
31
|
+ <el-date-picker v-model="formData.loanEndDate" type="datetime" placeholder="借款结束日期" :disabled="true">
|
|
57
|
32
|
</el-date-picker>
|
|
58
|
33
|
</el-form-item>
|
|
59
|
34
|
</el-col>
|
|
60
|
35
|
<el-col :span="12">
|
|
61
|
36
|
<el-form-item label="案件标的:" prop="caseSubjectAmount">
|
|
62
|
|
- <el-input
|
|
63
|
|
- v-model="formData.caseSubjectAmount"
|
|
64
|
|
- placeholder="请输入案件标的"
|
|
65
|
|
- :disabled="true"
|
|
66
|
|
- />
|
|
|
37
|
+ <el-input v-model="formData.caseSubjectAmount" placeholder="请输入案件标的" :disabled="true" />
|
|
67
|
38
|
</el-form-item>
|
|
68
|
39
|
</el-col>
|
|
69
|
40
|
<!-- <el-col :span="12">
|
|
|
@@ -76,20 +47,12 @@
|
|
76
|
47
|
</el-col> -->
|
|
77
|
48
|
<el-col :span="12">
|
|
78
|
49
|
<el-form-item label="仲裁费用:" prop="feePayable">
|
|
79
|
|
- <el-input
|
|
80
|
|
- v-model="adjudicatename.feePayable"
|
|
81
|
|
- placeholder="请输入仲裁费用"
|
|
82
|
|
- :disabled="true"
|
|
83
|
|
- />
|
|
|
50
|
+ <el-input v-model="formData.feePayable" placeholder="请输入仲裁费用" :disabled="true" />
|
|
84
|
51
|
</el-form-item>
|
|
85
|
52
|
</el-col>
|
|
86
|
53
|
<el-col :span="12">
|
|
87
|
54
|
<el-form-item label="申请人主张欠本金:" prop="claimPrinciOwed">
|
|
88
|
|
- <el-input
|
|
89
|
|
- v-model="formData.claimPrinciOwed"
|
|
90
|
|
- placeholder="请输入"
|
|
91
|
|
- :disabled="true"
|
|
92
|
|
- />
|
|
|
55
|
+ <el-input v-model="formData.claimPrinciOwed" placeholder="请输入" :disabled="true" />
|
|
93
|
56
|
</el-form-item>
|
|
94
|
57
|
</el-col>
|
|
95
|
58
|
<!-- <el-col :span="12">
|
|
|
@@ -99,31 +62,18 @@
|
|
99
|
62
|
</el-col> -->
|
|
100
|
63
|
<el-col :span="12">
|
|
101
|
64
|
<el-form-item label="案件状态:" prop="caseStatus">
|
|
102
|
|
- <el-input
|
|
103
|
|
- v-model="formData.caseStatusName"
|
|
104
|
|
- placeholder="请输入"
|
|
105
|
|
- :disabled="true"
|
|
106
|
|
- />
|
|
|
65
|
+ <el-input v-model="formData.caseStatusName" placeholder="请输入" :disabled="true" />
|
|
107
|
66
|
</el-form-item>
|
|
108
|
67
|
</el-col>
|
|
109
|
68
|
<el-col :span="12">
|
|
110
|
69
|
<el-form-item label="仲裁员:" prop="arbitratorName">
|
|
111
|
|
- <el-input
|
|
112
|
|
- v-model="adjudicatename.arbitratorName"
|
|
113
|
|
- placeholder="请输入"
|
|
114
|
|
- :disabled="true"
|
|
115
|
|
- />
|
|
|
70
|
+ <el-input v-model="formData.arbitratorName" placeholder="请输入" :disabled="true" />
|
|
116
|
71
|
</el-form-item>
|
|
117
|
72
|
</el-col>
|
|
118
|
73
|
|
|
119
|
74
|
<el-col :span="12">
|
|
120
|
75
|
<el-form-item label="开庭日期:" prop="hearDate">
|
|
121
|
|
- <el-date-picker
|
|
122
|
|
- v-model="adjudicatename.hearDate"
|
|
123
|
|
- type="datetime"
|
|
124
|
|
- placeholder="开庭日期"
|
|
125
|
|
- :disabled="true"
|
|
126
|
|
- >
|
|
|
76
|
+ <el-date-picker v-model="formData.hearDate" type="datetime" placeholder="开庭日期" :disabled="true">
|
|
127
|
77
|
</el-date-picker>
|
|
128
|
78
|
</el-form-item>
|
|
129
|
79
|
</el-col>
|
|
|
@@ -165,11 +115,7 @@
|
|
165
|
115
|
</el-col>
|
|
166
|
116
|
<el-col :span="24" v-if="recordArr.length > 0">
|
|
167
|
117
|
<el-form-item label="庭审笔录:">
|
|
168
|
|
- <div
|
|
169
|
|
- v-for="(item, index) in recordArr"
|
|
170
|
|
- :key="index"
|
|
171
|
|
- style="color: blue"
|
|
172
|
|
- >
|
|
|
118
|
+ <div v-for="(item, index) in recordArr" :key="index" style="color: blue">
|
|
173
|
119
|
<a href="#" @click="toFile2(item, index)">{{ item.annexName }}</a>
|
|
174
|
120
|
</div>
|
|
175
|
121
|
</el-form-item>
|
|
|
@@ -186,23 +132,10 @@
|
|
186
|
132
|
</el-col>
|
|
187
|
133
|
<el-col :span="24" v-if="submitFlag">
|
|
188
|
134
|
<el-form-item label="上传裁决书:">
|
|
189
|
|
- <el-upload
|
|
190
|
|
- class="upload-demo"
|
|
191
|
|
- accept=".doc,.docx"
|
|
192
|
|
- ref="upload"
|
|
193
|
|
- :action="UploadUrls()"
|
|
194
|
|
- :headers="headers"
|
|
195
|
|
- :data="filedatas"
|
|
196
|
|
- :before-remove="beforeRemoves"
|
|
197
|
|
- :limit="2"
|
|
198
|
|
- :on-change="beforeUpload"
|
|
199
|
|
- :on-success="handlSuccessAw"
|
|
200
|
|
- :file-list="fileListAw"
|
|
201
|
|
- :before-upload="beforeAvatarUploads"
|
|
202
|
|
- >
|
|
203
|
|
- <el-button slot="trigger" size="small" type="primary"
|
|
204
|
|
- >选取文件</el-button
|
|
205
|
|
- >
|
|
|
135
|
+ <el-upload class="upload-demo" accept=".doc,.docx" ref="upload" :action="UploadUrls()" :headers="headers"
|
|
|
136
|
+ :data="filedatas" :before-remove="beforeRemoves" :limit="2" :on-change="beforeUpload"
|
|
|
137
|
+ :on-success="handlSuccessAw" :file-list="fileListAw" :before-upload="beforeAvatarUploads">
|
|
|
138
|
+ <el-button slot="trigger" size="small" type="primary">选取文件</el-button>
|
|
206
|
139
|
<!-- <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload">上传到服务器</el-button> -->
|
|
207
|
140
|
<div slot="tip" class="el-upload__tip">
|
|
208
|
141
|
只能上传.doc,docx文件
|
|
|
@@ -212,23 +145,10 @@
|
|
212
|
145
|
</el-col>
|
|
213
|
146
|
<el-col :span="24" v-if="submitFlag">
|
|
214
|
147
|
<el-form-item label="上传庭审笔录:">
|
|
215
|
|
- <el-upload
|
|
216
|
|
- class="upload-demo"
|
|
217
|
|
- ref="fileupload"
|
|
218
|
|
- accept=".doc,.docx"
|
|
219
|
|
- :action="UploadUrlsT()"
|
|
220
|
|
- :on-success="handlSuccess"
|
|
221
|
|
- :on-remove="handleRemove"
|
|
222
|
|
- :on-preview="handlePreview"
|
|
223
|
|
- :before-remove="beforeRemove"
|
|
224
|
|
- :headers="headers"
|
|
225
|
|
- :data="filedata"
|
|
226
|
|
- multiple
|
|
227
|
|
- :limit="3"
|
|
228
|
|
- :on-exceed="handleExceed"
|
|
229
|
|
- :before-upload="beforeAvatarUpload"
|
|
230
|
|
- :file-list="fileList"
|
|
231
|
|
- >
|
|
|
148
|
+ <el-upload class="upload-demo" ref="fileupload" accept=".doc,.docx" :action="UploadUrlsT()"
|
|
|
149
|
+ :on-success="handlSuccess" :on-remove="handleRemove" :on-preview="handlePreview"
|
|
|
150
|
+ :before-remove="beforeRemove" :headers="headers" :data="filedata" multiple :limit="3"
|
|
|
151
|
+ :on-exceed="handleExceed" :before-upload="beforeAvatarUpload" :file-list="fileList">
|
|
232
|
152
|
<el-button type="primary" size="small">选择文件</el-button>
|
|
233
|
153
|
<div slot="tip" class="el-upload__tip">
|
|
234
|
154
|
文件支持上传.doc,docx文件
|
|
|
@@ -239,33 +159,15 @@
|
|
239
|
159
|
<!-- </el-form> -->
|
|
240
|
160
|
</el-form>
|
|
241
|
161
|
<el-button @click="openmeeting" type="primary">发起会议</el-button>
|
|
242
|
|
- <el-button
|
|
243
|
|
- @click="openArbitrationresults"
|
|
244
|
|
- type="primary"
|
|
245
|
|
- v-if="this.awardArr.length <= 0 && submitFlag"
|
|
246
|
|
- >确认会议结果</el-button>
|
|
|
162
|
+ <el-button @click="openArbitrationresults" type="primary"
|
|
|
163
|
+ v-if="this.awardArr.length <= 0 && submitFlag">确认会议结果</el-button>
|
|
247
|
164
|
<div slot="footer" class="dialog-footer">
|
|
248
|
|
- <el-button
|
|
249
|
|
- class="endbutton"
|
|
250
|
|
- :disabled="
|
|
251
|
|
- (showsubmit && recordArr.length == 0) || form2.isAbsence == 1
|
|
252
|
|
- "
|
|
253
|
|
- @click="submitResults"
|
|
254
|
|
- :loading="loadingSub"
|
|
255
|
|
- v-if="submitFlag"
|
|
256
|
|
- >提交</el-button
|
|
257
|
|
- >
|
|
258
|
|
- <el-button @click="cancel" class="endbutton1"
|
|
259
|
|
- ><span>关 闭</span></el-button
|
|
260
|
|
- >
|
|
|
165
|
+ <el-button class="endbutton" :disabled="(showsubmit && recordArr.length == 0) || form2.isAbsence == 1
|
|
|
166
|
+ " @click="submitResults" :loading="loadingSub" v-if="submitFlag">提交</el-button>
|
|
|
167
|
+ <el-button @click="cancel" class="endbutton1"><span>关 闭</span></el-button>
|
|
261
|
168
|
</div>
|
|
262
|
169
|
</el-dialog>
|
|
263
|
|
- <el-dialog
|
|
264
|
|
- title="庭审笔录"
|
|
265
|
|
- :visible="showArbitrationresults"
|
|
266
|
|
- @close="closeArbitrationresults"
|
|
267
|
|
- center
|
|
268
|
|
- >
|
|
|
170
|
+ <el-dialog title="庭审笔录" :visible="showArbitrationresults" @close="closeArbitrationresults" center>
|
|
269
|
171
|
<el-form ref="form2" :model="form2" label-width="150px">
|
|
270
|
172
|
<!-- <el-col :span="12">
|
|
271
|
173
|
<el-form-item label="申请人是否缺席:" prop="isAbsence" :rules="[
|
|
|
@@ -281,16 +183,12 @@
|
|
281
|
183
|
</el-form-item>
|
|
282
|
184
|
</el-col> -->
|
|
283
|
185
|
<el-col :span="24">
|
|
284
|
|
- <el-form-item
|
|
285
|
|
- label="被申请人是否缺席:"
|
|
286
|
|
- prop="appliIsAbsen"
|
|
287
|
|
- :rules="[
|
|
288
|
|
- {
|
|
289
|
|
- required: true,
|
|
290
|
|
- message: '请输入',
|
|
291
|
|
- },
|
|
292
|
|
- ]"
|
|
293
|
|
- >
|
|
|
186
|
+ <el-form-item label="被申请人是否缺席:" prop="appliIsAbsen" :rules="[
|
|
|
187
|
+ {
|
|
|
188
|
+ required: true,
|
|
|
189
|
+ message: '请输入',
|
|
|
190
|
+ },
|
|
|
191
|
+ ]">
|
|
294
|
192
|
<el-radio-group v-model="form2.appliIsAbsen">
|
|
295
|
193
|
<el-radio :label="1">是</el-radio>
|
|
296
|
194
|
<el-radio :label="0">否</el-radio>
|
|
|
@@ -298,16 +196,12 @@
|
|
298
|
196
|
</el-form-item>
|
|
299
|
197
|
</el-col>
|
|
300
|
198
|
<el-col :span="24">
|
|
301
|
|
- <el-form-item
|
|
302
|
|
- label="申请人是否缺席:"
|
|
303
|
|
- prop="isAbsence"
|
|
304
|
|
- :rules="[
|
|
305
|
|
- {
|
|
306
|
|
- required: true,
|
|
307
|
|
- message: '请输入',
|
|
308
|
|
- },
|
|
309
|
|
- ]"
|
|
310
|
|
- >
|
|
|
199
|
+ <el-form-item label="申请人是否缺席:" prop="isAbsence" :rules="[
|
|
|
200
|
+ {
|
|
|
201
|
+ required: true,
|
|
|
202
|
+ message: '请输入',
|
|
|
203
|
+ },
|
|
|
204
|
+ ]">
|
|
311
|
205
|
<el-radio-group v-model="form2.isAbsence">
|
|
312
|
206
|
<el-radio :label="1">是</el-radio>
|
|
313
|
207
|
<el-radio :label="0">否</el-radio>
|
|
|
@@ -315,29 +209,13 @@
|
|
315
|
209
|
</el-form-item>
|
|
316
|
210
|
</el-col>
|
|
317
|
211
|
<el-col :span="24">
|
|
318
|
|
- <el-form-item
|
|
319
|
|
- label="被申请人对上述材料的质证意见"
|
|
320
|
|
- prop="respondentOpinion"
|
|
321
|
|
- >
|
|
322
|
|
- <el-input
|
|
323
|
|
- type="textarea"
|
|
324
|
|
- :autosize="{ minRows: 6 }"
|
|
325
|
|
- v-model="form2.respondentOpinion"
|
|
326
|
|
- placeholder="请输入"
|
|
327
|
|
- />
|
|
|
212
|
+ <el-form-item label="被申请人对上述材料的质证意见" prop="respondentOpinion">
|
|
|
213
|
+ <el-input type="textarea" :autosize="{ minRows: 6 }" v-model="form2.respondentOpinion" placeholder="请输入" />
|
|
328
|
214
|
</el-form-item>
|
|
329
|
215
|
</el-col>
|
|
330
|
216
|
<el-col :span="24">
|
|
331
|
|
- <el-form-item
|
|
332
|
|
- label="申请人对上述材料的质证意见"
|
|
333
|
|
- prop="applicantOpinion"
|
|
334
|
|
- >
|
|
335
|
|
- <el-input
|
|
336
|
|
- type="textarea"
|
|
337
|
|
- :autosize="{ minRows: 6 }"
|
|
338
|
|
- v-model="form2.applicantOpinion"
|
|
339
|
|
- placeholder="请输入"
|
|
340
|
|
- />
|
|
|
217
|
+ <el-form-item label="申请人对上述材料的质证意见" prop="applicantOpinion">
|
|
|
218
|
+ <el-input type="textarea" :autosize="{ minRows: 6 }" v-model="form2.applicantOpinion" placeholder="请输入" />
|
|
341
|
219
|
</el-form-item>
|
|
342
|
220
|
</el-col>
|
|
343
|
221
|
<!-- <el-col :span="24">
|
|
|
@@ -445,16 +323,9 @@
|
|
445
|
323
|
</el-col> -->
|
|
446
|
324
|
</el-form>
|
|
447
|
325
|
<div slot="footer" class="dialog-footer">
|
|
448
|
|
- <el-button
|
|
449
|
|
- @click="submitForm"
|
|
450
|
|
- class="endbutton"
|
|
451
|
|
- :loading="loadingSubmit"
|
|
452
|
|
- >
|
|
453
|
|
- <span>确定</span></el-button
|
|
454
|
|
- >
|
|
455
|
|
- <el-button @click="closeArbitrationresults" class="endbutton1"
|
|
456
|
|
- ><span>取 消</span></el-button
|
|
457
|
|
- >
|
|
|
326
|
+ <el-button @click="submitForm" class="endbutton" :loading="loadingSubmit">
|
|
|
327
|
+ <span>确定</span></el-button>
|
|
|
328
|
+ <el-button @click="closeArbitrationresults" class="endbutton1"><span>取 消</span></el-button>
|
|
458
|
329
|
</div>
|
|
459
|
330
|
</el-dialog>
|
|
460
|
331
|
</div>
|
|
|
@@ -488,8 +359,8 @@ export default {
|
|
488
|
359
|
},
|
|
489
|
360
|
filedatas: {
|
|
490
|
361
|
annexType: 3,
|
|
491
|
|
- officeFlag:1,
|
|
492
|
|
- caseId:null
|
|
|
362
|
+ officeFlag: 1,
|
|
|
363
|
+ caseId: null
|
|
493
|
364
|
},
|
|
494
|
365
|
upLife: "",
|
|
495
|
366
|
user: "",
|
|
|
@@ -509,27 +380,34 @@ export default {
|
|
509
|
380
|
roomId: null,
|
|
510
|
381
|
startTime: "",
|
|
511
|
382
|
fileList: [],
|
|
512
|
|
- fileListAw:[],
|
|
|
383
|
+ fileListAw: [],
|
|
513
|
384
|
loadingSubmit: false,
|
|
514
|
|
- loadingSub:false,
|
|
|
385
|
+ loadingSub: false,
|
|
515
|
386
|
};
|
|
516
|
387
|
},
|
|
517
|
388
|
watch: {
|
|
518
|
389
|
showtrialincourt: {
|
|
519
|
390
|
handler(val) {
|
|
520
|
391
|
if (val) {
|
|
|
392
|
+ let val = {
|
|
|
393
|
+ id: this.form.id,
|
|
|
394
|
+ version: this.form.version,
|
|
|
395
|
+ };
|
|
|
396
|
+ selectCaseApply(val).then(res => {
|
|
|
397
|
+ this.formData = res.data;
|
|
|
398
|
+ })
|
|
521
|
399
|
this.reserveConferenceListFn({ caseId: this.form.id });
|
|
522
|
400
|
this.getUser();
|
|
523
|
|
- this.formData = this.form;
|
|
|
401
|
+ // this.formData = this.form;
|
|
524
|
402
|
console.log(this.formData);
|
|
525
|
403
|
this.applicateArr = [];
|
|
526
|
404
|
this.quiltArr = [];
|
|
527
|
405
|
this.awardArr = [];
|
|
528
|
406
|
this.recordArr = [];
|
|
529
|
407
|
setTimeout(() => {
|
|
530
|
|
- console.log(this.adjudicatename);
|
|
531
|
|
- if (this.adjudicatename.caseAttachList.length > 0) {
|
|
532
|
|
- this.adjudicatename.caseAttachList.forEach((item) => {
|
|
|
408
|
+ console.log(this.formData);
|
|
|
409
|
+ if (this.formData.caseAttachList.length > 0) {
|
|
|
410
|
+ this.formData.caseAttachList.forEach((item) => {
|
|
533
|
411
|
// 申请人案件附件
|
|
534
|
412
|
if (item.annexType == 2) {
|
|
535
|
413
|
this.applicateArr.push({
|
|
|
@@ -562,11 +440,11 @@ export default {
|
|
562
|
440
|
},
|
|
563
|
441
|
},
|
|
564
|
442
|
},
|
|
565
|
|
- created() {},
|
|
|
443
|
+ created() { },
|
|
566
|
444
|
methods: {
|
|
567
|
445
|
// 根据案件id和用户id查询当前登陆人是否为仲裁员
|
|
568
|
|
- secretaryRoleByUserIdFn(data){
|
|
569
|
|
- secretaryRoleByUserId(data).then(res=>{
|
|
|
446
|
+ secretaryRoleByUserIdFn(data) {
|
|
|
447
|
+ secretaryRoleByUserId(data).then(res => {
|
|
570
|
448
|
this.submitFlag = res.data.isSecretaryRole;
|
|
571
|
449
|
})
|
|
572
|
450
|
},
|
|
|
@@ -614,7 +492,7 @@ export default {
|
|
614
|
492
|
getUserProfile().then((response) => {
|
|
615
|
493
|
this.user = response.data.userName;
|
|
616
|
494
|
this.userId = response.data.userId;
|
|
617
|
|
- this.secretaryRoleByUserIdFn({caseId:this.form.id,userId:this.userId})
|
|
|
495
|
+ this.secretaryRoleByUserIdFn({ caseId: this.form.id, userId: this.userId })
|
|
618
|
496
|
});
|
|
619
|
497
|
},
|
|
620
|
498
|
// 打开会议
|
|
|
@@ -628,7 +506,7 @@ export default {
|
|
628
|
506
|
// 提交仲裁结果
|
|
629
|
507
|
openArbitrationresults() {
|
|
630
|
508
|
this.showArbitrationresults = true;
|
|
631
|
|
-
|
|
|
509
|
+
|
|
632
|
510
|
},
|
|
633
|
511
|
closeArbitrationresults() {
|
|
634
|
512
|
this.showArbitrationresults = false;
|
|
|
@@ -640,33 +518,12 @@ export default {
|
|
640
|
518
|
this.loadingSubmit = true;
|
|
641
|
519
|
creatTrialRecordnew({
|
|
642
|
520
|
caseAppliId: this.formData.id,
|
|
643
|
|
- // evidenDetermi: this.form2.evidenDetermi,
|
|
644
|
|
- // factDetermi: this.form2.factDetermi,
|
|
645
|
|
- // caseSketch: this.form2.caseSketch,
|
|
646
|
|
- // arbitrateThink: this.form2.arbitrateThink,
|
|
647
|
|
- // rulingFollows: this.form2.rulingFollows,
|
|
648
|
|
- // isAbsence: this.form2.isAbsence,
|
|
649
|
|
- // appliIsAbsen: this.form2.appliIsAbsen,
|
|
650
|
|
- // responCrossOpin: this.form2.responCrossOpin,
|
|
651
|
|
- // applicaCrossOpin: this.form2.applicaCrossOpin,
|
|
652
|
|
- // responDefenOpini: this.form2.responDefenOpini,
|
|
653
|
521
|
isAbsence: this.form2.isAbsence,
|
|
654
|
522
|
appliIsAbsen: this.form2.appliIsAbsen,
|
|
655
|
523
|
respondentOpinion: this.form2.respondentOpinion,
|
|
656
|
524
|
applicantOpinion: this.form2.applicantOpinion,
|
|
657
|
|
- // caseFacts: this.form2.caseFacts,
|
|
658
|
|
- // caseFocus: this.form2.caseFocus
|
|
659
|
525
|
})
|
|
660
|
526
|
.then((res) => {
|
|
661
|
|
- // console.log(res);
|
|
662
|
|
- // res.data.caseAttachList.forEach((item) => {
|
|
663
|
|
- // if (item.annexType == 7) {
|
|
664
|
|
- // this.recordArr.push({
|
|
665
|
|
- // annexName: item.annexName,
|
|
666
|
|
- // annexPath: item.annexPath,
|
|
667
|
|
- // });
|
|
668
|
|
- // }
|
|
669
|
|
- // });
|
|
670
|
527
|
this.$modal.msgSuccess("提交成功");
|
|
671
|
528
|
this.showsubmit = false;
|
|
672
|
529
|
this.closeArbitrationresults();
|
|
|
@@ -678,17 +535,17 @@ export default {
|
|
678
|
535
|
id: this.form.id,
|
|
679
|
536
|
version: this.form.version,
|
|
680
|
537
|
};
|
|
681
|
|
- this.awardArr =[];
|
|
|
538
|
+ this.awardArr = [];
|
|
682
|
539
|
selectCaseApply(val).then((res) => {
|
|
683
|
|
- this.adjudicatename.caseAttachList = res.data.caseAttachList;
|
|
684
|
|
- this.adjudicatename.caseAttachList.forEach(item=>{
|
|
685
|
|
- if(item.annexType==3){
|
|
|
540
|
+ this.formData.caseAttachList = res.data.caseAttachList;
|
|
|
541
|
+ this.formData.caseAttachList.forEach(item => {
|
|
|
542
|
+ if (item.annexType == 3) {
|
|
686
|
543
|
this.awardArr.push(item);
|
|
687
|
544
|
}
|
|
688
|
|
- })
|
|
689
|
|
-
|
|
|
545
|
+ })
|
|
|
546
|
+
|
|
690
|
547
|
});
|
|
691
|
|
-
|
|
|
548
|
+
|
|
692
|
549
|
})
|
|
693
|
550
|
.catch((err) => {
|
|
694
|
551
|
this.loadingSubmit = false;
|
|
|
@@ -701,14 +558,14 @@ export default {
|
|
701
|
558
|
},
|
|
702
|
559
|
// 提交开庭审理结果
|
|
703
|
560
|
submitResults() {
|
|
704
|
|
- if (this.fileList.length == 0&&this.recordArr.length==0) {
|
|
|
561
|
+ if (this.fileList.length == 0 && this.recordArr.length == 0) {
|
|
705
|
562
|
this.$message({
|
|
706
|
563
|
showClose: true,
|
|
707
|
564
|
message: "请先上传案件笔录",
|
|
708
|
565
|
type: "warning",
|
|
709
|
566
|
});
|
|
710
|
567
|
} else {
|
|
711
|
|
- this.loadingSub=true;
|
|
|
568
|
+ this.loadingSub = true;
|
|
712
|
569
|
let id = this.formData.id;
|
|
713
|
570
|
changeCaseStatus({
|
|
714
|
571
|
id: id,
|
|
|
@@ -719,36 +576,36 @@ export default {
|
|
719
|
576
|
this.loadingSub = false
|
|
720
|
577
|
this.fileList = [];
|
|
721
|
578
|
}
|
|
722
|
|
- }).catch((err)=>{
|
|
723
|
|
- this.loadingSub = false
|
|
|
579
|
+ }).catch((err) => {
|
|
|
580
|
+ this.loadingSub = false
|
|
724
|
581
|
});
|
|
725
|
582
|
}
|
|
726
|
583
|
},
|
|
727
|
584
|
// 文件上传成功
|
|
728
|
585
|
handlSuccess(res, file) {
|
|
729
|
586
|
// this.fileList.push(file);
|
|
730
|
|
- let val = {
|
|
731
|
|
- id: this.form.id,
|
|
732
|
|
- version: this.form.version,
|
|
733
|
|
- };
|
|
734
|
|
- this.recordArr =[];
|
|
735
|
|
- selectCaseApply(val).then((res) => {
|
|
736
|
|
- this.adjudicatename.caseAttachList = res.data.caseAttachList;
|
|
737
|
|
- this.adjudicatename.caseAttachList.forEach(item=>{
|
|
738
|
|
- if(item.annexType==7){
|
|
739
|
|
- this.recordArr.push({
|
|
740
|
|
- annexName: item.annexName,
|
|
741
|
|
- annexPath: item.annexPath,
|
|
742
|
|
- });
|
|
743
|
|
- }
|
|
744
|
|
- })
|
|
745
|
|
-
|
|
746
|
|
- });
|
|
747
|
|
-
|
|
|
587
|
+ let val = {
|
|
|
588
|
+ id: this.form.id,
|
|
|
589
|
+ version: this.form.version,
|
|
|
590
|
+ };
|
|
|
591
|
+ this.recordArr = [];
|
|
|
592
|
+ selectCaseApply(val).then((res) => {
|
|
|
593
|
+ this.formData.caseAttachList = res.data.caseAttachList;
|
|
|
594
|
+ this.formData.caseAttachList.forEach(item => {
|
|
|
595
|
+ if (item.annexType == 7) {
|
|
|
596
|
+ this.recordArr.push({
|
|
|
597
|
+ annexName: item.annexName,
|
|
|
598
|
+ annexPath: item.annexPath,
|
|
|
599
|
+ });
|
|
|
600
|
+ }
|
|
|
601
|
+ })
|
|
|
602
|
+
|
|
|
603
|
+ });
|
|
|
604
|
+
|
|
748
|
605
|
},
|
|
749
|
606
|
// 文件列表移除文件时的钩子
|
|
750
|
|
- handleRemove(file, fileList) {},
|
|
751
|
|
- handlePreview(file) {},
|
|
|
607
|
+ handleRemove(file, fileList) { },
|
|
|
608
|
+ handlePreview(file) { },
|
|
752
|
609
|
// 删除文件之前的钩子,参数为上传的文件和文件列表,若返回 false 或者返回 Promise 且被 reject,则停止删除。
|
|
753
|
610
|
beforeRemove(file, fileList) {
|
|
754
|
611
|
return this.$confirm(`确定移除 ${file.name}?`);
|
|
|
@@ -756,8 +613,7 @@ export default {
|
|
756
|
613
|
// 文件超出个数限制时的钩子
|
|
757
|
614
|
handleExceed(files, fileList) {
|
|
758
|
615
|
this.$message.warning(
|
|
759
|
|
- `当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${
|
|
760
|
|
- files.length + fileList.length
|
|
|
616
|
+ `当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length
|
|
761
|
617
|
} 个文件`
|
|
762
|
618
|
);
|
|
763
|
619
|
},
|
|
|
@@ -771,7 +627,7 @@ export default {
|
|
771
|
627
|
UploadUrlsT() {
|
|
772
|
628
|
return window.location.origin + "/API/evidence/uploadRecord";
|
|
773
|
629
|
},
|
|
774
|
|
- beforeRemoves(file,fileList){
|
|
|
630
|
+ beforeRemoves(file, fileList) {
|
|
775
|
631
|
return this.$confirm(`确定移除 ${file.name}?`);
|
|
776
|
632
|
},
|
|
777
|
633
|
beforeUpload(flie, fileList) {
|
|
|
@@ -780,22 +636,22 @@ export default {
|
|
780
|
636
|
// 上传文件成功
|
|
781
|
637
|
handlSuccessAw(res, file) {
|
|
782
|
638
|
// this.fileListAw.push(file);
|
|
783
|
|
- let val = {
|
|
784
|
|
- id: this.form.id,
|
|
785
|
|
- version: this.form.version,
|
|
786
|
|
- };
|
|
787
|
|
- this.awardArr =[];
|
|
788
|
|
- selectCaseApply(val).then((res) => {
|
|
789
|
|
- this.adjudicatename.caseAttachList = res.data.caseAttachList;
|
|
790
|
|
- this.adjudicatename.caseAttachList.forEach(item=>{
|
|
791
|
|
- if(item.annexType==3){
|
|
792
|
|
- this.awardArr.push(item);
|
|
793
|
|
- }
|
|
794
|
|
- })
|
|
795
|
|
-
|
|
796
|
|
- });
|
|
|
639
|
+ let val = {
|
|
|
640
|
+ id: this.form.id,
|
|
|
641
|
+ version: this.form.version,
|
|
|
642
|
+ };
|
|
|
643
|
+ this.awardArr = [];
|
|
|
644
|
+ selectCaseApply(val).then((res) => {
|
|
|
645
|
+ this.formData.caseAttachList = res.data.caseAttachList;
|
|
|
646
|
+ this.formData.caseAttachList.forEach(item => {
|
|
|
647
|
+ if (item.annexType == 3) {
|
|
|
648
|
+ this.awardArr.push(item);
|
|
|
649
|
+ }
|
|
|
650
|
+ })
|
|
|
651
|
+
|
|
|
652
|
+ });
|
|
797
|
653
|
},
|
|
798
|
|
- beforeAvatarUploads(){
|
|
|
654
|
+ beforeAvatarUploads() {
|
|
799
|
655
|
this.filedatas.caseId = this.formData.id;
|
|
800
|
656
|
}
|
|
801
|
657
|
},
|