From 9212b27424268eae59efc95bf399aef09d240bea Mon Sep 17 00:00:00 2001 From: La123123 <617330105@qq.com> Date: Tue, 28 Apr 2026 14:38:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-admin-ui/src/views/im/autoReply/index.vue | 8 ++--- im-admin-ui/src/views/im/customer/index.vue | 34 +++++++++---------- im-admin-ui/src/views/im/quickReply/index.vue | 4 +-- im-admin-ui/src/views/im/user/index.vue | 6 ++-- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/im-admin-ui/src/views/im/autoReply/index.vue b/im-admin-ui/src/views/im/autoReply/index.vue index 9a3fbd4..6e05541 100644 --- a/im-admin-ui/src/views/im/autoReply/index.vue +++ b/im-admin-ui/src/views/im/autoReply/index.vue @@ -43,15 +43,15 @@ - + - - + + - + - - - - + + + + @@ -88,7 +88,7 @@ - + @@ -98,7 +98,7 @@ - + @@ -247,7 +247,7 @@ const submitForm = () => { }); }; -/** 查询用户列表 */ +/** 查询客服列表 */ const getList = async () => { loading.value = true; const res = await listUser(queryParams.value); @@ -264,7 +264,7 @@ const handleQuery = () => { }; /** - * 获取当前登录用户的 uniqueToken + * 获取当前登录客服的 uniqueToken */ const fetchUniqueToken = async () => { try { @@ -374,7 +374,7 @@ const handleResetPwd = async (row: UserVO) => { cancelButtonText: '取消', closeOnClickModal: false, inputPattern: /^.{5,20}$/, - inputErrorMessage: '用户密码长度必须介于 5 和 20 之间', + inputErrorMessage: '客服密码长度必须介于 5 和 20 之间', inputValidator: (value) => { if (/<|>|"|'|\||\\/.test(value)) { return '不能包含非法字符:< > " \' \\\ |'; @@ -420,7 +420,7 @@ const reset = () => { // }; const banHandle = (user: any) => { - ElMessageBox.prompt('封禁原因:', '确定对该用户进行封禁?', { + ElMessageBox.prompt('封禁原因:', '确定对该客服进行封禁?', { inputPattern: /\S/, inputErrorMessage: '请输入封禁原因', confirmButtonText: '确定', @@ -429,20 +429,20 @@ const banHandle = (user: any) => { const data = { id: user.id, reason: value }; ban(data).then(() => { user.isBanned = true; - ElMessage.success(`用户'${user.userName}'已被封禁`); + ElMessage.success(`客服'${user.userName}'已被封禁`); }); }); }; const unbanHandle = (user: any) => { - ElMessageBox.confirm('确定解除该用户的封禁状态??', '提示', { + ElMessageBox.confirm('确定解除该客服的封禁状态??', '提示', { confirmButtonText: '确定', cancelButtonText: '取消' }).then(() => { const data = { id: user.id }; unban(data).then(() => { user.isBanned = false; - ElMessage.success(`用户'${user.userName}'解锁成功`); + ElMessage.success(`客服'${user.userName}'解锁成功`); }); }); }; diff --git a/im-admin-ui/src/views/im/quickReply/index.vue b/im-admin-ui/src/views/im/quickReply/index.vue index 0095081..fa6754e 100644 --- a/im-admin-ui/src/views/im/quickReply/index.vue +++ b/im-admin-ui/src/views/im/quickReply/index.vue @@ -45,9 +45,9 @@ - + - +