Commit dfd119eb by 宋毅

tj

parent b50e6105
...@@ -24,7 +24,7 @@ class GsbIcSearchApi extends ApiBase { ...@@ -24,7 +24,7 @@ class GsbIcSearchApi extends ApiBase {
}; };
async membersearch(obj) { async membersearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName; var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName); companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = obj.pageSize == null ? 15 : obj.pageSize; var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
...@@ -105,7 +105,7 @@ class GsbIcSearchApi extends ApiBase { ...@@ -105,7 +105,7 @@ class GsbIcSearchApi extends ApiBase {
}; };
async shareholdersearch(obj) { async shareholdersearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName; var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName); companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = obj.pageSize == null ? 15 : obj.pageSize; var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
...@@ -173,7 +173,7 @@ class GsbIcSearchApi extends ApiBase { ...@@ -173,7 +173,7 @@ class GsbIcSearchApi extends ApiBase {
}; };
async investsearch(obj) { async investsearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName; var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName); companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = obj.pageSize == null ? 15 : obj.pageSize; var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
...@@ -242,7 +242,7 @@ class GsbIcSearchApi extends ApiBase { ...@@ -242,7 +242,7 @@ class GsbIcSearchApi extends ApiBase {
}; };
async changesearch(obj) { async changesearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName; var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName); companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = obj.pageSize == null ? 15 : obj.pageSize; var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
...@@ -310,7 +310,7 @@ class GsbIcSearchApi extends ApiBase { ...@@ -310,7 +310,7 @@ class GsbIcSearchApi extends ApiBase {
}; };
async companynamesearch(obj) { async companynamesearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName; var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName); companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = obj.pageSize == null ? 15 : obj.pageSize; var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
...@@ -396,7 +396,7 @@ class GsbIcSearchApi extends ApiBase { ...@@ -396,7 +396,7 @@ class GsbIcSearchApi extends ApiBase {
}; };
async companynameonesearch(obj) { async companynameonesearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName; var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName); companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = 1; var pageSize = 1;
...@@ -439,6 +439,7 @@ class GsbIcSearchApi extends ApiBase { ...@@ -439,6 +439,7 @@ class GsbIcSearchApi extends ApiBase {
"reg_location", "reg_location",
"business_scope", "business_scope",
"approved_time", "approved_time",
"company_org_type",
"from_time", "from_time",
"to_time", "to_time",
"reg_unit" "reg_unit"
...@@ -487,6 +488,8 @@ class GsbIcSearchApi extends ApiBase { ...@@ -487,6 +488,8 @@ class GsbIcSearchApi extends ApiBase {
businessAddress: c._source.reg_location, businessAddress: c._source.reg_location,
scope: c._source.business_scope, scope: c._source.business_scope,
dateIssue: c._source.approved_time, dateIssue: c._source.approved_time,
companyProvince: c._source.company_province,
companyOrgType: c._source.company_org_type,
businessTerm: c._source.from_time + "至" + c._source.to_time, businessTerm: c._source.from_time + "至" + c._source.to_time,
}; };
sources.push(source); sources.push(source);
...@@ -502,7 +505,7 @@ class GsbIcSearchApi extends ApiBase { ...@@ -502,7 +505,7 @@ class GsbIcSearchApi extends ApiBase {
var self = this; var self = this;
var isVerify = obj.isVerify || 1; var isVerify = obj.isVerify || 1;
if (isVerify == 1) { if (isVerify == 1) {
} }
var companyName = obj.companyName == null ? "" : obj.companyName; var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName); companyName = await this.getConvertSemiangleStr(companyName);
...@@ -627,7 +630,7 @@ class GsbIcSearchApi extends ApiBase { ...@@ -627,7 +630,7 @@ class GsbIcSearchApi extends ApiBase {
async companymgetsearch(obj) { async companymgetsearch(obj) {
var self = this; var self = this;
var companyNames = obj.companyNames; var companyNames = obj.companyNames;
var pageSize = obj.companyNames.length; var pageSize = obj.companyNames.length;
if (obj.currentPage == null) { if (obj.currentPage == null) {
...@@ -715,7 +718,7 @@ class GsbIcSearchApi extends ApiBase { ...@@ -715,7 +718,7 @@ class GsbIcSearchApi extends ApiBase {
}; };
async companycodesearch(obj) { async companycodesearch(obj) {
var creditCode = obj.creditCode == null ? "" : obj.creditCode; var creditCode = obj.creditCode == null ? "" : obj.creditCode;
var pageSize = obj.pageSize == null ? 15 : obj.pageSize; var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
if (obj.currentPage == null) { if (obj.currentPage == null) {
...@@ -814,7 +817,7 @@ class GsbIcSearchApi extends ApiBase { ...@@ -814,7 +817,7 @@ class GsbIcSearchApi extends ApiBase {
}; };
async companyNumsearch(obj) { async companyNumsearch(obj) {
var regNumber = obj.regNumber == null ? "" : obj.regNumber; var regNumber = obj.regNumber == null ? "" : obj.regNumber;
var pageSize = obj.pageSize == null ? 15 : obj.pageSize; var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
if (obj.currentPage == null) { if (obj.currentPage == null) {
...@@ -917,7 +920,7 @@ class GsbIcSearchApi extends ApiBase { ...@@ -917,7 +920,7 @@ class GsbIcSearchApi extends ApiBase {
var self = this; var self = this;
var isVerify = obj.isVerify || 1; var isVerify = obj.isVerify || 1;
if (isVerify == 1) { if (isVerify == 1) {
} }
var companyName = obj.companyName == null ? "" : obj.companyName; var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName); companyName = await this.getConvertSemiangleStr(companyName);
...@@ -965,7 +968,7 @@ class GsbIcSearchApi extends ApiBase { ...@@ -965,7 +968,7 @@ class GsbIcSearchApi extends ApiBase {
}; };
async branchsearch(obj) { async branchsearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName; var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName); companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = obj.pageSize == null ? 15 : obj.pageSize; var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment