|
|
@@ -1,6 +1,7 @@
|
|
1
|
1
|
<template>
|
|
2
|
2
|
<div>
|
|
3
|
|
- <el-dialog :title="title" :visible="mediationVisable" @close="cancel" center :distroy-on-close="true" width="1000px">
|
|
|
3
|
+ <el-dialog :title="title" :visible="mediationVisable" @close="cancel" center :distroy-on-close="true"
|
|
|
4
|
+ width="1000px">
|
|
4
|
5
|
<el-form ref="form" :model="formData" label-width="180px">
|
|
5
|
6
|
<div class="caseInfo">案件信息:</div>
|
|
6
|
7
|
<el-divider></el-divider>
|
|
|
@@ -56,10 +57,10 @@
|
|
56
|
57
|
</el-form-item>
|
|
57
|
58
|
</el-col>
|
|
58
|
59
|
<el-col :span="24">
|
|
59
|
|
- <el-form-item label="是否用印申请" v-if="formData.mediaResult == 1&& mediationData.mediationMethod=='1'">
|
|
60
|
|
- <el-radio-group v-model="formData.sealFlag" :disabled="!selectRoido">
|
|
61
|
|
- <el-radio :label="1">是</el-radio>
|
|
62
|
|
- <el-radio :label="0">否</el-radio>
|
|
|
60
|
+ <el-form-item label="是否用印申请" v-if="formData.mediaResult == 1 && mediationData.mediationMethod == '1'">
|
|
|
61
|
+ <el-radio-group v-model="formData.sealFlag" :disabled="!selectRoido">
|
|
|
62
|
+ <el-radio :label="1">是</el-radio>
|
|
|
63
|
+ <el-radio :label="0">否</el-radio>
|
|
63
|
64
|
</el-radio-group>
|
|
64
|
65
|
</el-form-item>
|
|
65
|
66
|
</el-col>
|
|
|
@@ -110,7 +111,7 @@
|
|
110
|
111
|
<!-- </el-form> -->
|
|
111
|
112
|
</el-form>
|
|
112
|
113
|
<el-button @click="openmeeting" type="primary" v-if="mediationType">{{ isSecretaryRole ? '发起会议' :
|
|
113
|
|
- '进入会议' }}</el-button>
|
|
|
114
|
+ '进入会议' }}</el-button>
|
|
114
|
115
|
<el-button @click="openArbitrationresults" type="primary"
|
|
115
|
116
|
v-if="this.recordArrMediate.length <= 0 && mediationData.mediationMethod == '1' && isSecretaryRole">确认会议结果</el-button>
|
|
116
|
117
|
<div slot="footer" class="dialog-footer">
|
|
|
@@ -118,8 +119,8 @@
|
|
118
|
119
|
<span>取 消</span>
|
|
119
|
120
|
</el-button>
|
|
120
|
121
|
<el-button v-if="isSecretaryRole" :loading="loadingSubmit" @click="submitMediation"
|
|
121
|
|
- :disabled="this.recordArrMediate.length <= 0 && mediationData.mediationMethod == '1' && isSecretaryRole" class="endbutton1"
|
|
122
|
|
- type="primary" round>
|
|
|
122
|
+ :disabled="this.recordArrMediate.length <= 0 && mediationData.mediationMethod == '1' && isSecretaryRole"
|
|
|
123
|
+ class="endbutton1" type="primary" round>
|
|
123
|
124
|
提 交
|
|
124
|
125
|
</el-button>
|
|
125
|
126
|
</div>
|
|
|
@@ -139,10 +140,10 @@ import { getUserProfile } from "@/api/system/user";
|
|
139
|
140
|
import { reserveConferenceList } from "@/api/metting/metting.js";
|
|
140
|
141
|
import { getToken } from "@/utils/auth";
|
|
141
|
142
|
export default {
|
|
142
|
|
- props: ["mediationVisable", "mediationData", "queryParams","applicant"],
|
|
|
143
|
+ props: ["mediationVisable", "mediationData", "queryParams", "applicant"],
|
|
143
|
144
|
data() {
|
|
144
|
145
|
return {
|
|
145
|
|
- sealFlag:1,
|
|
|
146
|
+ sealFlag: 1,
|
|
146
|
147
|
loanStartDate: "",
|
|
147
|
148
|
codes: null,
|
|
148
|
149
|
title: "线上调解",
|
|
|
@@ -156,8 +157,8 @@ export default {
|
|
156
|
157
|
// isReconci:0,
|
|
157
|
158
|
formData: {
|
|
158
|
159
|
affiliate: {},
|
|
159
|
|
- mediaResult:1,
|
|
160
|
|
- sealFlag:1,
|
|
|
160
|
+ mediaResult: 1,
|
|
|
161
|
+ sealFlag: 1,
|
|
161
|
162
|
},
|
|
162
|
163
|
user: "",
|
|
163
|
164
|
userId: null,
|
|
|
@@ -168,13 +169,13 @@ export default {
|
|
168
|
169
|
},
|
|
169
|
170
|
filedata: {
|
|
170
|
171
|
annexType: 7,
|
|
171
|
|
- isMediaBook:1,
|
|
|
172
|
+ isMediaBook: 1,
|
|
172
|
173
|
},
|
|
173
|
174
|
fileList: [],
|
|
174
|
175
|
attachList: [],
|
|
175
|
176
|
isSecretaryRole: true,
|
|
176
|
177
|
loadingSubmit: false,
|
|
177
|
|
- selectRoido:true
|
|
|
178
|
+ selectRoido: true
|
|
178
|
179
|
};
|
|
179
|
180
|
},
|
|
180
|
181
|
watch: {
|
|
|
@@ -196,11 +197,11 @@ export default {
|
|
196
|
197
|
this.caseApplicationSelectByIdFn({
|
|
197
|
198
|
id: this.mediationData.id
|
|
198
|
199
|
});
|
|
199
|
|
- this.getUser();
|
|
|
200
|
+ this.getUser();
|
|
200
|
201
|
}
|
|
201
|
202
|
},
|
|
202
|
|
- recordArrMediate(val){
|
|
203
|
|
- if(val.length >= 1){
|
|
|
203
|
+ recordArrMediate(val) {
|
|
|
204
|
+ if (val.length >= 1) {
|
|
204
|
205
|
this.selectRoido = false;
|
|
205
|
206
|
}
|
|
206
|
207
|
}
|
|
|
@@ -213,7 +214,7 @@ export default {
|
|
213
|
214
|
userId: this.userId,
|
|
214
|
215
|
caseId: this.mediationData.id
|
|
215
|
216
|
}).then(res => {
|
|
216
|
|
- this.isSecretaryRole = res.data.isSecretaryRole;
|
|
|
217
|
+ this.isSecretaryRole = res.data.isSecretaryRole;
|
|
217
|
218
|
})
|
|
218
|
219
|
},
|
|
219
|
220
|
/**上传地址*/
|
|
|
@@ -232,21 +233,21 @@ export default {
|
|
232
|
233
|
handlSuccess(res, file) {
|
|
233
|
234
|
this.codes = res.code
|
|
234
|
235
|
console.log(res)
|
|
235
|
|
- this.attachList.push({ annexId: res.annexId,annexType:res.annexType});
|
|
|
236
|
+ this.attachList.push({ annexId: res.annexId, annexType: res.annexType });
|
|
236
|
237
|
// this.$set(this.mediationData, "attachList", {annexId:res.annexId});
|
|
237
|
238
|
},
|
|
238
|
239
|
/** 获取案件详情信息 */
|
|
239
|
240
|
caseApplicationSelectByIdFn(data) {
|
|
240
|
241
|
caseApplicationSelectById(data).then(res => {
|
|
241
|
|
- if(res.data.mediaResult){
|
|
242
|
|
- this.formData = res.data;
|
|
243
|
|
- }else{
|
|
|
242
|
+ if (res.data.mediaResult) {
|
|
|
243
|
+ this.formData = res.data;
|
|
|
244
|
+ } else {
|
|
244
|
245
|
this.formData = res.data;
|
|
245
|
246
|
this.formData.mediaResult = 1;
|
|
246
|
247
|
}
|
|
247
|
|
- if(res.data.sealFlag==1||res.data.sealFlag==0){
|
|
248
|
|
- this.formData = res.data;
|
|
249
|
|
- }else{
|
|
|
248
|
+ if (res.data.sealFlag == 1 || res.data.sealFlag == 0) {
|
|
|
249
|
+ this.formData = res.data;
|
|
|
250
|
+ } else {
|
|
250
|
251
|
this.formData = res.data;
|
|
251
|
252
|
this.formData.sealFlag = 1;
|
|
252
|
253
|
}
|
|
|
@@ -293,7 +294,7 @@ export default {
|
|
293
|
294
|
caseFlowId: this.mediationData.caseFlowId,
|
|
294
|
295
|
batchNumber: "",
|
|
295
|
296
|
mediaResult: this.formData.mediaResult,
|
|
296
|
|
- sealFlag:this.formData.sealFlag
|
|
|
297
|
+ sealFlag: this.formData.sealFlag
|
|
297
|
298
|
}).then(res => {
|
|
298
|
299
|
caseApplicationSelectById({
|
|
299
|
300
|
id: this.mediationData.id
|
|
|
@@ -312,8 +313,12 @@ export default {
|
|
312
|
313
|
window.open(window.location.origin + "/API" + annexPath, "_black");
|
|
313
|
314
|
},
|
|
314
|
315
|
toFileMediate(val) {
|
|
|
316
|
+ if (this.checkPermi(['caseManagement:list:editOffice'])) {
|
|
|
317
|
+ this.$router.push({ path: '/onlyoffice', query: { id: val, flag: 1 } })
|
|
|
318
|
+ } else {
|
|
|
319
|
+ this.$router.push({ path: '/onlyoffice', query: { id: val, flag: 0 } })
|
|
|
320
|
+ }
|
|
315
|
321
|
// window.open(window.location.origin + "/API" + annexPath, "_black");
|
|
316
|
|
- this.$router.push({ path: '/onlyoffice', query: {id:val,flag:1} })
|
|
317
|
322
|
},
|
|
318
|
323
|
/** 生成调解书 */
|
|
319
|
324
|
mediationFn(data) {
|
|
|
@@ -322,7 +327,7 @@ export default {
|
|
322
|
327
|
this.$emit("cancelMediation");
|
|
323
|
328
|
this.$emit("getList", this.queryParams);
|
|
324
|
329
|
this.loadingSubmit = false;
|
|
325
|
|
- }).catch(err=>{
|
|
|
330
|
+ }).catch(err => {
|
|
326
|
331
|
this.loadingSubmit = false;
|
|
327
|
332
|
});
|
|
328
|
333
|
},
|
|
|
@@ -338,9 +343,9 @@ export default {
|
|
338
|
343
|
this.loadingSubmit = true;
|
|
339
|
344
|
}
|
|
340
|
345
|
let mediationVal = {}
|
|
341
|
|
-
|
|
|
346
|
+
|
|
342
|
347
|
if (this.codes == 200) {
|
|
343
|
|
- if(this.formData.mediaResult != 1){
|
|
|
348
|
+ if (this.formData.mediaResult != 1) {
|
|
344
|
349
|
this.sealFlag = 0
|
|
345
|
350
|
}
|
|
346
|
351
|
mediationVal = {
|
|
|
@@ -350,13 +355,13 @@ export default {
|
|
350
|
355
|
mediaResult: this.formData.mediaResult,
|
|
351
|
356
|
}
|
|
352
|
357
|
} else {
|
|
353
|
|
- if(this.formData.mediaResult != 1){
|
|
|
358
|
+ if (this.formData.mediaResult != 1) {
|
|
354
|
359
|
this.sealFlag = 0
|
|
355
|
360
|
}
|
|
356
|
361
|
mediationVal = {
|
|
357
|
362
|
id: this.mediationData.id,
|
|
358
|
363
|
caseFlowId: this.mediationData.caseFlowId,
|
|
359
|
|
- sealFlag:this.sealFlag,
|
|
|
364
|
+ sealFlag: this.sealFlag,
|
|
360
|
365
|
attachList: this.attachList,
|
|
361
|
366
|
mediaResult: this.formData.mediaResult,
|
|
362
|
367
|
}
|
|
|
@@ -370,12 +375,13 @@ export default {
|
|
370
|
375
|
}
|
|
371
|
376
|
};
|
|
372
|
377
|
</script>
|
|
373
|
|
-
|
|
|
378
|
+
|
|
374
|
379
|
<style lang="scss" scoped>
|
|
375
|
380
|
.steps {
|
|
376
|
381
|
display: flex;
|
|
377
|
382
|
flex-wrap: wrap;
|
|
378
|
383
|
}
|
|
|
384
|
+
|
|
379
|
385
|
::v-deep .el-input--medium .el-input__inner {
|
|
380
|
386
|
height: 40px;
|
|
381
|
387
|
line-height: 40px;
|