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
1639c264
Commit
1639c264
authored
Dec 16, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 完工页跳转订单质量页提醒
parent
be843564
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
36 deletions
+36
-36
progress-bar.vue
src/components/progress-bar/progress-bar.vue
+1
-1
mine.vue
src/pages/index/mine.vue
+2
-2
complete.vue
src/pages/order/complete.vue
+33
-33
No files found.
src/components/progress-bar/progress-bar.vue
View file @
1639c264
...
...
@@ -105,7 +105,7 @@
text-overflow
:
ellipsis
;
}
.progress
{
flex
:
5
;
flex
:
7
;
text-align
:
left
;
padding-right
:
10rpx
;
...
...
src/pages/index/mine.vue
View file @
1639c264
...
...
@@ -133,9 +133,9 @@
},
{
pathName
:
'portrait/index'
,
title
:
'
用户画像
'
,
title
:
'
订单数据
'
,
value
:
''
,
icon
:
'
wodeziliao
.png'
,
icon
:
'
dingdanshuju
.png'
,
imageStyle
:
'width:32rpx;height:32rpx'
},
{
...
...
src/pages/order/complete.vue
View file @
1639c264
...
...
@@ -402,7 +402,7 @@ const actions = (name, pass, type, submit) => {
confirmText
:
'确定'
,
action
:
'nextAction'
,
cancelText
:
'取消'
,
cancelAction
:
'close
Check
Result'
,
cancelAction
:
'closeResult'
,
},
}
if
(
name
===
'partnerInspectItem'
)
{
...
...
@@ -880,6 +880,9 @@ export default {
this
.
completeCheck
.
result
=
checkResult
return
pass
},
closeResult
()
{
},
// 检查结果窗口取消回调
closeCheckResult
()
{
...
...
@@ -1042,22 +1045,7 @@ export default {
if
(
this
.
inGuaranteePeriod
===
'Y'
)
{
this
.
$u
.
api
.
inOrderFinish
(
this
.
orderId
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$refs
.
uToast
.
show
({
title
:
'提交成功'
,
type
:
'success'
,
callback
:
()
=>
{
if
(
this
.
completeBack
)
{
// 从订单管理和浏览记录进来
uni
.
navigateBack
({
delta
:
this
.
completeBack
,
})
}
else
{
uni
.
reLaunch
({
url
:
'/pages/index/order?type=audit'
,
})
}
},
})
this
.
successTips
()
}
else
{
this
.
$refs
.
uToast
.
show
({
title
:
res
.
data
,
...
...
@@ -1070,22 +1058,7 @@ export default {
.
outOrderFinish
({
customerPayType
:
'CASH'
},
this
.
orderId
)
.
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$refs
.
uToast
.
show
({
title
:
'提交成功'
,
type
:
'success'
,
callback
:
()
=>
{
if
(
this
.
completeBack
)
{
// 从订单管理和浏览记录进来
uni
.
navigateBack
({
delta
:
this
.
completeBack
,
})
}
else
{
uni
.
reLaunch
({
url
:
'/pages/index/order?type=audit'
,
})
}
},
})
this
.
successTips
()
}
else
{
this
.
$refs
.
uToast
.
show
({
title
:
res
.
data
,
...
...
@@ -1102,6 +1075,33 @@ export default {
}
})
},
// 提交成功后续
successTips
()
{
uni
.
showModal
({
title
:
'提交成功'
,
content
:
'是否查看本单服务质量详情?'
,
confirmText
:
'好的'
,
cancelText
:
'算了'
,
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
uni
.
reLaunch
({
url
:
'/pages/mine/portrait/index'
,
})
}
else
if
(
res
.
cancel
)
{
if
(
this
.
completeBack
)
{
// 从订单管理和浏览记录进来
uni
.
navigateBack
({
delta
:
this
.
completeBack
,
})
}
else
{
uni
.
reLaunch
({
url
:
'/pages/index/order?type=audit'
,
})
}
}
}
})
},
calMaterialCraftListAmount
(
arr
)
{
let
amount
=
0
if
(
arr
)
{
...
...
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