| | |
| | | <ProFormText placeholder="请输入手机号" v-model.trim="form.phoneNumber"></ProFormText> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 |
| | | v-if="!isEdit" |
| | | label="密码:" |
| | | prop="password" |
| | | :check-rules="[{ message: '请输入密码', required: !form.id }]" |
| | |
| | | ProForm, |
| | | ProFormItemV2, |
| | | ProFormText, |
| | | ProFormRadio, |
| | | ProFormTextArea, |
| | | ProFormCheckbox, |
| | | } from '@bole-core/components'; |
| | | import { BooleanOptions } from '@/constants'; |
| | | |
| | |
| | | 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; |