客户接待主包的一些代码移动到子包内

This commit is contained in:
zhonghua.li
2026-04-15 08:32:13 +08:00
parent a15d539f59
commit b37b9c6ada
15 changed files with 2992 additions and 6639 deletions

View File

@@ -401,7 +401,7 @@
import CustomerList from '@/pages/furniture_customer/components/CustomerList.vue';
import ServiceList from '@/pages/furniture_customer/components/ServiceList.vue';
import CustomerProfileModal from '@/pages/furniture_customer/components/CustomerProfileModal.vue';
import ConversationSummaryFurniture from '@/pages/furniture_customer/components/ConversationSummaryFurniture.vue';
import ConversationSummaryFurniture from './components/ConversationSummaryFurniture.vue';
import { initCustomerProfile, initSummaryList, initPerformanceData } from '@/pages/furniture_customer/utils/dataInit.js';
import { getApiUrl, API_BASE_URL } from '@/common/config.js';
@@ -2496,7 +2496,6 @@
// 路径映射
this.urlPathMap = {
'pages/furniture_customer/furniture_customer': '/customer',
'pages-subpackage/furniture_customer/furniture_customer': '/customer',
'pages/furniture_reception/furniture_reception': '/reception',
'pages/ai_qa/ai_qa': '/ai-qa',
@@ -2574,7 +2573,7 @@
}
// 只为当前页面的路径执行URL隐藏
if ((currentPath === 'pages/furniture_customer/furniture_customer' || currentPath === 'pages-subpackage/furniture_customer/furniture_customer') && this.urlPathMap[currentPath]) {
if (currentPath === 'pages-subpackage/furniture_customer/furniture_customer' && this.urlPathMap[currentPath]) {
const shortPath = this.urlPathMap[currentPath];
const currentPathname = window.location.pathname;