Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-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
xugong
hls-xcmg-vue-app
Commits
a875e5fc
Commit
a875e5fc
authored
Jan 02, 2020
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'绑定'
parent
13f6b2d6
Pipeline
#4441
canceled with stages
Changes
6
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
294 additions
and
89 deletions
+294
-89
my-info.vue
src/pages/myInfo/my-info.vue
+11
-4
regiester2.vue
src/pages/regiester2.vue
+29
-24
base-info.vue
src/pages/userBindNew/np/base-info.vue
+89
-30
invoice-info.vue
src/pages/userBindNew/np/invoice-info.vue
+14
-2
baseInfo.vue
src/pages/userBindNew/org/baseInfo.vue
+138
-27
invoice.vue
src/pages/userBindNew/org/invoice.vue
+13
-2
No files found.
src/pages/myInfo/my-info.vue
View file @
a875e5fc
...
...
@@ -860,12 +860,12 @@ export default {
<
style
lang=
"less"
scoped
>
#my-info {
.content-wrap{
/*
.content-wrap{
margin-left:40px;
}
.content-wrap:not(:nth-of-type(1)){
margin-left:70px;
}
}
*/
.card-top {
width: 330px;
margin: 0 auto;
...
...
@@ -1007,14 +1007,21 @@ export default {
display: flex;
// justify-content: space-around;
// align-items: center;
flex:1;
//
flex:1;
text-align: center;
padding: 0 6%;
justify-content: flex-start;
.content-wrap {
position: relative;
width: 33%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.content-wrap-class {
position: absolute;
top: -10px;
left:
25
px;
left:
56
px;
font-size: 10px;
width: 18px;
height: 18px;
...
...
src/pages/regiester2.vue
View file @
a875e5fc
...
...
@@ -34,7 +34,7 @@
placeholder=
"请输入6~20位密码"
maxlength=
"20"
oninput=
"value=value.replace(/[\u4E00-\u9FA5]/g,'')"
@
blur=
"passwordCheck"
>
<img
v-if=
"user_password"
:src=
"openEye"
class=
"right-icon"
@
click=
"changeType"
>
</div>
...
...
@@ -42,7 +42,7 @@
<img
src=
"../assets/login/pass.png"
class=
"left-icon"
>
<input
v-model=
"confirm"
:type=
"pwdType"
oninput=
"value=value.replace(/[\u4E00-\u9FA5]/g,'')"
placeholder=
"请重新输入密码"
@
blur=
"confirmCheck"
>
>
<img
v-if=
"confirm"
:src=
"openEye"
class=
"right-icon"
@
click=
"changeType"
>
</div>
<div
class=
"button submit"
@
click=
"submit"
>
注册
</div>
...
...
@@ -182,17 +182,20 @@ export default {
vm
.
confirmPassword
=
true
}
},
submit
()
{
async
submit
()
{
let
vm
=
this
if
(
!
vm
.
phoneNumberFlag
)
{
hlsPopup
.
showLongCenter
(
'请输入手机号!'
)
}
else
if
(
vm
.
verifiedCode
!==
vm
.
captchaKey
)
{
hlsPopup
.
showLongCenter
(
'验证码错误!'
)
}
else
if
(
!
vm
.
passwordFlag
)
{
}
else
if
(
!
vm
.
user_password
)
{
hlsPopup
.
showLongCenter
(
'请输入密码!'
)
}
else
if
(
!
vm
.
confirm
Password
)
{
}
else
if
(
!
vm
.
confirm
)
{
hlsPopup
.
showLongCenter
(
'请确认密码!'
)
}
else
{
await
vm
.
passwordCheck
()
await
vm
.
confirmCheck
()
if
(
vm
.
passwordFlag
&&
vm
.
confirmPassword
){
let
url
=
process
.
env
.
basePath
+
'register'
let
md5passwprd
=
CryptoJS
.
MD5
(
vm
.
user_password
)
.
toString
()
...
...
@@ -214,6 +217,8 @@ export default {
}
})
}
}
},
returnLogin
()
{
this
.
$router
.
go
(
-
1
)
...
...
src/pages/userBindNew/np/base-info.vue
View file @
a875e5fc
...
...
@@ -436,6 +436,7 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
// 绑定查询入口
next
(
vm
=>
{
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
vm
.
list
=
{}
vm
.
multiBpType
=
{}
vm
.
upload_list
=
[]
// 上传图片列表
...
...
@@ -464,13 +465,71 @@ export default {
vm
.
idCardFrontSpEditFlag
=
false
// 配偶身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardBackSpEditFlag
=
false
// 配偶身份证反面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
isClear
=
false
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
vm
.
from
=
true
vm
.
basicInfoQuery
()
vm
.
loadItemList
()
// 附件查询
}
else
if
(
from
.
name
===
'UserBind'
)
{
vm
.
baseInfo
.
bp_class
=
vm
.
$route
.
params
.
bp_class
vm
.
list
=
{}
vm
.
multiBpType
=
{
bp_type_n
:
''
,
bp_type
:
''
,
}
vm
.
upload_list
=
[]
// 上传图片列表
vm
.
dowload_list
=
[]
// 下载图片列表
vm
.
img_url
=
{}
vm
.
baseInfo
=
{
bp_type_n
:
''
,
academic_background_n
:
''
,
marital_status_n
:
''
,
bp_type
:
''
,
bp_class
:
vm
.
$route
.
params
.
bp_class
,
bp_name
:
''
,
province_name
:
''
,
province_id
:
''
,
city_name
:
''
,
city_id
:
''
,
id_card_no
:
null
,
id_card_date_from
:
''
,
// 身份证有效期从
id_card_date_to
:
''
,
// 身份证有效期到
cell_phone
:
window
.
localStorage
.
getItem
(
'user_phone'
),
living_address
:
''
,
address_on_resident_booklit
:
''
,
marital_status
:
''
,
academic_background
:
''
,
bp_name_sp
:
''
,
id_card_no_sp
:
''
,
// 配偶身份证号
id_card_date_from_sp
:
''
,
// 配偶身份证有效期从
id_card_date_to_sp
:
''
,
// 配偶身份证有效期到
district_id
:
''
,
district_name
:
''
,
spouse_phone
:
''
,
working_place_sp
:
''
,
address_sp
:
''
,
user_phone
:
window
.
localStorage
.
user_phone
,
}
vm
.
idCardFront
=
''
// 身份证正面图片
vm
.
idCardBack
=
''
// 身份证反面图片
vm
.
idCardFrontSp
=
''
// 配偶身份证正面图片
vm
.
idCardBackSp
=
''
// 配偶身份证反面图片
vm
.
idCardFrontUrlFlag
=
false
// 身份证正面图片查看标识,为false则用查询出来的,为true则用拍照出来的
vm
.
idCardBackUrlFlag
=
false
// 身份证反面图片,为false则用查询出来的,为true则用拍照出来的
vm
.
idCardFrontSpUrlFlag
=
false
// 配偶身份证正面图片,为false则用查询出来的,为true则用拍照出来的
vm
.
idCardBackSpUrlFlag
=
false
// 配偶身份证反面图片,为false则用查询出来的,为true则用拍照出来的
vm
.
cddItemList
=
[]
// 资料清单列表
vm
.
idCardFrontCheck_id
=
''
// 身份证正面check_id
vm
.
idCardBackCheck_id
=
''
// 身份证反面check_id
vm
.
idCardFrontSpCheck_id
=
''
// 配偶身份证正面check_id
vm
.
idCardBackSpCheck_id
=
''
// 配偶身份证反面check_id
vm
.
idCardFrontAttachmentId
=
''
// 身份证正面AttachmentId
vm
.
idCardBackAttachmentId
=
''
// 身份证反面AttachmentId
vm
.
idCardFrontSpAttachmentId
=
''
// 配偶身份证正面AttachmentId
vm
.
idCardBackSpAttachmentId
=
''
// 配偶身份证反面AttachmentId
vm
.
idCardFrontEditFlag
=
false
// 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardBackEditFlag
=
false
// 身份证反面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardFrontSpEditFlag
=
false
// 配偶身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardBackSpEditFlag
=
false
// 配偶身份证反面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
isClear
=
false
//vm.baseInfo.bp_class = vm.$route.params.bp_class
}
})
},
...
...
src/pages/userBindNew/np/invoice-info.vue
View file @
a875e5fc
...
...
@@ -99,8 +99,20 @@ export default {
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
if
(
from
.
name
===
'NPBaseInfo'
&&
window
.
localStorage
.
from
)
{
vm
.
invoiceInfo
=
{}
if
(
from
.
name
===
'NPBaseInfo'
)
{
vm
.
invoiceInfo
=
{
bp_id
:
null
,
bp_class
:
null
,
taxpayer_type_n
:
''
,
invoice_kind_n
:
''
,
taxpayer_type
:
''
,
invoice_kind
:
''
,
invoice_title
:
''
,
invoice_adds
:
''
,
invoice_tel
:
''
,
open_bank
:
''
,
open_account
:
''
,
}
vm
.
getInvoice
()
}
})
...
...
src/pages/userBindNew/org/baseInfo.vue
View file @
a875e5fc
...
...
@@ -567,10 +567,87 @@ export default {
created
()
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
vm
.
getBpType
()
vm
.
getProvince
()
if
(
vm
.
$route
.
params
.
status
===
'APPROVED'
)
{
vm
.
isApproved
=
true
window
.
localStorage
.
setItem
(
'isApproved'
,
vm
.
isApproved
)
}
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
/* || from.fullPath === '/margin-first-pay' */
vm
.
legal_personMsg
=
{}
vm
.
baseInfo
=
{}
vm
.
bank_lists
=
{}
vm
.
authMsg
=
{}
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
vm
.
idCardFront
=
''
// 身份证正面图片
vm
.
idCardBack
=
''
// 身份证反面图片
vm
.
authidCardFront
=
''
// 授权人身份证正面图片
vm
.
authidCardBack
=
''
// 授权人身份证反面图片
vm
.
licenseImg
=
''
// 营业执照照片
vm
.
laImg
=
''
// 授权书图片
vm
.
upload_list
=
[]
// 上传图片列表
vm
.
dowload_list
=
[]
// 下载图片列表
vm
.
from
=
true
vm
.
idCardFrontEditFlag
=
false
// 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardBackEditFlag
=
false
// 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
authidCardFrontEditFlag
=
false
// 授权人身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
authidCardBackEditFlag
=
false
// 授权人身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
licenseEditFlag
=
false
// 营业执照照片修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
LaEditFlag
=
false
// 授权书图片修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
isClear
=
false
vm
.
idCardFrontUrlFlag
=
false
// 身份证正面图片,为false则用查询出来的,为true则用拍照出来的
vm
.
idCardBackUrlFlag
=
false
// 身份证反面图片,为false则用查询出来的,为true则用拍照出来的
vm
.
authidCardFrontUrlFlag
=
false
// 授权人身份证正面图片,为false则用查询出来的,为true则用拍照出来的
vm
.
authidCardBackUrlFlag
=
false
// 授权人身份证反面图片,为false则用查询出来的,为true则用拍照出来的
vm
.
licenseImgUrlFlag
=
false
// 营业执照照片,为false则用查询出来的,为true则用拍照出来的
vm
.
laImgUrlFlag
=
false
// 授权书图片,为false则用查询出来的,为true则用拍照出来的
vm
.
getbaseInfo
()
}
else
if
(
from
.
name
===
'UserBind'
)
{
vm
.
multiBpType
=
{
bp_type_n
:
''
,
bp_type
:
''
,
},
vm
.
legal_personMsg
=
{
id_card_no
:
null
,
bp_legal_name
:
''
,
cell_phone
:
window
.
localStorage
.
getItem
(
'user_phone'
),
living_address
:
''
,
id_card_date_from
:
''
,
// 法定代表人身份证有效期从
id_card_date_to
:
''
,
// 法定代表人身份证有效期到
}
vm
.
baseInfo
=
{
agent_username
:
''
,
district_id
:
''
,
district_name
:
''
,
province_name
:
''
,
province_id
:
''
,
city_name
:
''
,
city_id
:
''
,
bp_type
:
''
,
bp_type_n
:
''
,
bp_name
:
''
,
phone
:
''
,
auth_flag
:
'N'
,
user_phone
:
window
.
localStorage
.
user_phone
,
legal_person
:
''
,
enterprise_type
:
''
,
business_address
:
''
,
registered_place
:
''
,
organization_code
:
''
,
registered_capital
:
''
,
// business_license_num: '',
bp_class
:
vm
.
$route
.
params
.
bp_class
,
}
vm
.
authMsg
=
{
auth_person_name
:
''
,
auth_person_matter
:
''
,
auth_person_id_card
:
''
,
auth_cell_phone
:
''
,
auth_person_position
:
''
,
auth_id_card_date_from
:
''
,
// 授权人身份证有效期从
auth_id_card_date_to
:
''
,
// 授权人身份证有效期到
}
vm
.
idCardFront
=
''
// 身份证正面图片
vm
.
idCardBack
=
''
// 身份证反面图片
vm
.
authidCardFront
=
''
// 授权人身份证正面图片
...
...
@@ -594,20 +671,54 @@ export default {
vm
.
authidCardBackUrlFlag
=
false
// 授权人身份证反面图片,为false则用查询出来的,为true则用拍照出来的
vm
.
licenseImgUrlFlag
=
false
// 营业执照照片,为false则用查询出来的,为true则用拍照出来的
vm
.
laImgUrlFlag
=
false
// 授权书图片,为false则用查询出来的,为true则用拍照出来的
}
})
next
()
},
/* beforeRouteEnter (to, from, next) {
next(vm => {
vm.getBpType()
vm.getProvince()
if (vm.$route.params.status === 'APPROVED') {
vm.isApproved = true
window.localStorage.setItem('isApproved', vm.isApproved)
}
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
/* || from.fullPath === '/margin-first-pay' */
if (from.fullPath === '/tab/my-info') { /!* || from.fullPath === '/margin-first-pay' *!/
vm.legal_personMsg = {}
vm.baseInfo = {}
vm.bank_lists = {}
vm.authMsg = {}
vm.idCardFront = '' // 身份证正面图片
vm.idCardBack = '' // 身份证反面图片
vm.authidCardFront = '' // 授权人身份证正面图片
vm.authidCardBack = '' // 授权人身份证反面图片
vm.licenseImg = '' // 营业执照照片
vm.laImg = '' // 授权书图片
vm.upload_list = [] // 上传图片列表
vm.dowload_list = [] // 下载图片列表
vm.idCardFrontEditFlag = false // 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm.idCardBackEditFlag = false // 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm.authidCardFrontEditFlag = false // 授权人身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm.authidCardBackEditFlag = false // 授权人身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm.licenseEditFlag = false // 营业执照照片修改标识,为true则标识已修改,后续需要重新上传此照片
vm.LaEditFlag = false // 授权书图片修改标识,为true则标识已修改,后续需要重新上传此照片
vm.isClear = false
vm.idCardFrontUrlFlag = false // 身份证正面图片,为false则用查询出来的,为true则用拍照出来的
vm.idCardBackUrlFlag = false // 身份证反面图片,为false则用查询出来的,为true则用拍照出来的
vm.authidCardFrontUrlFlag = false // 授权人身份证正面图片,为false则用查询出来的,为true则用拍照出来的
vm.authidCardBackUrlFlag = false // 授权人身份证反面图片,为false则用查询出来的,为true则用拍照出来的
vm.licenseImgUrlFlag = false // 营业执照照片,为false则用查询出来的,为true则用拍照出来的
vm.laImgUrlFlag = false // 授权书图片,为false则用查询出来的,为true则用拍照出来的
vm.bp_id = vm.$route.params.bp_id
vm.from = true
vm.getbaseInfo()
}
})
next()
},
},
*/
methods
:
{
timeFormat
(
str
)
{
return
`
${
str
.
substring
(
0
,
4
)}
-
${
str
.
substring
(
4
,
6
)}
-
${
str
.
substring
(
6
)}
`
...
...
src/pages/userBindNew/org/invoice.vue
View file @
a875e5fc
...
...
@@ -106,8 +106,19 @@ export default {
watch
:
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
if
(
from
.
name
===
'EnterpriseNew'
&&
vm
.
$route
.
params
.
from
)
{
vm
.
invoiceInfo
=
{}
if
(
from
.
name
===
'EnterpriseNew'
)
{
vm
.
invoiceInfo
=
{
invoice_kind
:
''
,
invoice_kind_n
:
''
,
taxpayer_type
:
''
,
invoice_title
:
''
,
taxpayer_type_n
:
''
,
organization_code
:
''
,
invoice_adds
:
''
,
invoice_tel
:
''
,
open_bank
:
''
,
open_account
:
''
,
}
vm
.
invoiceInfo
.
invoice_title
=
vm
.
$route
.
params
.
bp_name
vm
.
invoiceInfo
.
organization_code
=
vm
.
$route
.
params
.
organization_code
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
...
...
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