From c89ba258bcea60f6bb7c6bceb782495b7e1a1a40 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期三, 11 十二月 2024 11:20:59 +0800 Subject: [PATCH] 用户管理过滤掉已禁用部门(IB5H7F) --- src/views/system/user/profile/userAvatar.vue | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/views/system/user/profile/userAvatar.vue b/src/views/system/user/profile/userAvatar.vue index edf3016..b99f58d 100644 --- a/src/views/system/user/profile/userAvatar.vue +++ b/src/views/system/user/profile/userAvatar.vue @@ -87,25 +87,31 @@ function editCropper() { open.value = true; } + /** 鎵撳紑寮瑰嚭灞傜粨鏉熸椂鐨勫洖璋� */ function modalOpened() { visible.value = true; } + /** 瑕嗙洊榛樿涓婁紶琛屼负 */ function requestUpload() {} + /** 鍚戝乏鏃嬭浆 */ function rotateLeft() { proxy.$refs.cropper.rotateLeft(); } + /** 鍚戝彸鏃嬭浆 */ function rotateRight() { proxy.$refs.cropper.rotateRight(); } + /** 鍥剧墖缂╂斁 */ function changeScale(num) { num = num || 1; proxy.$refs.cropper.changeScale(num); } + /** 涓婁紶棰勫鐞� */ function beforeUpload(file) { if (file.type.indexOf("image/") == -1) { @@ -119,6 +125,7 @@ }; } } + /** 涓婁紶鍥剧墖 */ function uploadImg() { proxy.$refs.cropper.getCropBlob(data => { @@ -133,10 +140,12 @@ }); }); } + /** 瀹炴椂棰勮 */ function realTime(data) { options.previews = data; } + /** 鍏抽棴绐楀彛 */ function closeDialog() { options.img = userStore.avatar; -- Gitblit v1.9.3