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
54113ea7
Commit
54113ea7
authored
May 13, 2021
by
郭晓清
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、改派后的工单,改派前的师傅还可以去完工
parent
dc3c4065
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
9 deletions
+23
-9
detail.vue
src/pages/order/detail.vue
+23
-9
No files found.
src/pages/order/detail.vue
View file @
54113ea7
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
contactAddressLatitud
:
0
,
contactAddressLatitud
:
0
,
num
:
0
,
num
:
0
,
showTimeOut
:
true
,
showTimeOut
:
true
,
clicking
:
false
,
clicking
:
false
}
}
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
...
@@ -669,14 +669,28 @@
...
@@ -669,14 +669,28 @@
})
})
},
},
filish
(){
filish
(){
// 去完工
let
self
=
this
uni
.
navigateTo
({
var
data
=
{
url
:
'pages/order/complete?orderId='
+
this
.
order
.
orderId
'orderId'
:
self
.
orderId
+
"&categoryId="
+
this
.
order
.
categoryId
};
+
"&orderServiceType="
+
this
.
order
.
orderServiceType
self
.
$u
.
api
.
orderDetail
(
data
,
self
.
orderId
).
then
((
res
)
=>
{
+
"&inGuaranteePeriod="
+
this
.
order
.
inGuaranteePeriod
if
(
res
.
code
==
200
)
{
+
"&partnerCompanyId="
+
this
.
order
.
partnerCompanyId
if
(
res
.
data
.
orderStatus
>
31
&&
res
.
data
.
orderStatus
<
80
){
})
// 去完工
uni
.
navigateTo
({
url
:
'pages/order/complete?orderId='
+
this
.
order
.
orderId
+
"&categoryId="
+
this
.
order
.
categoryId
+
"&orderServiceType="
+
this
.
order
.
orderServiceType
+
"&inGuaranteePeriod="
+
this
.
order
.
inGuaranteePeriod
+
"&partnerCompanyId="
+
this
.
order
.
partnerCompanyId
})
}
else
{
this
.
commonToast
(
'当前工单已被改派!'
,
'warning'
)
}
}
else
{
console
.
log
(
res
.
message
,
"获取订单详情失败!"
);
}
});
},
},
rejectOrder
()
{
// 拒单
rejectOrder
()
{
// 拒单
// 检查是否可以拒单
// 检查是否可以拒单
...
...
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