feat(migrations): Harden task audit tracking and optimize article templates
- Added migration to harden task audit tracking by modifying audit_logs and related tables. - Introduced operator_id to several tables for better tracking of actions. - Updated article_templates with new prompt templates for various article types, enhancing content generation. - Created prompt_rules and schedule_tasks tables to manage content generation rules and scheduling. - Added foreign key constraints to articles for better data integrity.
This commit is contained in:
@@ -148,7 +148,7 @@ async function handleLogout(): Promise<void> {
|
||||
</a-menu>
|
||||
</a-layout-sider>
|
||||
|
||||
<a-layout>
|
||||
<a-layout class="admin-main-layout">
|
||||
<a-layout-header class="admin-header">
|
||||
<h2 class="admin-header-title">{{ pageTitle }}</h2>
|
||||
|
||||
@@ -218,8 +218,19 @@ async function handleLogout(): Promise<void> {
|
||||
}
|
||||
|
||||
.admin-sider {
|
||||
overflow: auto;
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background: #fff;
|
||||
border-right: 1px solid #f0f0f0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.admin-main-layout {
|
||||
margin-left: 250px;
|
||||
}
|
||||
|
||||
.admin-brand {
|
||||
@@ -243,6 +254,8 @@ async function handleLogout(): Promise<void> {
|
||||
}
|
||||
|
||||
.admin-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: #fff;
|
||||
padding: 0 24px;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user