fix(@vben/web-antdv-next): 添加 SelectOption、RadioButton、RadioGroup 和 FormItem 组件导入
parent
409af6b39c
commit
af681338c7
|
|
@ -8,6 +8,7 @@ import { computed, onMounted, reactive, ref, watch } from 'vue';
|
|||
import {
|
||||
Button,
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
InputNumber,
|
||||
message,
|
||||
|
|
@ -15,6 +16,7 @@ import {
|
|||
RadioButton,
|
||||
RadioGroup,
|
||||
Select,
|
||||
SelectOption,
|
||||
TabPane,
|
||||
Tabs,
|
||||
} from 'antdv-next';
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { nextTick, reactive, ref } from 'vue';
|
|||
|
||||
import { useVbenModal } from '@vben/common-ui';
|
||||
|
||||
import { Button, Form, Input, Select, Space } from 'antdv-next';
|
||||
import { Button, Form, FormItem, Input, Select, Space } from 'antdv-next';
|
||||
|
||||
import { loadBaiduMapSdk } from './utils';
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,14 @@ import {
|
|||
OtherPlatformEnum,
|
||||
} from '@vben/constants';
|
||||
|
||||
import { Button, InputNumber, Select, Space, TextArea } from 'antdv-next';
|
||||
import {
|
||||
Button,
|
||||
InputNumber,
|
||||
Select,
|
||||
SelectOption,
|
||||
Space,
|
||||
TextArea,
|
||||
} from 'antdv-next';
|
||||
|
||||
import { drawImage } from '#/api/ai/image';
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,15 @@ import {
|
|||
NijiVersionList,
|
||||
} from '@vben/constants';
|
||||
|
||||
import { Button, Image, message, Select, Space, TextArea } from 'antdv-next';
|
||||
import {
|
||||
Button,
|
||||
Image,
|
||||
message,
|
||||
Select,
|
||||
SelectOption,
|
||||
Space,
|
||||
TextArea,
|
||||
} from 'antdv-next';
|
||||
|
||||
import { midjourneyImagine } from '#/api/ai/image';
|
||||
import { ImageUpload } from '#/components/upload';
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ import {
|
|||
InputNumber,
|
||||
message,
|
||||
Select,
|
||||
SelectOption,
|
||||
Space,
|
||||
TextArea,
|
||||
} from 'antdv-next';
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ import {
|
|||
Dropdown,
|
||||
Empty,
|
||||
Form,
|
||||
FormItem,
|
||||
InputNumber,
|
||||
Menu,
|
||||
MenuItem,
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import { computed, getCurrentInstance, inject, onMounted, ref } from 'vue';
|
|||
import { IconifyIcon } from '@vben/icons';
|
||||
import { generateAcceptedFileTypes } from '@vben/utils';
|
||||
|
||||
import { Button, Form, message, UploadDragger } from 'antdv-next';
|
||||
import { Button, Form, FormItem, message, UploadDragger } from 'antdv-next';
|
||||
|
||||
import { useUpload } from '#/components/upload/use-upload';
|
||||
type UploadRequestOption = any;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts" setup>
|
||||
import { reactive } from 'vue';
|
||||
|
||||
import { Select, Switch, TextArea } from 'antdv-next';
|
||||
import { Select, SelectOption, Switch, TextArea } from 'antdv-next';
|
||||
|
||||
import Title from '../title/index.vue';
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import type { Nullable, Recordable } from '@vben/types';
|
|||
|
||||
import { ref, unref } from 'vue';
|
||||
|
||||
import { Button, Card } from 'antdv-next';
|
||||
import { Button, Card, RadioButton, RadioGroup } from 'antdv-next';
|
||||
|
||||
import desc from './desc.vue';
|
||||
import lyric from './lyric.vue';
|
||||
|
|
|
|||
|
|
@ -1,7 +1,15 @@
|
|||
<script lang="ts" setup>
|
||||
import { reactive, ref } from 'vue';
|
||||
|
||||
import { Button, Input, Select, Space, Tag, TextArea } from 'antdv-next';
|
||||
import {
|
||||
Button,
|
||||
Input,
|
||||
Select,
|
||||
SelectOption,
|
||||
Space,
|
||||
Tag,
|
||||
TextArea,
|
||||
} from 'antdv-next';
|
||||
|
||||
import Title from '../title/index.vue';
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,14 @@ import { ref } from 'vue';
|
|||
import { DICT_TYPE } from '@vben/constants';
|
||||
import { getDictOptions } from '@vben/hooks';
|
||||
|
||||
import { Form, Input, Select, TextArea } from 'antdv-next';
|
||||
import {
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
Select,
|
||||
SelectOption,
|
||||
TextArea,
|
||||
} from 'antdv-next';
|
||||
|
||||
type Rule = any;
|
||||
const modelData = defineModel<any>(); // 创建本地数据副本
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import { IconifyIcon } from '@vben/icons';
|
|||
import { Tinyflow } from '@vben/plugins/tinyflow';
|
||||
import { isNumber } from '@vben/utils';
|
||||
|
||||
import { Button, Input, Select } from 'antdv-next';
|
||||
import { Button, Input, Select, SelectOption } from 'antdv-next';
|
||||
|
||||
import { testWorkflow } from '#/api/ai/workflow';
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ import { IconifyIcon } from '@vben/icons';
|
|||
import {
|
||||
Button,
|
||||
Divider,
|
||||
FormItem,
|
||||
Input,
|
||||
Radio,
|
||||
RadioGroup,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,14 @@
|
|||
<script lang="ts" setup>
|
||||
import { nextTick, onBeforeUnmount, ref, toRaw, watch } from 'vue';
|
||||
|
||||
import { Form, FormItem, Input, Select, TextArea } from 'antdv-next';
|
||||
import {
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
Select,
|
||||
SelectOption,
|
||||
TextArea,
|
||||
} from 'antdv-next';
|
||||
|
||||
defineOptions({ name: 'FlowCondition' });
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { computed, inject, nextTick, onMounted, ref, toRaw, watch } from 'vue';
|
|||
|
||||
import { cloneDeep } from '@vben/utils';
|
||||
|
||||
import { Form, FormItem, Select } from 'antdv-next';
|
||||
import { Form, FormItem, Select, SelectOption } from 'antdv-next';
|
||||
|
||||
import { getFormSimpleList } from '#/api/bpm/form';
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ import {
|
|||
Radio,
|
||||
RadioGroup,
|
||||
Select,
|
||||
SelectOption,
|
||||
} from 'antdv-next';
|
||||
|
||||
import {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ import {
|
|||
Input,
|
||||
InputNumber,
|
||||
Radio,
|
||||
RadioGroup,
|
||||
TabPane,
|
||||
Tabs,
|
||||
} from 'antdv-next';
|
||||
|
|
|
|||
|
|
@ -18,9 +18,12 @@ import {
|
|||
Avatar,
|
||||
Button,
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
Radio,
|
||||
RadioGroup,
|
||||
Select,
|
||||
SelectOption,
|
||||
TextArea,
|
||||
Tooltip,
|
||||
} from 'antdv-next';
|
||||
|
|
@ -281,16 +284,10 @@ defineExpose({ validate });
|
|||
class="w-full"
|
||||
v-model:value="modelData.category"
|
||||
allow-clear
|
||||
:field-names="{ label: 'name', value: 'code' }"
|
||||
:options="categoryList"
|
||||
placeholder="请选择流程分类"
|
||||
>
|
||||
<SelectOption
|
||||
v-for="category in categoryList"
|
||||
:key="category.code"
|
||||
:value="category.code"
|
||||
>
|
||||
{{ category.name }}
|
||||
</SelectOption>
|
||||
</Select>
|
||||
/>
|
||||
</FormItem>
|
||||
<FormItem label="流程图标">
|
||||
<ImageUpload v-model:value="modelData.icon" />
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import type { SystemDictTypeApi } from '#/api/system/dict/type';
|
|||
|
||||
import { nextTick, onMounted, ref, watch } from 'vue';
|
||||
|
||||
import { Checkbox, Input, Select } from 'antdv-next';
|
||||
import { Checkbox, Input, Select, SelectOption } from 'antdv-next';
|
||||
|
||||
import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import { getSimpleDictTypeList } from '#/api/system/dict/type';
|
||||
|
|
|
|||
|
|
@ -18,11 +18,13 @@ import {
|
|||
import {
|
||||
Button,
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
message,
|
||||
Pagination,
|
||||
DateRangePicker as RangePicker,
|
||||
Select,
|
||||
SelectOption,
|
||||
} from 'antdv-next';
|
||||
|
||||
import { VxeColumn, VxeTable } from '#/adapter/vxe-table';
|
||||
|
|
|
|||
|
|
@ -7,13 +7,7 @@ import { useVbenModal } from '@vben/common-ui';
|
|||
import { DICT_TYPE } from '@vben/constants';
|
||||
import { getDictOptions } from '@vben/hooks';
|
||||
|
||||
import {
|
||||
Form,
|
||||
Input,
|
||||
message,
|
||||
Radio,
|
||||
RadioGroup,
|
||||
} from 'antdv-next';
|
||||
import { Form, FormItem, Input, message, Radio, RadioGroup } from 'antdv-next';
|
||||
|
||||
import { DatePicker } from '#/adapter/component/date-picker';
|
||||
import {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,14 @@ import {
|
|||
isEmpty,
|
||||
} from '@vben/utils';
|
||||
|
||||
import { Button, DateRangePicker, Form, Input, message } from 'antdv-next';
|
||||
import {
|
||||
Button,
|
||||
DateRangePicker,
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
message,
|
||||
} from 'antdv-next';
|
||||
|
||||
import { VxeColumn, VxeTable } from '#/adapter/vxe-table';
|
||||
import {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { computed, ref } from 'vue';
|
|||
import { useVbenModal } from '@vben/common-ui';
|
||||
import { handleTree } from '@vben/utils';
|
||||
|
||||
import { Form, Input, message, TreeSelect } from 'antdv-next';
|
||||
import { Form, FormItem, Input, message, TreeSelect } from 'antdv-next';
|
||||
|
||||
import {
|
||||
createDemo02Category,
|
||||
|
|
|
|||
|
|
@ -18,11 +18,13 @@ import {
|
|||
import {
|
||||
Button,
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
message,
|
||||
Pagination,
|
||||
DateRangePicker as RangePicker,
|
||||
Select,
|
||||
SelectOption,
|
||||
Tabs,
|
||||
} from 'antdv-next';
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { computed, ref } from 'vue';
|
|||
|
||||
import { useVbenModal } from '@vben/common-ui';
|
||||
|
||||
import { Form, Input, message } from 'antdv-next';
|
||||
import { Form, FormItem, Input, message } from 'antdv-next';
|
||||
|
||||
import {
|
||||
createDemo03Course,
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ import { cloneDeep, formatDateTime, isEmpty } from '@vben/utils';
|
|||
import {
|
||||
Button,
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
message,
|
||||
Pagination,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { computed, ref } from 'vue';
|
|||
|
||||
import { useVbenModal } from '@vben/common-ui';
|
||||
|
||||
import { Form, Input, message } from 'antdv-next';
|
||||
import { Form, FormItem, Input, message } from 'antdv-next';
|
||||
|
||||
import {
|
||||
createDemo03Grade,
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ import { cloneDeep, formatDateTime, isEmpty } from '@vben/utils';
|
|||
import {
|
||||
Button,
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
message,
|
||||
Pagination,
|
||||
|
|
|
|||
|
|
@ -7,13 +7,7 @@ import { useVbenModal } from '@vben/common-ui';
|
|||
import { DICT_TYPE } from '@vben/constants';
|
||||
import { getDictOptions } from '@vben/hooks';
|
||||
|
||||
import {
|
||||
Form,
|
||||
Input,
|
||||
message,
|
||||
Radio,
|
||||
RadioGroup,
|
||||
} from 'antdv-next';
|
||||
import { Form, FormItem, Input, message, Radio, RadioGroup } from 'antdv-next';
|
||||
|
||||
import { DatePicker } from '#/adapter/component/date-picker';
|
||||
import {
|
||||
|
|
|
|||
|
|
@ -18,11 +18,13 @@ import {
|
|||
import {
|
||||
Button,
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
message,
|
||||
Pagination,
|
||||
DateRangePicker as RangePicker,
|
||||
Select,
|
||||
SelectOption,
|
||||
Tabs,
|
||||
} from 'antdv-next';
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import type { Demo03StudentApi } from '#/api/infra/demo/demo03/normal';
|
|||
|
||||
import { nextTick, ref, watch } from 'vue';
|
||||
|
||||
import { Form, Input } from 'antdv-next';
|
||||
import { Form, FormItem, Input } from 'antdv-next';
|
||||
|
||||
import { getDemo03GradeByStudentId } from '#/api/infra/demo/demo03/normal';
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ import { getDictOptions } from '@vben/hooks';
|
|||
|
||||
import {
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
message,
|
||||
Radio,
|
||||
|
|
|
|||
|
|
@ -18,11 +18,13 @@ import {
|
|||
import {
|
||||
Button,
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
message,
|
||||
Pagination,
|
||||
DateRangePicker as RangePicker,
|
||||
Select,
|
||||
SelectOption,
|
||||
} from 'antdv-next';
|
||||
|
||||
import { VxeColumn, VxeTable } from '#/adapter/vxe-table';
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import type { Demo03StudentApi } from '#/api/infra/demo/demo03/normal';
|
|||
|
||||
import { nextTick, ref, watch } from 'vue';
|
||||
|
||||
import { Form, Input } from 'antdv-next';
|
||||
import { Form, FormItem, Input } from 'antdv-next';
|
||||
|
||||
import { getDemo03GradeByStudentId } from '#/api/infra/demo/demo03/normal';
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ import { getDictOptions } from '@vben/hooks';
|
|||
|
||||
import {
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
message,
|
||||
Radio,
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ import {
|
|||
Input,
|
||||
message,
|
||||
Select,
|
||||
SelectOption,
|
||||
Tag,
|
||||
TextArea,
|
||||
} from 'antdv-next';
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import { computed, ref, watch } from 'vue';
|
|||
|
||||
import { IconifyIcon } from '@vben/icons';
|
||||
|
||||
import { Col, Divider, message, Select, Tag } from 'antdv-next';
|
||||
import { Col, Divider, message, Select, SelectOption, Tag } from 'antdv-next';
|
||||
|
||||
import {
|
||||
createPropertyValue,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import { IconifyIcon } from '@vben/icons';
|
|||
import { useAccessStore } from '@vben/stores';
|
||||
import { isEmpty } from '@vben/utils';
|
||||
|
||||
import { message, RadioGroup } from 'antdv-next';
|
||||
import { message, RadioButton, RadioGroup } from 'antdv-next';
|
||||
|
||||
import { updateDiyPageProperty } from '#/api/mall/promotion/diy/page';
|
||||
import {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import type { MpAccountApi } from '#/api/mp/account';
|
|||
import { onMounted, ref } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
import { message, Select } from 'antdv-next';
|
||||
import { message, Select, SelectOption } from 'antdv-next';
|
||||
|
||||
import { getSimpleAccountList } from '#/api/mp/account';
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ import {
|
|||
Button,
|
||||
Divider,
|
||||
Form,
|
||||
FormItem,
|
||||
Input,
|
||||
message,
|
||||
Modal,
|
||||
|
|
|
|||
|
|
@ -3,7 +3,16 @@ import { computed, ref } from 'vue';
|
|||
|
||||
import { IconifyIcon } from '@vben/icons';
|
||||
|
||||
import { Button, Col, Input, message, Modal, Row, Select } from 'antdv-next';
|
||||
import {
|
||||
Button,
|
||||
Col,
|
||||
Input,
|
||||
message,
|
||||
Modal,
|
||||
Row,
|
||||
Select,
|
||||
SelectOption,
|
||||
} from 'antdv-next';
|
||||
|
||||
import { WxMaterialSelect, WxNews, WxReply } from '#/views/mp/components';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue