Showing
2 changed files
with
14 additions
and
12 deletions
| ... | @@ -7,19 +7,12 @@ export {} | ... | @@ -7,19 +7,12 @@ export {} |
| 7 | 7 | ||
| 8 | declare module '@vue/runtime-core' { | 8 | declare module '@vue/runtime-core' { |
| 9 | export interface GlobalComponents { | 9 | export interface GlobalComponents { |
| 10 | - __AppointmentField: typeof import('./src/components/__AppointmentField/index.vue')['default'] | ||
| 11 | - __AreaPickerField: typeof import('./src/components/__AreaPickerField/index.vue')['default'] | ||
| 12 | - _AreaPickerField: typeof import('./src/components/_AreaPickerField/index.vue')['default'] | ||
| 13 | - Appointment: typeof import('./src/components/Appointment/index.vue')['default'] | ||
| 14 | AppointmentField: typeof import('./src/components/AppointmentField/index.vue')['default'] | 10 | AppointmentField: typeof import('./src/components/AppointmentField/index.vue')['default'] |
| 15 | - AppointmentField_: typeof import('./src/components/AppointmentField_/index.vue')['default'] | ||
| 16 | - 'AppointmentField±': typeof import('./src/components/AppointmentField±/index.vue')['default'] | ||
| 17 | AreaPickerField: typeof import('./src/components/AreaPickerField/index.vue')['default'] | 11 | AreaPickerField: typeof import('./src/components/AreaPickerField/index.vue')['default'] |
| 18 | ButtonField: typeof import('./src/components/ButtonField/index.vue')['default'] | 12 | ButtonField: typeof import('./src/components/ButtonField/index.vue')['default'] |
| 19 | CalendarField: typeof import('./src/components/CalendarField/index.vue')['default'] | 13 | CalendarField: typeof import('./src/components/CalendarField/index.vue')['default'] |
| 20 | CheckboxField: typeof import('./src/components/CheckboxField/index.vue')['default'] | 14 | CheckboxField: typeof import('./src/components/CheckboxField/index.vue')['default'] |
| 21 | ContactField: typeof import('./src/components/ContactField/index.vue')['default'] | 15 | ContactField: typeof import('./src/components/ContactField/index.vue')['default'] |
| 22 | - copy: typeof import('./src/components/SignField copy/index.vue')['default'] | ||
| 23 | CustomField: typeof import('./src/components/CustomField/index.vue')['default'] | 16 | CustomField: typeof import('./src/components/CustomField/index.vue')['default'] |
| 24 | DatePickerField: typeof import('./src/components/DatePickerField/index.vue')['default'] | 17 | DatePickerField: typeof import('./src/components/DatePickerField/index.vue')['default'] |
| 25 | DateTimePickerField: typeof import('./src/components/DateTimePickerField/index.vue')['default'] | 18 | DateTimePickerField: typeof import('./src/components/DateTimePickerField/index.vue')['default'] |
| ... | @@ -33,7 +26,6 @@ declare module '@vue/runtime-core' { | ... | @@ -33,7 +26,6 @@ declare module '@vue/runtime-core' { |
| 33 | MarqueeField: typeof import('./src/components/MarqueeField/index.vue')['default'] | 26 | MarqueeField: typeof import('./src/components/MarqueeField/index.vue')['default'] |
| 34 | MultiRuleField: typeof import('./src/components/MultiRuleField/index.vue')['default'] | 27 | MultiRuleField: typeof import('./src/components/MultiRuleField/index.vue')['default'] |
| 35 | MyComponent: typeof import('./src/components/AppointmentField/MyComponent.vue')['default'] | 28 | MyComponent: typeof import('./src/components/AppointmentField/MyComponent.vue')['default'] |
| 36 | - MyComponet: typeof import('./src/components/SignField/MyComponet.vue')['default'] | ||
| 37 | NameField: typeof import('./src/components/NameField/index.vue')['default'] | 29 | NameField: typeof import('./src/components/NameField/index.vue')['default'] |
| 38 | NoteField: typeof import('./src/components/NoteField/index.vue')['default'] | 30 | NoteField: typeof import('./src/components/NoteField/index.vue')['default'] |
| 39 | NumberField: typeof import('./src/components/NumberField/index.vue')['default'] | 31 | NumberField: typeof import('./src/components/NumberField/index.vue')['default'] |
| ... | @@ -59,13 +51,11 @@ declare module '@vue/runtime-core' { | ... | @@ -59,13 +51,11 @@ declare module '@vue/runtime-core' { |
| 59 | VanCol: typeof import('vant/es')['Col'] | 51 | VanCol: typeof import('vant/es')['Col'] |
| 60 | VanConfigProvider: typeof import('vant/es')['ConfigProvider'] | 52 | VanConfigProvider: typeof import('vant/es')['ConfigProvider'] |
| 61 | VanDatePicker: typeof import('vant/es')['DatePicker'] | 53 | VanDatePicker: typeof import('vant/es')['DatePicker'] |
| 62 | - VanDialog: typeof import('vant/es')['Dialog'] | ||
| 63 | VanDivider: typeof import('vant/es')['Divider'] | 54 | VanDivider: typeof import('vant/es')['Divider'] |
| 64 | VanField: typeof import('vant/es')['Field'] | 55 | VanField: typeof import('vant/es')['Field'] |
| 65 | VanForm: typeof import('vant/es')['Form'] | 56 | VanForm: typeof import('vant/es')['Form'] |
| 66 | VanIcon: typeof import('vant/es')['Icon'] | 57 | VanIcon: typeof import('vant/es')['Icon'] |
| 67 | VanImage: typeof import('vant/es')['Image'] | 58 | VanImage: typeof import('vant/es')['Image'] |
| 68 | - VanInput: typeof import('vant/es')['Input'] | ||
| 69 | VanLoading: typeof import('vant/es')['Loading'] | 59 | VanLoading: typeof import('vant/es')['Loading'] |
| 70 | VanNoticeBar: typeof import('vant/es')['NoticeBar'] | 60 | VanNoticeBar: typeof import('vant/es')['NoticeBar'] |
| 71 | VanNumberKeyboard: typeof import('vant/es')['NumberKeyboard'] | 61 | VanNumberKeyboard: typeof import('vant/es')['NumberKeyboard'] | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-14 14:44:30 | 2 | * @Date: 2022-09-14 14:44:30 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-04-06 10:08:41 | 4 | + * @LastEditTime: 2023-04-07 06:09:28 |
| 5 | * @FilePath: /data-table/src/components/IdentityField/index.vue | 5 | * @FilePath: /data-table/src/components/IdentityField/index.vue |
| 6 | * @Description: 身份证输入控件 | 6 | * @Description: 身份证输入控件 |
| 7 | --> | 7 | --> |
| ... | @@ -12,7 +12,7 @@ | ... | @@ -12,7 +12,7 @@ |
| 12 | {{ item.component_props.label }} | 12 | {{ item.component_props.label }} |
| 13 | </div> | 13 | </div> |
| 14 | <!-- <div v-if="item.component_props.readonly" style="padding: 0.5rem 1rem;">{{ item.value }}</div> --> | 14 | <!-- <div v-if="item.component_props.readonly" style="padding: 0.5rem 1rem;">{{ item.value }}</div> --> |
| 15 | - <van-field | 15 | + <!-- <van-field |
| 16 | ref="fieldRef" | 16 | ref="fieldRef" |
| 17 | v-model="item.value" | 17 | v-model="item.value" |
| 18 | :id="item.name" | 18 | :id="item.name" |
| ... | @@ -26,6 +26,18 @@ | ... | @@ -26,6 +26,18 @@ |
| 26 | @touchstart.stop="openKeyboard($event)" | 26 | @touchstart.stop="openKeyboard($event)" |
| 27 | :border="false" | 27 | :border="false" |
| 28 | > | 28 | > |
| 29 | + </van-field> --> | ||
| 30 | + <van-field | ||
| 31 | + ref="fieldRef" | ||
| 32 | + v-model="item.value" | ||
| 33 | + :id="item.name" | ||
| 34 | + :name="item.name" | ||
| 35 | + :placeholder="item.component_props.placeholder" | ||
| 36 | + :rules="rules" | ||
| 37 | + :required="item.component_props.required" | ||
| 38 | + :disabled="item.component_props.readonly" | ||
| 39 | + :border="false" | ||
| 40 | + > | ||
| 29 | </van-field> | 41 | </van-field> |
| 30 | <!-- <div v-if="gender" class="gender"><span>性别:</span>{{ gender }}</div> --> | 42 | <!-- <div v-if="gender" class="gender"><span>性别:</span>{{ gender }}</div> --> |
| 31 | <van-number-keyboard | 43 | <van-number-keyboard | ... | ... |
-
Please register or login to post a comment