-
@@ -214,7 +214,8 @@
]">
-
+
@@ -659,8 +660,8 @@ export default {
},
methods: {
/** 获取证件类型 */
- getIdTypeFn(){
- getIdType().then(res=>{
+ getIdTypeFn() {
+ getIdType().then(res => {
this.idTypeList = res.data;
})
},
@@ -725,9 +726,12 @@ export default {
});
},
/** 查看证据 */
- fileDetil(val) {
- // window.open(this.fileURL + val);
- this.$router.push({ path: '/onlyoffice', query: { id: val, flag: 0 } })
+ fileDetil(val, flag) {
+ if (flag == 1) {
+ window.open(this.fileURL + val);
+ } else if (flag == 2) {
+ this.$router.push({ path: '/onlyoffice', query: { id: val, flag: 0 } })
+ }
},
/** 查看证据 */
toPreview(val) {
@@ -758,7 +762,7 @@ export default {
return this.$confirm(`确定移除 ${file.name}?`);
},
handleRemove(file, fileList) {
- let newcaseAttachList = this.formData.caseAttachList.filter(item =>
+ let newcaseAttachList = this.formData.caseAttachList.filter(item =>
item.annexId !== file.response.annexId
)
this.formData.caseAttachList = newcaseAttachList
diff --git a/src/views/caseManagement/components/mediation.vue b/src/views/caseManagement/components/mediation.vue
index cea5b95..3891705 100644
--- a/src/views/caseManagement/components/mediation.vue
+++ b/src/views/caseManagement/components/mediation.vue
@@ -233,7 +233,8 @@ export default {
if(res.data.mediaResult){
this.formData = res.data;
}else{
- this.$nextTick(this.filedata,"mediaResult",1)
+ this.formData = res.data;
+ this.formData.mediaResult = 1;
}
console.log(this.formData)