信息架构/菜单框架大重构-20260109

This commit is contained in:
Cheng Zhou
2026-01-09 11:19:04 +08:00
parent ba3cf95b8a
commit 9021c7fe2b
188 changed files with 7632 additions and 11658 deletions
+3 -3
View File
@@ -74,7 +74,7 @@ const categoryMap = computed(() =>
);
const view = (row: FaqItem) => {
router.push(`/study/faq/${row.id}`);
router.push(`/knowledge/medical-consult/${row.id}`);
};
const onRowClick = (row: FaqItem, column: any, event: MouseEvent) => {
@@ -99,7 +99,7 @@ const canDelete = (row: FaqItem) => props.canEdit || row.created_by === auth.use
const toggle = async (row: FaqItem) => {
const target = !row.is_active;
const ok = await ElMessageBox.confirm(`确认${target ? "启用" : "停用"} FAQ?`, "提示").catch(() => null);
const ok = await ElMessageBox.confirm(`确认${target ? "启用" : "停用"}咨询?`, "提示").catch(() => null);
if (!ok) return;
try {
await updateFaqItem(row.id, { is_active: target });
@@ -111,7 +111,7 @@ const toggle = async (row: FaqItem) => {
};
const remove = async (row: FaqItem) => {
const ok = await ElMessageBox.confirm(`确认删除 FAQ${row.question}」?`, "提示").catch(() => null);
const ok = await ElMessageBox.confirm(`确认删除咨询${row.question}」?`, "提示").catch(() => null);
if (!ok) return;
try {
await deleteFaqItem(row.id);