Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
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
李伟
cust-app
Commits
e7d28d9a
Commit
e7d28d9a
authored
Mar 04, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了实名认证
parent
eca83fb6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
16 deletions
+24
-16
identityauthentication.vue
pagesme/me/identityauthentication.vue
+16
-13
index.vue
webView/index.vue
+8
-3
No files found.
pagesme/me/identityauthentication.vue
View file @
e7d28d9a
...
@@ -78,20 +78,23 @@
...
@@ -78,20 +78,23 @@
methods
:
{
methods
:
{
async
authadd
()
{
async
authadd
()
{
const
userInfo
=
uni
.
getStorageSync
(
'userInfo'
)
const
userInfo
=
uni
.
getStorageSync
(
'userInfo'
)
const
params
=
{
uni
.
navigateTo
({
businessId
:
userInfo
.
businessId
,
url
:
"/webView/index?userId="
+
userInfo
.
businessId
+
'&memRealName='
+
this
.
form
.
memRealName
+
'&memIdcard='
+
this
.
form
.
memIdcard
memRealName
:
this
.
form
.
memRealName
,
memIdcard
:
this
.
form
.
memIdcard
}
checkRealAuth
(
params
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
){
uni
.
navigateTo
({
url
:
"/webView/index"
})
}
else
{
this
.
errorAuthMessage
=
res
.
data
.
message
}
})
})
// const params = {
// businessId: userInfo.businessId,
// memRealName: this.form.memRealName,
// memIdcard: this.form.memIdcard
// }
// checkRealAuth(params).then(res => {
// if (res.data.code == 200){
// uni.navigateTo({
// url: "/webView/index?businessId=" + userInfo.businessId + '&memRealName=' + this.form.memRealName + '&memIdcard=' +this.form.memIdcard
// })
// } else {
// this.errorAuthMessage = res.data.message
// }
// })
},
},
}
}
}
}
...
...
webView/index.vue
View file @
e7d28d9a
<
template
>
<
template
>
<view>
<view>
<!--
<web-view
:src=
"'http://106.3.97.198:20163/realAuth.html?token='+token"
></web-view>
-->
<!--
<web-view
:src=
"'http://106.3.97.198:20163/realAuth.html?token='+token"
></web-view>
-->
<web-view
:src=
"webUrl+'/realAuth.html?token='+token"
@
message=
"receiveMessage"
></web-view>
<web-view
:src=
"webUrl+'/realAuth.html?token='+token
+ '&userId=' + userId + '&memIdcard=' + memIdcard + '&memRealName=' + memRealName
"
@
message=
"receiveMessage"
></web-view>
</view>
</view>
</
template
>
</
template
>
...
@@ -14,10 +14,15 @@ export default {
...
@@ -14,10 +14,15 @@ export default {
return
{
return
{
webUrl
:
this
.
$WEBVIEW_URL
,
webUrl
:
this
.
$WEBVIEW_URL
,
token
:
uni
.
getStorageSync
(
'token'
),
token
:
uni
.
getStorageSync
(
'token'
),
userId
:
null
,
memIdcard
:
''
,
memRealName
:
''
};
};
},
},
onLoad
()
{
onLoad
(
params
)
{
this
.
userId
=
params
.
userId
this
.
memIdcard
=
params
.
memIdcard
this
.
memRealName
=
params
.
memRealName
},
},
methods
:
{
methods
:
{
receiveMessage
(
event
){
receiveMessage
(
event
){
...
...
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