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
7ab23970
Commit
7ab23970
authored
Jan 23, 2022
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加log
parent
f1b69ef6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
2 deletions
+26
-2
src/pages/wo/checkHistory/index.vue
+3
-0
src/pages/wo/editPicture/index.vue
+2
-2
src/pages/wo/improveInformation/index.vue
+4
-0
src/pages/wo/showPassCheck/index.vue
+3
-0
src/pages/wo/verification/index.vue
+3
-0
src/pages/wo/writeInformation/index.vue
+11
-0
No files found.
src/pages/wo/checkHistory/index.vue
View file @
7ab23970
...
...
@@ -29,6 +29,8 @@
<
script
type=
"text/ecmascript-6"
>
import
index
from
"@/api/index"
;
const
app
=
getApp
();
const
{
log
}
=
app
;
export
default
{
name
:
"checkHistory"
,
data
()
{
...
...
@@ -62,6 +64,7 @@ export default {
checkOrVerified
:
2
,
};
index
.
getHistoryByVerifier
(
query
).
then
((
res
)
=>
{
log
.
info
(
'getHistoryByVerifier'
,
query
,
res
)
this
.
loaded
=
true
;
wx
.
hideLoading
();
if
(
res
.
data
.
ok
==
"true"
)
{
...
...
src/pages/wo/editPicture/index.vue
View file @
7ab23970
...
...
@@ -23,7 +23,7 @@ export default {
console
.
log
(
options
.
src
,
"----------22"
);
const
device
=
wx
.
getSystemInfoSync
();
// 获取设备信息
const
width
=
device
.
windowWidth
;
// 示例为一个与屏幕等宽的正方形裁剪框
const
height
=
device
.
windowHeight
-
12
0
;
const
height
=
device
.
windowHeight
-
20
0
;
let
cropperOptions
=
{
src
:
""
,
id
:
"canvasId"
,
...
...
@@ -35,7 +35,7 @@ export default {
zoom
:
8
,
// 缩放系数
cut
:
{
x
:
(
width
-
260
)
/
2
,
// 裁剪框x轴起点
y
:
(
height
-
3
2
0
)
/
2
,
// 裁剪框y轴期起点
y
:
(
height
-
3
0
0
)
/
2
,
// 裁剪框y轴期起点
width
:
260
,
// 裁剪框宽度
height
:
320
,
// 裁剪框高度
},
...
...
src/pages/wo/improveInformation/index.vue
View file @
7ab23970
...
...
@@ -93,6 +93,8 @@
import
live
from
"@/api/live"
;
import
index
from
"@/api/index"
;
import
{
DFSImg
}
from
'@/utils/common.js'
const
app
=
getApp
();
const
{
log
}
=
app
;
export
default
{
name
:
"improveInformation"
,
data
()
{
...
...
@@ -137,6 +139,7 @@ export default {
});
this
.
editImg
=
false
;
live
.
getUserInfo
().
then
(
res
=>
{
log
.
info
(
'getUserInfo'
,
res
)
wx
.
hideLoading
();
if
(
res
.
data
.
ok
==
'true'
){
this
.
userInfo
=
res
.
data
.
data
;
...
...
@@ -218,6 +221,7 @@ export default {
headPortraitUrl
:
this
.
userInfo
.
headPortraitUrl
}
index
.
update_info
(
query
).
then
(
res
=>
{
log
.
info
(
'update_info'
,
query
,
res
)
if
(
res
.
data
.
ok
==
'true'
){}
})
},
...
...
src/pages/wo/showPassCheck/index.vue
View file @
7ab23970
...
...
@@ -63,6 +63,8 @@ import live from "@/api/live";
import
index
from
"@/api/index"
;
import
{
DFSImg
}
from
"@/utils/common.js"
;
import
QRCode
from
"@/utils/weapp-qrcode.js"
;
const
app
=
getApp
();
const
{
log
}
=
app
;
export
default
{
name
:
"showPassCheck"
,
data
()
{
...
...
@@ -141,6 +143,7 @@ export default {
},
getQrCode
()
{
index
.
generatorUniqueCodeByDynamic
().
then
((
res
)
=>
{
log
.
info
(
'generatorUniqueCodeByDynamic'
,
res
)
if
(
res
.
data
.
ok
==
"true"
)
{
this
.
qrCode
=
res
.
data
.
data
.
uniqueCode
;
this
.
updateTime
=
res
.
data
.
data
.
createDatetime
;
...
...
src/pages/wo/verification/index.vue
View file @
7ab23970
...
...
@@ -90,6 +90,8 @@
<
script
type=
"text/ecmascript-6"
>
import
index
from
"@/api/index"
;
import
{
DFSImg
}
from
"@/utils/common.js"
;
const
app
=
getApp
();
const
{
log
}
=
app
;
export
default
{
name
:
"verification"
,
data
()
{
...
...
@@ -154,6 +156,7 @@ export default {
this
.
showInfo
=
false
;
this
.
loaded
=
false
;
index
.
getInfoByUniqueCode
(
this
.
checkText
).
then
((
res
)
=>
{
log
.
info
(
'getInfoByUniqueCode'
,
this
.
checkText
,
res
)
wx
.
hideLoading
();
this
.
loaded
=
true
;
if
(
res
.
data
.
ok
==
"true"
&&
res
.
data
.
data
)
{
...
...
src/pages/wo/writeInformation/index.vue
View file @
7ab23970
...
...
@@ -78,6 +78,8 @@
<
script
>
import
login
from
"@/api/login"
;
const
app
=
getApp
();
const
{
log
}
=
app
;
export
default
{
name
:
"writeInformation"
,
data
()
{
...
...
@@ -200,6 +202,7 @@ export default {
});
let
query
=
{
customerName
:
this
.
name
,
identityCard
:
this
.
idNum
};
login
.
get_certified_info
(
query
).
then
((
res
)
=>
{
log
.
info
(
'get_certified_info'
,
query
,
res
)
if
(
res
.
data
.
ok
==
"true"
)
{
let
infoData
=
res
.
data
.
data
;
this
.
mini_certified
(
infoData
);
...
...
@@ -230,6 +233,7 @@ export default {
code
:
this
.
code
,
};
login
.
mini_certified
(
query
).
then
((
res
)
=>
{
log
.
info
(
'mini_certified'
,
query
,
res
)
if
(
res
.
data
.
ok
==
"true"
)
{
wx
.
login
({
success
:
(
res
)
=>
{
...
...
@@ -242,6 +246,7 @@ export default {
spokesmanShopId
:
""
,
})
.
then
((
res
)
=>
{
log
.
info
(
'miniLogin'
,
res
)
if
(
res
.
data
.
code
==
200
&&
res
.
data
.
data
.
sessionId
)
{
wx
.
showToast
({
title
:
"认证通过"
,
...
...
@@ -269,6 +274,12 @@ export default {
},
fail
:
(
err
)
=>
{},
});
//重新登录
}
else
{
wx
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
"error"
,
duration
:
1000
,
});
}
});
},
...
...
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