Commit 7ad5489f by tang

feat: 境内码查询

parent ce2a88e4
...@@ -4,3 +4,4 @@ VUE_APP_HOST_URL = "http://192.168.0.77:9091" ...@@ -4,3 +4,4 @@ VUE_APP_HOST_URL = "http://192.168.0.77:9091"
VUE_APP_API_URL = "http://192.168.0.77:9091" VUE_APP_API_URL = "http://192.168.0.77:9091"
VUE_APP_GDS_URL = "http://data-studio.gds.org.cn" VUE_APP_GDS_URL = "http://data-studio.gds.org.cn"
VUE_APP_LOG = false VUE_APP_LOG = false
VUE_APP_CHINATM_URL = http://192.168.0.77/chinatm
...@@ -309,8 +309,8 @@ export default { ...@@ -309,8 +309,8 @@ export default {
const params = {type: this.company, uuid: this.uuid, code: this.searchCodeShow, captcha: this.captcha,}; const params = {type: this.company, uuid: this.uuid, code: this.searchCodeShow, captcha: this.captcha,};
const searchGlnRes = await this.$api.search.searchInternal(params); const searchGlnRes = await this.$api.search.searchInternal(params);
const {returnCode, data} = searchGlnRes; const {returnCode, data} = searchGlnRes;
if (returnCode === "0") { if (returnCode === "0"||returnCode === 0) {
this.result = [data.hits.hits]; this.result = data.hits.hits;
} else { } else {
this.errorMsg = this.errorMsg =
searchGlnRes.returnMsg || searchGlnRes.returnMsg ||
......
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