Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
c277307e
Commit
c277307e
authored
Dec 17, 2021
by
柳士祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车牌号细节修复
parent
80835d6b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
src/pages/wo/vehicleApplication/index.vue
+10
-5
No files found.
src/pages/wo/vehicleApplication/index.vue
View file @
c277307e
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
<div
class=
"img"
>
<div
class=
"img"
>
<image
mode=
"widthFix"
src=
"http://mayi-newshop.oss-cn-shanghai.aliyuncs.com/public/png/9462ce53-792c-4607-ab7c-1875bed2d3ba.png"
alt=
""
></image>
<image
mode=
"widthFix"
src=
"http://mayi-newshop.oss-cn-shanghai.aliyuncs.com/public/png/9462ce53-792c-4607-ab7c-1875bed2d3ba.png"
alt=
""
></image>
</div>
</div>
<p>
{{
companyName
}}
</p>
</div>
</div>
<div
style=
"margin:8px 0;"
>
{{
companyName
}}
</div>
<div
class=
"userImg"
>
<div
class=
"userImg"
>
<image
mode=
"aspectFill"
src=
"http://mayi-newshop.oss-cn-shanghai.aliyuncs.com/public/png/22b4fd78-49c6-4596-86a0-5974f46a3805.png"
alt=
""
></image>
<image
mode=
"aspectFill"
src=
"http://mayi-newshop.oss-cn-shanghai.aliyuncs.com/public/png/22b4fd78-49c6-4596-86a0-5974f46a3805.png"
alt=
""
></image>
</div>
</div>
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
</
template
>
</
template
>
<
script
type=
"text/ecmascript-6"
>
<
script
type=
"text/ecmascript-6"
>
import
live
from
"@/api/live"
;
import
index
from
"@/api/index"
;
import
index
from
"@/api/index"
;
import
QRCode
from
"@/utils/weapp-qrcode.js"
;
import
QRCode
from
"@/utils/weapp-qrcode.js"
;
export
default
{
export
default
{
...
@@ -71,12 +72,12 @@ export default {
...
@@ -71,12 +72,12 @@ export default {
console
.
log
(
"---onShow"
);
console
.
log
(
"---onShow"
);
this
.
setScreenBrightness
(
1
);
this
.
setScreenBrightness
(
1
);
if
(
licensePlateNumber
&&
licensePlateNumber
.
trim
().
length
!=
0
)
{
if
(
licensePlateNumber
&&
licensePlateNumber
.
trim
().
length
!=
0
)
{
this
.
init
();
this
.
getQrCode
();
this
.
TimeOut
=
null
;
this
.
TimeOut
=
null
;
this
.
TimeOut
=
setInterval
(()
=>
{
this
.
TimeOut
=
setInterval
(()
=>
{
this
.
getQrCode
();
this
.
getQrCode
();
},
1000
*
10
);
},
1000
*
10
);
this
.
init
();
}
else
{
}
else
{
wx
.
reLaunch
({
wx
.
reLaunch
({
url
:
'/pages/wo/fillInformation/main'
,
url
:
'/pages/wo/fillInformation/main'
,
...
@@ -109,12 +110,16 @@ export default {
...
@@ -109,12 +110,16 @@ export default {
wx
.
showLoading
({
wx
.
showLoading
({
title
:
"加载中..."
,
title
:
"加载中..."
,
});
});
this
.
getQrCode
()
live
.
getUserInfo
().
then
((
res
)
=>
{
if
(
res
.
data
.
ok
==
"true"
)
{
wx
.
hideLoading
();
}
});
},
},
getQrCode
()
{
getQrCode
()
{
index
.
getVehicleNumber
(
this
.
licensePlateNumber
).
then
((
res
)
=>
{
index
.
getVehicleNumber
(
this
.
licensePlateNumber
).
then
((
res
)
=>
{
if
(
res
.
data
.
ok
==
"true"
)
{
if
(
res
.
data
.
ok
==
"true"
)
{
wx
.
hideLoading
()
this
.
qrCode
=
res
.
data
.
data
.
uniqueCode
;
this
.
qrCode
=
res
.
data
.
data
.
uniqueCode
;
this
.
updateTime
=
res
.
data
.
data
.
createDatetime
;
this
.
updateTime
=
res
.
data
.
data
.
createDatetime
;
console
.
log
(
res
.
data
.
data
.
vehicleInfoResponseDTO
);
console
.
log
(
res
.
data
.
data
.
vehicleInfoResponseDTO
);
...
...
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