生成统一页面骨架,保证页面结构、状态管理、交互反馈和埋点位的一致性。
references/page-template.md 作为输出基线。index.vue、components/、column.js。index.vue + components/ + column.js,禁止只生成单文件页面;admin-page-layout 作为页面容器;src/api/** 并从该目录导入;src/constants/permission-const.js;src/constants/support/table-id-const.js;column 文件(如 column.js / constant/column.js)中,页面文件仅允许 import { columns } ... 使用,禁止在页面内联声明列配置;show-add/show-delete/show-import/show-export 按权限点控制;admin-input,下拉/枚举使用 SmartEnumSelect;more-button 组件承载操作项(禁止使用行内 a-button 直接平铺操作);options 以行内按钮形式直接展示在表格行上(必须收敛到 more-button);width,禁止省略列宽;operate 且配置 fieldType: "slot" 与 width,并在模板中通过 渲染。共 1 个版本