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
26119cf2
Commit
26119cf2
authored
Dec 03, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
头像保存查询,新增角色保存
parent
457d2a3c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
15 deletions
+65
-15
my-info.vue
src/pages/myInfo/my-info.vue
+42
-14
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+23
-1
No files found.
src/pages/myInfo/my-info.vue
View file @
26119cf2
...
@@ -72,7 +72,11 @@
...
@@ -72,7 +72,11 @@
<img
src=
"@/assets/myInfo/unFace.png"
>
<img
src=
"@/assets/myInfo/unFace.png"
>
<p>
待面签
</p>
<p>
待面签
</p>
</div>
</div>
<div
v-if=
"(user_bp_type==='TENANT')||(user_bp_type==='GUTA')"
class=
"content-wrap"
@
click=
"goCarConfirm"
>
<div
v-if=
"(user_bp_type==='TENANT')||(user_bp_type==='GUTA')"
class=
"content-wrap"
@
click=
"goCarConfirm"
>
<span
<span
v-if=
"carCount > 0"
v-if=
"carCount > 0"
:class=
"
{'content-wrap-class-width':carCount>99, 'content-wrap-class':carCount
<99
}"
:class=
"
{'content-wrap-class-width':carCount>99, 'content-wrap-class':carCount
<99
}"
...
@@ -83,7 +87,10 @@
...
@@ -83,7 +87,10 @@
</div>
</div>
</div>
</div>
<list-item
:item-height=
"44"
class=
"list"
>
<list-item
:item-height=
"44"
class=
"list"
>
<item
v-if=
"(user_bp_type==='TENANT')||(user_bp_type==='GUTA')"
@
click
.
native=
"goReimburse"
>
<item
v-if=
"(user_bp_type==='TENANT')||(user_bp_type==='GUTA')"
@
click
.
native=
"goReimburse"
>
<img
slot=
"left-icon"
src=
"@/assets/myInfo/myRefund.png"
class=
"left-icon"
>
<img
slot=
"left-icon"
src=
"@/assets/myInfo/myRefund.png"
class=
"left-icon"
>
<div
slot=
"name"
>
我的还款
</div>
<div
slot=
"name"
>
我的还款
</div>
</item>
</item>
...
@@ -233,11 +240,6 @@ export default {
...
@@ -233,11 +240,6 @@ export default {
break
break
}
}
}
}
// if (newVal === 'NP_NO' || newVal === 'ORG_NO' || newVal === 'ORG_L_NO' || newVal === 'ORG_AUTH_NO ' || !newVal) {
// this.elecStatus = false
// } else if (newVal === 'NP_YES' || newVal === 'ORG_YES' || newVal === 'ORG_L_YES' || newVal === 'ORG_AUTH_YES') {
// this.elecStatus = true
// }
},
},
},
},
created
()
{},
created
()
{},
...
@@ -250,6 +252,32 @@ export default {
...
@@ -250,6 +252,32 @@ export default {
},
},
activated
()
{},
activated
()
{},
methods
:
{
methods
:
{
// 查询头像
getHead
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'app_attment_query'
let
param
=
{
master
:
{
source_type
:
'HLS_APP_USER'
,
pkvalue
:
vm
.
bp_id
,
},
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
info
)
{
vm
.
upLoadObj
=
process
.
env
.
filePath
+
'attachment_id='
+
res
.
info
.
attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
}
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 选择角色后确定
// 选择角色后确定
roleConfirm
(
role
)
{
roleConfirm
(
role
)
{
this
.
roleSwitchFlag
=
false
this
.
roleSwitchFlag
=
false
...
@@ -676,6 +704,7 @@ export default {
...
@@ -676,6 +704,7 @@ export default {
vm
.
user_bp_type
=
res
.
info
.
user_bp_type
vm
.
user_bp_type
=
res
.
info
.
user_bp_type
vm
.
user_phone
=
res
.
info
.
user_phone
vm
.
user_phone
=
res
.
info
.
user_phone
vm
.
watchBpStatus
()
vm
.
watchBpStatus
()
vm
.
getHead
()
if
(
vm
.
user_bp_type
===
'AGENT'
)
{
if
(
vm
.
user_bp_type
===
'AGENT'
)
{
vm
.
isAGENT
=
true
vm
.
isAGENT
=
true
}
else
{
}
else
{
...
@@ -769,7 +798,6 @@ export default {
...
@@ -769,7 +798,6 @@ export default {
},
},
// 获取企业认证url
// 获取企业认证url
async
getOrgCertificationUrl
()
{
async
getOrgCertificationUrl
()
{
debugger
let
vm
=
this
let
vm
=
this
let
url
=
$config
.
basePath
+
'auth_company_sign'
let
url
=
$config
.
basePath
+
'auth_company_sign'
let
param
=
{
let
param
=
{
...
@@ -876,7 +904,7 @@ export default {
...
@@ -876,7 +904,7 @@ export default {
width: 285px;
width: 285px;
margin: 0 auto;
margin: 0 auto;
display: flex;
display: flex;
justify-content:flex-start;
justify-content:
flex-start;
align-items: center;
align-items: center;
text-align: center;
text-align: center;
p {
p {
...
@@ -889,8 +917,8 @@ export default {
...
@@ -889,8 +917,8 @@ export default {
width: 48px;
width: 48px;
height: 48px;
height: 48px;
}
}
div:not(:first-child){
div:not(:first-child)
{
margin-left:60px;
margin-left:
60px;
}
}
}
}
}
}
...
@@ -972,8 +1000,8 @@ export default {
...
@@ -972,8 +1000,8 @@ export default {
color: #383f45;
color: #383f45;
margin-top: 5px;
margin-top: 5px;
}
}
div:not(:first-child)
{
div:not(:first-child)
{
margin-left:
85px;
margin-left:
85px;
}
}
}
}
.list {
.list {
...
...
src/pages/userBind/np/naturePerson.vue
View file @
26119cf2
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<div
slot=
"name"
class=
"required"
>
办事处代码
</div>
<div
slot=
"name"
class=
"required"
>
办事处代码
</div>
<input
slot=
"content"
v-model=
"baseInfo.business_license_num"
placeholder=
"请输入办事处代码"
>
<input
slot=
"content"
v-model=
"baseInfo.business_license_num"
placeholder=
"请输入办事处代码"
>
</item>
</item>
<button
v-if=
"isAddNewType"
class=
"type-save"
>
新增角色
</button>
<button
v-if=
"isAddNewType"
class=
"type-save"
@
click=
"addNewRole"
>
新增角色
</button>
</list-item>
</list-item>
<div
class=
"userInfo"
>
客户信息
</div>
<div
class=
"userInfo"
>
客户信息
</div>
<div
class=
"upload-id-card"
>
<div
class=
"upload-id-card"
>
...
@@ -634,6 +634,28 @@ export default {
...
@@ -634,6 +634,28 @@ export default {
this
.
multiBpType
.
bp_type
=
''
this
.
multiBpType
.
bp_type
=
''
this
.
isAddNewType
=
false
this
.
isAddNewType
=
false
},
},
addNewRole
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_type_save'
let
param
=
{
master
:
{
bp_id
:
vm
.
fromPromisePay
?
window
.
localStorage
.
getItem
(
'bp_id'
)
:
vm
.
$route
.
params
.
bp_id
,
bp_type
:
vm
.
multiBpType
.
bp_type
,
},
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
hlsPopup
.
showLongCenter
(
'新增成功'
)
vm
.
isAddNewType
=
false
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
basicInfoQuery
()
{
basicInfoQuery
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_np_info_query'
let
url
=
process
.
env
.
basePath
+
'bp_np_info_query'
...
...
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