mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 04:29:20 +08:00
refactor: 调整api和页面组件位置
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { PddOrderVO } from '#/api/ecommerce/pdd/order';
|
||||
import type { PddOrderVO } from '#/api/channel/pdd/order';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
message,
|
||||
} from 'ant-design-vue';
|
||||
|
||||
import { getPddOrderDetailApi } from '#/api/ecommerce/pdd/order';
|
||||
import { getPddOrderDetailApi } from '#/api/channel/pdd/order';
|
||||
|
||||
defineOptions({ name: 'PddOrderDetailDrawer' });
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts" setup>
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { PddOrderDTO, PddOrderVO } from '#/api/ecommerce/pdd/order';
|
||||
import type { ShopDTO, ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { PddOrderDTO, PddOrderVO } from '#/api/channel/pdd/order';
|
||||
import type { ShopDTO, ShopVO } from '#/api/ec/shop/types';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
@@ -13,8 +13,8 @@ import dayjs from 'dayjs';
|
||||
import { Button, Image, Space, Tag, Tooltip, message } from 'ant-design-vue';
|
||||
|
||||
import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import { getPddOrderPageApi } from '#/api/ecommerce/pdd/order';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop';
|
||||
import { getPddOrderPageApi } from '#/api/channel/pdd/order';
|
||||
import { getShopPageApi } from '#/api/ec/shop';
|
||||
|
||||
import PddOrderDetailDrawer from './components/PddOrderDetailDrawer.vue';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import type { CompanyVO } from '#/api/organization/company/types';
|
||||
import type { CompanyVO } from '#/api/company/types';
|
||||
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
|
||||
@@ -25,8 +25,8 @@ import {
|
||||
batchUpdateCompanyMenusApi,
|
||||
getCompanyMenusApi,
|
||||
getCompanyMenuIdsApi,
|
||||
} from '#/api/organization/company-menu/apis';
|
||||
import { getCompanyPageApi } from '#/api/organization/company';
|
||||
} from '#/api/company/menu/apis';
|
||||
import { getCompanyPageApi } from '#/api/company';
|
||||
import {
|
||||
SIDEBAR_LIST_SHELL_CLASS,
|
||||
sidebarListRowClass,
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import type { PermissionVO } from '#/api/system/permission/types';
|
||||
import type { PermissionVO } from '#/api/sys/permission/types';
|
||||
|
||||
import { createIconifyIcon } from '@vben/icons';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { CompanyVO } from '#/api/organization/company/types';
|
||||
import type { PermissionVO } from '#/api/system/permission/types';
|
||||
import type { CompanyVO } from '#/api/company/types';
|
||||
import type { PermissionVO } from '#/api/sys/permission/types';
|
||||
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
|
||||
@@ -24,9 +24,9 @@ import {
|
||||
import {
|
||||
batchUpdateCompanyPermissionsApi,
|
||||
getCompanyPermissionIdsApi,
|
||||
} from '#/api/organization/company-permission/apis';
|
||||
import { getCompanyPageApi } from '#/api/organization/company';
|
||||
import { getPermissionTreeApi } from '#/api/system/permission';
|
||||
} from '#/api/company/permission/apis';
|
||||
import { getCompanyPageApi } from '#/api/company';
|
||||
import { getPermissionTreeApi } from '#/api/sys/permission';
|
||||
|
||||
import TreeNodeContent from './components/TreeNodeContent.vue';
|
||||
import {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { ImportMappingVO } from '#/api/ecommerce/import-mapping';
|
||||
import type { ImportMappingVO } from '#/api/ec/import/mapping';
|
||||
|
||||
import { ref } from 'vue';
|
||||
|
||||
@@ -13,8 +13,8 @@ import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import {
|
||||
deleteImportMappingApi,
|
||||
getImportMappingPageApi,
|
||||
} from '#/api/ecommerce/import-mapping';
|
||||
import { ImportMappingType } from '#/api/ecommerce/import-mapping/types/types.enum';
|
||||
} from '#/api/ec/import/mapping';
|
||||
import { ImportMappingType } from '#/api/ec/import/mapping/types/types.enum';
|
||||
|
||||
import ImportMappingFormModal from '../import-mapping/components/ImportMappingFormModal.vue';
|
||||
|
||||
|
||||
+8
-8
@@ -1,8 +1,8 @@
|
||||
<script setup lang="ts">
|
||||
import type { OrderFieldVO } from '#/api/ecommerce/order/types';
|
||||
import type { ImportMappingVO } from '#/api/ecommerce/import-mapping';
|
||||
import type { ImportMappingType } from '#/api/ecommerce/import-mapping/types/types.enum';
|
||||
import type { OrderStatusVO } from '#/api/ecommerce/order-status';
|
||||
import type { OrderFieldVO } from '#/api/ec/order/types';
|
||||
import type { ImportMappingVO } from '#/api/ec/import/mapping';
|
||||
import type { ImportMappingType } from '#/api/ec/import/mapping/types/types.enum';
|
||||
import type { OrderStatusVO } from '#/api/ec/order/status';
|
||||
|
||||
import { ref } from 'vue';
|
||||
|
||||
@@ -10,13 +10,13 @@ import { useVbenModal } from '@vben/common-ui';
|
||||
|
||||
import { Form, Input, message, Select } from 'ant-design-vue';
|
||||
|
||||
import { getOrderFieldsApi } from '#/api/ecommerce/order';
|
||||
import { getOrderFieldsApi } from '#/api/ec/order';
|
||||
import {
|
||||
createImportMappingApi,
|
||||
updateImportMappingApi,
|
||||
} from '#/api/ecommerce/import-mapping';
|
||||
import { ImportMappingType as MappingTypeEnum } from '#/api/ecommerce/import-mapping/types/types.enum';
|
||||
import { getAllOrderStatusListApi } from '#/api/ecommerce/order-status';
|
||||
} from '#/api/ec/import/mapping';
|
||||
import { ImportMappingType as MappingTypeEnum } from '#/api/ec/import/mapping/types/types.enum';
|
||||
import { getAllOrderStatusListApi } from '#/api/ec/order/status';
|
||||
|
||||
defineOptions({ name: 'ImportMappingFormModal' });
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { ImportMappingVO } from '#/api/ecommerce/import-mapping';
|
||||
import type { ImportMappingVO } from '#/api/ec/import/mapping';
|
||||
|
||||
import { ref } from 'vue';
|
||||
|
||||
@@ -13,8 +13,8 @@ import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import {
|
||||
deleteImportMappingApi,
|
||||
getImportMappingPageApi,
|
||||
} from '#/api/ecommerce/import-mapping';
|
||||
import { ImportMappingType } from '#/api/ecommerce/import-mapping/types/types.enum';
|
||||
} from '#/api/ec/import/mapping';
|
||||
import { ImportMappingType } from '#/api/ec/import/mapping/types/types.enum';
|
||||
|
||||
import ImportMappingFormModal from '../import-mapping/components/ImportMappingFormModal.vue';
|
||||
|
||||
|
||||
@@ -8,16 +8,16 @@ import { createIconifyIcon } from '@vben/icons';
|
||||
import { DatePicker, InputNumber, message, Popover, Select, Spin, Tabs } from 'ant-design-vue';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
import { getPlatformListApi } from '#/api/ecommerce/platform/apis';
|
||||
import type { PlatformVO } from '#/api/ecommerce/platform/types';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop/apis';
|
||||
import type { ShopDTO, ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import { getPlatformListApi } from '#/api/ec/platform/apis';
|
||||
import type { PlatformVO } from '#/api/ec/platform/types';
|
||||
import { getShopPageApi } from '#/api/ec/shop/apis';
|
||||
import type { ShopDTO, ShopVO } from '#/api/ec/shop/types';
|
||||
import {
|
||||
getWorkbenchFinanceApi,
|
||||
getWorkbenchMultiAnalysisApi,
|
||||
getWorkbenchSalesRankApi,
|
||||
} from '#/api/ecommerce/workbench/apis';
|
||||
import type { WorkbenchDTO, WorkbenchVO } from '#/api/ecommerce/workbench/types';
|
||||
} from '#/api/bi/workbench/apis';
|
||||
import type { WorkbenchDTO, WorkbenchVO } from '#/api/bi/workbench/types';
|
||||
import { $t } from '#/locales';
|
||||
import {
|
||||
buildOverviewRouteQuery,
|
||||
|
||||
+3
-3
@@ -9,9 +9,9 @@ import { useDebounceFn } from '@vueuse/core';
|
||||
|
||||
import { EchartsUI, useEcharts } from '@vben/plugins/echarts';
|
||||
|
||||
import { getWorkbenchPeriodCompareSliceApi } from '#/api/ecommerce/workbench/apis';
|
||||
import type { WorkbenchDTO, WorkbenchVO } from '#/api/ecommerce/workbench/types';
|
||||
import type { CompanyOverviewVO } from '#/api/ecommerce/store-overview/types';
|
||||
import { getWorkbenchPeriodCompareSliceApi } from '#/api/bi/workbench/apis';
|
||||
import type { WorkbenchDTO, WorkbenchVO } from '#/api/bi/workbench/types';
|
||||
import type { CompanyOverviewVO } from '#/api/ec/store-overview/types';
|
||||
import OverviewColumnHint from '#/components/overview/OverviewColumnHint.vue';
|
||||
import { normalizeOverviewRangePickerChange } from '#/utils/overview-date-range';
|
||||
import {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { CompanyOverviewVO } from '#/api/ecommerce/store-overview';
|
||||
import type { CompanyOverviewVO } from '#/api/ec/store-overview';
|
||||
|
||||
import { createIconifyIcon } from '@vben/icons';
|
||||
import { computed } from 'vue';
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import type { EchartsUIType } from '@vben/plugins/echarts';
|
||||
import type { WorkbenchVO } from '#/api/ecommerce/workbench/types';
|
||||
import type { WorkbenchVO } from '#/api/bi/workbench/types';
|
||||
|
||||
import { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue';
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { WorkbenchVO } from '#/api/ecommerce/workbench/types';
|
||||
import type { WorkbenchVO } from '#/api/bi/workbench/types';
|
||||
import type { FinanceKpiCardId } from '../kpi-catalog';
|
||||
|
||||
import { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue';
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import type { EchartsUIType } from '@vben/plugins/echarts';
|
||||
import type { WorkbenchVO } from '#/api/ecommerce/workbench/types';
|
||||
import type { WorkbenchVO } from '#/api/bi/workbench/types';
|
||||
|
||||
import { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue';
|
||||
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
<script lang="ts" setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
import type { CompanyOverviewVO } from '#/api/ecommerce/store-overview';
|
||||
import type { WorkbenchDTO } from '#/api/ecommerce/workbench/types';
|
||||
import type { CompanyOverviewVO } from '#/api/ec/store-overview';
|
||||
import type { WorkbenchDTO } from '#/api/bi/workbench/types';
|
||||
|
||||
import { message, Segmented } from 'ant-design-vue';
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import { computed, ref } from 'vue';
|
||||
import type { CompanyOverviewVO } from '#/api/ecommerce/store-overview';
|
||||
import type { CompanyOverviewVO } from '#/api/ec/store-overview';
|
||||
|
||||
import { formatFeeRatioPercent } from '#/utils/overview-fee-ratio';
|
||||
import { formatIntCell, formatNumberCell } from '#/utils/overview-table-cells';
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { CompanyOverviewVO } from '#/api/ecommerce/store-overview';
|
||||
import type { CompanyOverviewVO } from '#/api/ec/store-overview';
|
||||
|
||||
import { createIconifyIcon } from '@vben/icons';
|
||||
import { computed } from 'vue';
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import type { WorkbenchDTO, WorkbenchVO } from '#/api/ecommerce/workbench/types';
|
||||
import type { CompanyOverviewVO } from '#/api/ecommerce/store-overview';
|
||||
import type { WorkbenchDTO, WorkbenchVO } from '#/api/bi/workbench/types';
|
||||
import type { CompanyOverviewVO } from '#/api/ec/store-overview';
|
||||
|
||||
import { computed, nextTick, ref } from 'vue';
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<script lang="ts" setup>
|
||||
import type { EchartsUIType } from '@vben/plugins/echarts';
|
||||
|
||||
import type { WorkbenchVO } from '#/api/ecommerce/workbench/types';
|
||||
import type { WorkbenchVO } from '#/api/bi/workbench/types';
|
||||
|
||||
import { computed, nextTick, onMounted, ref, watch } from 'vue';
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { WorkbenchVO } from '#/api/ecommerce/workbench/types';
|
||||
import type { WorkbenchVO } from '#/api/bi/workbench/types';
|
||||
|
||||
import { nextTick, ref } from 'vue';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { WorkbenchVO } from '#/api/ecommerce/workbench/types';
|
||||
import type { WorkbenchVO } from '#/api/bi/workbench/types';
|
||||
|
||||
import { nextTick, ref } from 'vue';
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { WorkbenchVO } from '#/api/ecommerce/workbench/types';
|
||||
import type { WorkbenchVO } from '#/api/bi/workbench/types';
|
||||
|
||||
import { nextTick, ref } from 'vue';
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { WorkbenchVO } from '#/api/ecommerce/workbench/types';
|
||||
import type { WorkbenchVO } from '#/api/bi/workbench/types';
|
||||
|
||||
import { nextTick, ref } from 'vue';
|
||||
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
import type { CompanyOverviewVO } from '#/api/ecommerce/store-overview';
|
||||
import type { WorkbenchVO } from '#/api/ecommerce/workbench/types';
|
||||
import type { CompanyOverviewVO } from '#/api/ec/store-overview';
|
||||
import type { WorkbenchVO } from '#/api/bi/workbench/types';
|
||||
|
||||
function yuanField(v?: number | null): number {
|
||||
const n = Number(v);
|
||||
|
||||
+8
-8
@@ -1,11 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
import type { BrushOrderDTO, BrushOrderVO } from '#/api/ecommerce/brush-order';
|
||||
import type { BrushOrderDTO, BrushOrderVO } from '#/api/ec/brush-order';
|
||||
import type {
|
||||
ProductSkuDTO,
|
||||
ProductSkuVO,
|
||||
} from '#/api/ecommerce/product-sku/types';
|
||||
import type { ProductDTO, ProductVO } from '#/api/ecommerce/product/types';
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
} from '#/api/ec/product/sku/types';
|
||||
import type { ProductDTO, ProductVO } from '#/api/ec/product/types';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, nextTick, onMounted, ref, watch } from 'vue';
|
||||
@@ -28,10 +28,10 @@ import dayjs from 'dayjs';
|
||||
import {
|
||||
createBrushOrderApi,
|
||||
updateBrushOrderApi,
|
||||
} from '#/api/ecommerce/brush-order';
|
||||
import { getProductPageApi } from '#/api/ecommerce/product';
|
||||
import { getProductSkuPageApi } from '#/api/ecommerce/product-sku';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop';
|
||||
} from '#/api/ec/brush-order';
|
||||
import { getProductPageApi } from '#/api/ec/product';
|
||||
import { getProductSkuPageApi } from '#/api/ec/product/sku';
|
||||
import { getShopPageApi } from '#/api/ec/shop';
|
||||
|
||||
defineOptions({ name: 'BrushOrderFormModal' });
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<script lang="ts" setup>
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { BrushOrderDTO, BrushOrderVO } from '#/api/ecommerce/brush-order';
|
||||
import type { ProductDTO, ProductVO } from '#/api/ecommerce/product/types';
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { BrushOrderDTO, BrushOrderVO } from '#/api/ec/brush-order';
|
||||
import type { ProductDTO, ProductVO } from '#/api/ec/product/types';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, onMounted, ref, watch } from 'vue';
|
||||
@@ -28,9 +28,9 @@ import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import {
|
||||
deleteBrushOrderApi,
|
||||
getBrushOrderPageApi,
|
||||
} from '#/api/ecommerce/brush-order';
|
||||
import { getProductPageApi } from '#/api/ecommerce/product';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop/apis';
|
||||
} from '#/api/ec/brush-order';
|
||||
import { getProductPageApi } from '#/api/ec/product';
|
||||
import { getShopPageApi } from '#/api/ec/shop/apis';
|
||||
|
||||
import BrushOrderFormModal from './components/BrushOrderFormModal.vue';
|
||||
import {
|
||||
|
||||
+10
-10
@@ -1,12 +1,12 @@
|
||||
<script setup lang="ts">
|
||||
import type { OrderFieldVO } from '#/api/ecommerce/order/types';
|
||||
import type { OrderFieldVO } from '#/api/ec/order/types';
|
||||
import type {
|
||||
ImportMappingDTO,
|
||||
ImportMappingVO,
|
||||
} from '#/api/ecommerce/import-mapping';
|
||||
import type { ImportTaskDTO } from '#/api/ecommerce/import-task';
|
||||
import type { OrderStatusVO } from '#/api/ecommerce/order-status';
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
} from '#/api/ec/import/mapping';
|
||||
import type { ImportTaskDTO } from '#/api/ec/import/task';
|
||||
import type { OrderStatusVO } from '#/api/ec/order/status';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
|
||||
import { computed, ref, watch } from 'vue';
|
||||
|
||||
@@ -23,16 +23,16 @@ import {
|
||||
Steps,
|
||||
} from 'ant-design-vue';
|
||||
|
||||
import { getOrderFieldsApi } from '#/api/ecommerce/order';
|
||||
import { getOrderFieldsApi } from '#/api/ec/order';
|
||||
import {
|
||||
createImportMappingApi,
|
||||
getImportMappingPageApi,
|
||||
ImportMappingType,
|
||||
updateImportMappingApi,
|
||||
} from '#/api/ecommerce/import-mapping';
|
||||
import { createImportTaskApi } from '#/api/ecommerce/import-task';
|
||||
import { getAllOrderStatusListApi } from '#/api/ecommerce/order-status';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop';
|
||||
} from '#/api/ec/import/mapping';
|
||||
import { createImportTaskApi } from '#/api/ec/import/task';
|
||||
import { getAllOrderStatusListApi } from '#/api/ec/order/status';
|
||||
import { getShopPageApi } from '#/api/ec/shop';
|
||||
import { useImportTaskStore } from '#/store';
|
||||
import { uploadFileToOss } from '#/utils/oss-upload';
|
||||
import { createPatchedFile } from '../utils/skuCodePatch';
|
||||
|
||||
+8
-8
@@ -1,8 +1,8 @@
|
||||
<script setup lang="ts">
|
||||
import type { PromotionFeeFieldVO } from '#/api/ecommerce/promotion-fee/types';
|
||||
import type { ImportMappingVO } from '#/api/ecommerce/import-mapping';
|
||||
import type { ImportTaskDTO } from '#/api/ecommerce/import-task';
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { PromotionFeeFieldVO } from '#/api/ec/promotion-fee/types';
|
||||
import type { ImportMappingVO } from '#/api/ec/import/mapping';
|
||||
import type { ImportTaskDTO } from '#/api/ec/import/task';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
|
||||
@@ -15,10 +15,10 @@ import {
|
||||
getImportMappingPageApi,
|
||||
ImportMappingType,
|
||||
updateImportMappingApi,
|
||||
} from '#/api/ecommerce/import-mapping';
|
||||
import { getPromotionFeeFieldsApi } from '#/api/ecommerce/promotion-fee/apis';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop';
|
||||
import { createImportTaskApi } from '#/api/ecommerce/import-task';
|
||||
} from '#/api/ec/import/mapping';
|
||||
import { getPromotionFeeFieldsApi } from '#/api/ec/promotion-fee/apis';
|
||||
import { getShopPageApi } from '#/api/ec/shop';
|
||||
import { createImportTaskApi } from '#/api/ec/import/task';
|
||||
import { useImportTaskStore } from '#/store';
|
||||
import { uploadFileToOss } from '#/utils/oss-upload';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
@@ -11,12 +11,12 @@ import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import ImportTaskWizard from './components/ImportTaskWizard.vue';
|
||||
import FileUploadArea from './components/FileUploadArea.vue';
|
||||
import { parseFileToRawData } from '#/views/ec/import/order/utils/fileParser';
|
||||
import { getActivePromotionFeeTypeListApi } from '#/api/ecommerce/promotion-fee-type/apis';
|
||||
import { getCategoryTreeApi } from '#/api/ecommerce/category/apis';
|
||||
import { getProductPageApi } from '#/api/ecommerce/product/apis';
|
||||
import type { PromotionFeeTypeVO } from '#/api/ecommerce/promotion-fee-type/types';
|
||||
import type { CategoryVO } from '#/api/ecommerce/category/types';
|
||||
import type { ProductVO } from '#/api/ecommerce/product/types';
|
||||
import { getActivePromotionFeeTypeListApi } from '#/api/ec/promotion-fee/type/apis';
|
||||
import { getCategoryTreeApi } from '#/api/ec/product/category/apis';
|
||||
import { getProductPageApi } from '#/api/ec/product/apis';
|
||||
import type { PromotionFeeTypeVO } from '#/api/ec/promotion-fee/type/types';
|
||||
import type { CategoryVO } from '#/api/ec/product/category/types';
|
||||
import type { ProductVO } from '#/api/ec/product/types';
|
||||
|
||||
defineOptions({ name: 'PromotionFeeImport' });
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { OrderItemVO, OrderVO } from '#/api/ecommerce/order';
|
||||
import type { OrderItemVO, OrderVO } from '#/api/ec/order';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
message,
|
||||
} from 'ant-design-vue';
|
||||
|
||||
import { getOrderByIdApi } from '#/api/ecommerce/order';
|
||||
import { getOrderByIdApi } from '#/api/ec/order';
|
||||
import PlatformTag from '#/components/platform/PlatformTag.vue';
|
||||
import {
|
||||
getOrderPayAmount,
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<script lang="ts" setup>
|
||||
import type { OrderDTO, OrderVO } from '#/api/ecommerce/order';
|
||||
import type { OrderDTO, OrderVO } from '#/api/ec/order';
|
||||
import type {
|
||||
ProductSkuDTO,
|
||||
ProductSkuVO,
|
||||
} from '#/api/ecommerce/product-sku/types';
|
||||
import type { ProductDTO, ProductVO } from '#/api/ecommerce/product/types';
|
||||
import type { ShopDTO, ShopVO } from '#/api/ecommerce/shop/types';
|
||||
} from '#/api/ec/product/sku/types';
|
||||
import type { ProductDTO, ProductVO } from '#/api/ec/product/types';
|
||||
import type { ShopDTO, ShopVO } from '#/api/ec/shop/types';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { ref } from 'vue';
|
||||
@@ -26,11 +26,11 @@ import dayjs from 'dayjs';
|
||||
import {
|
||||
createOrderApi,
|
||||
updateOrderApi,
|
||||
} from '#/api/ecommerce/order';
|
||||
import { ORDER_STATUS_OPTIONS } from '#/api/ecommerce/order/types/types.enum';
|
||||
import { getProductPageApi } from '#/api/ecommerce/product';
|
||||
import { getProductSkuPageApi } from '#/api/ecommerce/product-sku';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop';
|
||||
} from '#/api/ec/order';
|
||||
import { ORDER_STATUS_OPTIONS } from '#/api/ec/order/types/types.enum';
|
||||
import { getProductPageApi } from '#/api/ec/product';
|
||||
import { getProductSkuPageApi } from '#/api/ec/product/sku';
|
||||
import { getShopPageApi } from '#/api/ec/shop';
|
||||
import {
|
||||
getFirstOrderItem,
|
||||
getOrderPayAmount,
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<script lang="ts" setup>
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { OrderDTO, OrderVO } from '#/api/ecommerce/order';
|
||||
import { ORDER_STATUS_OPTIONS } from '#/api/ecommerce/order/types/types.enum';
|
||||
import type { ProductDTO, ProductVO } from '#/api/ecommerce/product/types';
|
||||
import type { ShopDTO, ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { OrderDTO, OrderVO } from '#/api/ec/order';
|
||||
import { ORDER_STATUS_OPTIONS } from '#/api/ec/order/types/types.enum';
|
||||
import type { ProductDTO, ProductVO } from '#/api/ec/product/types';
|
||||
import type { ShopDTO, ShopVO } from '#/api/ec/shop/types';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
@@ -29,10 +29,10 @@ import {
|
||||
batchDeleteOrdersApi,
|
||||
deleteOrderApi,
|
||||
getOrderPageApi,
|
||||
} from '#/api/ecommerce/order';
|
||||
import { getProductPageApi } from '#/api/ecommerce/product';
|
||||
import { getPlatformListApi } from '#/api/ecommerce/platform';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop';
|
||||
} from '#/api/ec/order';
|
||||
import { getProductPageApi } from '#/api/ec/product';
|
||||
import { getPlatformListApi } from '#/api/ec/platform';
|
||||
import { getShopPageApi } from '#/api/ec/shop';
|
||||
import PlatformTag from '#/components/platform/PlatformTag.vue';
|
||||
import {
|
||||
getFirstOrderItem,
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { CategoryDTO, CategoryVO } from '#/api/ecommerce/category';
|
||||
import type { CategoryDTO, CategoryVO } from '#/api/ec/product/category';
|
||||
|
||||
import { ref, watch } from 'vue';
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
createCategoryApi,
|
||||
getCategoryListApi,
|
||||
updateCategoryApi,
|
||||
} from '#/api/ecommerce/category';
|
||||
} from '#/api/ec/product/category';
|
||||
|
||||
const emit = defineEmits<{
|
||||
cancel: [];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { CategoryVO } from '#/api/ecommerce/category';
|
||||
import type { CategoryVO } from '#/api/ec/product/category';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
|
||||
@@ -13,7 +13,7 @@ import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import {
|
||||
deleteCategoryApi,
|
||||
getCategoryTreeApi,
|
||||
} from '#/api/ecommerce/category';
|
||||
} from '#/api/ec/product/category';
|
||||
|
||||
import CategoryFormModal from './components/CategoryFormModal.vue';
|
||||
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ProductSkuVO } from '#/api/ecommerce/product-sku/types';
|
||||
import type { ProductSkuVO } from '#/api/ec/product/sku/types';
|
||||
|
||||
import { onUnmounted, ref, watch } from 'vue';
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
batchSyncCostsToOrdersApi,
|
||||
countOrdersForCostSyncApi,
|
||||
getProductSkusByIdsApi,
|
||||
} from '#/api/ecommerce/product-sku/apis';
|
||||
} from '#/api/ec/product/sku/apis';
|
||||
|
||||
defineOptions({ name: 'ProductCostSyncToOrdersModal' });
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ProductVO } from '#/api/ecommerce/product/types';
|
||||
import type { ProductVO } from '#/api/ec/product/types';
|
||||
|
||||
import { computed, h, ref } from 'vue';
|
||||
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ProductDTO, ProductVO } from '#/api/ecommerce/product/types';
|
||||
import type { ProductDTO, ProductVO } from '#/api/ec/product/types';
|
||||
|
||||
import type { DropdownRender } from 'ant-design-vue/es/vc-select/BaseSelect';
|
||||
import { computed, h, onUnmounted, ref } from 'vue';
|
||||
@@ -19,8 +19,8 @@ import {
|
||||
} from 'ant-design-vue';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
import { getCategoryTreeApi } from '#/api/ecommerce/category';
|
||||
import { createProductApi, updateProductApi } from '#/api/ecommerce/product';
|
||||
import { getCategoryTreeApi } from '#/api/ec/product/category';
|
||||
import { createProductApi, updateProductApi } from '#/api/ec/product';
|
||||
import { uploadFileToOss } from '#/utils/oss-upload';
|
||||
import CategoryFormModal from '#/views/ecommerce/config/category-config/components/CategoryFormModal.vue';
|
||||
import ProductCostSyncToOrdersModal from '#/views/ecommerce/product/components/ProductCostSyncToOrdersModal.vue';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { ProductDTO, ProductVO } from '#/api/ecommerce/product/types';
|
||||
import type { ProductDTO, ProductVO } from '#/api/ec/product/types';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
@@ -13,7 +13,7 @@ import { createIconifyIcon } from '@vben/icons';
|
||||
import { Button, Image, message, Popconfirm, Space, Tag } from 'ant-design-vue';
|
||||
|
||||
import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import { deleteProductApi, getProductPageApi } from '#/api/ecommerce/product';
|
||||
import { deleteProductApi, getProductPageApi } from '#/api/ec/product';
|
||||
|
||||
import ProductDetailModal from './components/ProductDetailModal.vue';
|
||||
import ProductFormModal from './components/ProductFormModal.vue';
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ProductOverviewVO } from '#/api/ecommerce/product-overview';
|
||||
import type { ProductOverviewVO } from '#/api/ec/product/overview';
|
||||
|
||||
import { computed } from 'vue';
|
||||
|
||||
|
||||
@@ -14,11 +14,11 @@ import StatCards from './components/StatCards.vue';
|
||||
import SalesTrendChart from './components/SalesTrendChart.vue';
|
||||
import SkuSalesTop10Panel from './components/SkuSalesTop10Panel.vue';
|
||||
import SkuSummaryTable from './components/SkuSummaryTable.vue';
|
||||
import { getProductPageApi } from '#/api/ecommerce/product/apis';
|
||||
import type { ProductVO } from '#/api/ecommerce/product/types';
|
||||
import { getProductOverviewApi } from '#/api/ecommerce/product-overview';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop/apis';
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import { getProductPageApi } from '#/api/ec/product/apis';
|
||||
import type { ProductVO } from '#/api/ec/product/types';
|
||||
import { getProductOverviewApi } from '#/api/ec/product/overview';
|
||||
import { getShopPageApi } from '#/api/ec/shop/apis';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
import {
|
||||
applyOverviewDateRangeFromUrl,
|
||||
buildOverviewRouteQuery,
|
||||
|
||||
+9
-9
@@ -1,11 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
import type { PromotionFeeTypeVO } from '#/api/ecommerce/promotion-fee-type';
|
||||
import type { PromotionFeeTypeVO } from '#/api/ec/promotion-fee/type';
|
||||
import type {
|
||||
PromotionFeeDTO,
|
||||
PromotionFeeVO,
|
||||
} from '#/api/ecommerce/promotion-fee/types';
|
||||
import type { ProductVO } from '#/api/ecommerce/product/types';
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
} from '#/api/ec/promotion-fee/types';
|
||||
import type { ProductVO } from '#/api/ec/product/types';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
|
||||
import { computed, nextTick, onMounted, ref, watch } from 'vue';
|
||||
|
||||
@@ -27,11 +27,11 @@ import {
|
||||
import {
|
||||
createPromotionFeeApi,
|
||||
updatePromotionFeeApi,
|
||||
} from '#/api/ecommerce/promotion-fee';
|
||||
import { getCategoryTreeApi } from '#/api/ecommerce/category';
|
||||
import { getActivePromotionFeeTypeListApi } from '#/api/ecommerce/promotion-fee-type';
|
||||
import { getProductPageApi } from '#/api/ecommerce/product';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop';
|
||||
} from '#/api/ec/promotion-fee';
|
||||
import { getCategoryTreeApi } from '#/api/ec/product/category';
|
||||
import { getActivePromotionFeeTypeListApi } from '#/api/ec/promotion-fee/type';
|
||||
import { getProductPageApi } from '#/api/ec/product';
|
||||
import { getShopPageApi } from '#/api/ec/shop';
|
||||
|
||||
defineOptions({ name: 'PromotionFeeFormModal' });
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type {
|
||||
PromotionFeeDTO,
|
||||
PromotionFeeVO,
|
||||
} from '#/api/ecommerce/promotion-fee/types';
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
} from '#/api/ec/promotion-fee/types';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, onMounted, ref, watch } from 'vue';
|
||||
@@ -29,9 +29,9 @@ import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import {
|
||||
deletePromotionFeeApi,
|
||||
getPromotionFeePageApi,
|
||||
} from '#/api/ecommerce/promotion-fee';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop/apis';
|
||||
import { getAllPromotionFeeTypeListApi } from '#/api/ecommerce/promotion-fee-type/apis';
|
||||
} from '#/api/ec/promotion-fee';
|
||||
import { getShopPageApi } from '#/api/ec/shop/apis';
|
||||
import { getAllPromotionFeeTypeListApi } from '#/api/ec/promotion-fee/type/apis';
|
||||
|
||||
import PromotionFeeFormModal from './components/PromotionFeeFormModal.vue';
|
||||
import {
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
import type {
|
||||
PromotionFeeTypeDTO,
|
||||
PromotionFeeTypeVO,
|
||||
} from '#/api/ecommerce/promotion-fee-type';
|
||||
} from '#/api/ec/promotion-fee/type';
|
||||
|
||||
import { ref, watch } from 'vue';
|
||||
|
||||
@@ -20,7 +20,7 @@ import {
|
||||
import {
|
||||
createPromotionFeeTypeApi,
|
||||
updatePromotionFeeTypeApi,
|
||||
} from '#/api/ecommerce/promotion-fee-type';
|
||||
} from '#/api/ec/promotion-fee/type';
|
||||
|
||||
const emit = defineEmits<{
|
||||
cancel: [];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { PromotionFeeTypeVO } from '#/api/ecommerce/promotion-fee-type';
|
||||
import type { PromotionFeeTypeVO } from '#/api/ec/promotion-fee/type';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
|
||||
@@ -13,7 +13,7 @@ import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import {
|
||||
deletePromotionFeeTypeApi,
|
||||
getAllPromotionFeeTypeListApi,
|
||||
} from '#/api/ecommerce/promotion-fee-type';
|
||||
} from '#/api/ec/promotion-fee/type';
|
||||
|
||||
import PromotionFeeTypeFormModal from './components/PromotionFeeTypeFormModal.vue';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
|
||||
import { computed, onMounted, ref, watch } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
@@ -8,7 +8,7 @@ import { Page } from '@vben/common-ui';
|
||||
|
||||
import { Descriptions, Spin, Tag, message } from 'ant-design-vue';
|
||||
|
||||
import { getShopDetailApi } from '#/api/ecommerce/shop';
|
||||
import { getShopDetailApi } from '#/api/ec/shop';
|
||||
import {
|
||||
getPlatformLabel,
|
||||
getPlatformTagColor,
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { PddOrderSyncVO } from '#/api/ecommerce/pdd/order-sync';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
import type { PddOrderSyncVO } from '#/api/channel/pdd/order-sync';
|
||||
import type { Dayjs } from 'dayjs';
|
||||
|
||||
import { computed, onBeforeUnmount, ref } from 'vue';
|
||||
@@ -35,7 +35,7 @@ import {
|
||||
resumePddFullSyncTaskApi,
|
||||
syncPddOrdersIncrementalApi,
|
||||
togglePddIncrementalSyncApi,
|
||||
} from '#/api/ecommerce/pdd/order-sync';
|
||||
} from '#/api/channel/pdd/order-sync';
|
||||
import { RealtimeSseEvent } from '#/api/notify/sse';
|
||||
import { useRealtimeStore } from '#/store';
|
||||
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { PddShopInfo } from '#/api/ecommerce/shop/types';
|
||||
import type { PddShopInfo } from '#/api/ec/shop/types';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
|
||||
@@ -7,7 +7,7 @@ import { useVbenModal } from '@vben/common-ui';
|
||||
|
||||
import { Descriptions, Spin, Tag, message } from 'ant-design-vue';
|
||||
|
||||
import { getPddShopDetailApi } from '#/api/ecommerce/pdd/shop';
|
||||
import { getPddShopDetailApi } from '#/api/channel/pdd/shop';
|
||||
|
||||
const MERCHANT_TYPE_MAP: Record<number, string> = {
|
||||
1: '个人',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ShopDTO, ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { ShopDTO, ShopVO } from '#/api/ec/shop/types';
|
||||
|
||||
import { computed, onUnmounted, ref } from 'vue';
|
||||
|
||||
@@ -8,8 +8,8 @@ import { createIconifyIcon } from '@vben/icons';
|
||||
|
||||
import { Button, Form, Input, message, Select } from 'ant-design-vue';
|
||||
|
||||
import { createShopApi, updateShopApi } from '#/api/ecommerce/shop';
|
||||
import { getPlatformListApi } from '#/api/ecommerce/platform';
|
||||
import { createShopApi, updateShopApi } from '#/api/ec/shop';
|
||||
import { getPlatformListApi } from '#/api/ec/platform';
|
||||
import { uploadFileToOss } from '#/utils/oss-upload';
|
||||
|
||||
interface Emits {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<script lang="ts" setup>
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { PlatformVO } from '#/api/ecommerce/platform/types';
|
||||
import type { PddOrderSyncVO } from '#/api/ecommerce/pdd/order-sync';
|
||||
import type { ShopDTO, ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { PlatformVO } from '#/api/ec/platform/types';
|
||||
import type { PddOrderSyncVO } from '#/api/channel/pdd/order-sync';
|
||||
import type { ShopDTO, ShopVO } from '#/api/ec/shop/types';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, onMounted, onUnmounted, ref } from 'vue';
|
||||
@@ -14,10 +14,10 @@ import { Button, message, Popconfirm, Space, Tag } from 'ant-design-vue';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import { getPddAuthorizeUrlApi } from '#/api/ecommerce/pdd/auth';
|
||||
import { batchPddOrderSyncStatusApi } from '#/api/ecommerce/pdd/order-sync';
|
||||
import { getPlatformListApi } from '#/api/ecommerce/platform';
|
||||
import { deleteShopApi, getShopPageApi } from '#/api/ecommerce/shop';
|
||||
import { getPddAuthorizeUrlApi } from '#/api/channel/pdd/auth';
|
||||
import { batchPddOrderSyncStatusApi } from '#/api/channel/pdd/order-sync';
|
||||
import { getPlatformListApi } from '#/api/ec/platform';
|
||||
import { deleteShopApi, getShopPageApi } from '#/api/ec/shop';
|
||||
import {
|
||||
getPlatformLabel,
|
||||
getPlatformTagColor,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ShopDTO, ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { ShopDTO, ShopVO } from '#/api/ec/shop/types';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { onMounted, ref } from 'vue';
|
||||
@@ -19,9 +19,9 @@ import {
|
||||
Tag,
|
||||
} from 'ant-design-vue';
|
||||
|
||||
import { deleteShopApi, getShopPageApi } from '#/api/ecommerce/shop';
|
||||
import { getPlatformListApi } from '#/api/ecommerce/platform/apis';
|
||||
import type { PlatformVO } from '#/api/ecommerce/platform/types';
|
||||
import { deleteShopApi, getShopPageApi } from '#/api/ec/shop';
|
||||
import { getPlatformListApi } from '#/api/ec/platform/apis';
|
||||
import type { PlatformVO } from '#/api/ec/platform/types';
|
||||
|
||||
import ShopFormModal from '../list/components/ShopFormModal.vue';
|
||||
|
||||
|
||||
+4
-4
@@ -2,8 +2,8 @@
|
||||
import type {
|
||||
ShopMonthlyTargetDTO,
|
||||
ShopMonthlyTargetVO,
|
||||
} from '#/api/ecommerce/shop-monthly-target';
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
} from '#/api/ec/shop/monthly-target';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
|
||||
import { computed, nextTick, onMounted, ref, watch } from 'vue';
|
||||
|
||||
@@ -19,11 +19,11 @@ import {
|
||||
} from 'ant-design-vue';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop';
|
||||
import { getShopPageApi } from '#/api/ec/shop';
|
||||
import {
|
||||
createShopMonthlyTargetApi,
|
||||
updateShopMonthlyTargetApi,
|
||||
} from '#/api/ecommerce/shop-monthly-target';
|
||||
} from '#/api/ec/shop/monthly-target';
|
||||
|
||||
defineOptions({ name: 'ShopMonthlyTargetFormModal' });
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type {
|
||||
ShopMonthlyTargetDTO,
|
||||
ShopMonthlyTargetVO,
|
||||
} from '#/api/ecommerce/shop-monthly-target';
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
} from '#/api/ec/shop/monthly-target';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, onMounted, ref, watch } from 'vue';
|
||||
@@ -25,11 +25,11 @@ import {
|
||||
} from 'ant-design-vue';
|
||||
|
||||
import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop/apis';
|
||||
import { getShopPageApi } from '#/api/ec/shop/apis';
|
||||
import {
|
||||
deleteShopMonthlyTargetApi,
|
||||
getShopMonthlyTargetPageApi,
|
||||
} from '#/api/ecommerce/shop-monthly-target';
|
||||
} from '#/api/ec/shop/monthly-target';
|
||||
|
||||
import ShopMonthlyTargetFormModal from './components/ShopMonthlyTargetFormModal.vue';
|
||||
import {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
|
||||
import { formatFeeRatioPercent } from '#/utils/overview-fee-ratio';
|
||||
import { formatIntCell, formatNumberCell } from '#/utils/overview-table-cells';
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
|
||||
import { ref, watch } from 'vue';
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
import { createIconifyIcon } from '@vben/icons';
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
|
||||
import { formatCurrencyZhFromApiOptional } from '#/utils/shop-overview-display';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
|
||||
import { formatFeeRatioPercent } from '#/utils/overview-fee-ratio';
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
import type { Dayjs } from 'dayjs';
|
||||
|
||||
import {
|
||||
@@ -16,7 +16,7 @@ import { Page } from '@vben/common-ui';
|
||||
import { message, Spin } from 'ant-design-vue';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
import { getShopOverviewApi, getShopPageApi } from '#/api/ecommerce/shop/apis';
|
||||
import { getShopOverviewApi, getShopPageApi } from '#/api/ec/shop/apis';
|
||||
import { exportByPost } from '#/utils/export';
|
||||
import {
|
||||
applyOverviewDateRangeFromUrl,
|
||||
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
<script lang="ts" setup>
|
||||
import type { CompanyVO } from '#/api/organization/company/types';
|
||||
import type { CompanyVO } from '#/api/company/types';
|
||||
import type {
|
||||
SuperAccountDTO,
|
||||
SuperAccountVO,
|
||||
} from '#/api/organization/account-super';
|
||||
} from '#/api/sys/account';
|
||||
|
||||
import { computed, ref, watch } from 'vue';
|
||||
|
||||
@@ -14,7 +14,7 @@ import { Form, Input, message, Select } from 'ant-design-vue';
|
||||
import {
|
||||
super_createAccountApi,
|
||||
super_updateAccountApi,
|
||||
} from '#/api/organization/account-super';
|
||||
} from '#/api/sys/account';
|
||||
|
||||
interface Emits {
|
||||
(e: 'success'): void;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<script lang="ts" setup>
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { CompanyVO } from '#/api/organization/company/types';
|
||||
import type { CompanyVO } from '#/api/company/types';
|
||||
import type {
|
||||
SuperAccountDTO,
|
||||
SuperAccountVO,
|
||||
} from '#/api/organization/account-super';
|
||||
} from '#/api/sys/account';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, onMounted, ref, watch } from 'vue';
|
||||
@@ -28,11 +28,11 @@ import {
|
||||
} from 'ant-design-vue';
|
||||
|
||||
import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import { getCompanyPageApi } from '#/api/organization/company';
|
||||
import { getCompanyPageApi } from '#/api/company';
|
||||
import {
|
||||
super_deleteAccountApi,
|
||||
super_getAccountPageApi,
|
||||
} from '#/api/organization/account-super';
|
||||
} from '#/api/sys/account';
|
||||
|
||||
import SuperAccountFormModal from './components/SuperAccountFormModal.vue';
|
||||
import {
|
||||
|
||||
+6
-6
@@ -1,7 +1,7 @@
|
||||
<script lang="ts" setup>
|
||||
import type { AccountDTO, AccountVO } from '#/api/organization/account';
|
||||
import type { DepartmentVO } from '#/api/organization/department';
|
||||
import type { PositionVO } from '#/api/organization/position';
|
||||
import type { AccountDTO, AccountVO } from '#/api/company/account';
|
||||
import type { DepartmentVO } from '#/api/org/department';
|
||||
import type { PositionVO } from '#/api/org/position';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, ref, watch } from 'vue';
|
||||
@@ -13,9 +13,9 @@ import { Cascader, Form, Input, message, Select } from 'ant-design-vue';
|
||||
import {
|
||||
admin_createAccountApi,
|
||||
admin_updateAccountApi,
|
||||
} from '#/api/organization/account';
|
||||
import { getDepartmentTreeApi } from '#/api/organization/department';
|
||||
import { getPositionPageApi } from '#/api/organization/position';
|
||||
} from '#/api/company/account';
|
||||
import { getDepartmentTreeApi } from '#/api/org/department';
|
||||
import { getPositionPageApi } from '#/api/org/position';
|
||||
|
||||
interface Emits {
|
||||
(e: 'success'): void;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { AccountDTO, AccountVO } from '#/api/organization/account';
|
||||
import type { AccountDTO, AccountVO } from '#/api/company/account';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
@@ -14,7 +14,7 @@ import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import {
|
||||
admin_deleteAccountApi,
|
||||
admin_getAccountPageApi,
|
||||
} from '#/api/organization/account';
|
||||
} from '#/api/company/account';
|
||||
|
||||
import AccountFormModal from './components/AccountFormModal.vue';
|
||||
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { CompanyDTO, CompanyVO } from '#/api/organization/company';
|
||||
import type { CompanyDTO, CompanyVO } from '#/api/company';
|
||||
|
||||
import { computed, onUnmounted, ref } from 'vue';
|
||||
|
||||
@@ -20,7 +20,7 @@ import {
|
||||
createCompanyApi,
|
||||
updateCompanyApi,
|
||||
uploadCompanyLogoApi,
|
||||
} from '#/api/organization/company';
|
||||
} from '#/api/company';
|
||||
|
||||
interface Emits {
|
||||
(e: 'success'): void;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { CompanyDTO, CompanyVO } from '#/api/organization/company';
|
||||
import type { CompanyDTO, CompanyVO } from '#/api/company';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
@@ -14,7 +14,7 @@ import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import {
|
||||
deleteCompanyApi,
|
||||
getCompanyPageApi,
|
||||
} from '#/api/organization/company';
|
||||
} from '#/api/company';
|
||||
import CompanyMenuDrawer from '#/components/CompanyMenuDrawer.vue';
|
||||
import CompanyPermissionDrawer from '#/components/CompanyPermissionDrawer.vue';
|
||||
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { DepartmentVO } from '#/api/organization/department';
|
||||
import type { DepartmentVO } from '#/api/org/department';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
|
||||
@@ -10,7 +10,7 @@ import { Form, Input, message, Select, Switch } from 'ant-design-vue';
|
||||
import {
|
||||
createDepartmentApi,
|
||||
updateDepartmentApi,
|
||||
} from '#/api/organization/department';
|
||||
} from '#/api/org/department';
|
||||
|
||||
interface Props {
|
||||
departmentList: DepartmentVO.DepartmentInfoVO[];
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type {
|
||||
DepartmentDTO,
|
||||
DepartmentVO,
|
||||
} from '#/api/organization/department';
|
||||
} from '#/api/org/department';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
@@ -17,7 +17,7 @@ import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import {
|
||||
deleteDepartmentApi,
|
||||
getDepartmentPageApi,
|
||||
} from '#/api/organization/department';
|
||||
} from '#/api/org/department';
|
||||
|
||||
import DepartmentModal from './components/DepartmentModal.vue';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { PositionVO } from '#/api/organization/position/types';
|
||||
import type { PermissionVO } from '#/api/system/permission/types';
|
||||
import type { PositionVO } from '#/api/org/position/types';
|
||||
import type { PermissionVO } from '#/api/sys/permission/types';
|
||||
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
|
||||
@@ -18,14 +18,14 @@ import {
|
||||
Tag,
|
||||
} from 'ant-design-vue';
|
||||
|
||||
import { getPositionPageApi } from '#/api/organization/position';
|
||||
import { getPositionPageApi } from '#/api/org/position';
|
||||
import {
|
||||
batchUpdatePositionPermissionsApi,
|
||||
getPositionPermissionIdsApi,
|
||||
} from '#/api/organization/position-permission-assign/apis';
|
||||
import { getCompanyVisiblePermissionTreeApi } from '#/api/system/permission';
|
||||
} from '#/api/org/position/permission-assign/apis';
|
||||
import { getCompanyVisiblePermissionTreeApi } from '#/api/sys/permission';
|
||||
|
||||
import TreeNodeContent from '#/views/system/company-permission-manage/components/TreeNodeContent.vue';
|
||||
import TreeNodeContent from '#/views/company/permission/components/TreeNodeContent.vue';
|
||||
|
||||
defineOptions({ name: 'PositionPermissionAssignPage' });
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { PositionVO } from '#/api/organization/position';
|
||||
import type { PositionVO } from '#/api/org/position';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
|
||||
@@ -10,7 +10,7 @@ import { Form, Input, message, Select, Switch } from 'ant-design-vue';
|
||||
import {
|
||||
createPositionApi,
|
||||
updatePositionApi,
|
||||
} from '#/api/organization/position';
|
||||
} from '#/api/org/position';
|
||||
|
||||
interface Props {
|
||||
departmentOptions: Array<{ label: string; value: number }>;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { PositionDTO, PositionVO } from '#/api/organization/position';
|
||||
import type { PositionDTO, PositionVO } from '#/api/org/position';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
@@ -14,7 +14,7 @@ import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import {
|
||||
deletePositionApi,
|
||||
getPositionPageApi,
|
||||
} from '#/api/organization/position';
|
||||
} from '#/api/org/position';
|
||||
|
||||
import PositionModal from './components/PositionModal.vue';
|
||||
|
||||
|
||||
+5
-5
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { CompanyMenuVO } from '#/api/organization/company-menu/types';
|
||||
import type { PositionVO } from '#/api/organization/position/types';
|
||||
import type { CompanyMenuVO } from '#/api/company/menu/types';
|
||||
import type { PositionVO } from '#/api/org/position/types';
|
||||
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
|
||||
@@ -18,12 +18,12 @@ import {
|
||||
Tree,
|
||||
} from 'ant-design-vue';
|
||||
|
||||
import { getCompanyMenuTreeApi } from '#/api/organization/company-menu';
|
||||
import { getPositionPageApi } from '#/api/organization/position';
|
||||
import { getCompanyMenuTreeApi } from '#/api/company/menu';
|
||||
import { getPositionPageApi } from '#/api/org/position';
|
||||
import {
|
||||
batchUpdatePositionMenusApi,
|
||||
getPositionMenuIdsApi,
|
||||
} from '#/api/organization/position-permission';
|
||||
} from '#/api/org/position/permission';
|
||||
|
||||
defineOptions({
|
||||
name: 'PositionPermissionPage',
|
||||
@@ -1,11 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
import type { LicenseVO } from '#/api/system/license';
|
||||
import type { LicenseVO } from '#/api/sys/license';
|
||||
|
||||
import { onMounted, ref } from 'vue';
|
||||
|
||||
import { Card, Spin } from 'ant-design-vue';
|
||||
|
||||
import { getSystemFingerprintApi } from '#/api/system/license';
|
||||
import { getSystemFingerprintApi } from '#/api/sys/license';
|
||||
|
||||
import FingerprintDisplay from './FingerprintDisplay.vue';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import type { LicenseVO } from '#/api/system/license';
|
||||
import type { LicenseVO } from '#/api/sys/license';
|
||||
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
|
||||
@@ -21,7 +21,7 @@ import dayjs from 'dayjs';
|
||||
import {
|
||||
getLicenseInfoApi,
|
||||
updateLicenseApi,
|
||||
} from '#/api/system/license';
|
||||
} from '#/api/sys/license';
|
||||
|
||||
import FingerprintInfo from './FingerprintInfo.vue';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import type { LicenseVO } from '#/api/system/license';
|
||||
import type { LicenseVO } from '#/api/sys/license';
|
||||
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
activateLicenseApi,
|
||||
getLicenseInfoApi,
|
||||
getSystemFingerprintApi,
|
||||
} from '#/api/system/license';
|
||||
} from '#/api/sys/license';
|
||||
|
||||
import FingerprintDisplay from './FingerprintDisplay.vue';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { MenuVO } from '#/api/system/menu/types';
|
||||
import type { PermissionVO } from '#/api/system/permission/types';
|
||||
import type { MenuVO } from '#/api/sys/menu/types';
|
||||
import type { PermissionVO } from '#/api/sys/permission/types';
|
||||
|
||||
import { ref } from 'vue';
|
||||
|
||||
@@ -23,12 +23,12 @@ import {
|
||||
getAllMenusApi,
|
||||
getMenuDetailApi,
|
||||
updateMenuApi,
|
||||
} from '#/api/system/menu';
|
||||
} from '#/api/sys/menu';
|
||||
import {
|
||||
addMenuPermissionApi,
|
||||
removeMenuPermissionApi,
|
||||
} from '#/api/system/menu-permission';
|
||||
import { getPermissionTreeApi } from '#/api/system/permission';
|
||||
} from '#/api/sys/menu/permission';
|
||||
import { getPermissionTreeApi } from '#/api/sys/permission';
|
||||
|
||||
import IconSelector from './IconSelector.vue';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { MenuVO } from '#/api/system/menu/types';
|
||||
import type { MenuVO } from '#/api/sys/menu/types';
|
||||
|
||||
import { onMounted, ref } from 'vue';
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
batchSortMenuApi,
|
||||
deleteMenuApi,
|
||||
getAllMenusApi,
|
||||
} from '#/api/system/menu';
|
||||
} from '#/api/sys/menu';
|
||||
|
||||
import MenuFormModal from './components/MenuFormModal.vue';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import type { CompanyVO } from '#/api/organization/company/types';
|
||||
import type { ShopVO } from '#/api/ecommerce/shop/types';
|
||||
import type { OrderStatVO } from '#/api/system/order-stat';
|
||||
import type { CompanyVO } from '#/api/company/types';
|
||||
import type { ShopVO } from '#/api/ec/shop/types';
|
||||
import type { OrderStatVO } from '#/api/sys/order-stat';
|
||||
|
||||
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue';
|
||||
|
||||
@@ -30,13 +30,13 @@ import {
|
||||
} from 'ant-design-vue';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
import { getCompanyPageApi } from '#/api/organization/company';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop';
|
||||
import { getCompanyPageApi } from '#/api/company';
|
||||
import { getShopPageApi } from '#/api/ec/shop';
|
||||
import {
|
||||
createOrderStatRebuildApi,
|
||||
getOrderStatRebuildStatusApi,
|
||||
reconcileOrderStatApi,
|
||||
} from '#/api/system/order-stat';
|
||||
} from '#/api/sys/order-stat';
|
||||
import {
|
||||
SIDEBAR_LIST_SHELL_CLASS,
|
||||
sidebarListRowClass,
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { PermissionVO } from '#/api/system/permission';
|
||||
import type { PermissionVO } from '#/api/sys/permission';
|
||||
|
||||
import { ref } from 'vue';
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
createPermissionApi,
|
||||
getSystemPermissionTreeApi,
|
||||
updatePermissionApi,
|
||||
} from '#/api/system/permission';
|
||||
} from '#/api/sys/permission';
|
||||
|
||||
interface Emits {
|
||||
(e: 'success'): void;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { PermissionVO } from '#/api/system/permission';
|
||||
import type { PermissionVO } from '#/api/sys/permission';
|
||||
|
||||
import { ref } from 'vue';
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
batchSortPermissionApi,
|
||||
deletePermissionApi,
|
||||
getSystemPermissionTreeApi,
|
||||
} from '#/api/system/permission';
|
||||
} from '#/api/sys/permission';
|
||||
|
||||
import PermissionFormModal from './components/PermissionFormModal.vue';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { UserDTO, UserVO } from '#/api/system/user/types';
|
||||
import type { UserDTO, UserVO } from '#/api/sys/user/types';
|
||||
|
||||
import { computed, reactive, ref } from 'vue';
|
||||
|
||||
@@ -7,7 +7,7 @@ import { Page } from '@vben/common-ui';
|
||||
|
||||
import { Button, Form, Input, message, Spin, Upload } from 'ant-design-vue';
|
||||
|
||||
import { getUserInfoApi, updateUserInfoApi } from '#/api/system/user';
|
||||
import { getUserInfoApi, updateUserInfoApi } from '#/api/sys/user';
|
||||
import { uploadFileToOss } from '#/utils/oss-upload';
|
||||
|
||||
defineOptions({ name: 'PersonalProfile' });
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { PermissionVO } from '#/api/system/permission/types';
|
||||
import type { PermissionVO } from '#/api/sys/permission/types';
|
||||
|
||||
import { onMounted, ref } from 'vue';
|
||||
|
||||
@@ -9,7 +9,7 @@ import { Page } from '@vben/common-ui';
|
||||
import { Spin, Tag, message } from 'ant-design-vue';
|
||||
|
||||
import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import { getSystemPermissionTreeApi } from '#/api/system/permission';
|
||||
import { getSystemPermissionTreeApi } from '#/api/sys/permission';
|
||||
|
||||
defineOptions({ name: 'SystemPermissionPage' });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user