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
74ce1584
Commit
74ce1584
authored
Nov 06, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'myinfo'
parent
5ed575c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
9 deletions
+34
-9
my-info.vue
src/pages/myInfo/my-info.vue
+23
-5
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+2
-1
enterprise.vue
src/pages/userBind/org/enterprise.vue
+9
-3
No files found.
src/pages/myInfo/my-info.vue
View file @
74ce1584
...
...
@@ -108,7 +108,8 @@ export default {
}
},
watch
:
{
'user_bp_status'
(
newVal
,
oldVal
)
{
/*'user_bp_status' (newVal, oldVal) {
console.log('@@@@@@@@@@@@@@@@@')
if (!this.bp_id && newVal === 'NEW') {
this.description = '用户绑定'
} else if (this.bp_id && newVal === 'NEW') {
...
...
@@ -121,12 +122,12 @@ export default {
} else {
this.description = '审批中'
}
/* if (newVal === 'APPROVED') {
/
!
* if (newVal === 'APPROVED') {
this.flag = false
} else {
this.flag = true
} */
},
} *
!
/
},
*/
'user_bp_type'
(
newVal
,
oldVal
)
{
if
(
newVal
===
'AGENT'
)
{
this
.
isAGENT
=
true
...
...
@@ -161,6 +162,21 @@ export default {
},
activated
()
{},
methods
:
{
// 监听用户状态
watchBpStatus
(){
if
(
!
this
.
bp_id
&&
this
.
user_bp_status
===
'NEW'
)
{
this
.
description
=
'用户绑定'
}
else
if
(
this
.
bp_id
&&
this
.
user_bp_status
===
'NEW'
)
{
this
.
description
=
'待提交'
}
else
if
(
this
.
bp_id
&&
this
.
user_bp_status
===
'APPROVED'
)
{
this
.
description
=
'解除绑定'
this
.
approveBtn
=
true
}
else
if
((
this
.
bp_id
&&
this
.
user_bp_status
===
'RETURN'
)
||
(
this
.
bp_id
&&
this
.
user_bp_status
===
'REJECT'
))
{
this
.
description
=
'审核未通过'
}
else
{
this
.
description
=
'审批中'
}
},
// 进入待签约功能,客户类型为经销商则进入经销商功能,非经销商则进入合同签约
goSign
()
{
if
(
this
.
user_bp_type
===
'AGENT'
)
{
...
...
@@ -284,7 +300,8 @@ export default {
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
showLongCenter
(
'解绑成功'
)
vm
.
userQuery
()
vm
.
flag
=
true
//vm.flag = true
vm
.
approveBtn
=
false
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
...
...
@@ -371,6 +388,7 @@ export default {
vm
.
user_bp_name
=
res
.
info
.
user_bp_name
vm
.
user_bp_type
=
res
.
info
.
user_bp_type
vm
.
user_phone
=
res
.
info
.
user_phone
vm
.
watchBpStatus
()
}
else
{
this
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
...
...
src/pages/userBind/np/naturePerson.vue
View file @
74ce1584
...
...
@@ -844,6 +844,7 @@ export default {
vm
.
save_picture
(
list
)
}
let
error
=
function
()
{
hlsPopup
.
showLongCenter
(
'请拍照'
)
}
hlsUtil
.
openCamera
(
cameraoptions
,
success
,
error
)
},
...
...
@@ -1011,7 +1012,7 @@ export default {
}
}
let
error
=
function
()
{
hlsPopup
.
showLongCenter
(
error
)
hlsPopup
.
showLongCenter
(
'请拍照'
)
}
hlsUtil
.
openCamera
(
cameraoptions
,
success
,
error
)
},
...
...
src/pages/userBind/org/enterprise.vue
View file @
74ce1584
...
...
@@ -1336,7 +1336,7 @@ export default {
}
}
let
error
=
function
()
{
hlsPopup
.
showLongCenter
(
error
)
hlsPopup
.
showLongCenter
(
'请拍照'
)
}
hlsUtil
.
openCamera
(
cameraoptions
,
success
,
error
)
},
...
...
@@ -1705,6 +1705,7 @@ export default {
vm
.
laImg
=
imgdata
}
let
error
=
function
()
{
hlsPopup
.
showLongCenter
(
'请拍照'
)
}
hlsUtil
.
openCamera
(
cameraoptions
,
success
,
error
)
},
...
...
@@ -1714,8 +1715,12 @@ export default {
quality
:
100
,
}
let
success
=
function
(
imgUrl
)
{
vm
.
LaEditFlag
=
true
vm
.
laImg
=
imgUrl
[
0
]
if
(
imgUrl
.
length
===
0
)
{
hlsPopup
.
showLongCenter
(
'请选择一张图片'
)
}
else
{
vm
.
LaEditFlag
=
true
vm
.
laImg
=
imgUrl
[
0
]
}
}
let
error
=
function
()
{
}
...
...
@@ -1762,6 +1767,7 @@ export default {
vm
.
save_picture
(
list
)
}
let
error
=
function
()
{
hlsPopup
.
showLongCenter
(
'请拍照'
)
}
hlsUtil
.
openCamera
(
cameraoptions
,
success
,
error
)
},
...
...
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