feat(miniprogram): enable CRM quote webview workbench entries.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-10-15 16:04:07 +08:00
1 parent d0241ddbd4
commit 458940c665
2 files changed
+19 -2

No files matched your search

+4 -1
View File
@@ -114,7 +114,10 @@ export const WORKBENCH_ROUTE_MAP = {
'pl-transport-plan': PAGE_PATHS.plTransportPlan,
'pl-driver-plan': PAGE_PATHS.plDriverPlan,
'pl-plan-webview': PAGE_PATHS.mpWebview + '?path=' + encodeURIComponent('/m/pl/plan'),
'crm-product-webview': PAGE_PATHS.mpWebview + '?path=' + encodeURIComponent('/m/crm/product')
'crm-product-webview': PAGE_PATHS.mpWebview + '?path=' + encodeURIComponent('/m/crm/product'),
'crm-quote-webview': PAGE_PATHS.mpWebview + '?path=' + encodeURIComponent('/m/crm/quote'),
'crm-quote-approval-webview':
PAGE_PATHS.mpWebview + '?path=' + encodeURIComponent('/m/crm/quote/approval')
}
export const TOKEN_KEY = 'sx_token'
+15 -1
View File
@@ -7,7 +7,7 @@ export const WORKBENCH_MODULES = [
{
key: 'crm',
title: 'CRM 管理',
desc: '产品管理',
desc: '产品 · 报价',
iconText: 'CRM',
visible: true,
menus: [
@@ -17,6 +17,20 @@ export const WORKBENCH_MODULES = [
code: 'crm-product-webview',
icon: '📦',
perms: 'mini:crm:product:list'
},
{
name: '报价单管理',
enabled: true,
code: 'crm-quote-webview',
icon: '📝',
perms: 'mini:crm:quote:list'
},
{
name: '报价单审批',
enabled: true,
code: 'crm-quote-approval-webview',
icon: '✅',
perms: 'mini:crm:quote:approve'
}
]
},