You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
1.8 KiB
91 lines
1.8 KiB
2 months ago
|
import { DictionaryTools } from 'platform-core';
|
||
|
|
||
|
/**
|
||
|
* 评级使用到的数据字典
|
||
|
*/
|
||
|
export class Dictionary {
|
||
|
/**
|
||
|
* 推翻类型
|
||
|
*/
|
||
|
overturnType: any;
|
||
|
/**
|
||
|
* 企业规模
|
||
|
*/
|
||
|
customerSize: any;
|
||
|
/**
|
||
|
* 企业类型
|
||
|
*/
|
||
|
registeredType: any;
|
||
|
/**
|
||
|
* 融资平台类型
|
||
|
*/
|
||
|
goverFinanceType: any;
|
||
|
/**
|
||
|
* 融资平台标志
|
||
|
*/
|
||
|
goverFinanceSign: any;
|
||
|
/**
|
||
|
* 注册所在地
|
||
|
*/
|
||
|
registrationCd: any;
|
||
|
/**
|
||
|
* 所在国家地区
|
||
|
*/
|
||
|
nationCd: any;
|
||
|
/**
|
||
|
* 成员类别
|
||
|
*/
|
||
|
memberTypeCd: any;
|
||
|
/**
|
||
|
* 报表类型
|
||
|
*/
|
||
|
financeTypeCd: any;
|
||
|
/**
|
||
|
* 报表类别
|
||
|
*/
|
||
|
financeSortTypeCd: any;
|
||
|
/**
|
||
|
* 是否审计
|
||
|
*/
|
||
|
financeStatusCd: any;
|
||
|
/**
|
||
|
* 报表口径
|
||
|
*/
|
||
|
caliberCd: any;
|
||
|
/**
|
||
|
* 报表币种
|
||
|
*/
|
||
|
currencyTypeCd: any;
|
||
|
|
||
|
async load() {
|
||
|
const arr = await DictionaryTools.fetch([
|
||
|
'OVERTURN_TYPE',
|
||
|
'CustomerSizeCd',
|
||
|
'REGISTERED_TYPE',
|
||
|
'GOVER_FINANCE_TYPE',
|
||
|
'GOVER_FINANCE_SIGN',
|
||
|
'REGISTRATION_CD',
|
||
|
'NATION_CD',
|
||
|
'MEMBER_TYPE_CD',
|
||
|
'FinanceTypeCd',
|
||
|
'FinanceSortTypeCd',
|
||
|
'FinanceStatusCd',
|
||
|
'CaliberCd',
|
||
|
'CurrencyTypeCd',
|
||
|
]);
|
||
|
this.overturnType = arr['OVERTURN_TYPE'];
|
||
|
this.customerSize = arr['CustomerSizeCd'];
|
||
|
this.registeredType = arr['REGISTERED_TYPE'];
|
||
|
this.goverFinanceType = arr['GOVER_FINANCE_TYPE'];
|
||
|
this.goverFinanceSign = arr['GOVER_FINANCE_SIGN'];
|
||
|
this.registrationCd = arr['REGISTRATION_CD'];
|
||
|
this.nationCd = arr['NATION_CD'];
|
||
|
this.memberTypeCd = arr['MEMBER_TYPE_CD'];
|
||
|
this.financeTypeCd = arr['FinanceTypeCd'];
|
||
|
this.financeSortTypeCd = arr['FinanceSortTypeCd'];
|
||
|
this.financeStatusCd = arr['FinanceStatusCd'];
|
||
|
this.caliberCd = arr['CaliberCd'];
|
||
|
this.currencyTypeCd = arr['CurrencyTypeCd'];
|
||
|
}
|
||
|
}
|