Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
453bf5ec
Commit
453bf5ec
authored
Nov 17, 2023
by
Lyan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.wangtiansoft.com:10000/wudi/gs1
parents
0602736c
56b39fb7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
HealthDetail.vue
src/views/News/HealthDetail.vue
+1
-4
external.vue
src/views/Search/external.vue
+6
-4
query_external_banner2.png
src/views/Search/img/query_external_banner2.png
+0
-0
No files found.
src/views/News/HealthDetail.vue
View file @
453bf5ec
...
@@ -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"
},
...
...
src/views/Search/external.vue
View file @
453bf5ec
<
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
=
...
...
src/views/Search/img/query_external_banner2.png
0 → 100644
View file @
453bf5ec
268 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment