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;