修改调解bug

This commit is contained in:
gyj
2024-05-20 15:47:19 +08:00
parent 604d76e1fd
commit 6156b82b6c
2 changed files with 13 additions and 5 deletions
@@ -170,6 +170,7 @@ export default {
filedata: {
annexType: 7,
isMediaBook: 1,
caseId:null
},
fileList: [],
attachList: [],
@@ -228,12 +229,15 @@ export default {
this.attachList = updatedArray;
},
beforeUpload(flie, fileList) {
this.filedata.caseId = this.mediationData.id
this.fileList = fileList;
},
handlSuccess(res, file) {
const fileSuccess = [{ annexId: res.annexId, annexType: res.annexType,annexName:res.newFileName,annexPath:res.fileName,onlyOfficeFileId:res.onlyOfficeFileId}]
this.codes = res.code
console.log(res)
this.attachList.push({ annexId: res.annexId, annexType: res.annexType });
this.recordArrMediate = fileSuccess;
// this.$set(this.mediationData, "attachList", {annexId:res.annexId});
},
/** 获取案件详情信息 */
@@ -259,6 +263,7 @@ export default {
this.recordArrMediate.push(item);
}
});
});
},
/** 获取用户信息 */