fix(ui): 统一表格交互,调整企业技能与质量页面,修复浮层引用警告

This commit is contained in:
zhanjunhao
2026-11-24 13:26:07 +08:00
parent bf708039a3
commit 4e7894f144
124 changed files with 2682 additions and 1810 deletions
@@ -1,3 +1,4 @@
import TableActionPopconfirm from '@/components/common/table/TableActionPopconfirm';
import {
RefreshCw as ActionRefreshCw,
Plus as ActionPlus,
@@ -13,7 +14,6 @@ import {
Select,
Tag,
Avatar,
Popconfirm,
Typography,
Space,
Banner,
@@ -178,12 +178,14 @@ const CustomerServiceSetting = () => {
if (res.data.success) {
showSuccess(t('删除成功'));
fetchAgents();
return true;
} else {
showError(res.data.message);
}
} catch (err) {
showError(t('删除失败'));
}
return false;
};
// 切换状态
@@ -301,7 +303,7 @@ const CustomerServiceSetting = () => {
<Button onClick={() => openModal(record)} type='link' size='small'>
{t('编辑')}
</Button>
<Popconfirm
<TableActionPopconfirm
title={t('确认删除')}
content={t('确定要删除这个客服吗?')}
onConfirm={() => handleDelete(record.id)}
@@ -309,7 +311,7 @@ const CustomerServiceSetting = () => {
<Button type='link' size='small' danger>
{t('删除')}
</Button>
</Popconfirm>
</TableActionPopconfirm>
</Space>
),
},