Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
Project
Project
Details
Activity
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
Administrator
jd-vx-app
Commits
fd3c1d0e
Commit
fd3c1d0e
authored
Jun 22, 2022
by
lijiongliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增提示
parent
dc1c22b0
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
679 additions
and
468 deletions
+679
-468
personal.vue
pages/personal.vue
+7
-2
shop.vue
pages/shop.vue
+26
-3
callDetail.vue
pagesB/pages/move-car/callDetail.vue
+181
-147
myCall.vue
pagesB/pages/move-car/myCall.vue
+222
-197
myMoveCar.vue
pagesB/pages/move-car/myMoveCar.vue
+10
-0
myRecord.vue
pagesB/pages/move-car/myRecord.vue
+17
-1
oneMoveCar.vue
pagesB/pages/move-car/oneMoveCar.vue
+36
-1
recordDetail.vue
pagesB/pages/move-car/recordDetail.vue
+153
-113
scan.vue
pagesB/pages/move-car/scan.vue
+6
-1
detail.vue
pagesC/pages/shop/detail.vue
+6
-0
search.vue
pagesC/pages/shop/search.vue
+8
-2
userInfo.vue
pagesD/pages/personal/userInfo.vue
+7
-1
No files found.
pages/personal.vue
View file @
fd3c1d0e
...
@@ -141,6 +141,12 @@ export default {
...
@@ -141,6 +141,12 @@ export default {
url
:
'/pages/main'
url
:
'/pages/main'
});
});
});
});
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
...
@@ -228,7 +234,6 @@ export default {
...
@@ -228,7 +234,6 @@ export default {
if
(
this
.
userInfo
.
avatar
){
if
(
this
.
userInfo
.
avatar
){
this
.
avatar
=
this
.
userInfo
.
avatar
this
.
avatar
=
this
.
userInfo
.
avatar
}
}
}
}
})
})
},
},
...
...
pages/shop.vue
View file @
fd3c1d0e
...
@@ -145,6 +145,11 @@ export default {
...
@@ -145,6 +145,11 @@ export default {
// this.$refs.list.loadFail()
// this.$refs.list.loadFail()
}
else
{
}
else
{
this
.
$refs
.
list
.
refreshFail
()
this
.
$refs
.
list
.
refreshFail
()
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
this
.
$u
.
random
(
100
,
1000
));
},
this
.
$u
.
random
(
100
,
1000
));
...
@@ -197,6 +202,12 @@ export default {
...
@@ -197,6 +202,12 @@ export default {
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
mallList
=
res
.
data
.
data
.
rows
||
[]
this
.
mallList
=
res
.
data
.
data
.
rows
||
[]
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
},
...
@@ -222,6 +233,12 @@ export default {
...
@@ -222,6 +233,12 @@ export default {
uni
.
setStorageSync
(
'refresh'
,
0
)
uni
.
setStorageSync
(
'refresh'
,
0
)
this
.
loading
=
"loadmore"
this
.
loading
=
"loadmore"
}
}
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
},
...
@@ -241,6 +258,12 @@ export default {
...
@@ -241,6 +258,12 @@ export default {
imgList
.
push
(
e
)
imgList
.
push
(
e
)
})
})
this
.
list3
=
imgList
this
.
list3
=
imgList
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
},
...
...
pagesB/pages/move-car/callDetail.vue
View file @
fd3c1d0e
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
* @Description: 呼叫记录详情
* @Description: 呼叫记录详情
-->
-->
<
template
>
<
template
>
<view
class=
"appCotent"
>
<view
class=
"appCotent"
>
<div
class=
"callDetail"
>
<div
class=
"callDetail"
>
<div
class=
"view__content"
>
<div
class=
"view__content"
>
<div
class=
"view__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
>
<div
class=
"view__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
>
<div
class=
"view__title"
>
<div
class=
"view__title"
>
...
@@ -18,12 +18,12 @@
...
@@ -18,12 +18,12 @@
<div
class=
"view__btn view__back"
@
click=
"goBack"
>
<div
class=
"view__btn view__back"
@
click=
"goBack"
>
返回
返回
</div>
</div>
</div>
</div>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
items
:
[{
items
:
[{
...
@@ -65,33 +65,66 @@ export default {
...
@@ -65,33 +65,66 @@ export default {
};
};
},
},
methods
:
{
methods
:
{
goBack
()
{
goBack
()
{
uni
.
navigateBack
({
uni
.
navigateBack
({
delta
:
1
delta
:
1
})
})
},
},
getApplyMoveLog
(){
getApplyMoveLog
()
{
let
opts
=
{
url
:
'/app/moveLog/apply/'
+
this
.
id
,
method
:
'get'
};
let
opts
=
{
url
:
'/app/moveLog/apply/'
+
this
.
id
,
method
:
'get'
};
let
that
=
this
let
that
=
this
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
moveLog
=
res
.
data
.
data
this
.
moveLog
=
res
.
data
.
data
let
moveLogInfo
=
[]
let
moveLogInfo
=
[]
moveLogInfo
.
push
({
title
:
"车主车牌号:"
,
value
:
this
.
moveLog
.
carNo
})
moveLogInfo
.
push
({
moveLogInfo
.
push
({
title
:
"品牌:"
,
value
:
this
.
moveLog
.
brand
||
''
})
title
:
"车主车牌号:"
,
moveLogInfo
.
push
({
title
:
"车型:"
,
value
:
this
.
moveLog
.
carModel
||
''
})
value
:
this
.
moveLog
.
carNo
if
(
this
.
moveLog
.
confirmType
==
'1'
){
})
moveLogInfo
.
push
({
title
:
"车主手机号:"
,
value
:
this
.
moveLog
.
userMobile
||
''
})
moveLogInfo
.
push
({
title
:
"品牌:"
,
value
:
this
.
moveLog
.
brand
||
''
})
moveLogInfo
.
push
({
title
:
"车型:"
,
value
:
this
.
moveLog
.
carModel
||
''
})
if
(
this
.
moveLog
.
confirmType
==
'1'
)
{
moveLogInfo
.
push
({
title
:
"车主手机号:"
,
value
:
this
.
moveLog
.
userMobile
||
''
})
}
}
moveLogInfo
.
push
({
title
:
"时间:"
,
value
:
this
.
moveLog
.
applyDate
})
moveLogInfo
.
push
({
moveLogInfo
.
push
({
title
:
"地点:"
,
value
:
this
.
moveLog
.
detailInfo
})
title
:
"时间:"
,
if
(
this
.
moveLog
.
confirmType
==
'1'
){
value
:
this
.
moveLog
.
applyDate
moveLogInfo
.
push
({
title
:
"申请手机号:"
,
value
:
this
.
moveLog
.
applyUserMobile
||
''
})
})
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"拨打电话"
})
moveLogInfo
.
push
({
}
else
{
title
:
"地点:"
,
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"微信通知"
})
value
:
this
.
moveLog
.
detailInfo
})
if
(
this
.
moveLog
.
confirmType
==
'1'
)
{
moveLogInfo
.
push
({
title
:
"申请手机号:"
,
value
:
this
.
moveLog
.
applyUserMobile
||
''
})
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"拨打电话"
})
}
else
{
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"微信通知"
})
}
}
moveLogInfo
.
push
({
title
:
"通知类型:"
,
value
:
"请求他人挪车"
})
moveLogInfo
.
push
({
title
:
"通知类型:"
,
value
:
"请求他人挪车"
})
this
.
items
=
moveLogInfo
this
.
items
=
moveLogInfo
}
}
})
})
...
@@ -103,11 +136,11 @@ export default {
...
@@ -103,11 +136,11 @@ export default {
onLoad
(
option
)
{
onLoad
(
option
)
{
this
.
id
=
option
.
id
this
.
id
=
option
.
id
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.callDetail
{
.callDetail
{
padding
:
40rpx
0rpx
;
padding
:
40rpx
0rpx
;
.view__content
{
.view__content
{
...
@@ -161,10 +194,11 @@ export default {
...
@@ -161,10 +194,11 @@ export default {
background-size
:
contain
;
background-size
:
contain
;
color
:
rgba
(
255
,
255
,
255
,
1
);
color
:
rgba
(
255
,
255
,
255
,
1
);
}
}
.view__back
{
.view__back
{
background
:
url('@/static/move-car/move-car-view1.png')
no-repeat
;
background
:
url('@/static/move-car/move-car-view1.png')
no-repeat
;
background-size
:
contain
;
background-size
:
contain
;
color
:rgba
(
153
,
153
,
153
,
1
)
;
color
:
rgba
(
153
,
153
,
153
,
1
);
}
}
}
}
</
style
>
</
style
>
pagesB/pages/move-car/myCall.vue
View file @
fd3c1d0e
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
* @Description: 我的呼叫记录
* @Description: 我的呼叫记录
-->
-->
<
template
>
<
template
>
<view
class=
"appCotent"
>
<view
class=
"appCotent"
>
<div
class=
"myRecord"
>
<div
class=
"myRecord"
>
<scroll-list
ref=
"list"
:option=
"option"
@
load=
"load"
@
refresh=
"refresh"
>
<scroll-list
ref=
"list"
:option=
"option"
@
load=
"load"
@
refresh=
"refresh"
>
<div
class=
"record__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
>
<div
class=
"record__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
>
<div
class=
"item__top"
>
<div
class=
"item__top"
>
...
@@ -33,12 +33,12 @@
...
@@ -33,12 +33,12 @@
</div>
</div>
</div>
</div>
</scroll-list>
</scroll-list>
</div>
</div>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
option
:
{
option
:
{
...
@@ -54,7 +54,10 @@ export default {
...
@@ -54,7 +54,10 @@ export default {
load
(
paging
)
{
load
(
paging
)
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
let
list
=
[];
let
list
=
[];
let
opts
=
{
url
:
'/app/moveLog/apply/list?pageSize='
+
paging
.
size
+
'&pageNum='
+
paging
.
page
,
method
:
'get'
};
let
opts
=
{
url
:
'/app/moveLog/apply/list?pageSize='
+
paging
.
size
+
'&pageNum='
+
paging
.
page
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
list
=
res
.
data
.
rows
||
[]
list
=
res
.
data
.
rows
||
[]
...
@@ -68,6 +71,11 @@ export default {
...
@@ -68,6 +71,11 @@ export default {
}
else
{
}
else
{
// 加载失败
// 加载失败
this
.
$refs
.
list
.
loadFail
()
this
.
$refs
.
list
.
loadFail
()
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
this
.
$u
.
random
(
100
,
1000
));
},
this
.
$u
.
random
(
100
,
1000
));
...
@@ -76,7 +84,10 @@ export default {
...
@@ -76,7 +84,10 @@ export default {
refresh
(
paging
)
{
refresh
(
paging
)
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
let
list
=
[];
let
list
=
[];
let
opts
=
{
url
:
'/app/moveLog/apply/list?pageSize='
+
paging
.
size
+
'&pageNum='
+
paging
.
page
,
method
:
'get'
};
let
opts
=
{
url
:
'/app/moveLog/apply/list?pageSize='
+
paging
.
size
+
'&pageNum='
+
paging
.
page
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
list
=
res
.
data
.
rows
||
[]
list
=
res
.
data
.
rows
||
[]
...
@@ -90,20 +101,34 @@ export default {
...
@@ -90,20 +101,34 @@ export default {
}
else
{
}
else
{
// 加载失败
// 加载失败
this
.
$refs
.
list
.
refreshFail
()
this
.
$refs
.
list
.
refreshFail
()
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
this
.
$u
.
random
(
100
,
1000
));
},
this
.
$u
.
random
(
100
,
1000
));
},
},
goDetail
(
id
)
{
goDetail
(
id
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pagesB/pages/move-car/callDetail?id='
+
id
url
:
'/pagesB/pages/move-car/callDetail?id='
+
id
})
})
},
},
getApplyMoveLogList
(){
getApplyMoveLogList
()
{
let
opts
=
{
url
:
'/app/moveLog/apply/list'
,
method
:
'get'
};
let
opts
=
{
url
:
'/app/moveLog/apply/list'
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
items
=
res
.
data
.
rows
this
.
items
=
res
.
data
.
rows
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
},
...
@@ -111,11 +136,11 @@ export default {
...
@@ -111,11 +136,11 @@ export default {
created
()
{
created
()
{
//this.getApplyMoveLogList()
//this.getApplyMoveLogList()
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.myRecord
{
.myRecord
{
padding
:
40rpx
0rpx
;
padding
:
40rpx
0rpx
;
.record__item
{
.record__item
{
...
@@ -206,5 +231,5 @@ export default {
...
@@ -206,5 +231,5 @@ export default {
}
}
}
}
}
}
}
}
</
style
>
</
style
>
pagesB/pages/move-car/myMoveCar.vue
View file @
fd3c1d0e
...
@@ -96,6 +96,11 @@ export default {
...
@@ -96,6 +96,11 @@ export default {
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
items
=
res
.
data
.
rows
||
[]
this
.
items
=
res
.
data
.
rows
||
[]
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
"none"
,
});
}
}
})
})
},
},
...
@@ -112,6 +117,11 @@ export default {
...
@@ -112,6 +117,11 @@ export default {
icon
:
"success"
,
icon
:
"success"
,
});
});
this
.
getMyMoveCodeList
()
this
.
getMyMoveCodeList
()
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
"none"
,
});
}
}
})
})
this
.
unbindShow
=
false
this
.
unbindShow
=
false
...
...
pagesB/pages/move-car/myRecord.vue
View file @
fd3c1d0e
...
@@ -70,6 +70,11 @@ export default {
...
@@ -70,6 +70,11 @@ export default {
}
else
{
}
else
{
// 加载失败
// 加载失败
this
.
$refs
.
list
.
loadFail
()
this
.
$refs
.
list
.
loadFail
()
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
this
.
$u
.
random
(
100
,
1000
));
},
this
.
$u
.
random
(
100
,
1000
));
...
@@ -95,6 +100,11 @@ export default {
...
@@ -95,6 +100,11 @@ export default {
}
else
{
}
else
{
// 加载失败
// 加载失败
this
.
$refs
.
list
.
refreshFail
()
this
.
$refs
.
list
.
refreshFail
()
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
this
.
$u
.
random
(
100
,
1000
));
},
this
.
$u
.
random
(
100
,
1000
));
...
@@ -113,6 +123,12 @@ export default {
...
@@ -113,6 +123,12 @@ export default {
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
items
=
res
.
data
.
rows
this
.
items
=
res
.
data
.
rows
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
},
...
...
pagesB/pages/move-car/oneMoveCar.vue
View file @
fd3c1d0e
...
@@ -137,6 +137,10 @@
...
@@ -137,6 +137,10 @@
let
that
=
this
let
that
=
this
if
(
e
.
detail
.
errMsg
==
"getPhoneNumber:ok"
)
{
if
(
e
.
detail
.
errMsg
==
"getPhoneNumber:ok"
)
{
that
.
appBo
.
code
=
e
.
detail
.
code
that
.
appBo
.
code
=
e
.
detail
.
code
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
});
that
.
call
()
that
.
call
()
}
else
{
}
else
{
uni
.
hideLoading
()
uni
.
hideLoading
()
...
@@ -152,6 +156,7 @@
...
@@ -152,6 +156,7 @@
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
//请求成功逻辑,修改
//请求成功逻辑,修改
this
.
noticeResult
=
res
.
data
.
data
this
.
noticeResult
=
res
.
data
.
data
uni
.
hideLoading
()
if
(
this
.
noticeResult
.
allowPhone
)
{
if
(
this
.
noticeResult
.
allowPhone
)
{
// this.list[0].name = this.noticeResult.secretPhone
// this.list[0].name = this.noticeResult.secretPhone
// this.show = true;
// this.show = true;
...
@@ -161,10 +166,17 @@
...
@@ -161,10 +166,17 @@
}
}
}
else
{
}
else
{
this
.
noticeResult
=
res
.
data
.
data
this
.
noticeResult
=
res
.
data
.
data
uni
.
hideLoading
()
if
(
this
.
noticeResult
)
{
if
(
this
.
noticeResult
)
{
uni
.
showModal
({
uni
.
showModal
({
content
:
this
.
noticeResult
.
notAllowPhoneReason
,
content
:
this
.
noticeResult
.
notAllowPhoneReason
,
})
})
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
}
}
})
})
...
@@ -187,6 +199,12 @@
...
@@ -187,6 +199,12 @@
uni
.
showModal
({
uni
.
showModal
({
content
:
this
.
noticeResult
.
notAllowWechatReason
,
content
:
this
.
noticeResult
.
notAllowWechatReason
,
})
})
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
}
}
})
})
...
@@ -221,6 +239,12 @@
...
@@ -221,6 +239,12 @@
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
wxMaxNum
=
res
.
data
.
data
.
wxMaxNum
this
.
wxMaxNum
=
res
.
data
.
data
.
wxMaxNum
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
},
...
@@ -260,6 +284,12 @@
...
@@ -260,6 +284,12 @@
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
//添加逻辑判断
//添加逻辑判断
this
.
appBo
.
logCode
=
res
.
data
.
data
this
.
appBo
.
logCode
=
res
.
data
.
data
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
},
...
@@ -360,6 +390,11 @@
...
@@ -360,6 +390,11 @@
}
}
}
else
{
}
else
{
//console.log('获取信息失败,请重试!')
//console.log('获取信息失败,请重试!')
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
},
},
})
})
...
...
pagesB/pages/move-car/recordDetail.vue
View file @
fd3c1d0e
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
* @Description: 挪车记录详情
* @Description: 挪车记录详情
-->
-->
<
template
>
<
template
>
<view
class=
"appCotent"
>
<view
class=
"appCotent"
>
<div
class=
"callDetail"
>
<div
class=
"callDetail"
>
<div
class=
"view__content"
>
<div
class=
"view__content"
>
<div
class=
"view__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
>
<div
class=
"view__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
>
<div
class=
"view__title"
>
<div
class=
"view__title"
>
...
@@ -18,12 +18,12 @@
...
@@ -18,12 +18,12 @@
<div
class=
"view__btn view__back"
@
click=
"goBack"
>
<div
class=
"view__btn view__back"
@
click=
"goBack"
>
返回
返回
</div>
</div>
</div>
</div>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
items
:
[],
items
:
[],
...
@@ -32,34 +32,73 @@ export default {
...
@@ -32,34 +32,73 @@ export default {
};
};
},
},
methods
:
{
methods
:
{
goBack
()
{
goBack
()
{
uni
.
navigateBack
({
uni
.
navigateBack
({
delta
:
1
delta
:
1
})
})
},
},
getMyMoveLog
(){
getMyMoveLog
()
{
let
opts
=
{
url
:
'/app/moveLog/my/'
+
this
.
id
,
method
:
'get'
};
let
opts
=
{
url
:
'/app/moveLog/my/'
+
this
.
id
,
method
:
'get'
};
let
that
=
this
let
that
=
this
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
moveLog
=
res
.
data
.
data
this
.
moveLog
=
res
.
data
.
data
let
moveLogInfo
=
[]
let
moveLogInfo
=
[]
moveLogInfo
.
push
({
title
:
"车主车牌号:"
,
value
:
this
.
moveLog
.
carNo
})
moveLogInfo
.
push
({
moveLogInfo
.
push
({
title
:
"品牌:"
,
value
:
this
.
moveLog
.
brand
||
''
})
title
:
"车主车牌号:"
,
moveLogInfo
.
push
({
title
:
"车型:"
,
value
:
this
.
moveLog
.
carModel
||
''
})
value
:
this
.
moveLog
.
carNo
if
(
this
.
moveLog
.
confirmType
==
'1'
){
})
moveLogInfo
.
push
({
title
:
"车主手机号:"
,
value
:
this
.
moveLog
.
userMobile
})
moveLogInfo
.
push
({
title
:
"品牌:"
,
value
:
this
.
moveLog
.
brand
||
''
})
moveLogInfo
.
push
({
title
:
"车型:"
,
value
:
this
.
moveLog
.
carModel
||
''
})
if
(
this
.
moveLog
.
confirmType
==
'1'
)
{
moveLogInfo
.
push
({
title
:
"车主手机号:"
,
value
:
this
.
moveLog
.
userMobile
})
}
}
moveLogInfo
.
push
({
title
:
"时间:"
,
value
:
this
.
moveLog
.
applyDate
})
moveLogInfo
.
push
({
moveLogInfo
.
push
({
title
:
"地点:"
,
value
:
this
.
moveLog
.
detailInfo
})
title
:
"时间:"
,
if
(
this
.
moveLog
.
confirmType
==
'1'
){
value
:
this
.
moveLog
.
applyDate
moveLogInfo
.
push
({
title
:
"申请手机号:"
,
value
:
this
.
moveLog
.
applyUserMobile
})
})
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"拨打电话"
})
moveLogInfo
.
push
({
}
else
{
title
:
"地点:"
,
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"微信通知"
})
value
:
this
.
moveLog
.
detailInfo
})
if
(
this
.
moveLog
.
confirmType
==
'1'
)
{
moveLogInfo
.
push
({
title
:
"申请手机号:"
,
value
:
this
.
moveLog
.
applyUserMobile
})
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"拨打电话"
})
}
else
{
moveLogInfo
.
push
({
title
:
"通知方式:"
,
value
:
"微信通知"
})
}
}
moveLogInfo
.
push
({
title
:
"通知类型:"
,
value
:
"他人请求挪车"
})
moveLogInfo
.
push
({
title
:
"通知类型:"
,
value
:
"他人请求挪车"
})
this
.
items
=
moveLogInfo
this
.
items
=
moveLogInfo
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
},
...
@@ -67,14 +106,14 @@ export default {
...
@@ -67,14 +106,14 @@ export default {
onLoad
(
option
)
{
onLoad
(
option
)
{
this
.
id
=
option
.
id
this
.
id
=
option
.
id
},
},
onShow
()
{
onShow
()
{
this
.
getMyMoveLog
()
this
.
getMyMoveLog
()
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.callDetail
{
.callDetail
{
padding
:
40rpx
0rpx
;
padding
:
40rpx
0rpx
;
.view__content
{
.view__content
{
...
@@ -128,10 +167,11 @@ export default {
...
@@ -128,10 +167,11 @@ export default {
background-size
:
contain
;
background-size
:
contain
;
color
:
rgba
(
255
,
255
,
255
,
1
);
color
:
rgba
(
255
,
255
,
255
,
1
);
}
}
.view__back
{
.view__back
{
background
:
url('@/static/move-car/move-car-view1.png')
no-repeat
;
background
:
url('@/static/move-car/move-car-view1.png')
no-repeat
;
background-size
:
contain
;
background-size
:
contain
;
color
:rgba
(
153
,
153
,
153
,
1
)
;
color
:
rgba
(
153
,
153
,
153
,
1
);
}
}
}
}
</
style
>
</
style
>
pagesB/pages/move-car/scan.vue
View file @
fd3c1d0e
...
@@ -430,7 +430,7 @@ export default {
...
@@ -430,7 +430,7 @@ export default {
uni
.
hideLoading
()
uni
.
hideLoading
()
uni
.
showToast
({
uni
.
showToast
({
title
:
res
.
data
.
msg
,
title
:
res
.
data
.
msg
,
icon
:
"
error
"
,
icon
:
"
none
"
,
});
});
}
}
})
})
...
@@ -454,6 +454,11 @@ export default {
...
@@ -454,6 +454,11 @@ export default {
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/binding/article'
url
:
'/pages/binding/article'
});
});
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
"none"
,
});
}
}
})
})
}
}
...
...
pagesC/pages/shop/detail.vue
View file @
fd3c1d0e
...
@@ -63,6 +63,12 @@ export default {
...
@@ -63,6 +63,12 @@ export default {
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
mallInfo
=
res
.
data
.
data
this
.
mallInfo
=
res
.
data
.
data
this
.
list6
=
this
.
mallInfo
.
imageUrls
this
.
list6
=
this
.
mallInfo
.
imageUrls
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
},
...
...
pagesC/pages/shop/search.vue
View file @
fd3c1d0e
...
@@ -58,8 +58,14 @@ export default {
...
@@ -58,8 +58,14 @@ export default {
console
.
log
(
searchCondition
,
222222222
)
console
.
log
(
searchCondition
,
222222222
)
let
opts
=
{
url
:
'/app/index/mall/list'
,
method
:
'get'
};
let
opts
=
{
url
:
'/app/index/mall/list'
,
method
:
'get'
};
this
.
http
.
httpRequest
(
opts
,
searchCondition
).
then
(
res
=>
{
this
.
http
.
httpRequest
(
opts
,
searchCondition
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
items
=
res
.
data
.
data
.
rows
this
.
items
=
res
.
data
.
data
.
rows
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
300
)
},
300
)
...
...
pagesD/pages/personal/userInfo.vue
View file @
fd3c1d0e
...
@@ -363,6 +363,12 @@ export default {
...
@@ -363,6 +363,12 @@ export default {
// element.rules.label = this.userInfo.birthday
// element.rules.label = this.userInfo.birthday
// }
// }
})
})
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
duration
:
2000
});
}
}
})
})
},
},
...
...
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