 luishouandClaude Opus 4.8
|
689c0de91d
|
feat: 客户列表展示全部字段并加斑马纹/网格线
- 列表补齐结算人、产品明细、押金、买断、备注,按业务顺序排列
- 长文本列(产品明细/备注)换行完整显示
- Table 组件新增可选 striped/bordered,仅客户列表启用
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-11 23:19:59 +08:00 |
|
 luishouandClaude Opus 4.8
|
2c337c7d62
|
feat: 侧边栏可点击折叠/展开
顶栏左侧新增切换按钮,点击后左侧菜单在 w-60↔w-0 间平滑伸缩隐藏。
折叠状态通过 SidebarProvider(context) 在侧边栏与顶栏间共享。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-11 22:56:04 +08:00 |
|
 luishouandClaude Opus 4.8
|
d123d1e46d
|
fix(sql): 迁移脚本关闭会话严格模式,避免脏日期触发 #1411 中断
STR_TO_DATE 在严格模式下遇到无法解析的脏值(如 5 位年)会报错中断,
而非按预期返回 NULL。在 USE crm 后加 SET SESSION sql_mode=''。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-11 22:56:04 +08:00 |
|
 luishouandClaude Opus 4.8
|
228c37c897
|
feat: 新增客户表单强制必填校验(名称无空格/手机号11位/押金买断生日)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-11 21:17:59 +08:00 |
|
 luishouandClaude Opus 4.8
|
1e8396d0d3
|
chore: 部署改为 PM2,服务监听 0.0.0.0
- 新增 ecosystem.config.js(next start -H 0.0.0.0 -p 3100)
- package.json start 脚本绑定 0.0.0.0
- DEPLOY.md 重写为 PM2 详细部署,含端口放行/防火墙/Nginx 反代/更新回滚
- .gitignore 忽略 logs/
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-08 19:43:10 +08:00 |
|
 luishouandClaude Opus 4.8
|
9ce320ef11
|
docs: 生产库日期字段迁移+清洗 SQL 运行手册
customers.birthday/report_date 从脏 varchar 迁移为 date 类型,
原值备份到 *_raw 列,清理离谱年份。已在生产真实数据只读验证:
birthday 解析 99.9%、report_date 98.9%。含备份/核对/回滚步骤。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-08 16:25:37 +08:00 |
|
 luishouandClaude Opus 4.8
|
5d46afe439
|
feat: 联动支付 CRM 后台(Next.js + TS + Prisma 重构)
从旧 Laravel 5.7 重构为现代技术栈,对接现有 MySQL。
- 技术栈: Next.js 15 App Router + TypeScript + Prisma + Auth.js + Tailwind v4
- 认证: 复用旧库 admins 的 bcrypt 密码,Auth.js Credentials
- 客户管理: 列表(搜索/报单区间/分页)、增改删、Excel 导入导出
- 生日提醒: 阴阳历(lunar-typescript),口径对齐旧 overtrue 库
- RBAC: 管理员/角色/权限(菜单树) 完整 CRUD + 分配
- 控制台: 统计卡 + 月度新增报单柱状图
- 个人中心: 改昵称/改密码
- 现代 CMS 界面 + 联动支付品牌(logo/登录/底部/icon)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-08 15:02:03 +08:00 |
|