Commit 453bf5ec by Lyan
parents 0602736c 56b39fb7
...@@ -6,11 +6,7 @@ ...@@ -6,11 +6,7 @@
<div class="health-detail" v-if="detailInfo==''||detailInfo==null||detailInfo==undefined">没有可显示的内容!</div> <div class="health-detail" v-if="detailInfo==''||detailInfo==null||detailInfo==undefined">没有可显示的内容!</div>
<div class="health-detail" v-else v-html="detailInfo"></div> <div class="health-detail" v-else v-html="detailInfo"></div>
<!-- </div> <!-- </div>
</div> --> </div> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -51,6 +47,7 @@ export default { ...@@ -51,6 +47,7 @@ export default {
window.open(data.jumppath, "_self"); window.open(data.jumppath, "_self");
} }
console.log('medicalAndHealthDetailById', returnCode, data) console.log('medicalAndHealthDetailById', returnCode, data)
if (data.content) data.content = data.content.replace(/autoplay="autoplay"/g, '')
this.detailInfo = data.content; this.detailInfo = data.content;
this.$store.commit("system/SET_BREADCRUMB", [ this.$store.commit("system/SET_BREADCRUMB", [
{ name: "应用领域", path: "/News/index" }, { name: "应用领域", path: "/News/index" },
......
<template> <template>
<div class="search-content"> <div class="search-content">
<div class="banner-box"> <div class="banner-box">
<img src="./img/query_external_banner.jpeg" <img src="./img/query_external_banner2.png"
@click="openUrl(`https://import.gds.org.cn/#/home/index`)"/> @click="openUrl(`http://static.gds.org.cn/staticPage/GRPVbg/index.html`)"/>
<!-- https://import.gds.org.cn/#/home/index 中国进口商品信息服务平台-->
<!-- http://static.gds.org.cn/staticPage/GRPVbg/index.html 中文版VbG宣传页面-->
</div> </div>
<div class="title">境外条码信息查询</div> <div class="title">境外条码信息查询</div>
<div class="body"> <div class="body">
...@@ -117,7 +119,7 @@ export default { ...@@ -117,7 +119,7 @@ export default {
if(this.hasSpecialString(this.searchCodeShow)){ if(this.hasSpecialString(this.searchCodeShow)){
return true return true
} }
const params = { const params = {
"code": this.search.code, "code": this.search.code,
"type": "GTIN", "type": "GTIN",
...@@ -132,7 +134,7 @@ export default { ...@@ -132,7 +134,7 @@ export default {
if (returnCode === "0") { if (returnCode === "0") {
let redirectUrl='https://www.gds.org.cn/#/importList/index?type=importProduct&keyword='+this.search.code let redirectUrl='https://www.gds.org.cn/#/importList/index?type=importProduct&keyword='+this.search.code
window.open(redirectUrl, '_blank') window.open(redirectUrl, '_blank')
} else { } else {
this.showResult = true; this.showResult = true;
this.errorMsg = this.errorMsg =
......
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