fusion-template-ui-dev
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "fusion-template-ui-dev" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a5fc91b8ce9e963754b28af8e52bc78342c175b5f83300c3beb7d65303299725. Verify the upstream source and version against https://skillhub.cn/skills/user_40e432fa/fusion-ui before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
For developing Vue 2 business pages based on template-ui. Intended for projects that have integrated fusion-ui, bsp-ui, and fusion-layout; covers CRUD/list pages, fs-form, fs-table, fs-feedback, fs-tree, platform API wrappers, system parameters, permission states, route registration, platform component API queries, and programmatic Vue usage.
Introduction source: third_party · user_40e432fa · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: fusion-template-ui-dev
description: 用于基于 template-ui 的 Vue 2 业务页面开发。适用于已经集成 fusion-ui、bsp-ui、fusion-layout 的项目,覆盖 CRUD/列表页、fs-form、fs-table、fs-feedback、fs-tree、平台接口封装、系统参数、权限状态、路由注册、平台组件 API 查询和编码式 Vue 用法。Fusion 模板前端开发
核心原则
把 template-ui 当成已经集成好的运行时基版。除非用户明确要求修改框架层,否则不要重新实现组件注册、axios 拦截器、token 请求头、租户请求头、动态路由、权限加载、系统参数初始化、fusion-ui/bsp-ui 注册。
业务页面默认使用平台组件和编码式配置:
- 接口请求使用
@/api中的$get、$post、$put、$delete封装。 - 系统参数从
this.$store.state.app读取。 - 当前用户、菜单、门户、权限状态从
this.$store.state.permission读取。 - 标准管理页优先使用
fs-form、fs-table、fs-feedback、fs-tree。 - 编码页面使用 Vue 方法和
this.$refs,通过组件公开方法读写数据。
按需阅读
- 基版已经封装了什么:读
references/template-runtime.md。 - 新增页面路由、菜单组件映射、页面跳转:读
references/router.md。 - 接口封装和请求约定:读
references/api-request.md。 - 系统参数、用户和权限状态:读
references/system-params-and-permission.md。 - 开发约束、接口契约、文案、布局和异常处理规则:读
references/development-rules.md。 - 编码写法、组件配置和 Vue 方法引用约定:读
references/coding-style.md。 - 不确定平台组件 tag、配置 type、表格列
component.type或属性名是否存在、需要精确检索时:读references/fusion-components/component-api-index.md。 - 平台组件覆盖地图:读
references/fusion-components/component-map.md。 - 按钮、提示、布局渲染项:读
references/fusion-components/basic-layout-components.md。 - 表单容器:读
references/fusion-components/fs-form.md。 - 表单项类型、props、事件:读
references/fusion-components/form-items.md。 - 表格、列、操作列、状态展示:读
references/fusion-components/fs-table.md。 - 弹窗、反馈容器、树组件:读
references/fusion-components/fs-feedback-and-tree.md。 - 常见页面配方:读
references/recipes.md。 - 禁止和慎用写法:读
references/anti-patterns.md。
默认流程
- 判断任务属于基版集成、接口开发、组件配置,还是完整页面开发。
- 只读取匹配的参考文档,避免把无关规范塞满上下文。
- 查看目标项目附近页面,确认本模块的命名、接口文件、按钮文案和交互风格。
- 优先使用
src/config/system.config.js的平台默认配置;只有需求、接口契约或同模块已有页面要求时才覆盖。 - 业务 ID 一律按字符串原样透传,不要用
Number或parseInt。 - 接口失败交给全局请求拦截器;页面只处理成功流程、前置校验和必要的
finally收尾。 - 不确定能不能加字段、样式、兼容逻辑、默认值或限制条件时,先查
references/development-rules.md和目标项目既有页面。
示例资产
可复制的第一版示例在:
references/examples/api/crud.mdreferences/examples/api/resource.mdreferences/examples/pages/standard-list.mdreferences/examples/pages/tree-list.mdreferences/examples/pages/dialog-form.mdreferences/examples/pages/submit-dialog.mdreferences/examples/pages/dynamic-setting-form.md
使用示例时要按目标项目替换字段名、接口路径、页面文案和业务规则。
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向已集成 fusion-ui/bsp-ui/fusion-layout 的项目,提供 CRUD、表单、表格、反馈、树组件等前端开发能力,实用价值高
Highlights
- description 明确描述适用场景、覆盖能力和目标用户,触发词精准完整,边界清晰
Highlights
- 结构清晰,包含核心原则、按需阅读、默认流程、示例资产等章节,步骤划分明确,有端到端示例指引
Highlights
- 提供详细的开发约束、接口契约、异常处理规则,工具来源明确,覆盖主要异常,不可逆操作有确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.