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
Expand all
Hide 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 {
...
@@ -860,12 +860,12 @@ export default {
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
#my-info {
#my-info {
.content-wrap{
/*
.content-wrap{
margin-left:40px;
margin-left:40px;
}
}
.content-wrap:not(:nth-of-type(1)){
.content-wrap:not(:nth-of-type(1)){
margin-left:70px;
margin-left:70px;
}
}
*/
.card-top {
.card-top {
width: 330px;
width: 330px;
margin: 0 auto;
margin: 0 auto;
...
@@ -1007,14 +1007,21 @@ export default {
...
@@ -1007,14 +1007,21 @@ export default {
display: flex;
display: flex;
// justify-content: space-around;
// justify-content: space-around;
// align-items: center;
// align-items: center;
flex:1;
//
flex:1;
text-align: center;
text-align: center;
padding: 0 6%;
justify-content: flex-start;
.content-wrap {
.content-wrap {
position: relative;
position: relative;
width: 33%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.content-wrap-class {
.content-wrap-class {
position: absolute;
position: absolute;
top: -10px;
top: -10px;
left:
25
px;
left:
56
px;
font-size: 10px;
font-size: 10px;
width: 18px;
width: 18px;
height: 18px;
height: 18px;
...
...
src/pages/regiester2.vue
View file @
a875e5fc
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
placeholder=
"请输入6~20位密码"
placeholder=
"请输入6~20位密码"
maxlength=
"20"
maxlength=
"20"
oninput=
"value=value.replace(/[\u4E00-\u9FA5]/g,'')"
oninput=
"value=value.replace(/[\u4E00-\u9FA5]/g,'')"
@
blur=
"passwordCheck"
>
>
<img
v-if=
"user_password"
:src=
"openEye"
class=
"right-icon"
@
click=
"changeType"
>
<img
v-if=
"user_password"
:src=
"openEye"
class=
"right-icon"
@
click=
"changeType"
>
</div>
</div>
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
<img
src=
"../assets/login/pass.png"
class=
"left-icon"
>
<img
src=
"../assets/login/pass.png"
class=
"left-icon"
>
<input
<input
v-model=
"confirm"
:type=
"pwdType"
oninput=
"value=value.replace(/[\u4E00-\u9FA5]/g,'')"
placeholder=
"请重新输入密码"
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"
>
<img
v-if=
"confirm"
:src=
"openEye"
class=
"right-icon"
@
click=
"changeType"
>
</div>
</div>
<div
class=
"button submit"
@
click=
"submit"
>
注册
</div>
<div
class=
"button submit"
@
click=
"submit"
>
注册
</div>
...
@@ -182,37 +182,42 @@ export default {
...
@@ -182,37 +182,42 @@ export default {
vm
.
confirmPassword
=
true
vm
.
confirmPassword
=
true
}
}
},
},
submit
()
{
async
submit
()
{
let
vm
=
this
let
vm
=
this
if
(
!
vm
.
phoneNumberFlag
)
{
if
(
!
vm
.
phoneNumberFlag
)
{
hlsPopup
.
showLongCenter
(
'请输入手机号!'
)
hlsPopup
.
showLongCenter
(
'请输入手机号!'
)
}
else
if
(
vm
.
verifiedCode
!==
vm
.
captchaKey
)
{
}
else
if
(
vm
.
verifiedCode
!==
vm
.
captchaKey
)
{
hlsPopup
.
showLongCenter
(
'验证码错误!'
)
hlsPopup
.
showLongCenter
(
'验证码错误!'
)
}
else
if
(
!
vm
.
passwordFlag
)
{
}
else
if
(
!
vm
.
user_password
)
{
hlsPopup
.
showLongCenter
(
'请输入密码!'
)
hlsPopup
.
showLongCenter
(
'请输入密码!'
)
}
else
if
(
!
vm
.
confirm
Password
)
{
}
else
if
(
!
vm
.
confirm
)
{
hlsPopup
.
showLongCenter
(
'请确认密码!'
)
hlsPopup
.
showLongCenter
(
'请确认密码!'
)
}
else
{
}
else
{
let
url
=
process
.
env
.
basePath
+
'register'
await
vm
.
passwordCheck
()
let
md5passwprd
=
CryptoJS
.
MD5
(
vm
.
user_password
)
await
vm
.
confirmCheck
()
.
toString
()
if
(
vm
.
passwordFlag
&&
vm
.
confirmPassword
){
.
toUpperCase
()
let
url
=
process
.
env
.
basePath
+
'register'
let
params
=
{
let
md5passwprd
=
CryptoJS
.
MD5
(
vm
.
user_password
)
master
:
{
.
toString
()
phone
:
vm
.
phone_number
,
.
toUpperCase
()
password
:
md5passwprd
,
let
params
=
{
},
master
:
{
}
phone
:
vm
.
phone_number
,
hlsHttp
.
post
(
url
,
params
).
then
(
function
(
res
)
{
password
:
md5passwprd
,
if
(
res
.
result
===
'S'
)
{
},
hlsPopup
.
showLongCenter
(
'注册成功'
)
setTimeout
(
function
()
{
vm
.
$router
.
push
(
'login'
)
},
100
)
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
hlsHttp
.
post
(
url
,
params
).
then
(
function
(
res
)
{
if
(
res
.
result
===
'S'
)
{
hlsPopup
.
showLongCenter
(
'注册成功'
)
setTimeout
(
function
()
{
vm
.
$router
.
push
(
'login'
)
},
100
)
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
}
}
}
},
},
returnLogin
()
{
returnLogin
()
{
...
...
src/pages/userBindNew/np/base-info.vue
View file @
a875e5fc
...
@@ -436,41 +436,100 @@ export default {
...
@@ -436,41 +436,100 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
// 绑定查询入口
// 绑定查询入口
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
list
=
{}
vm
.
multiBpType
=
{}
vm
.
upload_list
=
[]
// 上传图片列表
vm
.
dowload_list
=
[]
// 下载图片列表
vm
.
img_url
=
{}
vm
.
baseInfo
=
{}
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
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
vm
.
list
=
{}
vm
.
multiBpType
=
{}
vm
.
upload_list
=
[]
// 上传图片列表
vm
.
dowload_list
=
[]
// 下载图片列表
vm
.
img_url
=
{}
vm
.
baseInfo
=
{}
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
.
from
=
true
vm
.
from
=
true
vm
.
basicInfoQuery
()
vm
.
basicInfoQuery
()
vm
.
loadItemList
()
// 附件查询
vm
.
loadItemList
()
// 附件查询
}
else
if
(
from
.
name
===
'UserBind'
)
{
}
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 {
...
@@ -99,8 +99,20 @@ export default {
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{
if
(
from
.
name
===
'NPBaseInfo'
&&
window
.
localStorage
.
from
)
{
if
(
from
.
name
===
'NPBaseInfo'
)
{
vm
.
invoiceInfo
=
{}
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
()
vm
.
getInvoice
()
}
}
})
})
...
...
src/pages/userBindNew/org/baseInfo.vue
View file @
a875e5fc
This diff is collapsed.
Click to expand it.
src/pages/userBindNew/org/invoice.vue
View file @
a875e5fc
...
@@ -106,8 +106,19 @@ export default {
...
@@ -106,8 +106,19 @@ export default {
watch
:
{},
watch
:
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{
if
(
from
.
name
===
'EnterpriseNew'
&&
vm
.
$route
.
params
.
from
)
{
if
(
from
.
name
===
'EnterpriseNew'
)
{
vm
.
invoiceInfo
=
{}
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
.
invoice_title
=
vm
.
$route
.
params
.
bp_name
vm
.
invoiceInfo
.
organization_code
=
vm
.
$route
.
params
.
organization_code
vm
.
invoiceInfo
.
organization_code
=
vm
.
$route
.
params
.
organization_code
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
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