From a6a9d5611d19325ff9d6d6db1bc8a2c4489f53e5 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 11 四月 2025 17:22:52 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/12333GovernmentWeb

---
 src/views/Account/components/AddOrEditAccountDialog.vue |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/views/Account/components/AddOrEditAccountDialog.vue b/src/views/Account/components/AddOrEditAccountDialog.vue
index 97a542a..96591f3 100644
--- a/src/views/Account/components/AddOrEditAccountDialog.vue
+++ b/src/views/Account/components/AddOrEditAccountDialog.vue
@@ -30,6 +30,7 @@
         <ProFormText placeholder="璇疯緭鍏ユ墜鏈哄彿" v-model.trim="form.phoneNumber"></ProFormText>
       </ProFormItemV2>
       <ProFormItemV2
+        v-if="!isEdit"
         label="瀵嗙爜:"
         prop="password"
         :check-rules="[{ message: '璇疯緭鍏ュ瘑鐮�', required: !form.id }]"
@@ -65,9 +66,7 @@
   ProForm,
   ProFormItemV2,
   ProFormText,
-  ProFormRadio,
   ProFormTextArea,
-  ProFormCheckbox,
 } from '@bole-core/components';
 import { BooleanOptions } from '@/constants';
 
@@ -87,17 +86,12 @@
   userName: string;
   name: string;
   phoneNumber: string;
-  channel: string;
   password: string;
-  roleName: string;
   remark: string;
-  isSendMessage?: boolean;
-  sendClaimMessage?: boolean;
-  sendBillExpireMessage?: boolean;
 };
 
 const form = defineModel<Form>('form');
-
+const isEdit = computed(() => !!form.value?.id);
 const emit = defineEmits<{
   (e: 'onConfirm'): void;
   (e: 'onCancel'): void;

--
Gitblit v1.9.1