feat(miniprogram): enable CRM product webview workbench entry.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-10-15 10:04:50 +08:00
1 parent 9de0459edc
commit 0b0ecf2517
2 files changed
+11 -12

No files matched your search

+2 -1
View File
@@ -113,7 +113,8 @@ export const WORKBENCH_ROUTE_MAP = {
'pl-vehicle-recharge-apply': PAGE_PATHS.plVehicleRechargeApply,
'pl-transport-plan': PAGE_PATHS.plTransportPlan,
'pl-driver-plan': PAGE_PATHS.plDriverPlan,
'pl-plan-webview': PAGE_PATHS.mpWebview + '?path=' + encodeURIComponent('/m/pl/plan')
'pl-plan-webview': PAGE_PATHS.mpWebview + '?path=' + encodeURIComponent('/m/pl/plan'),
'crm-product-webview': PAGE_PATHS.mpWebview + '?path=' + encodeURIComponent('/m/crm/product')
}
export const TOKEN_KEY = 'sx_token'
+9 -11
View File
@@ -7,19 +7,17 @@ export const WORKBENCH_MODULES = [
{
key: 'crm',
title: 'CRM 管理',
desc: '线索 · 商机 · 客户 · 报价 · 合同',
desc: '产品管理',
iconText: 'CRM',
visible: false,
visible: true,
menus: [
{ name: '产品分类', enabled: false, code: 'crm-product-category', icon: '📂' },
{ name: '产品管理', enabled: false, icon: '📦' },
{ name: '线索管理', enabled: false, code: 'crm-clue', icon: '💡' },
{ name: '商机管理', enabled: false, code: 'crm-opportunity', icon: '🎯' },
{ name: '客户管理', enabled: false, code: 'crm-customer', icon: '👤' },
{ name: '公海池', enabled: false, code: 'crm-customer-pool', icon: '🌊' },
{ name: '报价管理', enabled: false, code: 'crm-quote', icon: '💰' },
{ name: '合同管理', enabled: false, code: 'crm-contract', icon: '📄' },
{ name: '合同审批', enabled: false, icon: '✅' }
{
name: '产品管理',
enabled: true,
code: 'crm-product-webview',
icon: '📦',
perms: 'mini:crm:product:list'
}
]
},
{