From 00a7e8e609894422399007d99bc605446664d750 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 27 Feb 2025 10:33:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dictionary/template/file/fileForm.vue | 33 ------------------- .../system/user/components/Retrospect.vue | 2 +- .../components/uploadNonDicomFiles.vue | 1 - 3 files changed, 1 insertion(+), 35 deletions(-) diff --git a/src/views/dictionary/template/file/fileForm.vue b/src/views/dictionary/template/file/fileForm.vue index bbfc6a4a..95086846 100644 --- a/src/views/dictionary/template/file/fileForm.vue +++ b/src/views/dictionary/template/file/fileForm.vue @@ -186,39 +186,6 @@ export default { canel() { this.$emit('close') }, - handleRemoveFile() { - this.form.FileName = null - this.form.Path = null - this.fileList = [] - }, - beforeUpload() { - if (this.fileList.length > 0) { - this.$alert(this.$t('dictionary:bbrowser:msg:message1')) - return - } - }, - handlePreview(row, r2) { - if (row.fullPath) { - window.open(row.fullPath, '_blank') - } - }, - async handleUploadFile(param) { - this.loading = true - var file = await this.fileToBlob(param.file) - const res = await this.OSSclient.put( - `/System/Browser/${param.file.name}`, - file - ) - this.fileList.push({ - name: param.file.name, - path: this.$getObjectName(res.url), - fullPath: this.$getObjectName(res.url), - url: this.$getObjectName(res.url), - }) - this.form.Path = this.$getObjectName(res.url) - this.form.FileName = param.file.name - this.loading = false - }, }, } \ No newline at end of file diff --git a/src/views/system/user/components/Retrospect.vue b/src/views/system/user/components/Retrospect.vue index 43628c0c..71f5eae7 100644 --- a/src/views/system/user/components/Retrospect.vue +++ b/src/views/system/user/components/Retrospect.vue @@ -297,8 +297,8 @@ export default { this.searchData.IdentityUserId = this.userId this.loading = true let res = await getUserJoinedTrialList(this.searchData) + this.loading = false if (res.IsSuccess) { - this.loading = false res.OtherInfo = res.OtherInfo ? res.OtherInfo : {} Object.keys(this.otherInfo).forEach((key) => { this.otherInfo[key] = res.OtherInfo[key] diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue b/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue index 8ec06152..51b9a1a0 100644 --- a/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue +++ b/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue @@ -838,7 +838,6 @@ export default { // 扫描待上传文件 beginScanFiles(e) { var files = [...e.target.files] - console.log(files) var sameFiles = [] files.forEach((file) => { var extendName = file.name