|
|
@@ -109,7 +109,7 @@
|
|
109
|
109
|
<el-col :span="24" v-if="modelFlag&&mediationApplication">
|
|
110
|
110
|
<el-form-item label="调解申请书:">
|
|
111
|
111
|
<div v-for="(item, index) in formData.caseAttachList" :key="index" v-if="item.annexType == 3">
|
|
112
|
|
- <div style="color: blue; cursor: pointer" @click="fileDetil(item.annexPath)">
|
|
|
112
|
+ <div style="color: blue; cursor: pointer" @click="fileDetil(item.annexPath, 1)">
|
|
113
|
113
|
{{ item.annexName }}
|
|
114
|
114
|
</div>
|
|
115
|
115
|
</div>
|
|
|
@@ -118,7 +118,7 @@
|
|
118
|
118
|
<el-col :span="24" v-if="modelFlag && showmediate">
|
|
119
|
119
|
<el-form-item label="调解书:">
|
|
120
|
120
|
<div v-for="(item, index) in formData.caseAttachList" :key="index" v-if="item.annexType == 7">
|
|
121
|
|
- <div style="color: blue; cursor: pointer" @click="fileDetil(item.onlyOfficeFileId)">
|
|
|
121
|
+ <div style="color: blue; cursor: pointer" @click="fileDetil(item.onlyOfficeFileId, 2)">
|
|
122
|
122
|
{{ item.annexName }}
|
|
123
|
123
|
</div>
|
|
124
|
124
|
</div>
|
|
|
@@ -214,7 +214,8 @@
|
|
214
|
214
|
]">
|
|
215
|
215
|
<el-select v-model="formData.affiliate.idType" placeholder="证件类型" auto-complete="off" style="width: 100%;"
|
|
216
|
216
|
disabled>
|
|
217
|
|
- <el-option v-for="item in idTypeList" :key="Number(item.dictValue)" :label="item.dictLabel" :value="Number(item.dictValue)">
|
|
|
217
|
+ <el-option v-for="item in idTypeList" :key="Number(item.dictValue)" :label="item.dictLabel"
|
|
|
218
|
+ :value="Number(item.dictValue)">
|
|
218
|
219
|
|
|
219
|
220
|
</el-option>
|
|
220
|
221
|
</el-select>
|
|
|
@@ -659,8 +660,8 @@ export default {
|
|
659
|
660
|
},
|
|
660
|
661
|
methods: {
|
|
661
|
662
|
/** 获取证件类型 */
|
|
662
|
|
- getIdTypeFn(){
|
|
663
|
|
- getIdType().then(res=>{
|
|
|
663
|
+ getIdTypeFn() {
|
|
|
664
|
+ getIdType().then(res => {
|
|
664
|
665
|
this.idTypeList = res.data;
|
|
665
|
666
|
})
|
|
666
|
667
|
},
|
|
|
@@ -725,9 +726,12 @@ export default {
|
|
725
|
726
|
});
|
|
726
|
727
|
},
|
|
727
|
728
|
/** 查看证据 */
|
|
728
|
|
- fileDetil(val) {
|
|
729
|
|
- // window.open(this.fileURL + val);
|
|
730
|
|
- this.$router.push({ path: '/onlyoffice', query: { id: val, flag: 0 } })
|
|
|
729
|
+ fileDetil(val, flag) {
|
|
|
730
|
+ if (flag == 1) {
|
|
|
731
|
+ window.open(this.fileURL + val);
|
|
|
732
|
+ } else if (flag == 2) {
|
|
|
733
|
+ this.$router.push({ path: '/onlyoffice', query: { id: val, flag: 0 } })
|
|
|
734
|
+ }
|
|
731
|
735
|
},
|
|
732
|
736
|
/** 查看证据 */
|
|
733
|
737
|
toPreview(val) {
|
|
|
@@ -758,7 +762,7 @@ export default {
|
|
758
|
762
|
return this.$confirm(`确定移除 ${file.name}?`);
|
|
759
|
763
|
},
|
|
760
|
764
|
handleRemove(file, fileList) {
|
|
761
|
|
- let newcaseAttachList = this.formData.caseAttachList.filter(item =>
|
|
|
765
|
+ let newcaseAttachList = this.formData.caseAttachList.filter(item =>
|
|
762
|
766
|
item.annexId !== file.response.annexId
|
|
763
|
767
|
)
|
|
764
|
768
|
this.formData.caseAttachList = newcaseAttachList
|