Commit dfd119eb by 宋毅

tj

parent b50e6105
......@@ -24,7 +24,7 @@ class GsbIcSearchApi extends ApiBase {
};
async membersearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
......@@ -105,7 +105,7 @@ class GsbIcSearchApi extends ApiBase {
};
async shareholdersearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
......@@ -173,7 +173,7 @@ class GsbIcSearchApi extends ApiBase {
};
async investsearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
......@@ -242,7 +242,7 @@ class GsbIcSearchApi extends ApiBase {
};
async changesearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
......@@ -310,7 +310,7 @@ class GsbIcSearchApi extends ApiBase {
};
async companynamesearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
......@@ -396,7 +396,7 @@ class GsbIcSearchApi extends ApiBase {
};
async companynameonesearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = 1;
......@@ -439,6 +439,7 @@ class GsbIcSearchApi extends ApiBase {
"reg_location",
"business_scope",
"approved_time",
"company_org_type",
"from_time",
"to_time",
"reg_unit"
......@@ -487,6 +488,8 @@ class GsbIcSearchApi extends ApiBase {
businessAddress: c._source.reg_location,
scope: c._source.business_scope,
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,
};
sources.push(source);
......@@ -502,7 +505,7 @@ class GsbIcSearchApi extends ApiBase {
var self = this;
var isVerify = obj.isVerify || 1;
if (isVerify == 1) {
}
var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName);
......@@ -627,7 +630,7 @@ class GsbIcSearchApi extends ApiBase {
async companymgetsearch(obj) {
var self = this;
var companyNames = obj.companyNames;
var pageSize = obj.companyNames.length;
if (obj.currentPage == null) {
......@@ -715,7 +718,7 @@ class GsbIcSearchApi extends ApiBase {
};
async companycodesearch(obj) {
var creditCode = obj.creditCode == null ? "" : obj.creditCode;
var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
if (obj.currentPage == null) {
......@@ -814,7 +817,7 @@ class GsbIcSearchApi extends ApiBase {
};
async companyNumsearch(obj) {
var regNumber = obj.regNumber == null ? "" : obj.regNumber;
var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
if (obj.currentPage == null) {
......@@ -917,7 +920,7 @@ class GsbIcSearchApi extends ApiBase {
var self = this;
var isVerify = obj.isVerify || 1;
if (isVerify == 1) {
}
var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName);
......@@ -965,7 +968,7 @@ class GsbIcSearchApi extends ApiBase {
};
async branchsearch(obj) {
var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName);
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