Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2023-04-07 09:30:19 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5265105a3f4d9ef2f6ec156e0eb06d8b306047bc
5265105a
1 parent
49631fe6
fix Bob要求身份证控件输入框改成直接输入
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
components.d.ts
src/components/IdentityField/index.vue
components.d.ts
View file @
5265105
...
...
@@ -7,19 +7,12 @@ export {}
declare
module
'@vue/runtime-core'
{
export
interface
GlobalComponents
{
__AppointmentField
:
typeof
import
(
'./src/components/__AppointmentField/index.vue'
)[
'default'
]
__AreaPickerField
:
typeof
import
(
'./src/components/__AreaPickerField/index.vue'
)[
'default'
]
_AreaPickerField
:
typeof
import
(
'./src/components/_AreaPickerField/index.vue'
)[
'default'
]
Appointment
:
typeof
import
(
'./src/components/Appointment/index.vue'
)[
'default'
]
AppointmentField
:
typeof
import
(
'./src/components/AppointmentField/index.vue'
)[
'default'
]
AppointmentField_
:
typeof
import
(
'./src/components/AppointmentField_/index.vue'
)[
'default'
]
'AppointmentField±'
:
typeof
import
(
'./src/components/AppointmentField±/index.vue'
)[
'default'
]
AreaPickerField
:
typeof
import
(
'./src/components/AreaPickerField/index.vue'
)[
'default'
]
ButtonField
:
typeof
import
(
'./src/components/ButtonField/index.vue'
)[
'default'
]
CalendarField
:
typeof
import
(
'./src/components/CalendarField/index.vue'
)[
'default'
]
CheckboxField
:
typeof
import
(
'./src/components/CheckboxField/index.vue'
)[
'default'
]
ContactField
:
typeof
import
(
'./src/components/ContactField/index.vue'
)[
'default'
]
copy
:
typeof
import
(
'./src/components/SignField copy/index.vue'
)[
'default'
]
CustomField
:
typeof
import
(
'./src/components/CustomField/index.vue'
)[
'default'
]
DatePickerField
:
typeof
import
(
'./src/components/DatePickerField/index.vue'
)[
'default'
]
DateTimePickerField
:
typeof
import
(
'./src/components/DateTimePickerField/index.vue'
)[
'default'
]
...
...
@@ -33,7 +26,6 @@ declare module '@vue/runtime-core' {
MarqueeField
:
typeof
import
(
'./src/components/MarqueeField/index.vue'
)[
'default'
]
MultiRuleField
:
typeof
import
(
'./src/components/MultiRuleField/index.vue'
)[
'default'
]
MyComponent
:
typeof
import
(
'./src/components/AppointmentField/MyComponent.vue'
)[
'default'
]
MyComponet
:
typeof
import
(
'./src/components/SignField/MyComponet.vue'
)[
'default'
]
NameField
:
typeof
import
(
'./src/components/NameField/index.vue'
)[
'default'
]
NoteField
:
typeof
import
(
'./src/components/NoteField/index.vue'
)[
'default'
]
NumberField
:
typeof
import
(
'./src/components/NumberField/index.vue'
)[
'default'
]
...
...
@@ -59,13 +51,11 @@ declare module '@vue/runtime-core' {
VanCol
:
typeof
import
(
'vant/es'
)[
'Col'
]
VanConfigProvider
:
typeof
import
(
'vant/es'
)[
'ConfigProvider'
]
VanDatePicker
:
typeof
import
(
'vant/es'
)[
'DatePicker'
]
VanDialog
:
typeof
import
(
'vant/es'
)[
'Dialog'
]
VanDivider
:
typeof
import
(
'vant/es'
)[
'Divider'
]
VanField
:
typeof
import
(
'vant/es'
)[
'Field'
]
VanForm
:
typeof
import
(
'vant/es'
)[
'Form'
]
VanIcon
:
typeof
import
(
'vant/es'
)[
'Icon'
]
VanImage
:
typeof
import
(
'vant/es'
)[
'Image'
]
VanInput
:
typeof
import
(
'vant/es'
)[
'Input'
]
VanLoading
:
typeof
import
(
'vant/es'
)[
'Loading'
]
VanNoticeBar
:
typeof
import
(
'vant/es'
)[
'NoticeBar'
]
VanNumberKeyboard
:
typeof
import
(
'vant/es'
)[
'NumberKeyboard'
]
...
...
src/components/IdentityField/index.vue
View file @
5265105
<!--
* @Date: 2022-09-14 14:44:30
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-04-0
6 10:08:41
* @LastEditTime: 2023-04-0
7 06:09:28
* @FilePath: /data-table/src/components/IdentityField/index.vue
* @Description: 身份证输入控件
-->
...
...
@@ -12,7 +12,7 @@
{{ item.component_props.label }}
</div>
<!-- <div v-if="item.component_props.readonly" style="padding: 0.5rem 1rem;">{{ item.value }}</div> -->
<van-field
<
!-- <
van-field
ref="fieldRef"
v-model="item.value"
:id="item.name"
...
...
@@ -26,6 +26,18 @@
@touchstart.stop="openKeyboard($event)"
:border="false"
>
</van-field> -->
<van-field
ref="fieldRef"
v-model="item.value"
:id="item.name"
:name="item.name"
:placeholder="item.component_props.placeholder"
:rules="rules"
:required="item.component_props.required"
:disabled="item.component_props.readonly"
:border="false"
>
</van-field>
<!-- <div v-if="gender" class="gender"><span>性别:</span>{{ gender }}</div> -->
<van-number-keyboard
...
...
Please
register
or
login
to post a comment