20 lines
509 B
JavaScript
20 lines
509 B
JavaScript
// 核心企业(渠道)数据以扁平列表存储;orgId 关联本系统机构树(所属机构),其余字段均为自由文本
|
|
export const channels = [
|
|
{
|
|
id: 'channel001',
|
|
name: '示例核心企业A',
|
|
channelCode: 'CH0001',
|
|
appCode: 'APP0001',
|
|
motherAccountBank: '中国工商银行示例支行',
|
|
orgId: 'org002',
|
|
createdAt: '2026-01-05 00:00:00'
|
|
}
|
|
]
|
|
|
|
let seq = channels.length
|
|
|
|
export function nextChannelId() {
|
|
seq += 1
|
|
return `channel${String(seq).padStart(3, '0')}`
|
|
}
|