feat: 统一编码声明为utf-8格式并优化模板生成逻辑

fix(notice): 修正公告状态查询条件为字符串类型
fix(job): 将日志状态显示从布尔值改为字符串类型
fix(dict): 修复字典状态显示与表单提交问题

refactor: 重构模板生成代码结构,移除冗余文件
refactor(schema): 优化字段类型定义和查询参数处理

style: 调整前端样式和布局问题
style: 清理重复注释和未使用代码

docs: 更新示例SQL模板和注释
docs: 完善代码生成模板文档

chore: 移除已废弃的gen_demo视图文件
This commit is contained in:
zhangtao
2025-12-03 00:53:19 +08:00
parent 3c12fa56eb
commit 279ba76709
32 changed files with 823 additions and 1992 deletions
@@ -113,7 +113,7 @@ function handleMarkAllAsRead() {
const ids = noticeList.value
.map((item) => item.id)
.filter((id): id is number => id !== undefined);
NoticeAPI.batchNotice({ ids, status: false }).then(async () => {
NoticeAPI.batchNotice({ ids, status: '1' }).then(async () => {
await noticeStore.getNotice();
noticeList.value = noticeStore.noticeList;
});