From a94cd4abf3cf20cca270e632d6124b19e9e554fb Mon Sep 17 00:00:00 2001 From: tangchengming <445785772@qq.com> Date: Wed, 12 Feb 2025 17:48:32 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mediation-page/components/caseFileDialog.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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) From fc296bba91efd90d56b0e877aa5c38a2220a1ca8 Mon Sep 17 00:00:00 2001 From: tangchengming <445785772@qq.com> Date: Wed, 12 Feb 2025 17:55:59 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/event-tracing/components/CallDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'}}) } } }; From 02c6bd1345b90a3a8888fb140003e90c1101ee12 Mon Sep 17 00:00:00 2001 From: liuxi <357439530@qq.com> Date: Thu, 13 Feb 2025 09:08:15 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/uploadFile.vue | 6 ++++-- src/pages/case-mistake/index.vue | 1 + .../mediation-page/components/MediationRecordDialog.vue | 5 +++-- 3 files changed, 8 insertions(+), 4 deletions(-) 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/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)