From 44a8eb9f520c9b42138ff0dac42ecb626e36627a Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Thu, 13 Nov 2025 14:23:17 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=A2=9E=E5=8A=A0=E6=9D=83=E9=99=90=20?= =?UTF-8?q?SQL=EF=BC=9B=E6=8C=89=E9=92=AE=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/RBAC 权限.sql | 2 ++ src/components/SearchForm.jsx | 4 ++-- src/views/external-reviews/review-list.jsx | 10 ++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/RBAC 权限.sql b/doc/RBAC 权限.sql index e42fcdb..610fbdd 100644 --- a/doc/RBAC 权限.sql +++ b/doc/RBAC 权限.sql @@ -71,6 +71,8 @@ INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) VALUES ('反馈表', '/feedback/all', 'oversea') INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) VALUES ('质量评分', '/report/all', 'oversea') +INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) +VALUES ('站外好评', '/review/all', 'oversea') INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) VALUES ('所有国内功能', '/domestic/all', 'domestic') diff --git a/src/components/SearchForm.jsx b/src/components/SearchForm.jsx index ad4bd89..7c2e4bd 100644 --- a/src/components/SearchForm.jsx +++ b/src/components/SearchForm.jsx @@ -6,7 +6,7 @@ import useFormStore from "@/stores/Form"; import { useDatePresets } from "@/hooks/useDatePresets"; import { useTranslation } from "react-i18next"; import useAuthStore from '@/stores/Auth' - +import { SearchOutlined } from '@ant-design/icons'; import SearchInput from "./SearchInput"; import AuditStateSelector from "./AuditStateSelector"; import DeptSelector from "./DeptSelector"; @@ -159,7 +159,7 @@ const SearchForm = ({ initialValue, onSubmit, onReset, onMounted, confirmText, f {/* 'textAlign': 'right' */} - {/* + ) }, }, @@ -123,7 +121,7 @@ function ReviewList() { searchReview(formValuesToSub) }} /> - +