Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
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
李俊赕
self-support
Commits
923baff0
Commit
923baff0
authored
4 years ago
by
Morson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改课程页列表
parent
5c00bbda
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
26 deletions
+34
-26
App.vue
src/App.vue
+14
-9
course-detail.vue
src/pages/learn/course-detail.vue
+8
-15
exam.vue
src/pages/learn/exam.vue
+12
-2
No files found.
src/App.vue
View file @
923baff0
...
...
@@ -18,19 +18,24 @@
// 服务规范教程视频
service_standard
:
{
"Course1"
:
{
url
:
"https://
xy-hybrid.kakalili.com/web/vivaVideo/home/static/img
/videoen.mp4"
,
title
:
"第一节
接单服务标准
"
,
desc
:
"
1.不同车企品牌结算价格不一,675元-1890元不等;
"
,
url
:
"https://
qn-static.banshouhui.com/self-support
/videoen.mp4"
,
title
:
"第一节
师傅考核规则
"
,
desc
:
"
接单操作须知有助你快速了解充电桩安装业务,提高接单效率,请认真查看及学习。
"
,
},
"Course2"
:
{
url
:
"https://
xy-hybrid.kakalili.com/web/vivaVideo/home/static/img
/videoen.mp4"
,
title
:
"第二节
完工服务标准
"
,
desc
:
"
2.结算价格为包工包料价,安装材料根据车企品牌规格自行采购(电缆、空开、漏保);
"
,
url
:
"https://
qn-static.banshouhui.com/self-support
/videoen.mp4"
,
title
:
"第二节
安装材料及工具
"
,
desc
:
"
接单操作须知有助你快速了解充电桩安装业务,提高接单效率,请认真查看及学习。
"
,
},
"Course3"
:
{
url
:
"https://xy-hybrid.kakalili.com/web/vivaVideo/home/static/img/videoen.mp4"
,
title
:
"第二节 结算服务标准"
,
desc
:
"3.需具备一定的作业工具:如液压压线钳、冲击钻、电锤、登高安全带、电锤、绝缘电阻仪(摇表)、交流充电模拟器等;"
,
url
:
"https://qn-static.banshouhui.com/self-support/videoen.mp4"
,
title
:
"第二节 安装施工规范"
,
desc
:
"接单操作须知有助你快速了解充电桩安装业务,提高接单效率,请认真查看及学习。"
,
},
"Course4"
:
{
url
:
"https://qn-static.banshouhui.com/self-support/videoen.mp4"
,
title
:
"第二节 录单上传要求"
,
desc
:
"接单操作须知有助你快速了解充电桩安装业务,提高接单效率,请认真查看及学习。"
,
},
},
...
...
This diff is collapsed.
Click to expand it.
src/pages/learn/course-detail.vue
View file @
923baff0
...
...
@@ -12,9 +12,9 @@
</view>
<view>
接单操作须知有助你快速了解充电桩安装业务,提高接单效率,请认真查看及学习。
</view>
</view>
<view
class=
"learn-view"
v-if=
"c
urrentIndex
>= 0"
>
<view
class=
"learn-view"
v-if=
"c
ourseId
>= 0"
>
<view
class=
"learn-view-title"
>
视频内容介绍
</view>
<view
class=
"learn-list"
v-for=
"(item, key) in courseOutlines[c
urrentIndex
]"
:key=
"key"
>
<view
class=
"learn-list"
v-for=
"(item, key) in courseOutlines[c
ourseId
]"
:key=
"key"
>
<view
class=
"learn-list-item"
>
{{
item
}}
</view>
</view>
</view>
...
...
@@ -37,7 +37,7 @@
},
computed
:
{
courseOutlines
()
{
// 视频内容介绍
return
[
[
return
{
1
:
[
'1、考核规则:接单及时率'
,
'2、考核规则:上门及时率'
,
'3、考核规则:安装完工率'
,
...
...
@@ -45,11 +45,11 @@
'5、考核规则:安装完工率'
,
'6、考核规则:客户满意度'
],
[
2
:
[
'1、必备材料4大类'
,
'2、施工工具准备'
],
[
3
:
[
'1、接线安装工艺标准'
,
'2、PVC、镀锌管电缆管明敷'
,
'3、电缆敷设的防火要求'
,
...
...
@@ -59,10 +59,10 @@
'7、充电桩内部接线'
,
'8、配电箱安装'
],
[
4
:
[
'1、勘测环节录单要求'
,
'2、安装环节录单要求'
]
]
]
}
}
},
onLoad
(
e
)
{
...
...
@@ -110,19 +110,12 @@
that
.
$u
.
api
.
saveCourseRate
({
courseId
:
that
.
courseId
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
// uni.navigateBack({delta: 1})
uni
.
navigateTo
({
url
:
"/pages/learn/exam"
})
}
else
{
if
(
res
.
code
!==
200
)
{
uni
.
showToast
({
icon
:
"none"
,
title
:
"更新课程状态失败"
})
}
}).
catch
(
e
=>
{
})
}
else
{
uni
.
showToast
({
...
...
This diff is collapsed.
Click to expand it.
src/pages/learn/exam.vue
View file @
923baff0
...
...
@@ -81,7 +81,7 @@
id
:
'Course1'
,
courseId
:
1
,
title
:
''
,
value
:
'
已
学习'
,
value
:
'
去
学习'
,
courseActive
:
{},
status
:
1
,
url
:
''
...
...
@@ -103,6 +103,15 @@
courseActive
:
{},
status
:
0
,
url
:
''
},
{
id
:
'Course4'
,
courseId
:
4
,
title
:
''
,
value
:
'去学习'
,
courseActive
:
{},
status
:
0
,
url
:
''
}
],
tipsDescription
:
'接单考核可让您快速了解如何使用小程序,建议先查看学习教程'
...
...
@@ -156,8 +165,9 @@
that
.
$u
.
api
.
listOrderingTutorials
()
.
then
(
res
=>
{
debugger
const
results
=
res
.
data
;
if
(
res
.
status
==
200
&&
results
&&
results
.
length
>
0
)
{
if
(
res
.
code
==
200
&&
results
&&
results
.
length
>
0
)
{
that
.
tutorials
.
forEach
((
data
,
i
)
=>
{
if
(
results
.
hasOwnProperty
(
data
.
id
))
{
data
.
status
=
results
[
data
.
id
];
...
...
This diff is collapsed.
Click to expand it.
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