From ef87b7767acd1a9d426b224283e27338a073a379 Mon Sep 17 00:00:00 2001 From: easy <1358086367@qq.com> Date: Sat, 4 Mar 2023 17:23:39 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E7=BB=84=E7=BB=87=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E4=BC=98=E5=8C=96=E3=80=81a-=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=9B=B4=E6=8D=A2=E4=B8=BAj-?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AddDeviceOrProductDialog.vue | 157 +++++++++--------- .../components/EditDepartmentDialog.vue | 112 ++++++------- .../components/EditPermissionDialog.vue | 64 +++---- .../system/Department/components/LeftTree.vue | 66 +++----- .../Department/components/NextDialog.vue | 25 +-- src/views/system/Department/device/index.vue | 67 ++++---- src/views/system/Department/index.vue | 69 ++++---- src/views/system/Department/product/index.vue | 83 ++++----- .../user/components/AddBindUserDialog.vue | 57 +++---- src/views/system/Department/user/index.vue | 156 ++++++++--------- 10 files changed, 396 insertions(+), 460 deletions(-) diff --git a/src/views/system/Department/components/AddDeviceOrProductDialog.vue b/src/views/system/Department/components/AddDeviceOrProductDialog.vue index ac1f2ad2..115fe3cd 100644 --- a/src/views/system/Department/components/AddDeviceOrProductDialog.vue +++ b/src/views/system/Department/components/AddDeviceOrProductDialog.vue @@ -3,12 +3,10 @@ class="add-device-or-product-dialog-container" title="绑定" width="1440px" - @ok="dialog.handleOk" - :confirmLoading="dialog.loading.value" - cancelText="取消" - okText="确定" - v-model:visible="dialog.visible.value" - destroyOnClose + @ok="confirm" + :confirmLoading="loading" + @cancel="emits('update:visible', false)" + visible >