diff --git a/src/components/uploadFile.vue b/src/components/uploadFile.vue index d71d3df..6bc8ebf 100644 --- a/src/components/uploadFile.vue +++ b/src/components/uploadFile.vue @@ -26,7 +26,7 @@
-
+
{ if(!this.$clickThrottle()) { return }//防止重复点击 cpkapi.postcase_pkg_error_clean({ id: this.queryParam.id }).then((res) => { + this.tableData=[] this.$message.success("清空此案件包错误案件成功"); this.getCasepkgList() diff --git a/src/pages/event-tracing/components/CallDialog.vue b/src/pages/event-tracing/components/CallDialog.vue index 02e49dd..b23ecdd 100644 --- a/src/pages/event-tracing/components/CallDialog.vue +++ b/src/pages/event-tracing/components/CallDialog.vue @@ -188,7 +188,7 @@ import { size } from "lodash"; }, // 进入队列 handleEnterqueue(row){ - this.$router.push({path: '/mediation-page', query: {sourcePage: 'home', caseId: row.caseId}}) + this.$router.push({path: '/mediation-page', query: {sourcePage: 'home'}}) } } }; diff --git a/src/pages/mediation-page/components/MediationRecordDialog.vue b/src/pages/mediation-page/components/MediationRecordDialog.vue index 92f9989..b462f08 100644 --- a/src/pages/mediation-page/components/MediationRecordDialog.vue +++ b/src/pages/mediation-page/components/MediationRecordDialog.vue @@ -256,6 +256,7 @@ export default { handleUploadFile(fileList){ console.log('获取上传文件信息',fileList) fileList = JSON.parse(JSON.stringify(fileList)) + this.fileList = fileList.map((item,i) => { return { url: item.url, @@ -264,8 +265,8 @@ export default { objectName: item.objectName } }) - // this.repaymentObj.url = this.fileList.length?this.fileList[0].fileName : ''; - // this.repaymentObj.name = this.fileList.length?this.fileList[0].objectName : ''; + console.log(this.fileList ,'fileListfileListfileList') + }, handleClose() { this.$emit('update:visiblemediatRecord', false) diff --git a/src/pages/mediation-page/components/caseFileDialog.vue b/src/pages/mediation-page/components/caseFileDialog.vue index 4ca9648..e8a94e5 100644 --- a/src/pages/mediation-page/components/caseFileDialog.vue +++ b/src/pages/mediation-page/components/caseFileDialog.vue @@ -31,7 +31,7 @@
请知悉!
-
请上传图片或pdf材料,单个文件需要在0KB以上,50MB以内;文件名称中请勿包含换行符、空格、tab#&V:?"#*|&"<>%+'等特色字符。
+
请上传图片或pdf材料,单个文件需要在0KB以上,50MB以内;文件名称中请勿包含换行符、空格、tab&V:?"#*|&"<>%+'等特色字符。
文件名称不超过45个字
@@ -108,9 +108,14 @@ export default { objectName: item.objectName } }) - this.repaymentObj.url = this.fileList.length?this.fileList[0].fileName : ''; this.repaymentObj.name = this.fileList.length?this.fileList[0].objectName : ''; - // console.log(this.repaymentObj, '---this.repaymentObj', this.fileList) + if (!this.$verify.specialChar(this.repaymentObj.name)) { + this.$message.error('文件名称包含非法字符,请重新上传!') + return false + } + this.repaymentObj.url = this.fileList.length?this.fileList[0].fileName : ''; + + console.log(this.repaymentObj, '---this.repaymentObj', this.fileList) }, handleClose() { this.$emit('update:eventDialog', null)