From 6a95d919a2df39d6d7ffb1a96c82129804ebd691 Mon Sep 17 00:00:00 2001 From: jiangjunhong <870160034@qq.com> Date: Mon, 28 Apr 2025 11:21:39 +0800 Subject: [PATCH] 1 --- .../.vue-global-types/vue_99_0_0_0.d.ts | 5 +- .../{config => data/upload}/channel/index.ts | 0 src/store/modules/crm.ts | 2 +- src/types/auto-components.d.ts | 1 + src/views/crm/config/channel/index.vue | 159 ------------------ src/views/crm/cule/index.vue | 2 +- .../data/networkpush/datacontrast/index.vue | 2 +- .../crm/data/networkpush/rawdata/index.vue | 2 +- .../upload}/channel/ChannelForm.vue | 2 +- src/views/crm/data/upload/channel/index.vue | 6 +- .../crm/data/upload/record/UploadForm.vue | 2 +- src/views/crm/data/upload/record/index.vue | 2 +- 12 files changed, 12 insertions(+), 173 deletions(-) rename src/api/crm/{config => data/upload}/channel/index.ts (100%) delete mode 100644 src/views/crm/config/channel/index.vue rename src/views/crm/{config => data/upload}/channel/ChannelForm.vue (97%) diff --git a/node_modules/.vue-global-types/vue_99_0_0_0.d.ts b/node_modules/.vue-global-types/vue_99_0_0_0.d.ts index 72f1004c..1c73e1f0 100644 --- a/node_modules/.vue-global-types/vue_99_0_0_0.d.ts +++ b/node_modules/.vue-global-types/vue_99_0_0_0.d.ts @@ -72,9 +72,6 @@ export {}; '__ctx' extends keyof __VLS_PickNotAny ? K extends { __ctx?: infer Ctx } ? Ctx : never : any , T extends (props: any, ctx: infer Ctx) => any ? Ctx : any >>; - type __VLS_OmitStringIndex = { - [K in keyof T as string extends K ? never : K]: T[K]; - }; type __VLS_UseTemplateRef = Readonly>; function __VLS_getVForSourceType>(source: T): [ @@ -116,6 +113,6 @@ export {}; : (_: {} & Record, ctx?: any) => { __ctx?: { attrs?: any, expose?: any, slots?: any, emit?: any, props?: {} & Record } }; function __VLS_functionalComponentArgsRest any>(t: T): 2 extends Parameters['length'] ? [any] : []; function __VLS_asFunctionalElement(tag: T, endTag?: T): (attrs: T & Record) => void; - function __VLS_asFunctionalSlot(slot: S): (props: NonNullable extends (props: infer P) => any ? P : {}) => void; + function __VLS_asFunctionalSlot(slot: S): S extends () => infer R ? (props: {}) => R : NonNullable; function __VLS_tryAsConstant(t: T): T; } diff --git a/src/api/crm/config/channel/index.ts b/src/api/crm/data/upload/channel/index.ts similarity index 100% rename from src/api/crm/config/channel/index.ts rename to src/api/crm/data/upload/channel/index.ts diff --git a/src/store/modules/crm.ts b/src/store/modules/crm.ts index fd8a5eca..9bf779db 100644 --- a/src/store/modules/crm.ts +++ b/src/store/modules/crm.ts @@ -1,6 +1,6 @@ import { defineStore } from 'pinia' import { ImportLevelApi, type ImportLevelVO } from '@/api/crm/config/Importlevel' -import { ChannelApi, type ChannelVO } from '@/api/crm/config/channel' +import { ChannelApi, type ChannelVO } from '@/api/crm/data/upload/channel' import { FollowStatusApi, type FollowStatusVO } from '@/api/crm/config/followstatus' import { CustomerSourceApi } from '@/api/crm/config/customersource' import { CustomerTypeApi } from '@/api/crm/config/customertype' diff --git a/src/types/auto-components.d.ts b/src/types/auto-components.d.ts index aa4312e4..984b031d 100644 --- a/src/types/auto-components.d.ts +++ b/src/types/auto-components.d.ts @@ -25,6 +25,7 @@ declare module 'vue' { BoundaryEventTimer: typeof import('./../components/bpmnProcessDesigner/package/penal/custom-config/components/BoundaryEventTimer.vue')['default'] CallActivity: typeof import('./../components/bpmnProcessDesigner/package/penal/task/task-components/CallActivity.vue')['default'] CardTitle: typeof import('./../components/Card/src/CardTitle.vue')['default'] + Channel: typeof import('../api/crm/data/upload/channelndex.ts')['default'] Circulate: typeof import('./../api/crm/circulate/index.ts')['default'] ColorInput: typeof import('./../components/ColorInput/index.vue')['default'] ComponentContainer: typeof import('./../components/DiyEditor/components/ComponentContainer.vue')['default'] diff --git a/src/views/crm/config/channel/index.vue b/src/views/crm/config/channel/index.vue deleted file mode 100644 index 628d361a..00000000 --- a/src/views/crm/config/channel/index.vue +++ /dev/null @@ -1,159 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/crm/cule/index.vue b/src/views/crm/cule/index.vue index 1443971d..4e6f9b0c 100644 --- a/src/views/crm/cule/index.vue +++ b/src/views/crm/cule/index.vue @@ -228,7 +228,7 @@ import { dateFormatter } from '@/utils/formatTime' import { buildTree } from '@/utils/tree' import { handlePrevNext } from '@/utils/crm' import {CustomerSourceApi} from '@/api/crm/config/customersource' -import {ChannelApi,ChannelVO} from '@/api/crm/config/channel' +import {ChannelApi,ChannelVO} from '@/api/crm/data/upload/channel' import {CustomerInforApi, CustomerInforVO} from '@/api/crm/customer/customer' import CustomerDetail from '@/views/crm/components/Customer/Detail.vue' import AllocateForm from '@/views/crm/components/Allocate/AllocateForm.vue' diff --git a/src/views/crm/data/networkpush/datacontrast/index.vue b/src/views/crm/data/networkpush/datacontrast/index.vue index ee0dc6c9..0616f7ef 100644 --- a/src/views/crm/data/networkpush/datacontrast/index.vue +++ b/src/views/crm/data/networkpush/datacontrast/index.vue @@ -89,7 +89,7 @@