Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-rljj-wx
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
rl
hls-rljj-wx
Commits
6fc060d8
Commit
6fc060d8
authored
May 11, 2020
by
chaiwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
正式环境修改优化
parent
1205c62c
Pipeline
#6058
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
45 deletions
+47
-45
companyRegister.vue
src/pages/applications/userRegisters/companyRegister.vue
+0
-1
personalRegister.vue
src/pages/applications/userRegisters/personalRegister.vue
+47
-44
No files found.
src/pages/applications/userRegisters/companyRegister.vue
View file @
6fc060d8
...
...
@@ -1246,7 +1246,6 @@ export default {
if
(
data
.
agentType
==
1
)
{
//法定代表人
vm
.
organizationName
=
data
.
name
;
vm
.
socialCode
=
data
.
idNo
;
vm
.
legalRepresentativeName
=
data
.
legalName
;
vm
.
legalRepresentativeCardNumber
=
data
.
legalIdNo
;
...
...
src/pages/applications/userRegisters/personalRegister.vue
View file @
6fc060d8
...
...
@@ -113,7 +113,7 @@
</section>
<input
slot=
"content"
v-model=
"personName
1
"
v-model=
"personName"
style=
"text-align: left;font-size:14px"
readonly
/>
...
...
@@ -127,7 +127,7 @@
</section>
<input
slot=
"content"
v-model=
"identificationNumber
1
"
v-model=
"identificationNumber"
style=
"text-align: left;font-size:14px"
readonly
/>
...
...
@@ -141,7 +141,7 @@
</section>
<input
slot=
"content"
v-model=
"phoneNumber
1
"
v-model=
"phoneNumber"
style=
"text-align: left;font-size:14px"
readonly
/>
...
...
@@ -162,7 +162,7 @@
class=
"uppic"
disabled
/>
-->
<img
:src=
"cardUp
1
"
alt
class=
"pic"
@
click=
"previewImage()"
/>
<img
:src=
"cardUp"
alt
class=
"pic"
@
click=
"previewImage()"
/>
</div>
<!--
<div
style=
"border:1px solid #b2b2b2;width:50%;border-radius:5px;position:relative;"
>
...
...
@@ -212,21 +212,7 @@ export default {
},
components
:
{},
activated
:
function
()
{
this
.
status
=
this
.
$route
.
params
.
status
;
this
.
cardUp1
=
sessionStorage
.
cardUp1
?
sessionStorage
.
cardUp1
:
""
;
this
.
identificationNumber1
=
sessionStorage
.
identificationNumber
?
sessionStorage
.
identificationNumber
:
""
;
this
.
phoneNumber1
=
sessionStorage
.
phoneNumber
?
sessionStorage
.
phoneNumber
:
""
;
this
.
personName1
=
sessionStorage
.
personName
?
sessionStorage
.
personName
:
""
;
// console.log(this.getUrlParams('Regstatus'));
var
Request
=
new
this
.
UrlSearch
();
//实例化
this
.
status
=
Request
.
Regstatus
;
// this.getUserInfo();
},
updated
:
function
()
{},
methods
:
{
...
...
@@ -298,7 +284,7 @@ export default {
//预览图片
previewImage
()
{
hlsPopup
.
showBigPicture
({
imgUrl
:
window
.
sessionStorage
.
cardUp1
imgUrl
:
vm
.
cardUp
});
},
uploadToWeixinServer
(
localId
)
{
...
...
@@ -330,7 +316,7 @@ export default {
vm
.
personName
=
res
[
"姓名"
];
vm
.
identificationNumber
=
res
[
"公民身份号码"
];
vm
.
attchmentId
=
res
[
"attchmentId"
];
window
.
sessionStorage
.
cardUp1
=
vm
.
cardUp
=
process
.
env
.
rootPath
+
"/app/fileViewSvc?attachment_id="
+
vm
.
attchmentId
+
...
...
@@ -356,9 +342,6 @@ export default {
vm
.
hlsPopup
.
showLongCenter
(
"手机号码有误!"
);
return
;
}
else
{
sessionStorage
.
setItem
(
"personName"
,
vm
.
personName
);
sessionStorage
.
setItem
(
"identificationNumber"
,
vm
.
identificationNumber
);
sessionStorage
.
setItem
(
"phoneNumber"
,
vm
.
phoneNumber
);
// alert("验证通过");
let
url
=
process
.
env
.
rootPath
+
"/auth/api/individual/face"
;
let
param
=
{
...
...
@@ -453,31 +436,51 @@ export default {
console
.
log
(
scrollHeight
);
window
.
scrollTo
(
0
,
Math
.
max
(
scrollHeight
,
0
));
},
100
);
},
// 获取用户信息
getUserInfo
()
{
var
Request
=
new
this
.
UrlSearch
();
//实例化
this
.
status
=
Request
.
Regstatus
;
var
contextId
=
Request
.
contextId
;
var
verifycode
=
Request
.
verifycode
;
var
success
=
Request
.
passed
;
if
(
this
.
status
==
1
)
{
this
.
authResult
(
contextId
,
verifycode
,
success
);
}
let
vm
=
this
;
let
url
=
process
.
env
.
rootPath
+
"/sign/info/hclc/query/by/openid?openId="
+
window
.
localStorage
.
openId
;
vm
.
hlsPopup
.
showLoading
(
"请稍等"
);
vm
.
$post
(
url
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
();
if
(
res
.
rows
)
{
if
(
res
.
rows
.
length
>
0
)
{
var
data
=
res
.
rows
[
0
];
vm
.
cardUp
=
process
.
env
.
rootPath
+
"/app/fileViewSvc?attachment_id="
+
data
.
attachmentId
+
"&apiName=download&sysName=HCL_UPLOAD_FILE&access_token="
+
window
.
localStorage
.
access_token_rl
;
vm
.
identificationNumber
=
data
.
idNo
;
vm
.
phoneNumber
=
data
.
mobile
;
vm
.
personName
=
data
.
name
;
// vm.identificationNumber = '22222222222222222';
// vm.phoneNumber = '18230982828';
// vm.personName = 'chaiwei';
}
}
});
}
},
created
()
{
this
.
wxConfig
();
// wx.hideOptionMenu();
var
Request
=
new
this
.
UrlSearch
();
//实例化
this
.
status
=
Request
.
Regstatus
;
var
contextId
=
Request
.
contextId
;
var
verifycode
=
Request
.
verifycode
;
var
success
=
Request
.
passed
;
if
(
this
.
status
==
1
)
{
this
.
authResult
(
contextId
,
verifycode
,
success
);
}
var
data
=
this
.
$route
.
params
.
userInfo
;
if
(
data
)
{
this
.
cardUp
=
process
.
env
.
rootPath
+
"/app/fileViewSvc?attachment_id="
+
data
.
attachmentId
+
"&apiName=download&sysName=HCL_UPLOAD_FILE&access_token="
+
window
.
localStorage
.
access_token_rl
;
this
.
identificationNumber
=
data
.
idNo
;
this
.
phoneNumber
=
data
.
mobile
;
this
.
personName
=
data
.
name
;
}
// var data = this.$route.params.userInfo;
this
.
getUserInfo
();
}
};
</
script
>
...
...
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