import type { FormRules } from "element-plus";
|
|
interface EnterpriseInfo {
|
/** 主键Id */
|
id?: number | null;
|
/** 企业类型(不可空) */
|
enterpriseType: [];
|
/** 主体角色代码(不可空,原字段TransactionCode) */
|
exRoleCode: string;
|
/** 交易主体代码(同角色代码,不可空) */
|
transactionCode: string;
|
/** 营业执照文件路径(不可空) */
|
businessLicense: string;
|
/** 企业名称(不可空) */
|
enterpriseName: string;
|
/** 统一社会信用代码(不可空) */
|
unifiedSocialCreditCode: string;
|
/** 注册资金(不可空) */
|
registeredCapital: string;
|
/** 法定代表人姓名(不可空) */
|
legalRepresentativeName: string;
|
/** 法定代表人身份证文件路径(不可空) */
|
legalRepresentativeIdCard: string;
|
/** 法定代表人身份证号码(不可空) */
|
legalRepresentativeIdNumber: string;
|
/** 法定代表人电话(不可空) */
|
legalRepresentativePhone: string;
|
/** 企业住所(不可空) */
|
residence: string;
|
/** 企业联系电话(不可空) */
|
enterprisePhone: string;
|
/** 企业成立时间(不可空,格式:yyyy-MM-dd HH:mm:ss) */
|
establishmentTime: string;
|
/** 企业主营业务(可为空) */
|
mainBusiness?: string | null;
|
/** 企业邮箱(不可空) */
|
enterpriseEmail: string;
|
/** 业务经办人姓名、管理员姓名(不可空) */
|
operatorName: string;
|
/** 业务经办人身份证文件路径或标识(不可空) */
|
operatorIdCard: string;
|
/** 业务经办人身份证号码(不可空) */
|
operatorIdNumber: string;
|
/** 业务经办人电话/管理员电话(可为空) */
|
operatorPhone?: string | null;
|
/** 开户行名称(不可空) */
|
bankName: string;
|
/** 开户行账号(不可空) */
|
bankAccount: string;
|
/** 电话号码校验码(不可空) */
|
phoneVCode: string;
|
bankAccountIMG: string;
|
account?: string;
|
}
|
interface RoleInfo {
|
/** 角色编码 */
|
code: string;
|
/** 数据范围 */
|
dataScope: number;
|
/** 角色ID */
|
id: number;
|
/** 角色名称 */
|
name: string;
|
/** 排序号 */
|
orderNo: number;
|
/** 备注信息(可为空) */
|
remark: string | null;
|
/** 状态(1表示启用等,根据业务定义) */
|
status: number;
|
}
|
// 行业分类子项类型
|
interface IndustryCategoryChild {
|
child: IndustryCategoryChild[] | null;
|
/** 子分类ID */
|
id: number;
|
/** 子分类名称 */
|
name: string;
|
/** 子分类编码 */
|
code: string;
|
/** 父分类ID */
|
parentId: number;
|
// 如需其他子项可能存在的字段,可在此补充
|
}
|
|
// 行业分类主项类型
|
interface IndustryCategory {
|
/** 子分类列表 */
|
child: IndustryCategoryChild[];
|
/** 主分类编码 */
|
code: string;
|
/** 主分类ID */
|
id: number;
|
/** 主分类名称 */
|
name: string;
|
/** 父分类ID(0表示顶级分类) */
|
parentId: number;
|
}
|
|
interface stateInfo {
|
ruleForm: EnterpriseInfo;
|
phoneSeconds: number;
|
expirySeconds: number;
|
captchaImage: string;
|
headers: {
|
Authorization: string;
|
};
|
roleList: Array<RoleInfo>;
|
capsLockVisible: boolean;
|
code: string | null;
|
codeId: string | null;
|
checkedAgree: boolean;
|
rules: FormRules;
|
enterpriseList: Array<IndustryCategory>;
|
}
|
|
export type { stateInfo };
|