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
50c62351
Commit
50c62351
authored
Jan 10, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
禅道bug
parent
01d60788
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
172 additions
and
44 deletions
+172
-44
index.vue
src/views/Djwh/index.vue
+19
-5
article.vue
src/views/Knowledge/article.vue
+1
-0
knowledgeList.vue
src/views/Knowledge/knowledgeList.vue
+72
-17
index.vue
src/views/Member/index.vue
+3
-3
index.vue
src/views/MyManage/UnVerify/index.vue
+3
-3
MCommerce.vue
src/views/News/MCommerce.vue
+3
-3
NoticeArticle.vue
src/views/News/NoticeArticle.vue
+1
-1
index.vue
src/views/News/index.vue
+67
-10
viewsub.vue
src/views/News/viewsub.vue
+2
-1
register.vue
src/views/User/register.vue
+1
-1
No files found.
src/views/Djwh/index.vue
View file @
50c62351
...
@@ -9,10 +9,11 @@
...
@@ -9,10 +9,11 @@
<a
href=
"/Home"
target=
"_blank"
>
返回编码中心首页
</a>
<a
href=
"/Home"
target=
"_blank"
>
返回编码中心首页
</a>
</p>
</p>
</div>
</div>
<!-- container -->
<!-- container -->
<div
class=
"djwh-container
"
>
<div
class=
"djwh-container
"
>
<div
class=
"cnt-left
"
>
<div
class=
"cnt-left
row"
style=
"margin-left:0"
>
<div
class=
"row-left
"
>
<div
class=
"row-left
"
>
<div
class=
"left-img"
>
<div
class=
"left-img"
>
<div
class=
"border-div"
>
<div
class=
"border-div"
>
<a
href=
"https://www.12371.cn/special/19jlzqh/"
>
<a
href=
"https://www.12371.cn/special/19jlzqh/"
>
...
@@ -84,8 +85,10 @@
...
@@ -84,8 +85,10 @@
<div
class=
" foottp"
style=
"overflow:hidden;"
>
<div
class=
" foottp"
style=
"overflow:hidden;"
>
<img
src=
"../../assets/image/djwh/19th.gif"
alt=
""
>
<img
src=
"../../assets/image/djwh/19th.gif"
alt=
""
>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
" right-con"
>
<div
class=
" right-con"
>
<div
class=
"border-div list-style"
>
<div
class=
"border-div list-style"
>
<div
class=
"middle-title"
>
<div
class=
"middle-title"
>
...
@@ -142,6 +145,7 @@
...
@@ -142,6 +145,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<Footer></Footer>
<Footer></Footer>
</div>
</div>
...
@@ -362,6 +366,7 @@ html{
...
@@ -362,6 +366,7 @@ html{
.djwh
{
.djwh
{
background
:
#fff
;
background
:
#fff
;
.header{
.header{
margin-bottom
:
20px
;
img{
img{
width
:
100%
;
width
:
100%
;
}
}
...
@@ -388,16 +393,24 @@ html{
...
@@ -388,16 +393,24 @@ html{
.border-div
{
.border-div
{
width
:
100%
;
width
:
100%
;
border
:
1px
solid
#BADFF2
;
border
:
1px
solid
#BADFF2
;
}
}
.clear
{
clear
:
both
;
}
.djwh-container
{
.djwh-container
{
display
:
inline
;
overflow
:
hidden
;
background
:
#fff
;
background
:
#fff
;
margin-top
:
20px
;
.cnt-left{
.cnt-left{
overflow
:
hidden
;
float
:
left
;
float
:
left
;
width
:
723px
;
width
:
723px
;
margin-right
:
15px
;
margin-right
:
15px
;
}
}
.left-img
{
.left-img
{
float
:
left
;
float
:
left
;
...
@@ -531,6 +544,7 @@ html{
...
@@ -531,6 +544,7 @@ html{
transition
:
all
1s
;
transition
:
all
1s
;
}
}
.right-con
{
.right-con
{
overflow
:
hidden
;
width
:
237px
;
width
:
237px
;
float
:
left
;
float
:
left
;
h4{
h4{
...
...
src/views/Knowledge/article.vue
View file @
50c62351
...
@@ -82,6 +82,7 @@ export default {
...
@@ -82,6 +82,7 @@ export default {
.org
{
.org
{
padding-bottom
:
20px
;
padding-bottom
:
20px
;
.title-style
{
.title-style
{
width
:
100%
;
padding
:
35px
0
10px
;
padding
:
35px
0
10px
;
border-bottom
:
1px
solid
#b2b2b8
;
border-bottom
:
1px
solid
#b2b2b8
;
color
:
#002c6c
;
color
:
#002c6c
;
...
...
src/views/Knowledge/knowledgeList.vue
View file @
50c62351
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
>
>
</el-option>
</el-option>
</el-select>
</el-select>
<el-input
class=
"col-lg-8"
placeholder=
"请输入内容"
clearable
v-model=
"chaxun.keywords"
></el-input>
<el-input
class=
"col-lg-8"
placeholder=
"请输入内容"
clearable
v-model=
"chaxun.keywords"
style=
"margin-left:-30px"
></el-input>
<div
class=
"top-form-btn col-lg-2"
@
click=
"goKnowledgeList"
>
<div
class=
"top-form-btn col-lg-2"
@
click=
"goKnowledgeList"
style=
"margin-left:-15px"
>
<img
src=
"../../assets/image/home/sousuo-ico1.png"
alt=
""
/>
<img
src=
"../../assets/image/home/sousuo-ico1.png"
alt=
""
/>
</div>
</div>
</div>
</div>
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.sptm"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.sptm"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'商品条码'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</ul>
</p>
</p>
</div>
</div>
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.epc"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.epc"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'产品电子代码(EPC)'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</ul>
</p>
</p>
</div>
</div>
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.gds"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.gds"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'全球数据同步(GDS)'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</ul>
</p>
</p>
</div>
</div>
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.gln"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.gln"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'全球位置编码(GLN)'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</ul>
</p>
</p>
</div>
</div>
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.zxcbm"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.zxcbm"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'自称车编码'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</ul>
</p>
</p>
</div>
</div>
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.dwbm"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.dwbm"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'动物编码'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</ul>
</p>
</p>
</div>
</div>
...
@@ -163,7 +163,7 @@
...
@@ -163,7 +163,7 @@
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.ewtm"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.ewtm"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'二维条码'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</ul>
</p>
</p>
</div>
</div>
...
@@ -182,7 +182,7 @@
...
@@ -182,7 +182,7 @@
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.ecr"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.ecr"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'高效消费者响应(ECR)'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</ul>
</p>
</p>
</div>
</div>
...
@@ -193,7 +193,7 @@
...
@@ -193,7 +193,7 @@
<!-- EbXML -->
<!-- EbXML -->
<div
class=
"knowledge-cnt"
v-if=
"listResult.ebXML && listResult.ebXML.length>0"
>
<div
class=
"knowledge-cnt"
v-if=
"listResult.ebXML && listResult.ebXML.length>0"
>
<div
class=
"knowledge-title"
>
<div
class=
"knowledge-title"
>
E
bXML
e
bXML
</div>
</div>
<div
class=
"knowledge-container card "
>
<div
class=
"knowledge-container card "
>
<div
class=
"row g-2 "
>
<div
class=
"row g-2 "
>
...
@@ -201,7 +201,7 @@
...
@@ -201,7 +201,7 @@
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.ebXML"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.ebXML"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'ebXML'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</ul>
</p>
</p>
</div>
</div>
...
@@ -220,7 +220,7 @@
...
@@ -220,7 +220,7 @@
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.rfid"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.rfid"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'RFID'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</ul>
</p>
</p>
</div>
</div>
...
@@ -262,7 +262,7 @@
...
@@ -262,7 +262,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
// import sousuoList from "../Home/comps/sousuo-list.vue";
// import sousuoList from "../Home/comps/sousuo-list.vue";
import
{
mapMutations
}
from
"vuex"
;
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -291,7 +291,50 @@ export default {
...
@@ -291,7 +291,50 @@ export default {
rfid
:[]
rfid
:[]
},
},
hotListArr
:[],
hotListArr
:[],
message
:
''
message
:
''
,
matcheList
:[
{
name
:
"商品条码"
,
path
:
"/Knowledge/GS1System/goodsGln"
,
},
{
name
:
"产品电子代码(EPC)"
,
path
:
"/Knowledge/GS1System/goodsEpc"
,
},
{
name
:
"全球数据同步(GDS)"
,
path
:
"/Knowledge/GS1System/goodsGDS"
,
},
{
name
:
"全球位置编码(GLN)"
,
path
:
"/Knowledge/GS1System/goodsPosition"
,
},
{
name
:
"自行车编码"
,
path
:
"/Knowledge/GS1System/zxcbm"
,
},
{
name
:
"动物编码"
,
path
:
"/Knowledge/GS1System/dwbm"
,
},
{
name
:
"二维条码"
,
path
:
"/Knowledge/GS1System/ewbm"
,
},
{
name
:
"高效消费者响应(ECR)"
,
path
:
"/Knowledge/GS1System/gxfECR"
,
},
{
name
:
"ebXML"
,
path
:
"/Knowledge/GS1System/ebxml"
,
},
{
name
:
"小贴士"
,
path
:
"/Knowledge/xts"
,
},
]
};
};
},
},
...
@@ -306,6 +349,9 @@ export default {
...
@@ -306,6 +349,9 @@ export default {
this
.
searchKnowledgeList
(
this
.
chaxun
.
type
,
this
.
chaxun
.
keywords
)
this
.
searchKnowledgeList
(
this
.
chaxun
.
type
,
this
.
chaxun
.
keywords
)
},
},
methods
:
{
methods
:
{
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
goGlossary
(){
goGlossary
(){
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/Knowledge/Glossary'
,
path
:
'/Knowledge/Glossary'
,
...
@@ -340,10 +386,18 @@ export default {
...
@@ -340,10 +386,18 @@ export default {
this
.
searchKnowledgeList
(
this
.
chaxun
.
type
,
this
.
chaxun
.
keywords
)
this
.
searchKnowledgeList
(
this
.
chaxun
.
type
,
this
.
chaxun
.
keywords
)
},
},
getInfo
(
id
,
directpath
){
getInfo
(
id
,
directpath
,
name
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
window
.
open
(
directpath
,
'_blank'
);
}
else
{
}
else
{
let
matche
=
this
.
matcheList
.
filter
((
item
)
=>
item
.
name
===
name
)[
0
];
if
(
typeof
(
matche
)
===
'undefined'
){
matche
=
[{
name
:
'技术知识'
,
path
:
'/Knowledge/index'
}]
}
this
.
setMatche
(
matche
);
let
link
=
this
.
$router
.
resolve
({
let
link
=
this
.
$router
.
resolve
({
path
:
`/Knowledge/article?id=
${
id
}
`
,
path
:
`/Knowledge/article?id=
${
id
}
`
,
});
});
...
@@ -351,10 +405,11 @@ export default {
...
@@ -351,10 +405,11 @@ export default {
}
}
},
},
goInfo
(
id
,
directpath
){
goInfo
(
id
,
directpath
,
name
){
if
(
directpath
!==
''
&&
directpath
.
length
>
0
){
if
(
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
window
.
open
(
directpath
,
'_blank'
);
}
else
{
}
else
{
let
link
=
this
.
$router
.
resolve
({
let
link
=
this
.
$router
.
resolve
({
path
:
`/Knowledge/Statuteinfo?id=
${
id
}
`
,
path
:
`/Knowledge/Statuteinfo?id=
${
id
}
`
,
});
});
...
...
src/views/Member/index.vue
View file @
50c62351
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<p>
6. 应用市场:面向系统成员提供商品条码标准化应用与信息化产品的开放式应用中心,服务内容涉及软件应用、系统集成开发、技术支持与培训、定制化服务等标准化与信息化解决方案。
</p>
<p>
6. 应用市场:面向系统成员提供商品条码标准化应用与信息化产品的开放式应用中心,服务内容涉及软件应用、系统集成开发、技术支持与培训、定制化服务等标准化与信息化解决方案。
</p>
<p>
继续使用该专区功能,请使用条码卡卡号及密码登录。
</p>
<p>
继续使用该专区功能,请使用条码卡卡号及密码登录。
</p>
<p
style=
"text-align:center
"
><el-button
type=
"primary"
style=
"padding: 9px 30px;margin-right: 6px
"
@
click=
"handleToLogin"
>
登录
<p
style=
"text-align:center
;text-indent:0"
><el-button
type=
"primary"
style=
"padding: 9px 30px;
"
@
click=
"handleToLogin"
>
登录
</el-button></p>
</el-button></p>
</div>
</div>
...
@@ -26,8 +26,8 @@
...
@@ -26,8 +26,8 @@
<div
class=
"listStyle xgbz"
>
<div
class=
"listStyle xgbz"
>
<div
class=
"title"
>
中国物品编码中心分支机构培训计划公告
</div>
<div
class=
"title"
>
中国物品编码中心分支机构培训计划公告
</div>
<p>
为更好的开展我国商品条码系统成员教育培训工作,使我国商品条码系统成员第一时间了解各地区分支机构培训时间及培训内容,现将中国物品编码中心全国分支机构培训计划进行公布,如需了解请按下方提示点击进入。
</p>
<p>
为更好的开展我国商品条码系统成员教育培训工作,使我国商品条码系统成员第一时间了解各地区分支机构培训时间及培训内容,现将中国物品编码中心全国分支机构培训计划进行公布,如需了解请按下方提示点击进入。
</p>
<p
style=
"text-align:center;margin-top:110px"
>
<p
style=
"text-align:center;margin-top:110px
;text-indent:0
"
>
<el-button
type=
"primary"
style=
"padding: 9px 30px;
margin-right: 6px
"
@
click=
"goTraining"
>
分支机构季度培训计划
<el-button
type=
"primary"
style=
"padding: 9px 30px;"
@
click=
"goTraining"
>
分支机构季度培训计划
</el-button></p>
</el-button></p>
</div>
</div>
</div>
</div>
...
...
src/views/MyManage/UnVerify/index.vue
View file @
50c62351
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
厂商实名认证(办理“进口商品信息通报、GLN”等业务需先完成此认证)
厂商实名认证(办理“进口商品信息通报、GLN”等业务需先完成此认证)
</p>
</p>
<p>
<p>
<i
class=
"bi bi-check-circle-fill"
></i
<i
class=
"bi bi-check-circle-fill"
></i
>
>
您已成为中国物品编码中心实名认证企业!
您已成为中国物品编码中心实名认证企业!
</p>
</p>
<p
v-if=
"isShowGDS"
style=
"padding-left:24px"
>
<p
v-if=
"isShowGDS"
style=
"padding-left:24px"
>
您可以——前往
您可以——前往
...
@@ -269,7 +269,7 @@ export default {
...
@@ -269,7 +269,7 @@ export default {
display
:
inline-block
;
display
:
inline-block
;
width
:
11px
;
width
:
11px
;
height
:
11px
;
height
:
11px
;
background
:
#50c96b
;
//
background
:
#50c96b
;
margin-left
:
3px
;
margin-left
:
3px
;
margin-right
:
9px
;
margin-right
:
9px
;
border-radius
:
50%
;
border-radius
:
50%
;
...
...
src/views/News/MCommerce.vue
View file @
50c62351
...
@@ -104,7 +104,7 @@ export default {
...
@@ -104,7 +104,7 @@ export default {
},
},
created
()
{
created
()
{
this
.
urlDown
=
process
.
env
.
VUE_APP_HOST_URL
;
},
},
...
@@ -112,10 +112,10 @@ export default {
...
@@ -112,10 +112,10 @@ export default {
this
.
list2
=
[
this
.
list2
=
[
{
{
title
:
'移动商务(宣传折页)'
,
title
:
'移动商务(宣传折页)'
,
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/manage/down/20130620GS1 MobileCom.pdf`
directpath
:
`
${
this
.
url
Down
}
/office/uploadFileResource/manage/down/20130620GS1 MobileCom.pdf`
}
}
]
]
console
.
log
(
this
.
url
)
console
.
log
(
this
.
url
Down
)
},
},
methods
:
{
methods
:
{
...
mapMutations
({
...
mapMutations
({
...
...
src/views/News/NoticeArticle.vue
View file @
50c62351
...
@@ -58,7 +58,7 @@ export default {
...
@@ -58,7 +58,7 @@ export default {
this
.
showtime
=
data
.
showtime
;
this
.
showtime
=
data
.
showtime
;
this
.
author
=
data
.
author
;
this
.
author
=
data
.
author
;
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
[
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
[
{
name
:
"资讯中心"
,
path
:
"/New/index"
},
{
name
:
"资讯中心"
,
path
:
"/New
s
/index"
},
{
name
:
"公告通知"
,
path
:
"/News/Notice"
},
{
name
:
"公告通知"
,
path
:
"/News/Notice"
},
{
name
:
this
.
title
},
{
name
:
this
.
title
},
]);
]);
...
...
src/views/News/index.vue
View file @
50c62351
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<span
@
click=
"goNewPic"
>
查看更多>>
</span>
<span
@
click=
"goNewPic"
>
查看更多>>
</span>
</div>
</div>
<div
class=
"tpzx-ul"
>
<div
class=
"tpzx-ul"
>
<div
class=
"tpzx-li"
v-for=
"(tmp, i) in picList.slice(0,3)"
:key=
"i"
@
click=
"goInfo(tmp.articleId,tmp.jumppath)"
>
<div
class=
"tpzx-li"
v-for=
"(tmp, i) in picList.slice(0,3)"
:key=
"i"
@
click=
"goInfo(tmp.articleId,tmp.jumppath
,'图片资讯'
)"
>
<div
class=
"tpzx-li-tp"
>
<div
class=
"tpzx-li-tp"
>
<img
:src=
"tmp.picFile"
alt=
""
/>
<img
:src=
"tmp.picFile"
alt=
""
/>
</div>
</div>
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
</div>
</div>
<div
class=
"two-kj"
>
<div
class=
"two-kj"
>
<ul
class=
"two-ul"
>
<ul
class=
"two-ul"
>
<li
v-for=
"(tmp, i) in centerList"
:key=
"i"
@
click=
"goInfo(tmp.id,tmp.directpath)"
>
<li
v-for=
"(tmp, i) in centerList"
:key=
"i"
@
click=
"goInfo(tmp.id,tmp.directpath
,'中心活动'
)"
>
<span></span><span>
{{
tmp
.
title
}}
</span>
<span></span><span>
{{
tmp
.
title
}}
</span>
</li>
</li>
</ul>
</ul>
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
</div>
</div>
<div
class=
"two-kj"
>
<div
class=
"two-kj"
>
<ul
class=
"two-ul"
>
<ul
class=
"two-ul"
>
<li
v-for=
"(tmp, i) in localList"
:key=
"i"
@
click=
"goInfo(tmp.id,tmp.directpath)"
>
<li
v-for=
"(tmp, i) in localList"
:key=
"i"
@
click=
"goInfo(tmp.id,tmp.directpath
,'地方动态'
)"
>
<span></span><span>
{{
tmp
.
title
}}
</span>
<span></span><span>
{{
tmp
.
title
}}
</span>
</li>
</li>
</ul>
</ul>
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
</div>
</div>
<div
class=
"col-lg-4"
>
<div
class=
"col-lg-4"
>
<ul
v-if=
"depthList.length > 0"
>
<ul
v-if=
"depthList.length > 0"
>
<li
v-for=
"(tmp, i) in depthList"
:key=
"i"
@
click=
"goInfo(tmp.id,tmp.directpath)"
>
<li
v-for=
"(tmp, i) in depthList"
:key=
"i"
@
click=
"go
Dep
Info(tmp.id,tmp.directpath)"
>
<span></span><span>
{{
tmp
.
title
}}
</span>
<span></span><span>
{{
tmp
.
title
}}
</span>
</li>
</li>
</ul>
</ul>
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-lg-4"
>
<div
class=
"col-lg-4"
>
<ul
v-if=
"videoList.length > 0"
>
<ul
v-if=
"videoList.length > 0"
>
<li
v-for=
"(tmp, i) in videoList"
:key=
"i"
@
click=
"getVideoInfo(tmp.id)"
>
<li
v-for=
"(tmp, i) in videoList"
:key=
"i"
@
click=
"getVideoInfo(tmp.id
,tmp.directpath
)"
>
<span></span><span>
{{
tmp
.
title
}}
</span>
<span></span><span>
{{
tmp
.
title
}}
</span>
</li>
</li>
</ul>
</ul>
...
@@ -142,10 +142,24 @@ import {
...
@@ -142,10 +142,24 @@ import {
}
from
"@/config/constant"
;
}
from
"@/config/constant"
;
export
default
{
export
default
{
computed
:
{
computed
:
{
...
mapState
([
"url"
]),
...
mapState
([
"url
s
"
]),
},
},
data
()
{
data
()
{
return
{
return
{
pathList
:[
{
name
:
'图片资讯'
,
path
:
'/News/PicNews'
},
{
name
:
'中心活动'
,
path
:
'/News/Center'
},
{
name
:
'地方动态'
,
path
:
'/News/Local'
}
],
four
:
[
four
:
[
{
{
ico
:
require
(
"../../assets/image/news/icon_lingshou.png"
),
ico
:
require
(
"../../assets/image/news/icon_lingshou.png"
),
...
@@ -170,15 +184,15 @@ export default {
...
@@ -170,15 +184,15 @@ export default {
list
:
[
list
:
[
{
{
title
:
"GBT 16830-2008 商品条码 储运包装商品编码与条码表示"
,
title
:
"GBT 16830-2008 商品条码 储运包装商品编码与条码表示"
,
directpath
:
`
${
FILE_PREFIX
}
/2021-12-18/1472207864411062272-GBT 16830-2008 商品条码 储运包装商品编码与条码表示.pdf`
,
directpath
:
`
${
this
.
urlDown
}
/2021-12-18/1472207864411062272-GBT 16830-2008 商品条码 储运包装商品编码与条码表示.pdf`
,
},
},
{
{
title
:
"GBT 18127-2009 商品条码 物流单元编码与条码表示"
,
title
:
"GBT 18127-2009 商品条码 物流单元编码与条码表示"
,
directpath
:
`
${
FILE_PREFIX
}
/2021-12-18/1472207864411062273-GBT 18127-2009 商品条码 物流单元编码与条码表示.pdf`
,
directpath
:
`
${
this
.
urlDown
}
/2021-12-18/1472207864411062273-GBT 18127-2009 商品条码 物流单元编码与条码表示.pdf`
,
},
},
{
{
title
:
"GBT 31005-2014 托盘编码及条码表示"
,
title
:
"GBT 31005-2014 托盘编码及条码表示"
,
directpath
:
`
${
FILE_PREFIX
}
/2021-12-18/1472207864411062274-GBT 31005-2014 托盘编码及条码表示.PDF`
,
directpath
:
`
${
this
.
urlDown
}
/2021-12-18/1472207864411062274-GBT 31005-2014 托盘编码及条码表示.PDF`
,
}
}
],
],
},
},
...
@@ -312,14 +326,31 @@ export default {
...
@@ -312,14 +326,31 @@ export default {
this
.
foodList
()
this
.
foodList
()
// 医疗
// 医疗
this
.
getList3ByType
()
this
.
getList3ByType
()
this
.
urlDown
=
process
.
env
.
VUE_APP_HOST_URL
;
console
.
log
(
this
.
urlDown
)
},
},
mounted
(){
mounted
(){
this
.
four
[
5
].
list
=
[
this
.
four
[
5
].
list
=
[
{
{
title
:
'移动商务(宣传折页)'
,
title
:
'移动商务(宣传折页)'
,
directpath
:
`
${
this
.
url
}
/M
anage/down/20130620GS1 MobileCom.pdf`
directpath
:
`
${
this
.
url
Down
}
/office/uploadFileResource/m
anage/down/20130620GS1 MobileCom.pdf`
}
}
]
]
this
.
four
[
1
].
list
=
[
{
title
:
"GBT 16830-2008 商品条码 储运包装商品编码与条码表示"
,
directpath
:
`
${
this
.
urlDown
}
/office/uploadFileResource/2021-12-18/1472207864411062272-GBT 16830-2008 商品条码 储运包装商品编码与条码表示.pdf`
,
},
{
title
:
"GBT 18127-2009 商品条码 物流单元编码与条码表示"
,
directpath
:
`
${
this
.
urlDown
}
/office/uploadFileResource/2021-12-18/1472207864411062273-GBT 18127-2009 商品条码 物流单元编码与条码表示.pdf`
,
},
{
title
:
"GBT 31005-2014 托盘编码及条码表示"
,
directpath
:
`
${
this
.
urlDown
}
/office/uploadFileResource/2021-12-18/1472207864411062274-GBT 31005-2014 托盘编码及条码表示.PDF`
,
}
],
console
.
log
(
this
.
four
[
5
].
list
)
},
},
methods
:{
methods
:{
...
mapMutations
({
...
mapMutations
({
...
@@ -405,6 +436,15 @@ export default {
...
@@ -405,6 +436,15 @@ export default {
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
window
.
open
(
directpath
,
'_blank'
);
}
else
{
}
else
{
let
matche
=
this
.
four
.
filter
((
item
)
=>
item
.
name
===
name
)[
0
];
if
(
typeof
(
matche
)
===
'undefined'
){
matche
=
this
.
pathList
.
filter
((
item
)
=>
item
.
name
===
name
)[
0
];
if
(
typeof
(
matche
)
===
'undefined'
){
matche
=
[]
}
}
this
.
setMatche
(
matche
);
if
(
name
==
'医疗'
){
if
(
name
==
'医疗'
){
let
link
=
this
.
$router
.
resolve
({
let
link
=
this
.
$router
.
resolve
({
path
:
`/News/HealthDetail?id=
${
id
}
`
,
path
:
`/News/HealthDetail?id=
${
id
}
`
,
...
@@ -452,6 +492,23 @@ export default {
...
@@ -452,6 +492,23 @@ export default {
}
}
},
},
goDepInfo
(
id
,
directpath
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
const
matche
=
[
{
name
:
"深度专题"
,
path
:
"/News/DepthTopics"
,
}
];
this
.
setMatche
(
matche
);
let
link
=
this
.
$router
.
resolve
({
path
:
`/News/msgVideo?id=
${
id
}
`
,
});
window
.
open
(
link
.
href
,
'_blank'
)
}
},
//零售列表
//零售列表
async
retailList
()
{
async
retailList
()
{
const
params
=
{
const
params
=
{
...
...
src/views/News/viewsub.vue
View file @
50c62351
...
@@ -55,7 +55,7 @@ export default {
...
@@ -55,7 +55,7 @@ export default {
this
.
showtime
=
data
.
showtime
this
.
showtime
=
data
.
showtime
this
.
author
=
data
.
author
this
.
author
=
data
.
author
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
[
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
[
{
name
:
"资讯中心"
,
path
:
"/New/index"
},
{
name
:
"资讯中心"
,
path
:
"/New
s
/index"
},
{
name
:
"深度资讯"
,
path
:
"/News/DepthTopics"
},
{
name
:
"深度资讯"
,
path
:
"/News/DepthTopics"
},
{
name
:
this
.
title
},
{
name
:
this
.
title
},
]);
]);
...
@@ -109,6 +109,7 @@ export default {
...
@@ -109,6 +109,7 @@ export default {
padding-bottom
:
15px
;
padding-bottom
:
15px
;
}
}
.showHtml
{
.showHtml
{
width
:
100%
;
border-bottom
:
1px
solid
#b2b2b8
;
border-bottom
:
1px
solid
#b2b2b8
;
padding-bottom
:
30px
;
padding-bottom
:
30px
;
margin-bottom
:
25px
;
margin-bottom
:
25px
;
...
...
src/views/User/register.vue
View file @
50c62351
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
message: '注:用户名不能全为数字,且长度不得超过10字符',
message: '注:用户名不能全为数字,且长度不得超过10字符',
},]">
},]">
<el-input
v-model=
'form.userName'
autocomplete=
'off'
></el-input>
<el-input
v-model=
'form.userName'
autocomplete=
'off'
></el-input>
<
p
style=
"font-size: 13px;font-weight: 400;color: #F23535;line-height: 20px"
>
注:用户名不能全为数字,且长度不得超过10字符
</p
>
<
!--
<p
style=
"font-size: 13px;font-weight: 400;color: #F23535;line-height: 20px"
>
注:用户名不能全为数字,且长度不得超过10字符
</p>
--
>
</el-form-item>
</el-form-item>
<el-form-item
label=
'E-mail地址'
<el-form-item
label=
'E-mail地址'
...
...
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