|
|
@@ -4,7 +4,7 @@ import type { FormDefine, FormDefineItem, IFormItemCallbackAdditionalProps } fro
|
|
|
import type { FormGroupProps } from "@/components/dynamic/DynamicFormCate.vue";
|
|
|
import type { CheckBoxListProps } from "@/components/dynamic/wrappers/CheckBoxList.vue";
|
|
|
import type { CheckBoxToIntProps } from "@/components/dynamic/wrappers/CheckBoxToInt";
|
|
|
-import type { IDynamicFormItemSelectIdFormItemProps } from "@/components/dynamic/wrappers/PickerIdField";
|
|
|
+import type { PickerIdFieldProps } from "@/components/dynamic/wrappers/PickerIdField";
|
|
|
import type { FieldProps } from "@/components/form/Field.vue";
|
|
|
import type { PickerFieldProps } from "@/components/form/PickerField.vue";
|
|
|
import type { StepperProps } from "@/components/form/Stepper.vue";
|
|
|
@@ -53,7 +53,7 @@ const villageInfoBuildingForm : SingleForm = [VillageBulidingInfo, {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -85,7 +85,7 @@ const villageInfoBuildingForm : SingleForm = [VillageBulidingInfo, {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -117,7 +117,7 @@ const villageInfoBuildingForm : SingleForm = [VillageBulidingInfo, {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -460,7 +460,7 @@ const villageInfoFolkCultureForm : SingleForm = [VillageBulidingInfo, {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
},
|
|
|
- } as IFormItemCallbackAdditionalProps<IDynamicFormItemSelectIdFormItemProps>,
|
|
|
+ } as IFormItemCallbackAdditionalProps<PickerIdFieldProps>,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [],
|
|
|
},
|
|
|
@@ -579,7 +579,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -682,7 +682,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -706,7 +706,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -740,7 +740,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -759,7 +759,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -958,7 +958,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [],
|
|
|
})),
|
|
|
@@ -1256,7 +1256,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -1275,7 +1275,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -1515,7 +1515,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -1556,7 +1556,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -1575,7 +1575,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -1754,7 +1754,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -1773,7 +1773,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -1818,7 +1818,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -1837,7 +1837,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -1856,7 +1856,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -1875,7 +1875,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
@@ -2160,7 +2160,7 @@ const villageInfoForm : Record<string, Record<number, SingleForm>> = {
|
|
|
text: p.title,
|
|
|
}))
|
|
|
,
|
|
|
- } as IDynamicFormItemSelectIdFormItemProps,
|
|
|
+ } as PickerIdFieldProps,
|
|
|
itemParams: { showRightArrow: true } as FieldProps,
|
|
|
rules: [{
|
|
|
required: true,
|