Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
loan-manager-customer
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
zhanhai
loan-manager-customer
Commits
39449bd3
Commit
39449bd3
authored
Jan 13, 2023
by
刘雅文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加 更换手机号功能
parent
d16b8a68
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
85 additions
and
17 deletions
+85
-17
BaseInfo.vue
src/components/byh/componments/BaseInfo.vue
+83
-17
修改日志.md
修改日志.md
+2
-0
No files found.
src/components/byh/componments/BaseInfo.vue
View file @
39449bd3
...
@@ -9,7 +9,10 @@
...
@@ -9,7 +9,10 @@
<td>
身份证号:
</td>
<td>
身份证号:
</td>
<td>
{{
basicInfo
.
idCard
}}
</td>
<td>
{{
basicInfo
.
idCard
}}
</td>
<td>
手机号:
</td>
<td>
手机号:
</td>
<td>
{{
basicInfo
.
phone
}}
</td>
<td>
{{
basicInfo
.
phone
}}
<el-button
type=
"primary"
size=
"small"
@
click=
"updateTell(basicInfo.phone)"
>
变更
</el-button>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
实名认证:
</td>
<td>
实名认证:
</td>
...
@@ -153,6 +156,29 @@
...
@@ -153,6 +156,29 @@
</div>
</div>
</el-dialog>
</el-dialog>
</
template
>
</
template
>
<!-- 变更手机号弹框 -->
<el-dialog
title=
"变更客户手机号"
:visible
.
sync=
"tellDialog"
width=
"30%"
center
>
<el-form
:model=
"tellUpdate"
>
<el-form-item
label=
"*原手机号"
label-width=
"80"
>
<el-input
v-model=
"tellUpdate.oldTell"
readonly
></el-input>
</el-form-item>
<el-form-item
label=
"*新手机号"
label-width=
"80"
>
<el-input
v-model=
"tellUpdate.newTell"
></el-input>
</el-form-item>
</el-form>
<div>
注:变更手机号后,客户的相关信息以及短信信息等均以变更后的新手机号为准。
</div>
<div>
请谨慎操作!!!
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"tellDialog = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"tellDetermine"
>
确 定
</el-button
>
</div>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -183,6 +209,11 @@ export default {
...
@@ -183,6 +209,11 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
tellUpdate
:{
newTell
:
""
,
oldTell
:
""
},
tellDialog
:
false
,
visible
:
false
,
visible
:
false
,
activeComponents
:
""
,
activeComponents
:
""
,
dTitle
:
""
,
dTitle
:
""
,
...
@@ -196,6 +227,7 @@ export default {
...
@@ -196,6 +227,7 @@ export default {
newOwnerMobile
:
""
,
newOwnerMobile
:
""
,
ownerMobile
:
""
,
ownerMobile
:
""
,
},
},
creator
:
''
,
dataInfo
:
{
dataInfo
:
{
bankAccount
:
""
,
bankAccount
:
""
,
bizType
:
""
,
bizType
:
""
,
...
@@ -216,16 +248,46 @@ export default {
...
@@ -216,16 +248,46 @@ export default {
async
created
()
{
async
created
()
{
if
(
this
.
params
)
{
if
(
this
.
params
)
{
const
params
=
this
.
params
;
const
params
=
this
.
params
;
//
console.log(params, "是什么");
console
.
log
(
params
,
"是什么"
);
const
{
basicInfo
}
=
params
;
const
{
basicInfo
}
=
params
;
this
.
basicInfo
=
basicInfo
;
this
.
basicInfo
=
basicInfo
;
if
(
basicInfo
.
cardList
)
this
.
ownerBank
=
basicInfo
.
cardList
;
if
(
basicInfo
.
cardList
)
this
.
ownerBank
=
basicInfo
.
cardList
;
}
}
// console.log(this.$route.query.clientProductName)
// console.log(this.$route.query.clientProductName)
this
.
dataInfo
.
productName
=
this
.
$route
.
query
.
clientProductName
this
.
dataInfo
.
productName
=
this
.
$route
.
query
.
clientProductName
;
this
.
dataInfo
.
clientNo
=
this
.
$route
.
query
.
clientNo
this
.
dataInfo
.
clientNo
=
this
.
$route
.
query
.
clientNo
;
this
.
creator
=
localStorage
.
getItem
(
'userName'
);
},
},
methods
:
{
methods
:
{
// 变更手机号
updateTell
(
n
){
this
.
tellDialog
=
true
;
// console.log(n,'手机号');
this
.
tellUpdate
.
oldTell
=
n
;
this
.
tellUpdate
.
newTell
=
""
;
},
//变更手机号确认按钮
tellDetermine
(){
this
.
tellDialog
=
false
;
const
tellParams
=
{
clientNo
:
this
.
dataInfo
.
clientNo
,
productName
:
this
.
dataInfo
.
productName
,
creator
:
this
.
creator
,
oldMobile
:
this
.
tellUpdate
.
oldTell
,
newMobile
:
this
.
tellUpdate
.
newTell
,
certNo
:
this
.
basicInfo
.
idCard
}
console
.
log
(
tellParams
,
'参数'
);
this
.
$$post
(
`/detail/updateMobile`
,
tellParams
).
then
(
res
=>
{
console
.
log
(
res
,
'resres'
);
if
(
res
.
data
.
code
==
200
)
{
this
.
$message
({
type
:
"success"
,
message
:
"更改成功!"
,
});
}
})
},
headerStyle
()
{
headerStyle
()
{
return
"tableHeaderStyle"
;
return
"tableHeaderStyle"
;
},
},
...
@@ -246,7 +308,7 @@ export default {
...
@@ -246,7 +308,7 @@ export default {
},
},
//解绑
//解绑
unSign
(
n
)
{
unSign
(
n
)
{
console
.
log
(
n
,
'88888'
);
console
.
log
(
n
,
"88888"
);
// console.log(this.params);
// console.log(this.params);
this
.
$confirm
(
"确定要解绑吗?"
,
"提示"
,
{
this
.
$confirm
(
"确定要解绑吗?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
...
@@ -296,21 +358,21 @@ export default {
...
@@ -296,21 +358,21 @@ export default {
let
postData
=
{
...
this
.
dataInfo
,
...
this
.
tellphone
};
let
postData
=
{
...
this
.
dataInfo
,
...
this
.
tellphone
};
console
.
log
(
postData
);
console
.
log
(
postData
);
//调接口
//调接口
this
.
$$post
(
`/detail/unSign`
,
postData
).
then
((
res
)
=>
{
this
.
$$post
(
`/detail/unSign`
,
postData
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
!=
200
)
{
this
.
dialogTableVisible
=
false
;
this
.
dialogTableVisible
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
tellphone
=
{};
this
.
tellphone
=
{};
return
return
;
}
}
this
.
$message
({
this
.
$message
({
type
:
'success'
,
type
:
"success"
,
message
:
'解绑成功!'
message
:
"解绑成功!"
,
});
});
this
.
dialogTableVisible
=
false
;
this
.
dialogTableVisible
=
false
;
this
.
tellphone
=
{};
this
.
tellphone
=
{};
window
.
location
.
reload
();
window
.
location
.
reload
();
})
})
;
}
}
},
},
},
},
...
@@ -318,4 +380,8 @@ export default {
...
@@ -318,4 +380,8 @@ export default {
</
script
>
</
script
>
<
style
>
<
style
>
.el-dialog__title
{
font-size
:
20px
;
font-weight
:
700
;
}
</
style
>
</
style
>
修改日志.md
View file @
39449bd3
...
@@ -2,3 +2,4 @@
...
@@ -2,3 +2,4 @@
-
2022-10-28 新增页面水印(姓名+手机号后4位),发布到线上(金钱和鼎荣)
-
2022-10-28 新增页面水印(姓名+手机号后4位),发布到线上(金钱和鼎荣)
-
2022-11-02 修改水印(登录用户名+手机号后4位),发布到线上(金钱和鼎荣)
-
2022-11-02 修改水印(登录用户名+手机号后4位),发布到线上(金钱和鼎荣)
-
2022-11-07 修改水印(登录用户名+手机号后4位+当天日期),发布到线上(金钱和鼎荣)
-
2022-11-07 修改水印(登录用户名+手机号后4位+当天日期),发布到线上(金钱和鼎荣)
-
2022-12-30 代扣 支持自定义扣款金额
\ No newline at end of file
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