From 75242bbba28ae8902ddf86d33febb497d79e5fc3 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 03 八月 2026 10:45:27 +0800
Subject: [PATCH] 银川 1.首页修改 2.ai辅助功能
---
src/views/crm/customer/detail/index.vue | 42 +++++++++++++++++++++---------------------
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/src/views/crm/customer/detail/index.vue b/src/views/crm/customer/detail/index.vue
index 0db6928..526affd 100644
--- a/src/views/crm/customer/detail/index.vue
+++ b/src/views/crm/customer/detail/index.vue
@@ -5,8 +5,8 @@
import { onMounted, ref } from 'vue';
import { useRoute, useRouter } from 'vue-router';
-import { confirm, Page, useVbenModal } from '../../../../packages/effects/common-ui/src';
-import { useTabs } from '../../../../packages/effects/hooks/src';
+import { confirm, Page, useVbenModal } from '@vben/common-ui';
+import { useTabs } from '@vben/hooks';
import { Card, message, Tabs } from 'ant-design-vue';
@@ -133,18 +133,18 @@
}
/** 瀹㈡埛鏀惧叆鍏捣 */
-async function handlePutPool(): Promise<boolean | undefined> {
- try {
- await confirm(`纭畾灏嗗鎴枫��${customer.value.name}銆戞斁鍏ュ叕娴峰悧锛焋);
- } catch {
- return false;
- }
- // 鏀惧叆鍏捣
- await putCustomerPool(customerId.value);
- // 鎻愮ず骞惰繑鍥炴垚鍔�
- message.success('鏀惧叆鍏捣鎴愬姛');
- return true;
-}
+// async function handlePutPool(): Promise<boolean | undefined> {
+// try {
+// await confirm(`纭畾灏嗗鎴枫��${customer.value.name}銆戞斁鍏ュ叕娴峰悧锛焋);
+// } catch {
+// return false;
+// }
+// // 鏀惧叆鍏捣
+// await putCustomerPool(customerId.value);
+// // 鎻愮ず骞惰繑鍥炴垚鍔�
+// message.success('鏀惧叆鍏捣鎴愬姛');
+// return true;
+// }
/** 鏇存柊鎴愪氦鐘舵�佹搷浣� */
async function handleUpdateDealStatus(): Promise<boolean | undefined> {
@@ -229,13 +229,13 @@
ifShow: !customer.ownerUserId,
onClick: handleDistributeForm,
},
- {
- label: '鏀惧叆鍏捣',
- type: 'default',
- ifShow:
- !!customer.ownerUserId && permissionListRef?.validateOwnerUser,
- onClick: handlePutPool,
- },
+ // {
+ // label: '鏀惧叆鍏捣',
+ // type: 'default',
+ // ifShow:
+ // !!customer.ownerUserId && permissionListRef?.validateOwnerUser,
+ // onClick: handlePutPool,
+ // },
]"
/>
</template>
--
Gitblit v1.9.3