|
|
@@ -56,10 +56,10 @@
|
|
56
|
56
|
<uni-easyinput :inputBorder="false" :disabled='true'
|
|
57
|
57
|
v-model="formData.claimLiquidDamag" placeholder="" />
|
|
58
|
58
|
</uni-forms-item>
|
|
59
|
|
- <!-- <uni-forms-item label="是否有异议需要举证" label-width="120px" name="objectionAddEviden" required>
|
|
|
59
|
+ <uni-forms-item label="是否有异议需要举证" label-width="120px" name="objectionAddEviden" required>
|
|
60
|
60
|
<uni-data-checkbox class='checkbox' v-model="subnitForm.objectionAddEviden"
|
|
61
|
61
|
:localdata="maintenancetypeArr" @change='uploadEvidenceChange'></uni-data-checkbox>
|
|
62
|
|
- </uni-forms-item> -->
|
|
|
62
|
+ </uni-forms-item>
|
|
63
|
63
|
<!-- <uni-forms-item label="是否需要开庭审理" label-width="120px" name="openCourtHear" required>
|
|
64
|
64
|
<uni-data-checkbox class='checkbox' v-model="subnitForm.openCourtHear"
|
|
65
|
65
|
:localdata="arbitrationmethodArr" @change='arbitrationmethod'></uni-data-checkbox>
|
|
|
@@ -77,9 +77,9 @@
|
|
77
|
77
|
<uni-data-checkbox class='checkbox' v-model="subnitForm.adjudicaCounter"
|
|
78
|
78
|
:localdata="adjudicaCounterArr"></uni-data-checkbox>
|
|
79
|
79
|
</uni-forms-item> -->
|
|
80
|
|
- <!-- <uni-forms-item label="上传证据" name="headImage" label-width="120px" v-if="caseFlag">
|
|
81
|
|
- <uni-file-picker ref="files" :auto-upload="false" @select="select" :limit='1' />
|
|
82
|
|
- </uni-forms-item> -->
|
|
|
80
|
+ <uni-forms-item label="上传证据" name="headImage" label-width="120px" v-if="caseFlag">
|
|
|
81
|
+ <uni-file-picker ref="files" :auto-upload="false" @select="select" @delete="handleClose" :limit='1' />
|
|
|
82
|
+ </uni-forms-item>
|
|
83
|
83
|
<uni-forms-item label="是否书面审理" label-width="120px" name="respondentIsWrittenHear"
|
|
84
|
84
|
required>
|
|
85
|
85
|
<uni-data-checkbox class='checkbox' v-model="subnitForm.respondentIsWrittenHear"
|
|
|
@@ -259,7 +259,8 @@
|
|
259
|
259
|
arbitratorList,
|
|
260
|
260
|
evidenceCrossexami,
|
|
261
|
261
|
selectById,
|
|
262
|
|
- updateBooking
|
|
|
262
|
+ updateBooking,
|
|
|
263
|
+ deleteFile
|
|
263
|
264
|
} from '../../../api/handlecase/index.js'
|
|
264
|
265
|
import {
|
|
265
|
266
|
uploadImage
|
|
|
@@ -269,6 +270,7 @@
|
|
269
|
270
|
} from '@/utils/auth'
|
|
270
|
271
|
import moment from 'moment'
|
|
271
|
272
|
import config from '@/config'
|
|
|
273
|
+import constant from '../../../utils/constant.js'
|
|
272
|
274
|
const baseUrl = config.baseUrlZC
|
|
273
|
275
|
const app = getApp()
|
|
274
|
276
|
export default {
|
|
|
@@ -395,6 +397,7 @@
|
|
395
|
397
|
this.subnitForm.adjudicaCounterReason = this.reasontFormData.reasont
|
|
396
|
398
|
this.$refs.popup.close()
|
|
397
|
399
|
this.reasontFormData.reasont = ''
|
|
|
400
|
+
|
|
398
|
401
|
} else {
|
|
399
|
402
|
this.$modal.msgError("请输入反意理由")
|
|
400
|
403
|
}
|
|
|
@@ -477,6 +480,7 @@
|
|
477
|
480
|
},
|
|
478
|
481
|
// 文件上传
|
|
479
|
482
|
select(e) {
|
|
|
483
|
+ console.log(e)
|
|
480
|
484
|
this.tempFilePaths = e.tempFilePaths;
|
|
481
|
485
|
// loading
|
|
482
|
486
|
uni.showLoading({
|
|
|
@@ -514,6 +518,14 @@
|
|
514
|
518
|
}
|
|
515
|
519
|
})
|
|
516
|
520
|
},
|
|
|
521
|
+ // 上传删除
|
|
|
522
|
+ handleClose(filelds){
|
|
|
523
|
+ console.log("关闭",filelds)
|
|
|
524
|
+ deleteFile({fileIds:[filelds.tempFile.uuid]}).then(res=>{
|
|
|
525
|
+ console.log(res)
|
|
|
526
|
+ })
|
|
|
527
|
+
|
|
|
528
|
+ },
|
|
517
|
529
|
// 获取仲裁员列表
|
|
518
|
530
|
getArbitratorList(val) {
|
|
519
|
531
|
arbitratorList({caseAppliId: val}).then(res => {
|
|
|
@@ -555,6 +567,7 @@
|
|
555
|
567
|
}
|
|
556
|
568
|
if (this.sysType == 1) {
|
|
557
|
569
|
this.$refs.form.validate().then(res => {
|
|
|
570
|
+ console.log(this.subnitForm)
|
|
558
|
571
|
this.evidenceCrossexamiFn(this.subnitForm)
|
|
559
|
572
|
}).catch(err => {
|
|
560
|
573
|
console.log('表单错误信息:', err);
|
|
|
@@ -596,8 +609,12 @@
|
|
596
|
609
|
onLoad(data) {
|
|
597
|
610
|
this.sysType = uni.getStorageSync('sysType')
|
|
598
|
611
|
this.getData(data.id);
|
|
|
612
|
+ console.log(this.subnitForm)
|
|
599
|
613
|
this.subnitForm.caseId = Number(data.id);
|
|
600
|
|
- this.getArbitratorList(data.id)
|
|
|
614
|
+ if(this.sysType==2){
|
|
|
615
|
+ this.getArbitratorList(data.id)
|
|
|
616
|
+ }
|
|
|
617
|
+
|
|
601
|
618
|
}
|
|
602
|
619
|
|
|
603
|
620
|
}
|