From 4b03a527688dda0331734721ee9e6b301381b694 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 9 Sep 2025 09:54:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BB=E9=99=A2=E7=AE=A1=E7=90=86logo?= =?UTF-8?q?=E6=9C=AA=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/hospital/components/uploadLogo.vue | 48 +++++++------------ 1 file changed, 16 insertions(+), 32 deletions(-) diff --git a/src/views/system/hospital/components/uploadLogo.vue b/src/views/system/hospital/components/uploadLogo.vue index 2da16e3..4602632 100644 --- a/src/views/system/hospital/components/uploadLogo.vue +++ b/src/views/system/hospital/components/uploadLogo.vue @@ -1,40 +1,21 @@ @@ -101,6 +77,7 @@ export default { }, methods: { remove(file, fileList) { + if (this.disabled) return false this.$emit("update:path", null); }, fileToBlob(file) { @@ -186,6 +163,7 @@ export default { this.dialogVisible = true; }, handleRemove(file) { + if (this.disabled) return false this.fileList = []; this.$emit("update:path", null); }, @@ -198,24 +176,30 @@ export default { width: 80px; height: 30px; } + .upload-container .el-form-item__label { font-size: 12px; } + .upload-container .el-upload-list__item { font-size: 12px; } + .logoAMessage { font-size: 12px; cursor: pointer; } + .upload-container .uploadDisabled .el-upload--picture-card { display: none; } + .upload-container .el-upload--picture-card { width: 150px; height: 150px; line-height: 150px; } + .upload-container .el-upload-list--picture-card .el-upload-list__item { width: 150px; height: 150px;