|
|
@@ -1,40 +1,69 @@
|
|
1
|
1
|
<template>
|
|
2
|
2
|
<div>
|
|
3
|
|
- <el-dialog title="开庭审理" :visible="showtrialincourt" @close="cancel" :destroy-on-close="true">
|
|
|
3
|
+ <el-dialog
|
|
|
4
|
+ title="开庭审理"
|
|
|
5
|
+ :visible="showtrialincourt"
|
|
|
6
|
+ @close="cancel"
|
|
|
7
|
+ :destroy-on-close="true"
|
|
|
8
|
+ >
|
|
4
|
9
|
<el-form ref="form" :model="formData" label-width="180px">
|
|
5
|
10
|
<div class="caseInfo">案件信息:</div>
|
|
6
|
11
|
<el-divider></el-divider>
|
|
7
|
12
|
<el-row>
|
|
8
|
13
|
<el-col :span="12">
|
|
9
|
14
|
<el-form-item label="案件编号:" prop="caseNum">
|
|
10
|
|
- <el-input v-model="formData.caseNum" placeholder="请输入案件编号" :disabled="true" />
|
|
|
15
|
+ <el-input
|
|
|
16
|
+ v-model="formData.caseNum"
|
|
|
17
|
+ placeholder="请输入案件编号"
|
|
|
18
|
+ :disabled="true"
|
|
|
19
|
+ />
|
|
11
|
20
|
</el-form-item>
|
|
12
|
21
|
</el-col>
|
|
13
|
22
|
<el-col :span="12">
|
|
14
|
23
|
<el-form-item label="申请人:" prop="applicantName">
|
|
15
|
|
- <el-input v-model="adjudicatename.applicantName" :disabled="true" />
|
|
|
24
|
+ <el-input
|
|
|
25
|
+ v-model="adjudicatename.applicantName"
|
|
|
26
|
+ :disabled="true"
|
|
|
27
|
+ />
|
|
16
|
28
|
</el-form-item>
|
|
17
|
29
|
</el-col>
|
|
18
|
30
|
<el-col :span="12">
|
|
19
|
31
|
<el-form-item label="被申请人:" prop="respondentName">
|
|
20
|
|
- <el-input v-model="adjudicatename.respondentName" :disabled="true" />
|
|
|
32
|
+ <el-input
|
|
|
33
|
+ v-model="adjudicatename.respondentName"
|
|
|
34
|
+ :disabled="true"
|
|
|
35
|
+ />
|
|
21
|
36
|
</el-form-item>
|
|
22
|
37
|
</el-col>
|
|
23
|
38
|
<el-col :span="12">
|
|
24
|
39
|
<el-form-item label="借款开始日期:" prop="loanStartDate">
|
|
25
|
|
- <el-date-picker v-model="formData.loanStartDate" type="datetime" placeholder="借款开始日期" :disabled="true">
|
|
|
40
|
+ <el-date-picker
|
|
|
41
|
+ v-model="formData.loanStartDate"
|
|
|
42
|
+ type="datetime"
|
|
|
43
|
+ placeholder="借款开始日期"
|
|
|
44
|
+ :disabled="true"
|
|
|
45
|
+ >
|
|
26
|
46
|
</el-date-picker>
|
|
27
|
47
|
</el-form-item>
|
|
28
|
48
|
</el-col>
|
|
29
|
49
|
<el-col :span="12">
|
|
30
|
50
|
<el-form-item label="借款结束日期:" prop="loanEndDate">
|
|
31
|
|
- <el-date-picker v-model="formData.loanEndDate" type="datetime" placeholder="借款结束日期" :disabled="true">
|
|
|
51
|
+ <el-date-picker
|
|
|
52
|
+ v-model="formData.loanEndDate"
|
|
|
53
|
+ type="datetime"
|
|
|
54
|
+ placeholder="借款结束日期"
|
|
|
55
|
+ :disabled="true"
|
|
|
56
|
+ >
|
|
32
|
57
|
</el-date-picker>
|
|
33
|
58
|
</el-form-item>
|
|
34
|
59
|
</el-col>
|
|
35
|
60
|
<el-col :span="12">
|
|
36
|
61
|
<el-form-item label="案件标的:" prop="caseSubjectAmount">
|
|
37
|
|
- <el-input v-model="formData.caseSubjectAmount" placeholder="请输入案件标的" :disabled="true" />
|
|
|
62
|
+ <el-input
|
|
|
63
|
+ v-model="formData.caseSubjectAmount"
|
|
|
64
|
+ placeholder="请输入案件标的"
|
|
|
65
|
+ :disabled="true"
|
|
|
66
|
+ />
|
|
38
|
67
|
</el-form-item>
|
|
39
|
68
|
</el-col>
|
|
40
|
69
|
<!-- <el-col :span="12">
|
|
|
@@ -47,12 +76,20 @@
|
|
47
|
76
|
</el-col> -->
|
|
48
|
77
|
<el-col :span="12">
|
|
49
|
78
|
<el-form-item label="仲裁费用:" prop="feePayable">
|
|
50
|
|
- <el-input v-model="adjudicatename.feePayable" placeholder="请输入仲裁费用" :disabled="true" />
|
|
|
79
|
+ <el-input
|
|
|
80
|
+ v-model="adjudicatename.feePayable"
|
|
|
81
|
+ placeholder="请输入仲裁费用"
|
|
|
82
|
+ :disabled="true"
|
|
|
83
|
+ />
|
|
51
|
84
|
</el-form-item>
|
|
52
|
85
|
</el-col>
|
|
53
|
86
|
<el-col :span="12">
|
|
54
|
87
|
<el-form-item label="申请人主张欠本金:" prop="claimPrinciOwed">
|
|
55
|
|
- <el-input v-model="formData.claimPrinciOwed" placeholder="请输入" :disabled="true" />
|
|
|
88
|
+ <el-input
|
|
|
89
|
+ v-model="formData.claimPrinciOwed"
|
|
|
90
|
+ placeholder="请输入"
|
|
|
91
|
+ :disabled="true"
|
|
|
92
|
+ />
|
|
56
|
93
|
</el-form-item>
|
|
57
|
94
|
</el-col>
|
|
58
|
95
|
<!-- <el-col :span="12">
|
|
|
@@ -62,18 +99,31 @@
|
|
62
|
99
|
</el-col> -->
|
|
63
|
100
|
<el-col :span="12">
|
|
64
|
101
|
<el-form-item label="案件状态:" prop="caseStatus">
|
|
65
|
|
- <el-input v-model="formData.caseStatusName" placeholder="请输入" :disabled="true" />
|
|
|
102
|
+ <el-input
|
|
|
103
|
+ v-model="formData.caseStatusName"
|
|
|
104
|
+ placeholder="请输入"
|
|
|
105
|
+ :disabled="true"
|
|
|
106
|
+ />
|
|
66
|
107
|
</el-form-item>
|
|
67
|
108
|
</el-col>
|
|
68
|
109
|
<el-col :span="12">
|
|
69
|
110
|
<el-form-item label="仲裁员:" prop="arbitratorName">
|
|
70
|
|
- <el-input v-model="adjudicatename.arbitratorName" placeholder="请输入" :disabled="true" />
|
|
|
111
|
+ <el-input
|
|
|
112
|
+ v-model="adjudicatename.arbitratorName"
|
|
|
113
|
+ placeholder="请输入"
|
|
|
114
|
+ :disabled="true"
|
|
|
115
|
+ />
|
|
71
|
116
|
</el-form-item>
|
|
72
|
117
|
</el-col>
|
|
73
|
118
|
|
|
74
|
119
|
<el-col :span="12">
|
|
75
|
120
|
<el-form-item label="开庭日期:" prop="hearDate">
|
|
76
|
|
- <el-date-picker v-model="adjudicatename.hearDate" type="datetime" placeholder="开庭日期" :disabled="true">
|
|
|
121
|
+ <el-date-picker
|
|
|
122
|
+ v-model="adjudicatename.hearDate"
|
|
|
123
|
+ type="datetime"
|
|
|
124
|
+ placeholder="开庭日期"
|
|
|
125
|
+ :disabled="true"
|
|
|
126
|
+ >
|
|
77
|
127
|
</el-date-picker>
|
|
78
|
128
|
</el-form-item>
|
|
79
|
129
|
</el-col>
|
|
|
@@ -103,9 +153,23 @@
|
|
103
|
153
|
</div>
|
|
104
|
154
|
</el-form-item>
|
|
105
|
155
|
</el-col>
|
|
|
156
|
+ <el-col :span="24">
|
|
|
157
|
+ <el-form-item label="裁决书:">
|
|
|
158
|
+ <div v-if="awardArr.length == 0">裁决书暂未提供!</div>
|
|
|
159
|
+ <div v-for="(item, index) in awardArr" :key="index">
|
|
|
160
|
+ <a href="#" @click="awardToFile(item, index)" style="color: blue">
|
|
|
161
|
+ {{ item.annexName }}
|
|
|
162
|
+ </a>
|
|
|
163
|
+ </div>
|
|
|
164
|
+ </el-form-item>
|
|
|
165
|
+ </el-col>
|
|
106
|
166
|
<el-col :span="24" v-if="recordArr.length > 0">
|
|
107
|
167
|
<el-form-item label="庭审笔录:">
|
|
108
|
|
- <div v-for="(item, index) in recordArr" :key="index" style="color: blue">
|
|
|
168
|
+ <div
|
|
|
169
|
+ v-for="(item, index) in recordArr"
|
|
|
170
|
+ :key="index"
|
|
|
171
|
+ style="color: blue"
|
|
|
172
|
+ >
|
|
109
|
173
|
<a href="#" @click="toFile2(item, index)">{{ item.annexName }}</a>
|
|
110
|
174
|
</div>
|
|
111
|
175
|
</el-form-item>
|
|
|
@@ -120,41 +184,87 @@
|
|
120
|
184
|
<div>{{ startTime }}</div>
|
|
121
|
185
|
</el-form-item>
|
|
122
|
186
|
</el-col>
|
|
|
187
|
+ <el-col :span="24">
|
|
|
188
|
+ <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
|
+ >
|
|
|
206
|
+ <!-- <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload">上传到服务器</el-button> -->
|
|
|
207
|
+ <div slot="tip" class="el-upload__tip">
|
|
|
208
|
+ 只能上传.doc,docx文件
|
|
|
209
|
+ </div>
|
|
|
210
|
+ </el-upload>
|
|
|
211
|
+ </el-form-item>
|
|
|
212
|
+ </el-col>
|
|
|
213
|
+ <el-col :span="24">
|
|
|
214
|
+ <el-form-item label="上传庭审笔录:">
|
|
|
215
|
+ <el-upload
|
|
|
216
|
+ class="upload-demo"
|
|
|
217
|
+ ref="fileupload"
|
|
|
218
|
+ accept=".doc,.docx"
|
|
|
219
|
+ :action="UploadUrl()"
|
|
|
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
|
+ >
|
|
|
232
|
+ <el-button type="primary" size="small">选择文件</el-button>
|
|
|
233
|
+ <div slot="tip" class="el-upload__tip">
|
|
|
234
|
+ 文件支持上传.doc,docx文件
|
|
|
235
|
+ </div>
|
|
|
236
|
+ </el-upload>
|
|
|
237
|
+ </el-form-item>
|
|
|
238
|
+ </el-col>
|
|
123
|
239
|
<!-- </el-form> -->
|
|
124
|
240
|
</el-form>
|
|
125
|
241
|
<el-button @click="openmeeting" type="primary">发起会议</el-button>
|
|
126
|
|
- <el-button @click="openArbitrationresults" type="primary" v-if="this.recordArr.length <= 0">确认会议结果</el-button>
|
|
127
|
|
- <div style="margin-top:20px;width:250px">
|
|
128
|
|
- <el-upload
|
|
129
|
|
- class="upload-demo"
|
|
130
|
|
- ref="fileupload"
|
|
131
|
|
- accept=".doc,.docx"
|
|
132
|
|
- :action="UploadUrl()"
|
|
133
|
|
- :on-success="handlSuccess"
|
|
134
|
|
- :on-remove="handleRemove"
|
|
135
|
|
- :on-preview="handlePreview"
|
|
136
|
|
- :before-remove="beforeRemove"
|
|
137
|
|
- :headers="headers"
|
|
138
|
|
- :data="filedata"
|
|
139
|
|
- multiple
|
|
140
|
|
- :limit="3"
|
|
141
|
|
- :on-exceed="handleExceed"
|
|
142
|
|
- :before-upload="beforeAvatarUpload"
|
|
143
|
|
- :file-list="fileList"
|
|
144
|
|
- >
|
|
145
|
|
- <el-button type="primary">上传案件笔录</el-button>
|
|
146
|
|
- <div slot="tip" class="el-upload__tip">
|
|
147
|
|
- 文件支持上传.doc,docx文件
|
|
148
|
|
- </div>
|
|
149
|
|
- </el-upload>
|
|
150
|
|
- </div>
|
|
151
|
|
-
|
|
|
242
|
+ <el-button
|
|
|
243
|
+ @click="openArbitrationresults"
|
|
|
244
|
+ type="primary"
|
|
|
245
|
+ v-if="this.awardArr.length <= 0"
|
|
|
246
|
+ >确认会议结果</el-button>
|
|
152
|
247
|
<div slot="footer" class="dialog-footer">
|
|
153
|
|
- <el-button class="endbutton" :disabled="(showsubmit && recordArr.length == 0) || form2.isAbsence==1" @click="submitResults">提交</el-button>
|
|
154
|
|
- <el-button @click="cancel" class="endbutton1"><span>关 闭</span></el-button>
|
|
|
248
|
+ <el-button
|
|
|
249
|
+ class="endbutton"
|
|
|
250
|
+ :disabled="
|
|
|
251
|
+ (showsubmit && recordArr.length == 0) || form2.isAbsence == 1
|
|
|
252
|
+ "
|
|
|
253
|
+ @click="submitResults"
|
|
|
254
|
+ :loading="loadingSub"
|
|
|
255
|
+ >提交</el-button
|
|
|
256
|
+ >
|
|
|
257
|
+ <el-button @click="cancel" class="endbutton1"
|
|
|
258
|
+ ><span>关 闭</span></el-button
|
|
|
259
|
+ >
|
|
155
|
260
|
</div>
|
|
156
|
261
|
</el-dialog>
|
|
157
|
|
- <el-dialog title="庭审笔录" :visible="showArbitrationresults" @close="closeArbitrationresults" center>
|
|
|
262
|
+ <el-dialog
|
|
|
263
|
+ title="庭审笔录"
|
|
|
264
|
+ :visible="showArbitrationresults"
|
|
|
265
|
+ @close="closeArbitrationresults"
|
|
|
266
|
+ center
|
|
|
267
|
+ >
|
|
158
|
268
|
<el-form ref="form2" :model="form2" label-width="150px">
|
|
159
|
269
|
<!-- <el-col :span="12">
|
|
160
|
270
|
<el-form-item label="申请人是否缺席:" prop="isAbsence" :rules="[
|
|
|
@@ -170,12 +280,16 @@
|
|
170
|
280
|
</el-form-item>
|
|
171
|
281
|
</el-col> -->
|
|
172
|
282
|
<el-col :span="24">
|
|
173
|
|
- <el-form-item label="被申请人是否缺席:" prop="appliIsAbsen" :rules="[
|
|
174
|
|
- {
|
|
175
|
|
- required: true,
|
|
176
|
|
- message: '请输入',
|
|
177
|
|
- },
|
|
178
|
|
- ]">
|
|
|
283
|
+ <el-form-item
|
|
|
284
|
+ label="被申请人是否缺席:"
|
|
|
285
|
+ prop="appliIsAbsen"
|
|
|
286
|
+ :rules="[
|
|
|
287
|
+ {
|
|
|
288
|
+ required: true,
|
|
|
289
|
+ message: '请输入',
|
|
|
290
|
+ },
|
|
|
291
|
+ ]"
|
|
|
292
|
+ >
|
|
179
|
293
|
<el-radio-group v-model="form2.appliIsAbsen">
|
|
180
|
294
|
<el-radio :label="1">是</el-radio>
|
|
181
|
295
|
<el-radio :label="0">否</el-radio>
|
|
|
@@ -183,12 +297,16 @@
|
|
183
|
297
|
</el-form-item>
|
|
184
|
298
|
</el-col>
|
|
185
|
299
|
<el-col :span="24">
|
|
186
|
|
- <el-form-item label="申请人是否缺席:" prop="isAbsence" :rules="[
|
|
187
|
|
- {
|
|
188
|
|
- required: true,
|
|
189
|
|
- message: '请输入',
|
|
190
|
|
- },
|
|
191
|
|
- ]">
|
|
|
300
|
+ <el-form-item
|
|
|
301
|
+ label="申请人是否缺席:"
|
|
|
302
|
+ prop="isAbsence"
|
|
|
303
|
+ :rules="[
|
|
|
304
|
+ {
|
|
|
305
|
+ required: true,
|
|
|
306
|
+ message: '请输入',
|
|
|
307
|
+ },
|
|
|
308
|
+ ]"
|
|
|
309
|
+ >
|
|
192
|
310
|
<el-radio-group v-model="form2.isAbsence">
|
|
193
|
311
|
<el-radio :label="1">是</el-radio>
|
|
194
|
312
|
<el-radio :label="0">否</el-radio>
|
|
|
@@ -196,13 +314,29 @@
|
|
196
|
314
|
</el-form-item>
|
|
197
|
315
|
</el-col>
|
|
198
|
316
|
<el-col :span="24">
|
|
199
|
|
- <el-form-item label="被申请人对上述材料的质证意见" prop="respondentOpinion">
|
|
200
|
|
- <el-input type="textarea" :autosize="{ minRows: 6 }" v-model="form2.respondentOpinion" placeholder="请输入" />
|
|
|
317
|
+ <el-form-item
|
|
|
318
|
+ label="被申请人对上述材料的质证意见"
|
|
|
319
|
+ prop="respondentOpinion"
|
|
|
320
|
+ >
|
|
|
321
|
+ <el-input
|
|
|
322
|
+ type="textarea"
|
|
|
323
|
+ :autosize="{ minRows: 6 }"
|
|
|
324
|
+ v-model="form2.respondentOpinion"
|
|
|
325
|
+ placeholder="请输入"
|
|
|
326
|
+ />
|
|
201
|
327
|
</el-form-item>
|
|
202
|
328
|
</el-col>
|
|
203
|
329
|
<el-col :span="24">
|
|
204
|
|
- <el-form-item label="申请人对上述材料的质证意见" prop="applicantOpinion">
|
|
205
|
|
- <el-input type="textarea" :autosize="{ minRows: 6 }" v-model="form2.applicantOpinion" placeholder="请输入" />
|
|
|
330
|
+ <el-form-item
|
|
|
331
|
+ label="申请人对上述材料的质证意见"
|
|
|
332
|
+ prop="applicantOpinion"
|
|
|
333
|
+ >
|
|
|
334
|
+ <el-input
|
|
|
335
|
+ type="textarea"
|
|
|
336
|
+ :autosize="{ minRows: 6 }"
|
|
|
337
|
+ v-model="form2.applicantOpinion"
|
|
|
338
|
+ placeholder="请输入"
|
|
|
339
|
+ />
|
|
206
|
340
|
</el-form-item>
|
|
207
|
341
|
</el-col>
|
|
208
|
342
|
<!-- <el-col :span="24">
|
|
|
@@ -310,9 +444,16 @@
|
|
310
|
444
|
</el-col> -->
|
|
311
|
445
|
</el-form>
|
|
312
|
446
|
<div slot="footer" class="dialog-footer">
|
|
313
|
|
- <el-button @click="submitForm" class="endbutton" :loading="loadingSubmit">
|
|
314
|
|
- <span>确定</span></el-button>
|
|
315
|
|
- <el-button @click="closeArbitrationresults" class="endbutton1"><span>取 消</span></el-button>
|
|
|
447
|
+ <el-button
|
|
|
448
|
+ @click="submitForm"
|
|
|
449
|
+ class="endbutton"
|
|
|
450
|
+ :loading="loadingSubmit"
|
|
|
451
|
+ >
|
|
|
452
|
+ <span>确定</span></el-button
|
|
|
453
|
+ >
|
|
|
454
|
+ <el-button @click="closeArbitrationresults" class="endbutton1"
|
|
|
455
|
+ ><span>取 消</span></el-button
|
|
|
456
|
+ >
|
|
316
|
457
|
</div>
|
|
317
|
458
|
</el-dialog>
|
|
318
|
459
|
</div>
|
|
|
@@ -321,57 +462,68 @@
|
|
321
|
462
|
<script>
|
|
322
|
463
|
import { getToken } from "@/utils/auth";
|
|
323
|
464
|
import { getUserProfile } from "@/api/system/user";
|
|
|
465
|
+import { selectCaseApply } from "@/api/caseAccess/caseEntry";
|
|
324
|
466
|
import {
|
|
325
|
467
|
writtenHear,
|
|
326
|
468
|
creatTrialRecord,
|
|
327
|
469
|
creatTrialRecordnew,
|
|
328
|
470
|
document,
|
|
|
471
|
+ changeCaseStatus
|
|
329
|
472
|
} from "@/api/caseManagement/caseManagement.js";
|
|
330
|
|
-import { reserveConferenceList } from '@/api/meeting/index.js'
|
|
|
473
|
+import { reserveConferenceList } from "@/api/meeting/index.js";
|
|
331
|
474
|
export default {
|
|
332
|
475
|
props: ["showtrialincourt", "adjudicatename", "form", "queryParams"],
|
|
333
|
476
|
data() {
|
|
334
|
477
|
return {
|
|
335
|
478
|
formData: {},
|
|
336
|
|
- headers: {
|
|
|
479
|
+ headers: {
|
|
337
|
480
|
Authorization: "Bearer " + getToken(),
|
|
338
|
481
|
},
|
|
339
|
482
|
filedata: {
|
|
340
|
483
|
annexType: 7,
|
|
341
|
|
- id:0
|
|
|
484
|
+ id: 0,
|
|
|
485
|
+ },
|
|
|
486
|
+ filedatas: {
|
|
|
487
|
+ annexType: 3,
|
|
|
488
|
+ id:null
|
|
342
|
489
|
},
|
|
343
|
|
- upLife:'',
|
|
|
490
|
+ upLife: "",
|
|
344
|
491
|
user: "",
|
|
345
|
492
|
userId: 1,
|
|
346
|
493
|
showArbitrationresults: false,
|
|
347
|
494
|
form2: {
|
|
348
|
|
- isAbsence:0,
|
|
349
|
|
- appliIsAbsen:0
|
|
|
495
|
+ isAbsence: 0,
|
|
|
496
|
+ appliIsAbsen: 0,
|
|
350
|
497
|
},
|
|
351
|
498
|
applicateArr: [], //申请人案件资料
|
|
352
|
499
|
quiltArr: [], //被申请人案件资料
|
|
|
500
|
+ awardArr: [], //裁决书案件资料
|
|
353
|
501
|
recordArr: [], //笔录附件
|
|
354
|
502
|
showsubmit: true, //生成庭审笔录,方可提交
|
|
355
|
503
|
annexName: "", //笔录文件名
|
|
356
|
504
|
annexPath: "", //笔录文件地址
|
|
357
|
|
- roomId:null,
|
|
358
|
|
- startTime:"",
|
|
359
|
|
- fileList:[],
|
|
|
505
|
+ roomId: null,
|
|
|
506
|
+ startTime: "",
|
|
|
507
|
+ fileList: [],
|
|
|
508
|
+ fileListAw:[],
|
|
360
|
509
|
loadingSubmit: false,
|
|
|
510
|
+ loadingSub:false,
|
|
361
|
511
|
};
|
|
362
|
512
|
},
|
|
363
|
513
|
watch: {
|
|
364
|
514
|
showtrialincourt: {
|
|
365
|
515
|
handler(val) {
|
|
366
|
516
|
if (val) {
|
|
367
|
|
- this.reserveConferenceListFn({caseId:this.form.id});
|
|
|
517
|
+ this.reserveConferenceListFn({ caseId: this.form.id });
|
|
368
|
518
|
this.getUser();
|
|
369
|
519
|
this.formData = this.form;
|
|
370
|
|
- console.log(this.formData)
|
|
|
520
|
+ console.log(this.formData);
|
|
371
|
521
|
this.applicateArr = [];
|
|
372
|
522
|
this.quiltArr = [];
|
|
|
523
|
+ this.awardArr = [];
|
|
373
|
524
|
this.recordArr = [];
|
|
374
|
525
|
setTimeout(() => {
|
|
|
526
|
+ console.log(this.adjudicatename);
|
|
375
|
527
|
if (this.adjudicatename.caseAttachList.length > 0) {
|
|
376
|
528
|
this.adjudicatename.caseAttachList.forEach((item) => {
|
|
377
|
529
|
// 申请人案件附件
|
|
|
@@ -395,6 +547,13 @@ export default {
|
|
395
|
547
|
annexPath: item.annexPath,
|
|
396
|
548
|
});
|
|
397
|
549
|
}
|
|
|
550
|
+ //裁决书附件
|
|
|
551
|
+ if (item.annexType == 3) {
|
|
|
552
|
+ this.awardArr.push({
|
|
|
553
|
+ annexName: item.annexName,
|
|
|
554
|
+ annexPath: item.annexPath,
|
|
|
555
|
+ });
|
|
|
556
|
+ }
|
|
398
|
557
|
});
|
|
399
|
558
|
}
|
|
400
|
559
|
}, 1000);
|
|
|
@@ -402,16 +561,14 @@ export default {
|
|
402
|
561
|
},
|
|
403
|
562
|
},
|
|
404
|
563
|
},
|
|
405
|
|
- created() {
|
|
406
|
|
-
|
|
407
|
|
- },
|
|
|
564
|
+ created() {},
|
|
408
|
565
|
methods: {
|
|
409
|
566
|
// 根据案件id查询会议号
|
|
410
|
|
- reserveConferenceListFn(data){
|
|
411
|
|
- reserveConferenceList(data).then(res=>{
|
|
|
567
|
+ reserveConferenceListFn(data) {
|
|
|
568
|
+ reserveConferenceList(data).then((res) => {
|
|
412
|
569
|
this.roomId = res.data[0].roomId;
|
|
413
|
570
|
this.startTime = res.data[0].scheduleStartTime;
|
|
414
|
|
- })
|
|
|
571
|
+ });
|
|
415
|
572
|
},
|
|
416
|
573
|
// 详情显示,展示申请人案件文件
|
|
417
|
574
|
toFile(item, index) {
|
|
|
@@ -427,6 +584,13 @@ export default {
|
|
427
|
584
|
"_black"
|
|
428
|
585
|
);
|
|
429
|
586
|
},
|
|
|
587
|
+ //裁决书文件
|
|
|
588
|
+ awardToFile(item, index) {
|
|
|
589
|
+ window.open(
|
|
|
590
|
+ window.location.origin + "/API" + this.awardArr[index].annexPath,
|
|
|
591
|
+ "_black"
|
|
|
592
|
+ );
|
|
|
593
|
+ },
|
|
430
|
594
|
// 庭审笔录附件
|
|
431
|
595
|
toFile2(item, index) {
|
|
432
|
596
|
window.open(
|
|
|
@@ -444,12 +608,14 @@ export default {
|
|
444
|
608
|
openmeeting() {
|
|
445
|
609
|
window.open(
|
|
446
|
610
|
// `http://localhost:8081/#/home?name=${this.user}&id=${this.formData.id}&userId=${this.userId}`
|
|
447
|
|
- `https://txroom.xayunmei.com/#/home?name=${this.user}&id=${this.formData.id}&userId=${this.userId}&roomId=${this.roomId}`
|
|
|
611
|
+ // `https://txroom.xayunmei.com/#/home?name=${this.user}&id=${this.formData.id}&userId=${this.userId}&roomId=${this.roomId}`
|
|
|
612
|
+ `https://txroom.xayunmei.com/#/home?name=${this.user}&id=${this.formData.id}&userId=${this.userId}&roomId=${this.roomId}&type=zhongcai&token=${getToken()}`
|
|
448
|
613
|
);
|
|
449
|
614
|
},
|
|
450
|
615
|
// 提交仲裁结果
|
|
451
|
616
|
openArbitrationresults() {
|
|
452
|
617
|
this.showArbitrationresults = true;
|
|
|
618
|
+
|
|
453
|
619
|
},
|
|
454
|
620
|
closeArbitrationresults() {
|
|
455
|
621
|
this.showArbitrationresults = false;
|
|
|
@@ -491,15 +657,32 @@ export default {
|
|
491
|
657
|
this.$modal.msgSuccess("提交成功");
|
|
492
|
658
|
this.showsubmit = false;
|
|
493
|
659
|
this.closeArbitrationresults();
|
|
494
|
|
- console.log(this.form2)
|
|
495
|
|
- this.form2.respondentOpinion ="";
|
|
|
660
|
+ console.log(this.form2);
|
|
|
661
|
+ this.form2.respondentOpinion = "";
|
|
496
|
662
|
this.form2.applicantOpinion = "";
|
|
497
|
663
|
this.loadingSubmit = false;
|
|
498
|
|
-
|
|
|
664
|
+ let val = {
|
|
|
665
|
+ id: this.form.id,
|
|
|
666
|
+ version: this.form.version,
|
|
|
667
|
+ };
|
|
|
668
|
+ this.awardArr =[];
|
|
|
669
|
+ selectCaseApply(val).then((res) => {
|
|
|
670
|
+ this.adjudicatename.caseAttachList = res.data.caseAttachList;
|
|
|
671
|
+ this.adjudicatename.caseAttachList.forEach(item=>{
|
|
|
672
|
+ if(item.annexType==3){
|
|
|
673
|
+ this.awardArr.push({
|
|
|
674
|
+ annexName: item.annexName,
|
|
|
675
|
+ annexPath: item.annexPath,
|
|
|
676
|
+ });
|
|
|
677
|
+ }
|
|
|
678
|
+ })
|
|
|
679
|
+
|
|
|
680
|
+ });
|
|
|
681
|
+
|
|
499
|
682
|
})
|
|
500
|
683
|
.catch((err) => {
|
|
501
|
684
|
this.loadingSubmit = false;
|
|
502
|
|
- });
|
|
|
685
|
+ });
|
|
503
|
686
|
}
|
|
504
|
687
|
});
|
|
505
|
688
|
},
|
|
|
@@ -508,25 +691,28 @@ export default {
|
|
508
|
691
|
},
|
|
509
|
692
|
// 提交开庭审理结果
|
|
510
|
693
|
submitResults() {
|
|
511
|
|
- if(this.fileList.length==0){
|
|
|
694
|
+ if (this.fileList.length == 0&&this.recordArr.length==0) {
|
|
512
|
695
|
this.$message({
|
|
513
|
696
|
showClose: true,
|
|
514
|
|
- message: '请先上传案件笔录',
|
|
515
|
|
- type:'warning'
|
|
|
697
|
+ message: "请先上传案件笔录",
|
|
|
698
|
+ type: "warning",
|
|
516
|
699
|
});
|
|
517
|
|
- }else{
|
|
|
700
|
+ } else {
|
|
|
701
|
+ this.loadingSub=true;
|
|
518
|
702
|
let id = this.formData.id;
|
|
519
|
|
- document({
|
|
520
|
|
- id: id,
|
|
521
|
|
- }).then((res) => {
|
|
522
|
|
- if (res.code == 200) {
|
|
523
|
|
- this.$emit("getcaseApply", this.queryParams);
|
|
524
|
|
- this.cancel();
|
|
525
|
|
- this.fileList =[]
|
|
526
|
|
- }
|
|
527
|
|
- });
|
|
|
703
|
+ changeCaseStatus({
|
|
|
704
|
+ id: id,
|
|
|
705
|
+ }).then((res) => {
|
|
|
706
|
+ if (res.code == 200) {
|
|
|
707
|
+ this.$emit("getcaseApply", this.queryParams);
|
|
|
708
|
+ this.cancel();
|
|
|
709
|
+ this.loadingSub = false
|
|
|
710
|
+ this.fileList = [];
|
|
|
711
|
+ }
|
|
|
712
|
+ }).catch((err)=>{
|
|
|
713
|
+ this.loadingSub = false
|
|
|
714
|
+ });
|
|
528
|
715
|
}
|
|
529
|
|
-
|
|
530
|
716
|
},
|
|
531
|
717
|
// 上传庭审笔录
|
|
532
|
718
|
UploadUrl() {
|
|
|
@@ -534,28 +720,77 @@ export default {
|
|
534
|
720
|
},
|
|
535
|
721
|
// 文件上传成功
|
|
536
|
722
|
handlSuccess(res, file) {
|
|
537
|
|
- this.fileList.push(file)
|
|
538
|
|
- },
|
|
539
|
|
- // 文件列表移除文件时的钩子
|
|
540
|
|
- handleRemove(file, fileList) {
|
|
|
723
|
+ // this.fileList.push(file);
|
|
|
724
|
+ let val = {
|
|
|
725
|
+ id: this.form.id,
|
|
|
726
|
+ version: this.form.version,
|
|
|
727
|
+ };
|
|
|
728
|
+ this.recordArr =[];
|
|
|
729
|
+ selectCaseApply(val).then((res) => {
|
|
|
730
|
+ this.adjudicatename.caseAttachList = res.data.caseAttachList;
|
|
|
731
|
+ this.adjudicatename.caseAttachList.forEach(item=>{
|
|
|
732
|
+ if(item.annexType==7){
|
|
|
733
|
+ this.recordArr.push({
|
|
|
734
|
+ annexName: item.annexName,
|
|
|
735
|
+ annexPath: item.annexPath,
|
|
|
736
|
+ });
|
|
|
737
|
+ }
|
|
|
738
|
+ })
|
|
|
739
|
+
|
|
|
740
|
+ });
|
|
541
|
741
|
|
|
542
|
742
|
},
|
|
543
|
|
- handlePreview(file) {
|
|
544
|
|
-
|
|
545
|
|
- },
|
|
546
|
|
- // 删除文件之前的钩子,参数为上传的文件和文件列表,若返回 false 或者返回 Promise 且被 reject,则停止删除。
|
|
|
743
|
+ // 文件列表移除文件时的钩子
|
|
|
744
|
+ handleRemove(file, fileList) {},
|
|
|
745
|
+ handlePreview(file) {},
|
|
|
746
|
+ // 删除文件之前的钩子,参数为上传的文件和文件列表,若返回 false 或者返回 Promise 且被 reject,则停止删除。
|
|
547
|
747
|
beforeRemove(file, fileList) {
|
|
548
|
748
|
return this.$confirm(`确定移除 ${file.name}?`);
|
|
549
|
749
|
},
|
|
550
|
|
- // 文件超出个数限制时的钩子
|
|
|
750
|
+ // 文件超出个数限制时的钩子
|
|
551
|
751
|
handleExceed(files, fileList) {
|
|
552
|
752
|
this.$message.warning(
|
|
553
|
|
- `当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length
|
|
|
753
|
+ `当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${
|
|
|
754
|
+ files.length + fileList.length
|
|
554
|
755
|
} 个文件`
|
|
555
|
756
|
);
|
|
556
|
757
|
},
|
|
557
|
|
- beforeAvatarUpload(file){
|
|
558
|
|
- this.filedata.id =this.formData.id
|
|
|
758
|
+ beforeAvatarUpload(file) {
|
|
|
759
|
+ this.filedata.id = this.formData.id;
|
|
|
760
|
+ },
|
|
|
761
|
+ // 上传裁决书
|
|
|
762
|
+ UploadUrls() {
|
|
|
763
|
+ return window.location.origin + "/API/evidence/uploadRecord";
|
|
|
764
|
+ },
|
|
|
765
|
+ beforeRemoves(file,fileList){
|
|
|
766
|
+ return this.$confirm(`确定移除 ${file.name}?`);
|
|
|
767
|
+ },
|
|
|
768
|
+ beforeUpload(flie, fileList) {
|
|
|
769
|
+ // this.fileList = fileList;
|
|
|
770
|
+ },
|
|
|
771
|
+ // 上传文件成功
|
|
|
772
|
+ handlSuccessAw(res, file) {
|
|
|
773
|
+ // this.fileListAw.push(file);
|
|
|
774
|
+ let val = {
|
|
|
775
|
+ id: this.form.id,
|
|
|
776
|
+ version: this.form.version,
|
|
|
777
|
+ };
|
|
|
778
|
+ this.awardArr =[];
|
|
|
779
|
+ selectCaseApply(val).then((res) => {
|
|
|
780
|
+ this.adjudicatename.caseAttachList = res.data.caseAttachList;
|
|
|
781
|
+ this.adjudicatename.caseAttachList.forEach(item=>{
|
|
|
782
|
+ if(item.annexType==3){
|
|
|
783
|
+ this.awardArr.push({
|
|
|
784
|
+ annexName: item.annexName,
|
|
|
785
|
+ annexPath: item.annexPath,
|
|
|
786
|
+ });
|
|
|
787
|
+ }
|
|
|
788
|
+ })
|
|
|
789
|
+
|
|
|
790
|
+ });
|
|
|
791
|
+ },
|
|
|
792
|
+ beforeAvatarUploads(){
|
|
|
793
|
+ this.filedatas.id = this.formData.id;
|
|
559
|
794
|
}
|
|
560
|
795
|
},
|
|
561
|
796
|
};
|