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
37346f99
Commit
37346f99
authored
Dec 14, 2021
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联调业务大厅我要培训
parent
eade3126
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
59 additions
and
143 deletions
+59
-143
business.js
src/axios/module/business.js
+6
-0
service.js
src/axios/module/service.js
+13
-0
Faq.vue
src/views/Business/Faq.vue
+2
-2
FaqMsg.vue
src/views/Business/FaqMsg.vue
+2
-2
Training.vue
src/views/Business/Training.vue
+20
-134
fzzx.vue
src/views/Business/copms/fzzx.vue
+1
-4
list.vue
src/views/Service/Partners/list.vue
+15
-1
No files found.
src/axios/module/business.js
View file @
37346f99
...
...
@@ -27,6 +27,11 @@ const businessGetDetailById = (params = {}) => {
return
POST
(
`
${
Prefix
}
/office/eanupc/api/getDetailById`
,
params
)
}
// 根据季度回去培训计划列表和详情
const
businessGetPlanBranchList
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix
}
/office/planbranch/api/getList`
,
params
)
}
// 常见问题列表
const
businessGetFaqListByTypeName
=
(
params
=
{})
=>
{
return
GET
(
`
${
Prefix2
}
/tm/faq/third/getFaqListByTypeName`
,
params
)
...
...
@@ -42,6 +47,7 @@ export default {
businessGetTop4
,
businessGetEanUpcByCondition
,
businessGetDetailById
,
businessGetPlanBranchList
,
businessGetFaqListByTypeName
,
businessGetFaqById
,
}
src/axios/module/service.js
View file @
37346f99
...
...
@@ -10,6 +10,19 @@ const getCodeBook = (params = {}) => {
return
POST
(
`
${
Prefix
}
/office/product/api/findPage`
,
params
)
}
// 服务商列表
const
servicePartnersFrontList
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix
}
/office/partners/api/frontList`
,
params
)
}
// 案例介绍
const
serviceCasesFrontList
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix
}
/office/cases/api/frontList`
,
params
)
}
export
default
{
getCodeBook
,
servicePartnersFrontList
,
serviceCasesFrontList
,
}
src/views/Business/Faq.vue
View file @
37346f99
...
...
@@ -192,8 +192,8 @@ export default {
};
const
businessGetFaqListByTypeNameRes
=
await
this
.
$api
.
business
.
businessGetFaqListByTypeName
(
params
);
const
{
returnCode
,
data
}
=
businessGetFaqListByTypeNameRes
;
if
(
returnCode
===
200
)
{
const
{
success
,
data
}
=
businessGetFaqListByTypeNameRes
;
if
(
success
)
{
console
.
log
(
businessGetFaqListByTypeNameRes
,
"常见问题"
);
this
.
pageParams
.
total
=
data
.
totalRows
;
this
.
list
.
forEach
((
el
)
=>
{
...
...
src/views/Business/FaqMsg.vue
View file @
37346f99
...
...
@@ -34,8 +34,8 @@ export default {
};
const
businessGetFaqByIdRes
=
await
this
.
$api
.
business
.
businessGetFaqById
(
params
);
const
{
returnCode
,
data
}
=
businessGetFaqByIdRes
;
if
(
returnCode
===
200
)
{
const
{
success
,
data
}
=
businessGetFaqByIdRes
;
if
(
success
)
{
console
.
log
(
businessGetFaqByIdRes
,
"常见问题详情"
);
this
.
lsspCate
.
name
=
data
.
name
this
.
msg
=
data
;
...
...
src/views/Business/Training.vue
View file @
37346f99
...
...
@@ -9,7 +9,7 @@
为更好的开展我国商品条码系统成员教育培训工作,使我国商品条码系统成员第一时间了解各地区分支机构培训时间及培训内容,现将中国物品编码中心全国分支机构培训计划进行公布。
</p>
<div
class=
"pxjh-cate"
>
<span>
2021
年度
</span>
<span>
{{
year
}}
年度
</span>
<button
@
click=
"jump"
>
点击查询分支机构联系方式
</button>
</div>
<ul
class=
"nav nav-tabs"
id=
"myTab"
role=
"tablist"
>
...
...
@@ -119,162 +119,34 @@ export default {
ico
:
""
,
name
:
"线上培训公告"
,
},
year
:
''
,
currentList
:
[],
tabs
:
[
{
id
:
"one"
,
name
:
"第一季度"
,
list
:
[
{
name
:
"北京分中心"
,
fileUrl
:
""
,
},
{
name
:
"天津分中心"
,
fileUrl
:
""
,
},
{
name
:
"河北分中心"
,
fileUrl
:
""
,
},
{
name
:
"山西分中心"
,
fileUrl
:
""
,
},
{
name
:
"内蒙古分中心"
,
fileUrl
:
""
,
},
],
},
{
id
:
"two"
,
name
:
"第二季度"
,
list
:
[
{
name
:
"辽宁分中心"
,
fileUrl
:
""
,
},
{
name
:
"沈阳分中心"
,
fileUrl
:
""
,
},
{
name
:
"大连分中心"
,
fileUrl
:
""
,
},
{
name
:
"吉林分中心"
,
fileUrl
:
""
,
},
{
name
:
"长春分中心"
,
fileUrl
:
""
,
},
{
name
:
"黑龙江分中心"
,
fileUrl
:
""
,
},
],
},
{
id
:
"three"
,
name
:
"第三季度"
,
list
:
[
{
name
:
"上海分中心"
,
fileUrl
:
""
,
},
{
name
:
"江苏分中心"
,
fileUrl
:
""
,
},
{
name
:
"南京办事处"
,
fileUrl
:
""
,
},
{
name
:
"浙江分中心"
,
fileUrl
:
""
,
},
{
name
:
"杭州分中心"
,
fileUrl
:
""
,
},
{
name
:
"宁波分中心"
,
fileUrl
:
""
,
},
{
name
:
"福建分中心"
,
fileUrl
:
""
,
},
{
name
:
"厦门办事处"
,
fileUrl
:
""
,
},
{
name
:
"江西分中心"
,
fileUrl
:
""
,
},
{
name
:
"山东分中心"
,
fileUrl
:
""
,
},
{
name
:
"青岛办事处"
,
fileUrl
:
""
,
},
{
name
:
"烟台办事处"
,
fileUrl
:
""
,
},
],
},
{
id
:
"four"
,
name
:
"第四季度"
,
list
:
[
{
name
:
"河南分中心"
,
fileUrl
:
""
,
},
{
name
:
"湖北分中心"
,
fileUrl
:
""
,
},
{
name
:
"武汉分中心"
,
fileUrl
:
""
,
},
{
name
:
"湖南分中心"
,
fileUrl
:
""
,
},
{
name
:
"广东分中心"
,
fileUrl
:
""
,
},
{
name
:
"深圳分中心"
,
fileUrl
:
""
,
},
{
name
:
"广州分中心"
,
fileUrl
:
""
,
},
{
name
:
"珠海分中心"
,
fileUrl
:
""
,
},
{
name
:
"广西分中心"
,
fileUrl
:
""
,
},
{
name
:
"海南分中心"
,
fileUrl
:
""
,
},
],
},
],
...
...
@@ -283,12 +155,26 @@ export default {
},
created
()
{
this
.
handelTab
(
0
);
this
.
year
=
this
.
$moment
(
new
Date
()).
format
(
'YYYY'
);
},
methods
:
{
handelTab
(
i
)
{
console
.
log
(
i
,
"handelTab"
);
this
.
currentList
=
this
.
tabs
[
i
].
list
;
this
.
getPlanBranchList
(
i
+
1
);
},
// 根据季度回去培训计划列表和详情
async
getPlanBranchList
(
classnum
)
{
const
params
=
{
classnum
,
};
const
businessGetPlanBranchListRes
=
await
this
.
$api
.
business
.
businessGetPlanBranchList
(
params
);
const
{
success
,
data
}
=
businessGetPlanBranchListRes
;
if
(
success
)
{
this
.
currentList
=
data
;
this
.
updateKey
=
new
Date
().
getTime
();
console
.
log
(
this
.
currentList
,
"根据季度回去培训计划列表和详情"
)
}
},
// 培训视频课程点击进入
pxspkcHandelClick
()
{
...
...
src/views/Business/copms/fzzx.vue
View file @
37346f99
...
...
@@ -4,7 +4,7 @@
<div
class=
"row"
v-for=
"(tmpA, i) in newList"
:key=
"i"
>
<div
class=
"col-lg-4"
v-for=
"(tmpB, ii) in tmpA"
:key=
"ii"
>
<span
><a
:href=
"tmpB.
fileUrl
"
>
{{
tmpB
.
name
}}
</a></span
><a
:href=
"tmpB.
ppath
"
>
{{
tmpB
.
name
}}
</a></span
>
</div>
</div>
...
...
@@ -16,9 +16,6 @@ import { groupList } from "../../../utils/utils";
export
default
{
props
:
[
"list"
],
created
()
{
console
.
log
(
this
.
newList
,
"list"
);
},
computed
:
{
newList
()
{
return
groupList
(
this
.
list
,
3
);
...
...
src/views/Service/Partners/list.vue
View file @
37346f99
...
...
@@ -75,7 +75,21 @@ export default {
serviceList
:
[{
value
:
'全部服务行业'
},
{
value
:
'医疗'
},
{
value
:
'零售'
},
{
value
:
'电子商务'
},
{
value
:
'食品烟酒'
},
{
value
:
'物流'
},
{
value
:
'服装'
},
{
value
:
'快速消费品'
},
{
value
:
'消费电子产品'
},
{
value
:
'制造和零部件'
},
{
value
:
'建材'
},
{
value
:
'其他'
},]
}
},
methods
:
{},
created
()
{
this
.
partnersFrontList
();
},
methods
:
{
// 服务商列表
async
partnersFrontList
()
{
const
params
=
{};
const
businessGetPlanBranchListRes
=
await
this
.
$api
.
business
.
servicePartnersFrontList
(
params
);
const
{
success
,
data
}
=
businessGetPlanBranchListRes
;
if
(
success
)
{
console
.
log
(
data
,
"服务商列表"
)
}
},
},
};
</
script
>
...
...
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