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
ac3e3bd9
Commit
ac3e3bd9
authored
Nov 10, 2021
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
120832d3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
54 additions
and
18 deletions
+54
-18
src/pages/wo/checkHistory/index.vue
+34
-4
src/pages/wo/improveInformation/index.vue
+11
-5
src/pages/wo/reportTheLoss/index.vue
+1
-1
src/pages/wo/writeInformation/index.vue
+8
-8
No files found.
src/pages/wo/checkHistory/index.vue
View file @
ac3e3bd9
...
...
@@ -2,7 +2,7 @@
<!-- 核验历史 -->
<div
class=
"checkHistory"
>
<div
class=
"list"
>
<div
class=
"item flex"
v-for=
"(item, index) in
20
"
:key=
"index"
>
<div
class=
"item flex"
v-for=
"(item, index) in
list
"
:key=
"index"
>
<div
class=
"left"
>
<p>
<span>
核验地点:
</span><span>
{{
"云顶大酒店"
}}
</span>
...
...
@@ -22,16 +22,19 @@
></image>
</div>
</div>
<div
class=
"noCheck"
v-if=
"loaded && list.length == 0"
>
暂无核验
</div>
</div>
</div>
</
template
>
<
script
type=
"text/ecmascript-6"
>
import
index
from
"@/api/index"
;
export
default
{
name
:
"checkHistory"
,
data
()
{
return
{
list
:
[],
loaded
:
false
,
};
},
components
:
{},
...
...
@@ -44,9 +47,28 @@ export default {
console
.
log
(
"---onLoad"
);
},
onShow
()
{
this
.
init
();
console
.
log
(
"---onShow"
);
},
methods
:
{},
methods
:
{
init
()
{
wx
.
showLoading
({
title
:
"加载中..."
,
});
let
query
=
{
pageNum
:
1
,
pageSize
:
10000
,
checkOrVerified
:
2
,
};
index
.
getHistoryByVerifier
(
query
).
then
((
res
)
=>
{
this
.
loaded
=
true
;
wx
.
hideLoading
();
if
(
res
.
data
.
ok
==
"ok"
)
{
this
.
list
=
res
.
data
.
data
;
}
});
},
},
};
</
script
>
...
...
@@ -71,17 +93,25 @@ export default {
font-weight
:
400
;
color
:
#333333
;
}
.time
{
.time
{
margin-top
:
8px
;
}
}
.checkIcon
{
image{
image
{
width
:
64px
;
height
:
50px
;
}
}
}
}
.noCheck
{
margin-top
:
20px
;
font-size
:
13px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#666
;
text-align
:
center
;
}
}
</
style
>
src/pages/wo/improveInformation/index.vue
View file @
ac3e3bd9
...
...
@@ -121,11 +121,11 @@ export default {
},
methods
:
{
init
(){
//
wx.showLoading({
//
title: "加载中...",
//
});
wx
.
showLoading
({
title
:
"加载中..."
,
});
live
.
getUserInfo
().
then
(
res
=>
{
//
wx.hideLoading();
wx
.
hideLoading
();
if
(
res
.
data
.
ok
==
'true'
){
this
.
userInfo
=
res
.
data
.
data
;
}
...
...
@@ -150,7 +150,13 @@ export default {
// wx.reLaunch({
// url: '/pages/home/main' // 指定页面的url
// });
wx
.
navigateBack
();
if
(
getCurrentPages
().
length
>
1
){
wx
.
navigateBack
();
}
else
{
wx
.
reLaunch
({
url
:
'/pages/home/main'
// 指定页面的url
});
}
},
},
onHide
()
{
...
...
src/pages/wo/reportTheLoss/index.vue
View file @
ac3e3bd9
...
...
@@ -21,7 +21,7 @@
</div>
</div>
</div>
<div
class=
"btm"
v-if=
"!reported"
>
<div
class=
"btm"
v-if=
"!reported
&& loaded
"
>
<div
class=
"btn"
@
click=
"confirm"
:class=
"
{ btn1: confirmLoading }">
确认挂失
</div>
...
...
src/pages/wo/writeInformation/index.vue
View file @
ac3e3bd9
...
...
@@ -32,7 +32,7 @@
placeholder=
"请输入姓名"
v-model=
"name"
/>
<
i
class=
"iconfont icon-you"
></i
>
<
!--
<i
class=
"iconfont icon-you"
></i>
--
>
</div>
</div>
<div
class=
"cell flex"
>
...
...
@@ -48,7 +48,7 @@
@
input=
"input_id_number"
v-model=
"idNum"
/>
<
i
class=
"iconfont icon-you"
></i
>
<
!--
<i
class=
"iconfont icon-you"
></i>
--
>
</div>
</div>
</div>
...
...
@@ -143,7 +143,7 @@ export default {
// 下一步
next
()
{
console
.
log
(
"--下一步--"
);
this
.
check_id_number
();
//
this.check_id_number();
if
(
this
.
idPhoto
==
""
)
{
wx
.
showToast
({
title
:
"请上传证件照"
,
...
...
@@ -179,11 +179,6 @@ export default {
let
query
=
{
customerName
:
this
.
name
,
identityCard
:
this
.
idNum
};
login
.
get_certified_info
(
query
).
then
((
res
)
=>
{
if
(
res
.
data
.
ok
==
"true"
)
{
wx
.
showToast
({
title
:
"认证通过"
,
icon
:
"success"
,
duration
:
1000
,
});
let
infoData
=
res
.
data
.
data
;
this
.
mini_certified
(
infoData
);
}
else
{
...
...
@@ -225,6 +220,11 @@ export default {
})
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
&&
res
.
data
.
data
.
sessionId
)
{
wx
.
showToast
({
title
:
"认证通过"
,
icon
:
"success"
,
duration
:
1000
,
});
wx
.
setStorage
({
key
:
"sessionid"
,
data
:
res
.
data
.
data
.
sessionId
...
...
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