chore: 更改导入位置
This commit is contained in:
@@ -3,7 +3,7 @@ import type { Recordable } from '@vben/types';
|
|||||||
|
|
||||||
import { Popconfirm } from 'ant-design-vue';
|
import { Popconfirm } from 'ant-design-vue';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import { forceLogout2, onlineDeviceList } from '#/api/monitor/online';
|
import { forceLogout2, onlineDeviceList } from '#/api/monitor/online';
|
||||||
import { columns } from '#/views/monitor/online/data';
|
import { columns } from '#/views/monitor/online/data';
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import { useVbenModal } from '@vben/common-ui';
|
|||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { cloneDeep } from '@vben/utils';
|
import { cloneDeep } from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
|
|
||||||
import { demoAdd, demoInfo, demoUpdate } from './api';
|
import { demoAdd, demoInfo, demoUpdate } from './api';
|
||||||
import { modalSchema } from './data';
|
import { modalSchema } from './data';
|
||||||
|
@@ -9,7 +9,7 @@ import { getPopupContainer } from '@vben/utils';
|
|||||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import { downloadExcel } from '#/utils/file/download';
|
import { downloadExcel } from '#/utils/file/download';
|
||||||
|
|
||||||
import { demoExport, demoList, demoRemove } from './api';
|
import { demoExport, demoList, demoRemove } from './api';
|
||||||
|
@@ -8,7 +8,7 @@ import { getPopupContainer, listToTree } from '@vben/utils';
|
|||||||
|
|
||||||
import { Popconfirm, Space } from 'ant-design-vue';
|
import { Popconfirm, Space } from 'ant-design-vue';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { treeList, treeRemove } from './api';
|
import { treeList, treeRemove } from './api';
|
||||||
import { columns, querySchema } from './data';
|
import { columns, querySchema } from './data';
|
||||||
|
@@ -5,7 +5,7 @@ import { useVbenModal } from '@vben/common-ui';
|
|||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { cloneDeep, listToTree } from '@vben/utils';
|
import { cloneDeep, listToTree } from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
|
|
||||||
import { treeAdd, treeInfo, treeList, treeUpdate } from './api';
|
import { treeAdd, treeInfo, treeList, treeUpdate } from './api';
|
||||||
import { modalSchema } from './data';
|
import { modalSchema } from './data';
|
||||||
|
@@ -1,10 +1,11 @@
|
|||||||
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import type { DescItem } from '#/components/description';
|
import type { DescItem } from '#/components/description';
|
||||||
|
|
||||||
import type { VNode } from 'vue';
|
import type { VNode } from 'vue';
|
||||||
|
|
||||||
import { DictEnum } from '@vben/constants';
|
import { DictEnum } from '@vben/constants';
|
||||||
|
|
||||||
|
import { type FormSchemaGetter } from '#/adapter/form';
|
||||||
import { getDictOptions } from '#/utils/dict';
|
import { getDictOptions } from '#/utils/dict';
|
||||||
import { renderBrowserIcon, renderDict, renderOsIcon } from '#/utils/render';
|
import { renderBrowserIcon, renderDict, renderOsIcon } from '#/utils/render';
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ import { getPopupContainer } from '@vben/utils';
|
|||||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
loginInfoClean,
|
loginInfoClean,
|
||||||
loginInfoExport,
|
loginInfoExport,
|
||||||
|
@@ -1,9 +1,10 @@
|
|||||||
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import type { VNode } from 'vue';
|
import type { VNode } from 'vue';
|
||||||
|
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
|
import { type FormSchemaGetter } from '#/adapter/form';
|
||||||
import { renderBrowserIcon, renderOsIcon } from '#/utils/render';
|
import { renderBrowserIcon, renderOsIcon } from '#/utils/render';
|
||||||
|
|
||||||
export const querySchema: FormSchemaGetter = () => [
|
export const querySchema: FormSchemaGetter = () => [
|
||||||
|
@@ -6,7 +6,7 @@ import { getPopupContainer } from '@vben/utils';
|
|||||||
|
|
||||||
import { Popconfirm } from 'ant-design-vue';
|
import { Popconfirm } from 'ant-design-vue';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import { forceLogout, onlineList } from '#/api/monitor/online';
|
import { forceLogout, onlineList } from '#/api/monitor/online';
|
||||||
|
|
||||||
import { columns, querySchema } from './data';
|
import { columns, querySchema } from './data';
|
||||||
|
@@ -1,10 +1,11 @@
|
|||||||
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import type { DescItem } from '#/components/description';
|
import type { DescItem } from '#/components/description';
|
||||||
|
|
||||||
import { DictEnum } from '@vben/constants';
|
import { DictEnum } from '@vben/constants';
|
||||||
|
|
||||||
import { Tag } from 'ant-design-vue';
|
import { Tag } from 'ant-design-vue';
|
||||||
|
|
||||||
|
import { type FormSchemaGetter } from '#/adapter/form';
|
||||||
import { getDictOptions } from '#/utils/dict';
|
import { getDictOptions } from '#/utils/dict';
|
||||||
import {
|
import {
|
||||||
renderDict,
|
renderDict,
|
||||||
|
@@ -12,7 +12,7 @@ import { Modal, Space } from 'ant-design-vue';
|
|||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
import { isEmpty } from 'lodash-es';
|
import { isEmpty } from 'lodash-es';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
operLogClean,
|
operLogClean,
|
||||||
operLogDelete,
|
operLogDelete,
|
||||||
|
@@ -5,7 +5,7 @@ import { useVbenDrawer } from '@vben/common-ui';
|
|||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { cloneDeep } from '@vben/utils';
|
import { cloneDeep } from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import { clientAdd, clientInfo, clientUpdate } from '#/api/system/client';
|
import { clientAdd, clientInfo, clientUpdate } from '#/api/system/client';
|
||||||
|
|
||||||
import { drawerSchema } from './data';
|
import { drawerSchema } from './data';
|
||||||
|
@@ -1,8 +1,9 @@
|
|||||||
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { DictEnum } from '@vben/constants';
|
import { DictEnum } from '@vben/constants';
|
||||||
import { getPopupContainer } from '@vben/utils';
|
import { getPopupContainer } from '@vben/utils';
|
||||||
|
|
||||||
|
import { type FormSchemaGetter } from '#/adapter/form';
|
||||||
import { getDict, getDictOptions } from '#/utils/dict';
|
import { getDict, getDictOptions } from '#/utils/dict';
|
||||||
import { renderDict, renderDictTags } from '#/utils/render';
|
import { renderDict, renderDictTags } from '#/utils/render';
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ import { getPopupContainer } from '@vben/utils';
|
|||||||
|
|
||||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
clientChangeStatus,
|
clientChangeStatus,
|
||||||
clientExport,
|
clientExport,
|
||||||
|
@@ -5,7 +5,7 @@ import { useVbenModal } from '@vben/common-ui';
|
|||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { cloneDeep } from '@vben/utils';
|
import { cloneDeep } from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import { configAdd, configInfo, configUpdate } from '#/api/system/config';
|
import { configAdd, configInfo, configUpdate } from '#/api/system/config';
|
||||||
|
|
||||||
import { modalSchema } from './data';
|
import { modalSchema } from './data';
|
||||||
|
@@ -1,8 +1,9 @@
|
|||||||
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { DictEnum } from '@vben/constants';
|
import { DictEnum } from '@vben/constants';
|
||||||
import { getPopupContainer } from '@vben/utils';
|
import { getPopupContainer } from '@vben/utils';
|
||||||
|
|
||||||
|
import { type FormSchemaGetter } from '#/adapter/form';
|
||||||
import { getDictOptions } from '#/utils/dict';
|
import { getDictOptions } from '#/utils/dict';
|
||||||
import { renderDict } from '#/utils/render';
|
import { renderDict } from '#/utils/render';
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ import { getPopupContainer } from '@vben/utils';
|
|||||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
configExport,
|
configExport,
|
||||||
configList,
|
configList,
|
||||||
|
@@ -1,7 +1,9 @@
|
|||||||
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { DictEnum } from '@vben/constants';
|
import { DictEnum } from '@vben/constants';
|
||||||
import { getPopupContainer } from '@vben/utils';
|
import { getPopupContainer } from '@vben/utils';
|
||||||
|
|
||||||
import { type FormSchemaGetter, type VxeGridProps, z } from '#/adapter';
|
import { type FormSchemaGetter, z } from '#/adapter/form';
|
||||||
import { getDictOptions } from '#/utils/dict';
|
import { getDictOptions } from '#/utils/dict';
|
||||||
import { renderDict } from '#/utils/render';
|
import { renderDict } from '#/utils/render';
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import { useVbenDrawer } from '@vben/common-ui';
|
|||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { addFullName, cloneDeep, listToTree } from '@vben/utils';
|
import { addFullName, cloneDeep, listToTree } from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import {
|
import {
|
||||||
deptAdd,
|
deptAdd,
|
||||||
deptInfo,
|
deptInfo,
|
||||||
|
@@ -14,7 +14,7 @@ import {
|
|||||||
import { QuestionCircleOutlined } from '@ant-design/icons-vue';
|
import { QuestionCircleOutlined } from '@ant-design/icons-vue';
|
||||||
import { Popconfirm, Space, Tooltip } from 'ant-design-vue';
|
import { Popconfirm, Space, Tooltip } from 'ant-design-vue';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import { deptList, deptRemove } from '#/api/system/dept';
|
import { deptList, deptRemove } from '#/api/system/dept';
|
||||||
|
|
||||||
import { columns, querySchema } from './data';
|
import { columns, querySchema } from './data';
|
||||||
|
@@ -1,9 +1,10 @@
|
|||||||
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { reactive } from 'vue';
|
import { reactive } from 'vue';
|
||||||
|
|
||||||
import { getPopupContainer } from '@vben/utils';
|
import { getPopupContainer } from '@vben/utils';
|
||||||
|
|
||||||
|
import { type FormSchemaGetter } from '#/adapter/form';
|
||||||
import { dictOptionSelectList } from '#/api/system/dict/dict-type';
|
import { dictOptionSelectList } from '#/api/system/dict/dict-type';
|
||||||
import { renderDictTag } from '#/utils/render';
|
import { renderDictTag } from '#/utils/render';
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import { useVbenDrawer } from '@vben/common-ui';
|
|||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { cloneDeep } from '@vben/utils';
|
import { cloneDeep } from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import {
|
import {
|
||||||
dictDataAdd,
|
dictDataAdd,
|
||||||
dictDataUpdate,
|
dictDataUpdate,
|
||||||
|
@@ -9,7 +9,7 @@ import { getPopupContainer } from '@vben/utils';
|
|||||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
dictDataExport,
|
dictDataExport,
|
||||||
dictDataList,
|
dictDataList,
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
import { type FormSchemaGetter, type VxeGridProps, z } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
|
import { type FormSchemaGetter, z } from '#/adapter/form';
|
||||||
|
|
||||||
export const querySchema: FormSchemaGetter = () => [
|
export const querySchema: FormSchemaGetter = () => [
|
||||||
{
|
{
|
||||||
|
@@ -5,7 +5,7 @@ import { useVbenModal } from '@vben/common-ui';
|
|||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { cloneDeep } from '@vben/utils';
|
import { cloneDeep } from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import {
|
import {
|
||||||
dictTypeAdd,
|
dictTypeAdd,
|
||||||
dictTypeInfo,
|
dictTypeInfo,
|
||||||
|
@@ -18,7 +18,7 @@ import {
|
|||||||
} from 'ant-design-vue';
|
} from 'ant-design-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
dictTypeExport,
|
dictTypeExport,
|
||||||
dictTypeList,
|
dictTypeList,
|
||||||
|
@@ -1,8 +1,10 @@
|
|||||||
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { DictEnum } from '@vben/constants';
|
import { DictEnum } from '@vben/constants';
|
||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { getPopupContainer } from '@vben/utils';
|
import { getPopupContainer } from '@vben/utils';
|
||||||
|
|
||||||
import { type FormSchemaGetter, type VxeGridProps, z } from '#/adapter';
|
import { type FormSchemaGetter, z } from '#/adapter/form';
|
||||||
import { getDictOptions } from '#/utils/dict';
|
import { getDictOptions } from '#/utils/dict';
|
||||||
import { renderDict, renderIcon } from '#/utils/render';
|
import { renderDict, renderIcon } from '#/utils/render';
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@ import {
|
|||||||
|
|
||||||
import { Popconfirm, Space, Tooltip } from 'ant-design-vue';
|
import { Popconfirm, Space, Tooltip } from 'ant-design-vue';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import { menuList, menuRemove } from '#/api/system/menu';
|
import { menuList, menuRemove } from '#/api/system/menu';
|
||||||
|
|
||||||
import { columns, querySchema } from './data';
|
import { columns, querySchema } from './data';
|
||||||
|
@@ -10,7 +10,7 @@ import {
|
|||||||
listToTree,
|
listToTree,
|
||||||
} from '@vben/utils';
|
} from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import { menuAdd, menuInfo, menuList, menuUpdate } from '#/api/system/menu';
|
import { menuAdd, menuInfo, menuList, menuUpdate } from '#/api/system/menu';
|
||||||
|
|
||||||
import { drawerSchema } from './data';
|
import { drawerSchema } from './data';
|
||||||
|
@@ -1,8 +1,9 @@
|
|||||||
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { DictEnum } from '@vben/constants';
|
import { DictEnum } from '@vben/constants';
|
||||||
import { getPopupContainer } from '@vben/utils';
|
import { getPopupContainer } from '@vben/utils';
|
||||||
|
|
||||||
|
import { type FormSchemaGetter } from '#/adapter/form';
|
||||||
import { getDictOptions } from '#/utils/dict';
|
import { getDictOptions } from '#/utils/dict';
|
||||||
import { renderDict } from '#/utils/render';
|
import { renderDict } from '#/utils/render';
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ import { getPopupContainer } from '@vben/utils';
|
|||||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import { noticeList, noticeRemove } from '#/api/system/notice';
|
import { noticeList, noticeRemove } from '#/api/system/notice';
|
||||||
|
|
||||||
import { columns, querySchema } from './data';
|
import { columns, querySchema } from './data';
|
||||||
|
@@ -5,7 +5,7 @@ import { useVbenModal } from '@vben/common-ui';
|
|||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { cloneDeep } from '@vben/utils';
|
import { cloneDeep } from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import { noticeAdd, noticeInfo, noticeUpdate } from '#/api/system/notice';
|
import { noticeAdd, noticeInfo, noticeUpdate } from '#/api/system/notice';
|
||||||
|
|
||||||
import { modalSchema } from './data';
|
import { modalSchema } from './data';
|
||||||
|
@@ -1,8 +1,10 @@
|
|||||||
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { DictEnum } from '@vben/constants';
|
import { DictEnum } from '@vben/constants';
|
||||||
|
|
||||||
import { Tag } from 'ant-design-vue';
|
import { Tag } from 'ant-design-vue';
|
||||||
|
|
||||||
import { type FormSchemaGetter, type VxeGridProps, z } from '#/adapter';
|
import { type FormSchemaGetter, z } from '#/adapter/form';
|
||||||
import { getDictOptions } from '#/utils/dict';
|
import { getDictOptions } from '#/utils/dict';
|
||||||
|
|
||||||
const accessPolicyOptions = [
|
const accessPolicyOptions = [
|
||||||
|
@@ -10,7 +10,7 @@ import { getPopupContainer } from '@vben/utils';
|
|||||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
ossConfigChangeStatus,
|
ossConfigChangeStatus,
|
||||||
ossConfigList,
|
ossConfigList,
|
||||||
|
@@ -5,7 +5,7 @@ import { useVbenDrawer } from '@vben/common-ui';
|
|||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { cloneDeep } from '@vben/utils';
|
import { cloneDeep } from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import {
|
import {
|
||||||
ossConfigAdd,
|
ossConfigAdd,
|
||||||
ossConfigInfo,
|
ossConfigInfo,
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
|
import { type FormSchemaGetter } from '#/adapter/form';
|
||||||
|
|
||||||
export const querySchema: FormSchemaGetter = () => [
|
export const querySchema: FormSchemaGetter = () => [
|
||||||
{
|
{
|
||||||
|
@@ -20,7 +20,7 @@ import {
|
|||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
import { isEmpty } from 'lodash-es';
|
import { isEmpty } from 'lodash-es';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import { configInfoByKey } from '#/api/system/config';
|
import { configInfoByKey } from '#/api/system/config';
|
||||||
import { ossDownload, ossList, ossRemove } from '#/api/system/oss';
|
import { ossDownload, ossList, ossRemove } from '#/api/system/oss';
|
||||||
import { downloadByData } from '#/utils/file/download';
|
import { downloadByData } from '#/utils/file/download';
|
||||||
|
@@ -1,7 +1,9 @@
|
|||||||
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { DictEnum } from '@vben/constants';
|
import { DictEnum } from '@vben/constants';
|
||||||
import { getPopupContainer } from '@vben/utils';
|
import { getPopupContainer } from '@vben/utils';
|
||||||
|
|
||||||
import { type FormSchemaGetter, type VxeGridProps } from '#/adapter';
|
import { type FormSchemaGetter } from '#/adapter/form';
|
||||||
import { getDictOptions } from '#/utils/dict';
|
import { getDictOptions } from '#/utils/dict';
|
||||||
import { renderDict } from '#/utils/render';
|
import { renderDict } from '#/utils/render';
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ import { getPopupContainer } from '@vben/utils';
|
|||||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import { postExport, postList, postRemove } from '#/api/system/post';
|
import { postExport, postList, postRemove } from '#/api/system/post';
|
||||||
import { downloadExcel } from '#/utils/file/download';
|
import { downloadExcel } from '#/utils/file/download';
|
||||||
import DeptTree from '#/views/system/user/dept-tree.vue';
|
import DeptTree from '#/views/system/user/dept-tree.vue';
|
||||||
|
@@ -5,7 +5,7 @@ import { useVbenDrawer } from '@vben/common-ui';
|
|||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { addFullName, cloneDeep } from '@vben/utils';
|
import { addFullName, cloneDeep } from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import { postAdd, postInfo, postUpdate } from '#/api/system/post';
|
import { postAdd, postInfo, postUpdate } from '#/api/system/post';
|
||||||
import { getDeptTree } from '#/api/system/user';
|
import { getDeptTree } from '#/api/system/user';
|
||||||
|
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
|
import { type FormSchemaGetter } from '#/adapter/form';
|
||||||
|
|
||||||
export const querySchema: FormSchemaGetter = () => [
|
export const querySchema: FormSchemaGetter = () => [
|
||||||
{
|
{
|
||||||
|
@@ -9,7 +9,7 @@ import { getPopupContainer } from '@vben/utils';
|
|||||||
|
|
||||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
roleAllocatedList,
|
roleAllocatedList,
|
||||||
roleAuthCancel,
|
roleAuthCancel,
|
||||||
|
@@ -1,10 +1,11 @@
|
|||||||
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { DictEnum } from '@vben/constants';
|
import { DictEnum } from '@vben/constants';
|
||||||
import { getPopupContainer } from '@vben/utils';
|
import { getPopupContainer } from '@vben/utils';
|
||||||
|
|
||||||
import { Tag } from 'ant-design-vue';
|
import { Tag } from 'ant-design-vue';
|
||||||
|
|
||||||
|
import { type FormSchemaGetter } from '#/adapter/form';
|
||||||
import { getDictOptions } from '#/utils/dict';
|
import { getDictOptions } from '#/utils/dict';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -23,7 +23,7 @@ import {
|
|||||||
} from 'ant-design-vue';
|
} from 'ant-design-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
roleChangeStatus,
|
roleChangeStatus,
|
||||||
roleExport,
|
roleExport,
|
||||||
|
@@ -4,7 +4,7 @@ import { ref } from 'vue';
|
|||||||
import { useVbenModal } from '@vben/common-ui';
|
import { useVbenModal } from '@vben/common-ui';
|
||||||
import { cloneDeep } from '@vben/utils';
|
import { cloneDeep } from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import { roleDataScope, roleDeptTree, roleInfo } from '#/api/system/role';
|
import { roleDataScope, roleDeptTree, roleInfo } from '#/api/system/role';
|
||||||
import { TreeSelectPanel } from '#/components/tree';
|
import { TreeSelectPanel } from '#/components/tree';
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import { useVbenDrawer } from '@vben/common-ui';
|
|||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { cloneDeep, eachTree } from '@vben/utils';
|
import { cloneDeep, eachTree } from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import { menuTreeSelect, roleMenuTreeSelect } from '#/api/system/menu';
|
import { menuTreeSelect, roleMenuTreeSelect } from '#/api/system/menu';
|
||||||
import { roleAdd, roleInfo, roleUpdate } from '#/api/system/role';
|
import { roleAdd, roleInfo, roleUpdate } from '#/api/system/role';
|
||||||
import { TreeSelectPanel } from '#/components/tree';
|
import { TreeSelectPanel } from '#/components/tree';
|
||||||
|
@@ -1,8 +1,10 @@
|
|||||||
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { getPopupContainer } from '@vben/utils';
|
import { getPopupContainer } from '@vben/utils';
|
||||||
|
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { type FormSchemaGetter, type VxeGridProps, z } from '#/adapter';
|
import { type FormSchemaGetter, z } from '#/adapter/form';
|
||||||
|
|
||||||
export const querySchema: FormSchemaGetter = () => [
|
export const querySchema: FormSchemaGetter = () => [
|
||||||
{
|
{
|
||||||
|
@@ -11,7 +11,7 @@ import { getPopupContainer } from '@vben/utils';
|
|||||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
tenantExport,
|
tenantExport,
|
||||||
tenantList,
|
tenantList,
|
||||||
|
@@ -7,7 +7,7 @@ import { cloneDeep } from '@vben/utils';
|
|||||||
|
|
||||||
import { Tag } from 'ant-design-vue';
|
import { Tag } from 'ant-design-vue';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import { tenantAdd, tenantInfo, tenantUpdate } from '#/api/system/tenant';
|
import { tenantAdd, tenantInfo, tenantUpdate } from '#/api/system/tenant';
|
||||||
import { packageSelectList } from '#/api/system/tenant-package';
|
import { packageSelectList } from '#/api/system/tenant-package';
|
||||||
import { useTenantStore } from '#/store/tenant';
|
import { useTenantStore } from '#/store/tenant';
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
|
import { type FormSchemaGetter } from '#/adapter/form';
|
||||||
|
|
||||||
export const querySchema: FormSchemaGetter = () => [
|
export const querySchema: FormSchemaGetter = () => [
|
||||||
{
|
{
|
||||||
|
@@ -11,7 +11,7 @@ import { getPopupContainer } from '@vben/utils';
|
|||||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
packageChangeStatus,
|
packageChangeStatus,
|
||||||
packageExport,
|
packageExport,
|
||||||
|
@@ -5,7 +5,7 @@ import { useVbenDrawer } from '@vben/common-ui';
|
|||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { cloneDeep, eachTree, listToTree } from '@vben/utils';
|
import { cloneDeep, eachTree, listToTree } from '@vben/utils';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import { menuList, tenantPackageMenuTreeSelect } from '#/api/system/menu';
|
import { menuList, tenantPackageMenuTreeSelect } from '#/api/system/menu';
|
||||||
import {
|
import {
|
||||||
packageAdd,
|
packageAdd,
|
||||||
|
@@ -1,7 +1,9 @@
|
|||||||
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { DictEnum } from '@vben/constants';
|
import { DictEnum } from '@vben/constants';
|
||||||
import { getPopupContainer } from '@vben/utils';
|
import { getPopupContainer } from '@vben/utils';
|
||||||
|
|
||||||
import { type FormSchemaGetter, type VxeGridProps, z } from '#/adapter';
|
import { type FormSchemaGetter, z } from '#/adapter/form';
|
||||||
import { getDictOptions } from '#/utils/dict';
|
import { getDictOptions } from '#/utils/dict';
|
||||||
|
|
||||||
export const querySchema: FormSchemaGetter = () => [
|
export const querySchema: FormSchemaGetter = () => [
|
||||||
|
@@ -24,7 +24,7 @@ import {
|
|||||||
} from 'ant-design-vue';
|
} from 'ant-design-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
userExport,
|
userExport,
|
||||||
userList,
|
userList,
|
||||||
|
@@ -9,7 +9,7 @@ import { addFullName, cloneDeep, getPopupContainer } from '@vben/utils';
|
|||||||
|
|
||||||
import { Tag } from 'ant-design-vue';
|
import { Tag } from 'ant-design-vue';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import { configInfoByKey } from '#/api/system/config';
|
import { configInfoByKey } from '#/api/system/config';
|
||||||
import { postOptionSelect } from '#/api/system/post';
|
import { postOptionSelect } from '#/api/system/post';
|
||||||
import {
|
import {
|
||||||
|
@@ -3,7 +3,7 @@ import type { Recordable } from '@vben/types';
|
|||||||
|
|
||||||
import { useVbenModal, z } from '@vben/common-ui';
|
import { useVbenModal, z } from '@vben/common-ui';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import { userResetPassword } from '#/api/system/user';
|
import { userResetPassword } from '#/api/system/user';
|
||||||
import { Description, useDescription } from '#/components/description';
|
import { Description, useDescription } from '#/components/description';
|
||||||
|
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
|
import { type FormSchemaGetter } from '#/adapter/form';
|
||||||
|
|
||||||
export const querySchema: FormSchemaGetter = () => [
|
export const querySchema: FormSchemaGetter = () => [
|
||||||
{
|
{
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { getPopupContainer } from '@vben/utils';
|
import { getPopupContainer } from '@vben/utils';
|
||||||
|
|
||||||
import { type FormSchemaGetter, z } from '#/adapter';
|
import { type FormSchemaGetter, z } from '#/adapter/form';
|
||||||
|
|
||||||
export const formSchema: FormSchemaGetter = () => [
|
export const formSchema: FormSchemaGetter = () => [
|
||||||
{
|
{
|
||||||
|
@@ -6,7 +6,7 @@ import { inject, type Ref, unref } from 'vue';
|
|||||||
import { message, Space } from 'ant-design-vue';
|
import { message, Space } from 'ant-design-vue';
|
||||||
import { cloneDeep } from 'lodash-es';
|
import { cloneDeep } from 'lodash-es';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import { editSave } from '#/api/tool/gen';
|
import { editSave } from '#/api/tool/gen';
|
||||||
|
|
||||||
import { toCurrentStep } from '../mitt';
|
import { toCurrentStep } from '../mitt';
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import type { Recordable } from '@vben/types';
|
import type { Recordable } from '@vben/types';
|
||||||
|
|
||||||
import type { VxeGridProps } from '#/adapter';
|
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { reactive } from 'vue';
|
import { reactive } from 'vue';
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ import { Page, useVbenModal, type VbenFormProps } from '@vben/common-ui';
|
|||||||
import { message, Modal, Popconfirm, Space } from 'ant-design-vue';
|
import { message, Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
batchGenCode,
|
batchGenCode,
|
||||||
generatedList,
|
generatedList,
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useVbenModal, type VbenFormProps } from '@vben/common-ui';
|
import { useVbenModal, type VbenFormProps } from '@vben/common-ui';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
getDataSourceNames,
|
getDataSourceNames,
|
||||||
importTable,
|
importTable,
|
||||||
|
@@ -3,7 +3,7 @@ import { Page, useVbenModal } from '@vben/common-ui';
|
|||||||
|
|
||||||
import { Space } from 'ant-design-vue';
|
import { Space } from 'ant-design-vue';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter';
|
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||||
|
|
||||||
import { sseList } from './api';
|
import { sseList } from './api';
|
||||||
import sendMsgModal from './send-msg-modal.vue';
|
import sendMsgModal from './send-msg-modal.vue';
|
||||||
|
@@ -3,7 +3,7 @@ import { computed, ref } from 'vue';
|
|||||||
|
|
||||||
import { useVbenModal } from '@vben/common-ui';
|
import { useVbenModal } from '@vben/common-ui';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
|
|
||||||
import { sseSendAll, sseSendByUserId } from './api';
|
import { sseSendAll, sseSendByUserId } from './api';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user