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
b1b4ce2b
Commit
b1b4ce2b
authored
Dec 15, 2021
by
Jianli Ou
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitee.com/gs1-office-web-sit/gs1
parents
f863fa9f
372f3003
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
226 additions
and
102 deletions
+226
-102
_mixin.scss
src/assets/css/_mixin.scss
+45
-1
mock.js
src/components/layout/header/mock.js
+19
-3
sousuo-list.vue
src/views/Home/comps/sousuo-list.vue
+1
-1
index.vue
src/views/Home/index.vue
+0
-0
sousuo.vue
src/views/Home/sousuo.vue
+24
-4
internal.vue
src/views/Search/internal.vue
+2
-2
caseList.vue
src/views/Service/Partners/caseList.vue
+51
-29
content.vue
src/views/Service/Partners/content.vue
+63
-17
list.vue
src/views/Service/Partners/list.vue
+20
-44
types.js
src/vuex/service/types.js
+1
-1
No files found.
src/assets/css/_mixin.scss
View file @
b1b4ce2b
...
@@ -291,7 +291,7 @@
...
@@ -291,7 +291,7 @@
border-color
:
$borderColor
;
border-color
:
$borderColor
;
}
}
&
:
:
placeholder
{
&
:
:
placeholder
{
color
:
$placeholderColor
;
color
:
$placeholderColor
!
important
;
}
}
}
}
.el-input__icon
{
.el-input__icon
{
...
@@ -332,6 +332,50 @@
...
@@ -332,6 +332,50 @@
}
}
}
}
@mixin
elDateTimeRange
{
.el-date-editor--datetimerange
{
&
.el-input__inner
{
width
:
100%
;
display
:
flex
;
align-items
:
center
;
height
:
calcvh
(
33
);
line-height
:
calcvh
(
33
);
}
}
.el-input__icon
{
color
:
#00ffff
;
height
:
auto
;
}
}
@mixin
elDate
(
$height
:
calcvh
(
33
)
,
$color
:
#00ffff
,
$placeholderColor
:
#00ffff
)
{
.el-date-editor
{
&
.el-input
{
width
:
100%
;
height
:
$height
;
}
.el-range-input
{
background
:
none
;
color
:
$color
;
flex
:
1
;
font-size
:
calcvw
(
14
);
&
:
:
placeholder
{
color
:
$placeholderColor
;
}
}
.el-range-separator
{
color
:
$color
;
display
:
flex
;
align-items
:
center
;
width
:
auto
;
font-size
:
calcvw
(
14
);
}
.el-input__icon
{
color
:
$color
;
}
}
}
// 超宽显示省略号
// 超宽显示省略号
@mixin
ellipsis
{
@mixin
ellipsis
{
overflow
:
hidden
;
overflow
:
hidden
;
...
...
src/components/layout/header/mock.js
View file @
b1b4ce2b
...
@@ -550,20 +550,32 @@ export const nav = [
...
@@ -550,20 +550,32 @@ export const nav = [
children
:
[
children
:
[
{
{
id
:
uuid
(
"gs_nav"
),
id
:
uuid
(
"gs_nav"
),
name
:
"
全球法人机构识别编码(LEI)业务办理
"
,
name
:
"
跨境业务办理(GLN/LEI/其他)
"
,
index
:
2
,
index
:
2
,
link
:
"
/Business/GLN
"
,
link
:
""
,
breadcrumb
:
[
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"办理其他业务"
,
path
:
"/Business/GLN"
},
{
name
:
"办理其他业务"
,
path
:
"/Business/GLN"
},
{
name
:
"
全球参与方位置代码(GLN)业务办理
"
},
{
name
:
"
跨境业务办理(GLN/LEI/其他)
"
},
],
],
},
},
// {
// id: uuid("gs_nav"),
// name: "全球法人机构识别编码(LEI)业务办理",
// index: 2,
// link: "/Business/GLN",
// breadcrumb: [
// { name: "业务大厅", path: "/Business" },
// { name: "办理其他业务", path: "/Business/GLN" },
// { name: "全球参与方位置代码(GLN)业务办理" },
// ],
// },
{
{
id
:
uuid
(
"gs_nav"
),
id
:
uuid
(
"gs_nav"
),
name
:
"全球参与方位置代码(GLN)业务办理"
,
name
:
"全球参与方位置代码(GLN)业务办理"
,
index
:
2
,
index
:
2
,
link
:
"/Business/GLN"
,
link
:
"/Business/GLN"
,
isHiddenMenu
:
true
,
breadcrumb
:
[
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"办理其他业务"
,
path
:
"/Business/GLN"
},
{
name
:
"办理其他业务"
,
path
:
"/Business/GLN"
},
...
@@ -575,6 +587,7 @@ export const nav = [
...
@@ -575,6 +587,7 @@ export const nav = [
name
:
"办理产品电子代码(EPC)"
,
name
:
"办理产品电子代码(EPC)"
,
index
:
2
,
index
:
2
,
link
:
"/Business/cpdzdm"
,
link
:
"/Business/cpdzdm"
,
isHiddenMenu
:
true
,
breadcrumb
:
[
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"办理其他业务"
,
path
:
"/Business/GLN"
},
{
name
:
"办理其他业务"
,
path
:
"/Business/GLN"
},
...
@@ -586,6 +599,7 @@ export const nav = [
...
@@ -586,6 +599,7 @@ export const nav = [
name
:
"办理资产标识代码"
,
name
:
"办理资产标识代码"
,
index
:
2
,
index
:
2
,
link
:
"/Business/GIAI"
,
link
:
"/Business/GIAI"
,
isHiddenMenu
:
true
,
breadcrumb
:
[
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"办理其他业务"
,
path
:
"/Business/GLN"
},
{
name
:
"办理其他业务"
,
path
:
"/Business/GLN"
},
...
@@ -597,6 +611,7 @@ export const nav = [
...
@@ -597,6 +611,7 @@ export const nav = [
name
:
"办理全球服务关系代码"
,
name
:
"办理全球服务关系代码"
,
index
:
2
,
index
:
2
,
link
:
"/Business/GSRN"
,
link
:
"/Business/GSRN"
,
isHiddenMenu
:
true
,
breadcrumb
:
[
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"办理其他业务"
,
path
:
"/Business/GSRN"
},
{
name
:
"办理其他业务"
,
path
:
"/Business/GSRN"
},
...
@@ -608,6 +623,7 @@ export const nav = [
...
@@ -608,6 +623,7 @@ export const nav = [
name
:
"办理动物管理者代码"
,
name
:
"办理动物管理者代码"
,
index
:
2
,
index
:
2
,
link
:
"/Business/Animalcode"
,
link
:
"/Business/Animalcode"
,
isHiddenMenu
:
true
,
breadcrumb
:
[
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"办理其他业务"
,
path
:
"/Business/Animalcode"
},
{
name
:
"办理其他业务"
,
path
:
"/Business/Animalcode"
},
...
...
src/views/Home/comps/sousuo-list.vue
View file @
b1b4ce2b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<ul
class=
"sousuoList"
>
<ul
class=
"sousuoList"
>
<li
v-for=
"(tmp, i) in 10"
:key=
"i"
>
<li
v-for=
"(tmp, i) in 10"
:key=
"i"
>
<div
class=
"sousuoList-top"
>
<div
class=
"sousuoList-top"
>
<span>
【
新闻资讯
】山东省条码印刷品质量检验站通过
</span>
<span>
【
资讯动态
】山东省条码印刷品质量检验站通过
</span>
<span>
CNAS评审组现场评审
</span>
<span>
CNAS评审组现场评审
</span>
</div>
</div>
<div
class=
"sousuoList-middle"
>
中国合格评定国家认可委员会(CNAS)派遣2名评审员组成评审组就所申请一维条码符号、二维条码符号、行业应用软件、移动智能终端应用软件和移动智能终端应用软件(个人信息安全保护…
</div>
<div
class=
"sousuoList-middle"
>
中国合格评定国家认可委员会(CNAS)派遣2名评审员组成评审组就所申请一维条码符号、二维条码符号、行业应用软件、移动智能终端应用软件和移动智能终端应用软件(个人信息安全保护…
</div>
...
...
src/views/Home/index.vue
View file @
b1b4ce2b
This diff is collapsed.
Click to expand it.
src/views/Home/sousuo.vue
View file @
b1b4ce2b
...
@@ -3,7 +3,11 @@
...
@@ -3,7 +3,11 @@
<div
class=
"sousuo-top"
>
<div
class=
"sousuo-top"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"sousuo-top-form"
>
<div
class=
"sousuo-top-form"
>
<el-input
placeholder=
"请输入内容"
clearable
></el-input>
<el-input
placeholder=
"请输入内容"
clearable
v-model=
"search.keywords"
></el-input>
<div
class=
"top-form-btn"
>
<div
class=
"top-form-btn"
>
<img
src=
"../../assets/image/home/sousuo-ico1.png"
alt=
""
/>
<img
src=
"../../assets/image/home/sousuo-ico1.png"
alt=
""
/>
</div>
</div>
...
@@ -43,7 +47,7 @@
...
@@ -43,7 +47,7 @@
aria-controls=
"profile"
aria-controls=
"profile"
aria-selected=
"false"
aria-selected=
"false"
>
>
<span>
新闻资讯
</span>
<span>
资讯动态
</span>
</button>
</button>
</li>
</li>
</ul>
</ul>
...
@@ -69,7 +73,11 @@
...
@@ -69,7 +73,11 @@
aria-labelledby=
"home-tab"
aria-labelledby=
"home-tab"
>
>
<sousuoList
/>
<sousuoList
/>
<pages
/>
<pages
:currPage=
"pageParams.currPage"
:pageSize=
"pageParams.pageSize"
:total=
"pageParams.total"
/>
</div>
</div>
<div
<div
class=
"tab-pane fade"
class=
"tab-pane fade"
...
@@ -95,6 +103,14 @@ export default {
...
@@ -95,6 +103,14 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
search
:
{
keywords
:
""
,
},
pageParams
:
{
currPage
:
1
,
pageSize
:
10
,
total
:
0
,
},
pickerOptions
:
{
pickerOptions
:
{
shortcuts
:
[
shortcuts
:
[
{
{
...
@@ -133,12 +149,16 @@ export default {
...
@@ -133,12 +149,16 @@ export default {
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.sousuo
{
.sousuo
{
.sousuo-top-form
{
.sousuo-top-form
{
@include
elInput(50px,
#
414345,
#414345
,
#fff,
#cfdcea);
@include
elInput(50px,
#
333,
#666
,
#fff,
#cfdcea);
.el-input__inner
{
.el-input__inner
{
border-right
:
0
;
border-right
:
0
;
border-radius
:
4px
0
0
4px
;
border-radius
:
4px
0
0
4px
;
}
}
}
}
.sousuo-bottom
{
@include
elDateTimeRange;
@include
elDate(32px,
#333,
#666);
}
@media
screen
and
(
min-width
:
992px
)
{
@media
screen
and
(
min-width
:
992px
)
{
.sousuo-top-form
{
.sousuo-top-form
{
.el-input
{
.el-input
{
...
...
src/views/Search/internal.vue
View file @
b1b4ce2b
...
@@ -77,9 +77,9 @@
...
@@ -77,9 +77,9 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"验证码:"
>
<el-form-item
label=
"验证码:"
>
<el-button
type=
"primary"
class=
"w240"
>
<el-button
type=
"primary"
class=
"w240"
@
click=
"handleVerification"
>
<div
style=
"diplay: flex; align-item: center"
>
<div
style=
"diplay: flex; align-item: center"
>
<img
style=
"height: 14px"
src=
"./img/guard.png"
alt=
""
/>
<img
style=
"height: 14px"
src=
"./img/guard.png"
alt=
""
/>
点击此处进行验证
点击此处进行验证
</div>
</div>
</el-button>
</el-button>
...
...
src/views/Service/Partners/caseList.vue
View file @
b1b4ce2b
<
template
>
<
template
>
<div
class=
"search-content n-service partners-case-list"
>
<div
class=
"search-content n-service partners-case-list"
>
<div
class=
"title"
>
GS1标准服务提供商案例
</div>
<div
class=
"title"
>
GS1标准服务提供商案例
</div>
<div
class=
"body"
style=
"padding-top: 9px;
position: relative;
"
>
<div
class=
"body"
style=
"padding-top: 9px;
position: relative
"
>
<div
class=
"search row"
style=
"margin: 15px 0
;
"
>
<div
class=
"search row"
style=
"margin: 15px 0"
>
<div
class=
"col-lg-4"
>
<div
class=
"col-lg-4"
>
<el-select
style=
"width: 100%"
size=
"small"
v-model=
"search.service"
placeholder=
"请选择"
>
<el-select
style=
"width: 100%"
size=
"small"
v-model=
"search.service"
placeholder=
"请选择"
>
<el-option
<el-option
v-for=
"item in serviceList"
v-for=
"item in serviceList"
:key=
"item.value"
:key=
"item.value"
:label=
"item.value"
:label=
"item.value"
:value=
"item.value"
>
:value=
"item.value"
>
</el-option>
</el-option>
</el-select>
</el-select>
</div>
</div>
<div
class=
"col-lg-4 text-left"
>
<div
class=
"col-lg-4 text-left"
>
<el-button
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"casesFrontList"
>
搜索
</el-button
>
</div>
</div>
<ul
class=
"main-list"
>
<ul
class=
"main-list"
>
<!-- 注意!这里请后台开发的同学替换成循环输出 top 20 -->
<!-- 注意!这里请后台开发的同学替换成循环输出 top 20 -->
<li><a
target=
"_blank"
href=
"/Service/Partners/Case?id=5"
>
<li
v-for=
"(tmp, i) in list"
:key=
"i"
@
click=
"handelJumpMsg(tmp)"
>
宁波天益医疗GS1-UDI项目案例介绍-上海路歌信息技术有限公司
</a></li>
<a>
{{
tmp
.
title
}}
</a>
</li>
<li><a
target=
"_blank"
href=
"/Service/Partners/Case?id=4"
>
北京爱康医疗GS1-UDI项目案例介绍-上海敖维计算机科技发展有限公司
</a></li>
<li><a
target=
"_blank"
href=
"/Service/Partners/Case?id=3"
>
利用GS1编码规则实施UDI满足中国法规要求,实现内部追溯
</a></li>
<li><a
target=
"_blank"
href=
"/Service/Partners/Case?id=2"
>
多米诺集团在医疗领域的GS1标准应用案例
</a></li>
<li><a
target=
"_blank"
href=
"/Service/Partners/Case?id=1"
>
北京爱创科技股份有限公司进口药品GS1应用案例
</a></li>
</ul>
</ul>
<pages
<pages
:currPage=
"pageParams.currPage"
:currPage=
"pageParams.currPage"
...
@@ -49,6 +45,7 @@
...
@@ -49,6 +45,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
mapMutations
}
from
"vuex"
;
import
pages
from
"../../comps/pages2.vue"
;
import
pages
from
"../../comps/pages2.vue"
;
export
default
{
export
default
{
...
@@ -64,14 +61,38 @@ export default {
...
@@ -64,14 +61,38 @@ export default {
},
},
search
:
{
search
:
{
service
:
"全部服务行业"
,
service
:
"全部服务行业"
,
},
},
serviceList
:
[{
value
:
'全部服务行业'
},
{
value
:
'医疗'
},
{
value
:
'零售'
},
{
value
:
'电子商务'
},
{
value
:
'食品烟酒'
},
{
value
:
'物流'
},
{
value
:
'服装'
},
{
value
:
'快速消费品'
},
{
value
:
'消费电子产品'
},
{
value
:
'制造和零部件'
},
{
value
:
'建材'
},
{
value
:
'其他'
},]
serviceList
:
[
}
{
value
:
"全部服务行业"
},
{
value
:
"医疗"
},
{
value
:
"零售"
},
{
value
:
"电子商务"
},
{
value
:
"食品烟酒"
},
{
value
:
"物流"
},
{
value
:
"服装"
},
{
value
:
"快速消费品"
},
{
value
:
"消费电子产品"
},
{
value
:
"制造和零部件"
},
{
value
:
"建材"
},
{
value
:
"其他"
},
],
list
:
[],
};
},
},
created
()
{
created
()
{
this
.
casesFrontList
();
this
.
casesFrontList
();
},
},
methods
:
{
methods
:
{
...
mapMutations
(
"service"
,
{
setPartnersMsg
:
"setPartnersMsg"
,
}),
// 点击列表跳转详情
handelJumpMsg
(
msg
)
{
this
.
setPartnersMsg
(
msg
);
this
.
$router
.
push
({
path
:
"/Service/Partners/content"
,
});
},
// 接收分页子组件传过来的值
// 接收分页子组件传过来的值
receivePagesChild
(
val
)
{
receivePagesChild
(
val
)
{
this
.
pageParams
.
currPage
=
val
;
this
.
pageParams
.
currPage
=
val
;
...
@@ -91,6 +112,8 @@ export default {
...
@@ -91,6 +112,8 @@ export default {
console
.
log
(
serviceCasesFrontListRes
,
"serviceCasesFrontListRes"
);
console
.
log
(
serviceCasesFrontListRes
,
"serviceCasesFrontListRes"
);
if
(
success
)
{
if
(
success
)
{
console
.
log
(
data
,
"案例介绍"
);
console
.
log
(
data
,
"案例介绍"
);
this
.
pageParams
.
total
=
data
.
totalCount
;
this
.
list
=
data
.
list
;
}
}
},
},
},
},
...
@@ -116,7 +139,7 @@ export default {
...
@@ -116,7 +139,7 @@ export default {
display
:
inline-block
;
display
:
inline-block
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#
F
26335
;
color
:
#
f
26335
;
margin
:
10px
0
;
margin
:
10px
0
;
}
}
...
@@ -126,7 +149,7 @@ export default {
...
@@ -126,7 +149,7 @@ export default {
}
}
}
}
.main-list
{
.main-list
{
padding-left
:
40px
;
padding-left
:
40px
;
}
}
...
@@ -154,6 +177,5 @@ export default {
...
@@ -154,6 +177,5 @@ export default {
.main-list
li
:hover
{
.main-list
li
:hover
{
background-color
:
#eee
;
background-color
:
#eee
;
}
}
}
}
</
style
>
</
style
>
src/views/Service/Partners/content.vue
View file @
b1b4ce2b
<
template
>
<
template
>
<div
class=
"search-content n-service partners-case"
>
<div
class=
"msg-cont"
>
<div
class=
"body"
style=
"padding-top: 9px;position: relative;"
>
<div
class=
"container"
>
<div
class=
"msg-title"
>
{{
partnersMsg
.
title
}}
</div>
<div
class=
"msg-head"
>
<div
class=
"msg-head-left"
>
<span>
作者:
{{
partnersMsg
.
auditor
}}
</span>
<span>
日期:
{{
partnersMsg
.
updatedate
}}
</span>
<span>
编辑:
{{
partnersMsg
.
editor
}}
</span>
</div>
</div>
<div
class=
"msg-text"
v-html=
"partnersMsg.brief"
></div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
mapState
}
from
'vuex'
;
import
{
mapState
}
from
"vuex"
;
export
default
{
export
default
{
computed
:
{
computed
:
{
...
mapState
(
'service'
,
{
...
mapState
(
"service"
,
{
partnersMsg
:
'partnersMsg'
,
partnersMsg
:
"partnersMsg"
,
}),
}),
},
},
created
()
{
created
()
{
console
.
log
(
'TODO QUERY'
,
this
.
$route
.
query
,
this
.
partnersMsg
);
console
.
log
(
"TODO QUERY"
,
this
.
$route
.
query
,
this
.
partnersMsg
);
},
},
mounted
()
{
mounted
()
{
// 面包屑单独处理
// 面包屑单独处理
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
[
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
[
{
name
:
"服务中心"
,
path
:
"/Service/BarcodeV"
},
{
name
:
"服务中心"
,
path
:
"/Service/BarcodeV"
},
{
name
:
"标准服务提供商"
,
path
:
"/Service/Partners/index"
},
{
name
:
"标准服务提供商"
,
path
:
"/Service/Partners/index"
},
{
name
:
"服务提供商介绍"
},
{
name
:
"服务提供商介绍"
},
]);
]);
},
},
methods
:
{},
methods
:
{},
...
@@ -30,14 +41,49 @@ export default {
...
@@ -30,14 +41,49 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.n-service.partners-case
{
.msg-cont
{
p
{
@include
module-box;
//
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
padding
:
30px
0
;
margin
:
10px
0
;
.msg-title
{
font-size
:
14px
;
color
:
#454545
;
font-weight
:
400
;
font-size
:
26px
;
color
:
#414345
;
text-align
:
center
;
text-indent
:
2em
;
}
.msg-head
{
border-bottom
:
1px
dashed
#c5d8ee
;
padding
:
20px
0
;
display
:
flex
;
justify-content
:
space-between
;
font-size
:
12px
;
flex-wrap
:
wrap
;
.msg-head-left
{
span
{
margin-right
:
25px
;
&:last-child
{
margin
:
0
;
}
}
}
.msg-head-right
{
display
:
flex
;
align-items
:
center
;
img
{
margin-left
:
14px
;
}
}
}
.msg-text
{
margin-top
:
20px
;
p
{
text-indent
:
25px
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#414345
;
}
.strong
{
font-size
:
14px
;
font-weight
:
bold
;
}
}
}
}
}
</
style
>
</
style
>
src/views/Service/Partners/list.vue
View file @
b1b4ce2b
...
@@ -42,52 +42,14 @@
...
@@ -42,52 +42,14 @@
</div>
</div>
<div
class=
"col-lg-4 text-left"
>
<div
class=
"col-lg-4 text-left"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"partnersFrontList"
>
搜索
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"partnersFrontList"
>
搜索
</el-button
>
</div>
</div>
<ul
class=
"main-list"
>
<ul
class=
"main-list"
>
<!-- 注意!这里请后台开发的同学替换成循环输出 top 20 -->
<!-- 注意!这里请后台开发的同学替换成循环输出 top 20 -->
<li
v-for=
"(tmp, i) in list"
:key=
"i"
@
click=
"handelJumpMsg(tmp)"
>
<li>
<a>
{{
tmp
.
title
}}
</a>
<a
target=
"_blank"
href=
"/Service/Partners/content?id=7"
>
上海路歌信息技术有限公司
</a
>
</li>
<li>
<a
target=
"_blank"
href=
"/Service/Partners/content?id=6"
>
上海悦孜企业信息咨询有限公司
</a
>
</li>
<li>
<a
target=
"_blank"
href=
"/Service/Partners/content?id=5"
>
上海敖维计算机科技发展有限公司
</a
>
</li>
<li>
<a
target=
"_blank"
href=
"/Service/Partners/content?id=4"
>
北京东方捷码科技开发中心
</a
>
</li>
<li>
<a
target=
"_blank"
href=
"/Service/Partners/content?id=3"
>
北京爱创科技股份有限公司
</a
>
</li>
<li>
<a
target=
"_blank"
href=
"/Service/Partners/content?id=2"
>
多米诺标识科技有限公司
</a
>
</li>
<li>
<a
target=
"_blank"
href=
"/Service/Partners/content?id=1"
>
北京嘉华汇诚科技股份有限公司
</a
>
</li>
</li>
</ul>
</ul>
<pages
<pages
...
@@ -102,6 +64,7 @@
...
@@ -102,6 +64,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
mapMutations
}
from
"vuex"
;
import
pages
from
"../../comps/pages2.vue"
;
import
pages
from
"../../comps/pages2.vue"
;
export
default
{
export
default
{
...
@@ -118,7 +81,7 @@ export default {
...
@@ -118,7 +81,7 @@ export default {
search
:
{
search
:
{
technology
:
"全部技术领域"
,
technology
:
"全部技术领域"
,
service
:
"全部服务行业"
,
service
:
"全部服务行业"
,
},
},
technologyList
:
[
technologyList
:
[
{
value
:
"全部技术领域"
},
{
value
:
"全部技术领域"
},
{
value
:
"标识的打印和制作"
},
{
value
:
"标识的打印和制作"
},
...
@@ -141,12 +104,23 @@ export default {
...
@@ -141,12 +104,23 @@ export default {
{
value
:
"建材"
},
{
value
:
"建材"
},
{
value
:
"其他"
},
{
value
:
"其他"
},
],
],
list
:
[],
};
};
},
},
created
()
{
created
()
{
this
.
partnersFrontList
();
this
.
partnersFrontList
();
},
},
methods
:
{
methods
:
{
...
mapMutations
(
"service"
,
{
setPartnersMsg
:
"setPartnersMsg"
,
}),
// 点击列表跳转详情
handelJumpMsg
(
msg
)
{
this
.
setPartnersMsg
(
msg
);
this
.
$router
.
push
({
path
:
"/Service/Partners/content"
,
});
},
// 接收分页子组件传过来的值
// 接收分页子组件传过来的值
receivePagesChild
(
val
)
{
receivePagesChild
(
val
)
{
this
.
pageParams
.
currPage
=
val
;
this
.
pageParams
.
currPage
=
val
;
...
@@ -166,6 +140,8 @@ export default {
...
@@ -166,6 +140,8 @@ export default {
console
.
log
(
businessGetPlanBranchListRes
,
"businessGetPlanBranchListRes"
);
console
.
log
(
businessGetPlanBranchListRes
,
"businessGetPlanBranchListRes"
);
if
(
success
)
{
if
(
success
)
{
console
.
log
(
data
,
"服务商列表"
);
console
.
log
(
data
,
"服务商列表"
);
this
.
pageParams
.
total
=
data
.
totalCount
;
this
.
list
=
data
.
list
;
}
}
},
},
},
},
...
...
src/vuex/service/types.js
View file @
b1b4ce2b
export
const
SET_PARTNERS_MSG
=
"
S
etPartnersMsg"
;
export
const
SET_PARTNERS_MSG
=
"
s
etPartnersMsg"
;
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