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
e25a779a
Commit
e25a779a
authored
Dec 23, 2021
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 回归部分bug并修改头部导航逻辑为路由监听时出发
parent
f14d53c5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
17 deletions
+26
-17
package-lock.json
package-lock.json
+0
-0
index.vue
src/components/layout/header/index.vue
+19
-10
UDI.vue
src/views/Business/UDI.vue
+5
-5
ypzs.vue
src/views/Business/ypzs.vue
+2
-2
No files found.
package-lock.json
deleted
100644 → 0
View file @
f14d53c5
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/components/layout/header/index.vue
View file @
e25a779a
...
@@ -89,9 +89,25 @@ export default {
...
@@ -89,9 +89,25 @@ export default {
preActive
:
""
,
preActive
:
""
,
};
};
},
},
created
()
{
watch
:
{
$route
:
{
handler
()
{
this
.
initNav
();
},
deep
:
true
,
immediate
:
true
,
}
},
mounted
()
{
window
.
addEventListener
(
"click"
,
this
.
handleWindowClick
);
},
beforeDestroy
()
{
window
.
removeEventListener
(
"click"
,
this
.
handleWindowClick
);
},
methods
:
{
// 监听路由 处理nav高亮 和面包屑 和subnav
// 监听路由 处理nav高亮 和面包屑 和subnav
nav
.
forEach
((
nav_
)
=>
{
initNav
()
{
nav
.
forEach
((
nav_
)
=>
{
if
(
this
.
$route
.
path
.
startsWith
(
nav_
.
link
))
{
if
(
this
.
$route
.
path
.
startsWith
(
nav_
.
link
))
{
this
.
currentNav
=
nav_
.
id
;
this
.
currentNav
=
nav_
.
id
;
...
@@ -118,14 +134,7 @@ export default {
...
@@ -118,14 +134,7 @@ export default {
}
}
}
}
});
});
},
},
mounted
()
{
window
.
addEventListener
(
"click"
,
this
.
handleWindowClick
);
},
beforeDestroy
()
{
window
.
removeEventListener
(
"click"
,
this
.
handleWindowClick
);
},
methods
:
{
handleWindowClick
()
{
handleWindowClick
()
{
// console.log('handleWindowClick', this.fromNav, this.preActive);
// console.log('handleWindowClick', this.fromNav, this.preActive);
if
(
this
.
preActive
&&
!
this
.
fromNav
)
{
if
(
this
.
preActive
&&
!
this
.
fromNav
)
{
...
...
src/views/Business/UDI.vue
View file @
e25a779a
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<b>
2.申请成为GS1系统成员(即申请UDI-DI厂商识别代码)
</b>
<b>
2.申请成为GS1系统成员(即申请UDI-DI厂商识别代码)
</b>
</p>
</p>
<p>
<p>
--
<a
href=
"/Business/
Guide1
"
target=
"_blank"
--
<a
href=
"/Business/
Register
"
target=
"_blank"
>
商品条码(厂商识别代码)在线申请
</a
>
商品条码(厂商识别代码)在线申请
</a
>
>
(也可通过微信公众号、小程序、中国编码APP申请)
(也可通过微信公众号、小程序、中国编码APP申请)
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
target=
"_blank"
target=
"_blank"
>
“UDI一站式服务”
</a
>
“UDI一站式服务”
</a
>
或联系
<a
>
或联系
<a
:href=
"`$
{urls.gs1cn}Service/Partners/List.aspx`
"
href=
"/Service/Partners/List
"
target=
"_blank"
target=
"_blank"
>
GS1标准服务提供商
</a
>
GS1标准服务提供商
</a
></b
></b
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
<p>
--确定是否需要直接标记
</p>
<p>
--确定是否需要直接标记
</p>
<p>
<p>
--对条码印制质量进行检测(可联系
<a
--对条码印制质量进行检测(可联系
<a
:href=
"`$
{urls.gs1cn}Service/jcyxz/Barcode.aspx`
"
href=
"/Service/jcyxz/Barcode
"
target=
"_blank"
target=
"_blank"
>
中国物品编码中心质量检测部
</a
>
中国物品编码中心质量检测部
</a
>
进行测试)
>
进行测试)
...
@@ -118,7 +118,7 @@
...
@@ -118,7 +118,7 @@
<li>
<li>
<p>
<p>
<a
<a
href=
"/Manage/down/基于商品条码(GS1)标准的医疗器械唯一标识(UDI)实施指南.pdf
"
:href=
"`$
{urls.gs1cn}/Manage/down/基于商品条码(GS1)标准的医疗器械唯一标识(UDI)实施指南.pdf`
"
target="_blank"
target="_blank"
>1.基于商品条码(GS1)标准的医疗器械唯一标识(UDI)实施指南
</a
>1.基于商品条码(GS1)标准的医疗器械唯一标识(UDI)实施指南
</a
>
>
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
<li>
<li>
<p>
<p>
<a
<a
href=
"/Manage/down/基于商品条码(GS1)标准的医疗器械唯一标识(UDI)系统实施常见问题.pdf
"
:href=
"`$
{urls.gs1cn}/Manage/down/基于商品条码(GS1)标准的医疗器械唯一标识(UDI)系统实施常见问题.pdf`
"
target="_blank"
target="_blank"
>2.基于商品条码(GS1)标准的医疗器械唯一标识(UDI)系统实施常见问题
</a
>2.基于商品条码(GS1)标准的医疗器械唯一标识(UDI)系统实施常见问题
</a
>
>
...
...
src/views/Business/ypzs.vue
View file @
e25a779a
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</p>
</p>
<p>
<p>
--
<a
--
<a
href=
"/Business/
Guide1
"
href=
"/Business/
Register
"
target=
"_blank"
target=
"_blank"
>
商品条码(厂商识别代码)在线申请
</a
>
商品条码(厂商识别代码)在线申请
</a
>
>
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
</p>
</p>
<p>
<p>
--对条码印制质量进行检测(可联系
<a
--对条码印制质量进行检测(可联系
<a
:href=
"`$
{urls.ancc}Service/jcyxz/Barcode.aspx`
"
href=
"/Service/jcyxz/Barcode
"
target=
"_blank"
target=
"_blank"
>
中国物品编码中心质量检测部
</a
>
中国物品编码中心质量检测部
</a
>
进行测试)
>
进行测试)
...
...
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