|
|
@@ -35,6 +35,12 @@ export interface IUsed {
|
|
|
compilationId: string;
|
|
|
}
|
|
|
|
|
|
+export interface ISpecifyCptItem {
|
|
|
+ accountType: string;
|
|
|
+ enterpriseID?: string;
|
|
|
+ cptID: string;
|
|
|
+}
|
|
|
+
|
|
|
// user 表原始字段
|
|
|
export interface IRawUser {
|
|
|
enterpriseID?: string;
|
|
|
@@ -47,6 +53,7 @@ export interface IRawUser {
|
|
|
province?: number;
|
|
|
company_type?: number;
|
|
|
company_scale?: number;
|
|
|
+ specifyCpt?: string;
|
|
|
latest_login?: number;
|
|
|
user_type?: string;
|
|
|
contacts?: IContact[];
|
|
|
@@ -60,8 +67,6 @@ export interface IRawUser {
|
|
|
upgrade_list?: IUpgradeInfo[];
|
|
|
used_list?: IUsed[];
|
|
|
latest_used?: string;
|
|
|
-
|
|
|
- [key: string]: any;
|
|
|
}
|
|
|
|
|
|
// 返回给前端的字段
|
|
|
@@ -72,10 +77,15 @@ export interface IUser {
|
|
|
realName?: string;
|
|
|
avatar?: string;
|
|
|
position?: string;
|
|
|
- company?: string;
|
|
|
- province?: number;
|
|
|
+ // 公司名
|
|
|
+ companyName?: string;
|
|
|
+ // 省(个人账户只需要精确到省)
|
|
|
+ companyLocation?: number;
|
|
|
+ // 公司类型
|
|
|
companyType?: number;
|
|
|
companyScale?: number;
|
|
|
+ // 指定的编办
|
|
|
+ specifyCpt?: string;
|
|
|
latestLogin?: number;
|
|
|
userType?: string;
|
|
|
contacts?: IContact[];
|
|
|
@@ -89,12 +99,6 @@ export interface IUser {
|
|
|
upgradeList?: IUpgradeInfo[];
|
|
|
usedList?: IUsed[];
|
|
|
latestUsed?: string;
|
|
|
-
|
|
|
- [key: string]: any;
|
|
|
-}
|
|
|
-
|
|
|
-export interface IUserSession extends IUser {
|
|
|
- enterpriseID: string; // 企业ID
|
|
|
}
|
|
|
|
|
|
// 最近联系人
|