fix(ticket): repair the ticket status panel color and table cells

工单状态 Tab 三处渲染问题:

- 状态名称与标识两列空白:h() 的第三个参数对原生元素必须是文本本身,
  写成 () => row.name 的插槽函数只对组件生效,单元格因此为空
- 编辑弹窗「状态颜色」区域失灵:取色器未限定 modes,默认
  ['rgb','hex','hsl'],拖动色板回传 rgb(...),被 setColor 的十六进制
  守卫丢弃,色块与输入框都不跟随。改为 :modes="['hex']",与
  AksField 的 color 字段一致
- 颜色列原本只是纯文本,按需求补上色块预览;标识改用等宽 span 渲染

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Fable 5 committed 2026-10-26 20:43:12 +08:00
1 parent e7ca0ee5df
commit 44fa34fdff
2 files changed
+49 -7

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
{
"generated_at": "2026-10-26T11:36:52+00:00",
"generated_at": "2026-10-26T12:40:28+00:00",
"errors": [],
"warnings": [
"customPage tools-update section 'tools/update' not in PHP schema (ok if pure operational page)",
@@ -287,7 +287,7 @@
"UsersLevel.BnvrTSj0.js",
"UsersBadge.CZSYaoC4.js",
"UsersWechatTemplate.BGKwGvbY.js",
"UsersTicket.DmhmPeKC.js",
"UsersTicket.CoFrcj_8.js",
"ToolsImportExport.CuVI1mrN.js",
"ToolsHealth.BT7gJFVm.js",
"ToolsUpdate.59iH8s4m.js"