移动端应用页面新增一个实体

移动端应用页面新增一个实体

作者:


我这次新加了一个人员档案列表及查看表单,记录一下

预制移动端列表和表单

列表路由

apps/link-h5/src/stackNavigator/defines/subpackage.tsx

常量配置

apps/link-h5/src/subpackages/basicArchives/consts/lang/en.ts ,英文名称

apps/link-h5/src/subpackages/basicArchives/consts/lang/zh-cn.ts,中文名称

apps/link-h5/src/subpackages/basicArchives/consts/applyNames.ts,实体名字

apps/link-h5/src/subpackages/basicArchives/consts/applyPagePaths.ts,实体的路由

apps/link-h5/src/subpackages/basicArchives/consts/applyStatic.ts,图标的图标

apps/link-h5/src/subpackages/basicArchives/consts/config.ts,“人员”是“往来单位”的下级

表单presenter

apps/link-h5/src/subpackages/biz-forms/pages/biz-form/presenter.ts,实体对应的formPresenter

apps/link-h5/src/subpackages/biz-forms/pages/biz-form/presenters/user/UserFormPresenter.tsx,一个最简单的FormPresenter

列表presenter

apps/link-h5/src/subpackages/biz-forms/pages/user-list/UserListPagePresenter.tsx,一个最简单的ListPresenter