Files
cody-crm/frontend/packages/lib-shared/api/requrls/opportunity.ts
wangziqi 72e2110987
Some checks failed
Synchronize to Gitee / repo-sync (push) Has been cancelled
Typos Checking / Spell Check with Typos (push) Has been cancelled
chore: initial commit
2026-06-23 11:56:23 +08:00

83 lines
5.9 KiB
TypeScript

export const OptPageUrl = '/opportunity/page'; // 商机列表
export const OptAddUrl = '/opportunity/add'; // 添加商机
export const OptUpdateUrl = '/opportunity/update'; // 更新商机
export const GetOptFormConfigUrl = '/opportunity/module/form'; // 商机表单配置
export const OptFollowRecordListUrl = '/opportunity/follow/record/page'; // 商机跟进记录列表
export const OptFollowPlanPageUrl = '/opportunity/follow/plan/page'; // 商机跟进计划列表
export const UpdateOptFollowRecordUrl = '/opportunity/follow/record/update'; // 更新商机跟进记录
export const AddOptFollowRecordUrl = '/opportunity/follow/record/add'; // 添加商机跟进记录
export const UpdateOptFollowPlanUrl = '/opportunity/follow/plan/update'; // 更新商机跟进计划
export const AddOptFollowPlanUrl = '/opportunity/follow/plan/add'; // 添加商机跟进计划
export const GetOptFollowRecordUrl = '/opportunity/follow/record/get'; // 商机跟进记录详情
export const GetOptFollowPlanUrl = '/opportunity/follow/plan/get'; // 商机跟进计划详情
export const CancelOptFollowPlanUrl = '/opportunity/follow/plan/cancel'; // 取消商机跟进计划
export const OptBatchTransferUrl = '/opportunity/batch/transfer'; // 批量转移商机
export const OptBatchDeleteUrl = '/opportunity/batch/delete'; // 批量删除商机
export const OptDeleteUrl = '/opportunity/delete'; // 删除商机
export const OptUpdateStageUrl = '/opportunity/update/stage'; // 更新商机阶段
export const GetOptDetailUrl = '/opportunity/get'; // 获取商机详情
export const DeleteOptFollowRecordUrl = '/opportunity/follow/record/delete'; // 删除商机跟进记录
export const DeleteOptFollowPlanUrl = '/opportunity/follow/plan/delete'; // 删除商机跟进计划
export const GetOptTabUrl = '/opportunity/tab'; // 商机tab显隐
export const GetOpportunityContactListUrl = 'opportunity/contact/list'; // 商机详情联系人列表
export const UpdateOptFollowPlanStatusUrl = '/opportunity/follow/plan/status/update'; // 更新商机跟进计划状态
export const ExportOpportunityAllUrl = '/opportunity/export-all'; // 商机导出
export const ExportOpportunitySelectedUrl = '/opportunity/export-select'; // 商机导出选中
export const GetOptStatisticUrl = '/opportunity/statistic'; // 商机列表的金额数据
export const AdvancedSearchOptPageUrl = '/advanced/search/opportunity'; // 全局高级搜索商机列表
export const AdvancedSearchOptDetailUrl = '/advanced/search/opportunity/detail'; // 全局搜索商机详情
export const GlobalSearchOptPageUrl = '/global/search/opportunity'; // 全局搜索商机列表
export const BatchUpdateOpportunityUrl = '/opportunity/batch/update'; // 批量更新商机
export const SortOpportunityUrl = '/opportunity/sort'; // 商机看板拖拽排序
export const UpdateOpportunityStageUrl = '/opportunity/stage/update'; // 更新商机阶段配置
export const UpdateOpportunityStageRollbackUrl = '/opportunity/stage/update-rollback'; // 商机阶段回退配置
export const SortOpportunityStageUrl = '/opportunity/stage/sort'; // 商机阶段排序
export const AddOpportunityStageUrl = '/opportunity/stage/add'; // 商机阶段添加
export const GetOpportunityStageConfigUrl = '/opportunity/stage/get'; // 获取商机阶段配置
export const DeleteOpportunityStageUrl = '/opportunity/stage/delete'; // 删除商机阶段
export const GenerateOpportunityChartUrl = '/opportunity/chart'; // 生成商机视图
export const GetQuotationTabUrl = '/opportunity/quotation/tab'; // 报价tab显隐
// 商机视图
export const GetBusinessViewDetailUrl = '/opportunity/view/detail';
export const GetBusinessViewListUrl = '/opportunity/view/list';
export const AddBusinessViewUrl = '/opportunity/view/add';
export const UpdateBusinessViewUrl = '/opportunity/view/update';
export const DeleteBusinessViewUrl = '/opportunity/view/delete';
export const FixedBusinessViewUrl = '/opportunity/view/fixed';
export const EnableBusinessViewUrl = '/opportunity/view/enable';
export const DragBusinessViewUrl = '/opportunity/view/edit/pos';
// 报价单视图
export const GetQuotationViewDetailUrl = '/opportunity/quotation/view/detail';
export const GetQuotationViewListUrl = '/opportunity/quotation/view/list';
export const AddQuotationViewUrl = '/opportunity/quotation/view/add';
export const UpdateQuotationViewUrl = '/opportunity/quotation/view/update';
export const DeleteQuotationViewUrl = '/opportunity/quotation/view/delete';
export const FixedQuotationViewUrl = '/opportunity/quotation/view/fixed';
export const EnableQuotationViewUrl = '/opportunity/quotation/view/enable';
export const DragQuotationViewUrl = '/opportunity/quotation/view/edit/pos';
// 报价单
export const QuotationPageUrl = '/opportunity/quotation/page';
export const AddQuotationUrl = '/opportunity/quotation/add';
export const UpdateQuotationUrl = '/opportunity/quotation/update';
export const GetQuotationFormConfigUrl = '/opportunity/quotation/module/form';
export const GetQuotationDetailUrl = '/opportunity/quotation/get';
export const GetQuotationSnapshotDetailUrl = '/opportunity/quotation/get/snapshot';
export const ApprovalQuotationUrl = '/opportunity/quotation/approve';
export const VoidQuotationUrl = '/opportunity/quotation/voided';
export const DeleteQuotationUrl = '/opportunity/quotation/delete';
export const RevokeQuotationUrl = '/opportunity/quotation/revoke';
export const BatchApproveUrl = '/opportunity/quotation/batch/approve';
export const BatchVoidedUrl = '/opportunity/quotation/batch/voided';
export const BatchUpdateQuotationUrl = '/opportunity/quotation/batch/update';
export const GetQuotationSnapshotFormConfigUrl = '/opportunity/quotation/module/form/snapshot';
export const DownloadQuotationUrl = '/opportunity/quotation/download';
// 导入
export const PreCheckOptImportUrl = '/opportunity/import/pre-check';
export const DownloadOptTemplateUrl = '/opportunity/template/download';
export const ImportOpportunityUrl = '/opportunity/import';