从旧 WebVue 移植的地基部分: - 登录页(RSA+MD5 密码加密、redirect 回跳、中英文切换)与登录后落地页 - 401 / 403 / 404 错误页 + error-panel 通用外壳(文案走 ErrorPage 语言包) - 登录守卫双链路:uni.addInterceptor 拦站内跳转,页面级 onShow 复核冷启动深链 - 单一请求链路 common/http.interceptor:JWT 唯一来源、401 并发刷新单例、 业务异常识别、HTTP 403 跳无权限页 - H5 干净短地址:initRouter 前向 __uniRoutes 追加克隆记录(router/h5-clean-url) - 路由登记表 router/routes.ts(PAGE_PATHS / pageUrl / PAGE_PERMISSIONS) 与新增页面四步登记约定(src/md/page-routing.md) - i18n:uView Pro 语言包 + 后端词条合并,双取值(后端 zh-cn/en,包名 zh-CN/en-US) - 后端接口层 service/ 与数据模型 data/auto/ 为生成器产物,不手改 不入库的内容: - 摘除脚手架残留的 Harmony 签名密码(manifest.json signingConfigs 与 harmony-configs/build-profile.json5 的 keyPassword / storePassword 已置空) - 忽略 node_modules、dist、unpackage、.hbuilderx、.agents、pnpm-lock.yaml 及根目录临时截图
51 lines
2.5 KiB
TypeScript
51 lines
2.5 KiB
TypeScript
export class FamilyTreeSpouseMapEntity {
|
|
public CreatedBy: string = "";
|
|
public CreatedDatetime: Date = new Date();
|
|
public DivorceDate?: Date = null!;
|
|
public DivorceDateText: string = "";
|
|
public IsCurrent: string = "";
|
|
public MarryDate?: Date = null!;
|
|
public MarryDateText: string = "";
|
|
public MarryType: string = "";
|
|
public Orderby: number = 0;
|
|
public PersonId: string = "";
|
|
public Remark: string = "";
|
|
public SpouseId: string = "";
|
|
public TreeId: string = "";
|
|
public UpdatedBy: string = "";
|
|
public UpdatedDatetime: Date = new Date();
|
|
|
|
static readonly CREATED_BY: string = "CreatedBy";
|
|
static readonly CREATED_DATETIME: string = "CreatedDatetime";
|
|
static readonly DIVORCE_DATE: string = "DivorceDate";
|
|
static readonly DIVORCE_DATE_TEXT: string = "DivorceDateText";
|
|
static readonly IS_CURRENT: string = "IsCurrent";
|
|
static readonly MARRY_DATE: string = "MarryDate";
|
|
static readonly MARRY_DATE_TEXT: string = "MarryDateText";
|
|
static readonly MARRY_TYPE: string = "MarryType";
|
|
static readonly ORDERBY: string = "Orderby";
|
|
static readonly PERSON_ID: string = "PersonId";
|
|
static readonly REMARK: string = "Remark";
|
|
static readonly SPOUSE_ID: string = "SpouseId";
|
|
static readonly TREE_ID: string = "TreeId";
|
|
static readonly UPDATED_BY: string = "UpdatedBy";
|
|
static readonly UPDATED_DATETIME: string = "UpdatedDatetime";
|
|
static readonly DB_NAME_FAMILY_TREE_SPOUSE_MAP: string = "family_tree_spouse_map";
|
|
static readonly DB_NAME_FIELDS: string = "created_by,created_datetime,divorce_date,divorce_date_text,is_current,marry_date,marry_date_text,marry_type,orderby,person_id,remark,spouse_id,tree_id,updated_by,updated_datetime";
|
|
static readonly DB_CREATED_BY: string = "created_by";
|
|
static readonly DB_CREATED_DATETIME: string = "created_datetime";
|
|
static readonly DB_DIVORCE_DATE: string = "divorce_date";
|
|
static readonly DB_DIVORCE_DATE_TEXT: string = "divorce_date_text";
|
|
static readonly DB_IS_CURRENT: string = "is_current";
|
|
static readonly DB_MARRY_DATE: string = "marry_date";
|
|
static readonly DB_MARRY_DATE_TEXT: string = "marry_date_text";
|
|
static readonly DB_MARRY_TYPE: string = "marry_type";
|
|
static readonly DB_ORDERBY: string = "orderby";
|
|
static readonly DB_PERSON_ID: string = "person_id";
|
|
static readonly DB_REMARK: string = "remark";
|
|
static readonly DB_SPOUSE_ID: string = "spouse_id";
|
|
static readonly DB_TREE_ID: string = "tree_id";
|
|
static readonly DB_UPDATED_BY: string = "updated_by";
|
|
static readonly DB_UPDATED_DATETIME: string = "updated_datetime";
|
|
}
|