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
40b14ada
Commit
40b14ada
authored
Jun 09, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签到不成功
parent
9abcf5ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
detail.vue
src/pages/order/detail.vue
+5
-7
document-tag.vue
src/pages/order/document-tag.vue
+4
-1
No files found.
src/pages/order/detail.vue
View file @
40b14ada
...
...
@@ -283,9 +283,9 @@
if
(
this
.
getDistance
(
res
.
latitude
,
res
.
longitude
)
>
this
.
signDistance
){
// 计算签到距离
this
.
centerBtnDisabled
=
false
}
else
{
this
.
centerBtnDisabled
=
true
}
else
{
this
.
centerBtnDisabled
=
false
}
},
openLocationChange
(){
...
...
@@ -616,10 +616,9 @@
}
data
.
appointmentDatetimeRange
=
this
.
appointmentDatetimeRange
.
pkey
}
else
if
(
this
.
submitType
===
'maintainWorkerCheckin'
)
{
// 签到
// 检查见到距离是否符合
if
(
!
this
.
isErrorSign
){
if
(
!
this
.
centerBtnDisabled
){
if
(
this
.
centerBtnDisabled
){
return
}
else
{
this
.
closeLocationChange
()
...
...
@@ -633,7 +632,7 @@
data
.
exception
=
this
.
isErrorSign
data
.
coordinate
=
this
.
dataValue
?
this
.
dataValue
[
0
]
+
','
+
this
.
dataValue
[
1
]:
''
data
.
url
=
this
.
errorSignUrl
?
this
.
errorSignUrl
:
''
}
else
if
(
this
.
submitType
===
'toFilish'
){
// 去完工
}
else
if
(
this
.
submitType
===
'toFilish'
){
// 去完工
if
(
this
.
order
.
categoryName
!=
'充电桩'
)
{
uni
.
showModal
({
title
:
'提示'
,
...
...
@@ -653,8 +652,7 @@
this
.
$u
.
api
[
this
.
submitType
](
data
,
this
.
order
.
orderId
).
then
(
res
=>
{
let
self
=
this
if
((
res
.
data
.
code
!==
undefined
&&
res
.
data
.
code
===
200
)
||
(
res
.
code
!==
undefined
&&
res
.
code
===
200
)
)
{
if
(
res
.
code
===
200
)
{
this
.
trackOrder
()
this
.
$refs
.
uToast
.
show
({
title
:
this
.
bottomButtonText
+
'操作成功'
,
...
...
src/pages/order/document-tag.vue
View file @
40b14ada
...
...
@@ -38,7 +38,10 @@
},
computed
:{
titles
()
{
return
[
'合作商'
,
'品牌'
]
return
{
'1'
:
'合作商'
,
'2'
:
'品牌'
}
}
},
methods
:
{
...
...
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