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
04162149
Commit
04162149
authored
May 13, 2021
by
Morson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.banshouhui.com/lijundan/self-support
parents
e8108f88
c676fa97
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
47 additions
and
21 deletions
+47
-21
appoint-time.vue
src/components/appoint/appoint-time.vue
+2
-2
pages.json
src/pages.json
+3
-1
order.vue
src/pages/index/order.vue
+5
-1
index.vue
src/pages/mine/wallet/index.vue
+14
-8
detail.vue
src/pages/order/detail.vue
+23
-9
No files found.
src/components/appoint/appoint-time.vue
View file @
04162149
...
@@ -188,9 +188,9 @@
...
@@ -188,9 +188,9 @@
let
morrow
=
this
.
moment
(
now
).
add
(
1
,
'days'
)
let
morrow
=
this
.
moment
(
now
).
add
(
1
,
'days'
)
let
content
let
content
if
(
day
==
now
)
{
if
(
day
==
now
)
{
content
=
this
.
moment
(
day
).
format
(
'今天'
)
content
=
'今天'
}
else
if
(
day
==
morrow
)
{
}
else
if
(
day
==
morrow
)
{
content
=
this
.
moment
(
day
).
format
(
'明天'
)
content
=
'明天'
}
else
{
}
else
{
content
=
this
.
moment
(
day
).
format
(
'周dd'
)
content
=
this
.
moment
(
day
).
format
(
'周dd'
)
}
}
...
...
src/pages.json
View file @
04162149
...
@@ -290,7 +290,9 @@
...
@@ -290,7 +290,9 @@
"style"
:
"style"
:
{
{
"navigationBarTitleText"
:
"订单详情"
,
"navigationBarTitleText"
:
"订单详情"
,
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"disableScroll"
:
true
}
}
},
},
...
...
src/pages/index/order.vue
View file @
04162149
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
scroll-y=
"true"
refresher-enabled=
"true"
:refresher-triggered=
"triggered"
:refresher-threshold=
"100"
scroll-y=
"true"
refresher-enabled=
"true"
:refresher-triggered=
"triggered"
:refresher-threshold=
"100"
refresher-background=
"#F4F5F7"
@
refresherpulling=
"triggered = true"
@
refresherrefresh=
"onRefresh"
refresher-background=
"#F4F5F7"
@
refresherpulling=
"triggered = true"
@
refresherrefresh=
"onRefresh"
@
refresherrestore=
"onRestore"
@
refresherabort=
"onAbort"
>
@
refresherrestore=
"onRestore"
@
refresherabort=
"onAbort"
>
<NoOrder
v-if=
"noMore"
type=
"black"
customStyle=
"margin-top: 100rpx;background-color: #F4F5F7
"
/>
<NoOrder
v-if=
"noMore"
type=
"black"
:customStyle=
"noOrderCustomStyle
"
/>
<template
v-else
>
<template
v-else
>
<view
v-for=
"(item, index) in orderList"
:key=
"item.orderId"
>
<view
v-for=
"(item, index) in orderList"
:key=
"item.orderId"
>
<OrderCell
:orderData=
"item"
:type=
"orderType"
:location=
"dataValue"
@
click=
"handleClick(item)"
<OrderCell
:orderData=
"item"
:type=
"orderType"
:location=
"dataValue"
@
click=
"handleClick(item)"
...
@@ -142,7 +142,11 @@
...
@@ -142,7 +142,11 @@
noMore
()
{
noMore
()
{
console
.
log
(
'nomore:'
,
this
.
orderList
.
length
==
0
&&
this
.
pageNumber
!=
0
)
console
.
log
(
'nomore:'
,
this
.
orderList
.
length
==
0
&&
this
.
pageNumber
!=
0
)
return
this
.
orderList
.
length
==
0
&&
this
.
loaded
return
this
.
orderList
.
length
==
0
&&
this
.
loaded
},
noOrderCustomStyle
()
{
return
this
.
curNow
==
0
?
'margin-top: 100rpx;background-color: #F4F5F7'
:
'margin-top: 200rpx;background-color: #F4F5F7'
}
}
},
},
methods
:
{
methods
:
{
sectionChange
(
index
)
{
sectionChange
(
index
)
{
...
...
src/pages/mine/wallet/index.vue
View file @
04162149
...
@@ -3,7 +3,9 @@
...
@@ -3,7 +3,9 @@
<u-navbar
back-icon-color=
"#333333"
background=
"#F4F5F7"
title=
"我的钱包"
titleColor=
"#333333"
<u-navbar
back-icon-color=
"#333333"
background=
"#F4F5F7"
title=
"我的钱包"
titleColor=
"#333333"
:border-bottom=
"false"
></u-navbar>
:border-bottom=
"false"
></u-navbar>
<view
class=
"wallet-content-view"
>
<view
class=
"wallet-content-view"
>
<view
class=
"header-view"
>
<image
class=
"header-image"
mode=
"widthFix"
:src=
"qianbaobeijing"
></image>
<image
class=
"header-image"
mode=
"widthFix"
:src=
"qianbaobeijing"
></image>
</view>
<view
class=
"survey-view"
>
<view
class=
"survey-view"
>
<view
class=
"survey-top-view"
>
<view
class=
"survey-top-view"
>
<view
class=
"survey-top-left"
>
<view
class=
"survey-top-left"
>
...
@@ -183,13 +185,17 @@
...
@@ -183,13 +185,17 @@
position
:
relative
;
position
:
relative
;
overflow
:
auto
;
overflow
:
auto
;
background-color
:
#F4F5F7
;
background-color
:
#F4F5F7
;
.header-
image
{
.header-
view
{
position
:
absolute
;
position
:
absolute
;
width
:
100%
;
width
:
100%
;
margin-left
:
4rpx
;
padding-top
:
10rpx
;
margin-top
:
10rpx
;
padding-left
:
6rpx
;
.header-image
{
width
:
100%
;
}
}
}
.survey-view
{
.survey-view
{
position
:
relative
;
position
:
relative
;
height
:
400rpx
;
height
:
400rpx
;
...
...
src/pages/order/detail.vue
View file @
04162149
...
@@ -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,6 +669,13 @@
...
@@ -669,6 +669,13 @@
})
})
},
},
filish
(){
filish
(){
let
self
=
this
var
data
=
{
'orderId'
:
self
.
orderId
};
self
.
$u
.
api
.
orderDetail
(
data
,
self
.
orderId
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
data
.
orderStatus
>
31
&&
res
.
data
.
orderStatus
<
80
){
// 去完工
// 去完工
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'pages/order/complete?orderId='
+
this
.
order
.
orderId
url
:
'pages/order/complete?orderId='
+
this
.
order
.
orderId
...
@@ -677,6 +684,13 @@
...
@@ -677,6 +684,13 @@
+
"&inGuaranteePeriod="
+
this
.
order
.
inGuaranteePeriod
+
"&inGuaranteePeriod="
+
this
.
order
.
inGuaranteePeriod
+
"&partnerCompanyId="
+
this
.
order
.
partnerCompanyId
+
"&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