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
571633af
Commit
571633af
authored
Oct 24, 2024
by
caimeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
短信发送fix
parent
7e60ccfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
index.vue
src/components/McDialog/index.vue
+4
-3
LoanInfo.vue
src/components/byh/componments/LoanInfo.vue
+5
-6
No files found.
src/components/McDialog/index.vue
View file @
571633af
...
@@ -40,13 +40,14 @@ export default {
...
@@ -40,13 +40,14 @@ export default {
},
},
methods
:
{
methods
:
{
handleCancel
()
{
handleCancel
()
{
this
.
$emit
(
'update:visible'
,
false
)
this
.
onCancel
&&
this
.
onCancel
()
this
.
onCancel
&&
this
.
onCancel
()
this
.
$emit
(
'update:visible'
,
false
)
},
},
handleSubmit
()
{
handleSubmit
()
{
// this.$emit('update:visible', false)
this
.
onSubmit
&&
this
.
onSubmit
()
this
.
onSubmit
&&
this
.
onSubmit
()
// this.$emit('update:visible', false)
},
},
}
}
...
...
src/components/byh/componments/LoanInfo.vue
View file @
571633af
...
@@ -89,12 +89,10 @@
...
@@ -89,12 +89,10 @@
<!-- 短信发送 -->
<!-- 短信发送 -->
<
template
v-if=
"MessageDialogVisible"
>
<
template
v-if=
"MessageDialogVisible"
>
<BaseDialog
width=
"45%"
@
onCancel=
"handleMsgCancel"
:visible
.
sync=
"MessageDialogVisible"
title=
"发短信"
>
<BaseDialog
width=
"45%"
:
onCancel=
"handleMsgCancel"
:visible
.
sync=
"MessageDialogVisible"
title=
"发短信"
>
<el-form
size=
"small"
:model=
"MessageForm"
:rules=
"MessageRules"
ref=
"MessageForm"
label-width=
"120px"
>
<el-form
size=
"small"
:model=
"MessageForm"
:rules=
"MessageRules"
ref=
"MessageForm"
label-width=
"120px"
>
<el-row>
<el-row>
<el-col
:span=
"18"
>
<el-col
:span=
"18"
>
<el-form-item
label=
"短信模板:"
prop=
"templateCode"
>
<el-form-item
label=
"短信模板:"
prop=
"templateCode"
>
<el-select
style=
"width: 100%;"
@
change=
"handleSelectMsgTemplate"
v-model=
"MessageForm.templateCode"
<el-select
style=
"width: 100%;"
@
change=
"handleSelectMsgTemplate"
v-model=
"MessageForm.templateCode"
placeholder=
"请选择"
>
placeholder=
"请选择"
>
...
@@ -108,10 +106,10 @@
...
@@ -108,10 +106,10 @@
<el-input
v-model=
"MessageForm.complaintChannel"
@
blur=
"handleInput"
placeholder=
"请填写短信渠道"
/>
<el-input
v-model=
"MessageForm.complaintChannel"
@
blur=
"handleInput"
placeholder=
"请填写短信渠道"
/>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
<el-form-item
label=
"短信内容:"
>
<el-form-item
label=
"短信内容:"
prop=
"context"
>
<el-input
type=
"textarea"
v-model=
"MessageForm.context"
placeholder=
"请输入发送号码"
:rows=
"4"
disabled
/>
<el-input
type=
"textarea"
v-model=
"MessageForm.context"
placeholder=
"请输入发送号码"
:rows=
"4"
disabled
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"发送号码:"
>
<el-form-item
label=
"发送号码:"
prop=
"mobile"
>
<el-input
placeholder=
"请输入发送号码"
v-model=
"MessageForm.mobile"
disabled
/>
<el-input
placeholder=
"请输入发送号码"
v-model=
"MessageForm.mobile"
disabled
/>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -282,6 +280,7 @@ export default {
...
@@ -282,6 +280,7 @@ export default {
},
},
// 重置
// 重置
handleMsgCancel
()
{
handleMsgCancel
()
{
console
.
log
(
'xx'
)
this
.
$refs
[
'MessageForm'
].
resetFields
();
this
.
$refs
[
'MessageForm'
].
resetFields
();
},
},
// 发送短信提交
// 发送短信提交
...
@@ -303,7 +302,7 @@ export default {
...
@@ -303,7 +302,7 @@ export default {
this
.
MessageDialogVisible
=
false
;
this
.
MessageDialogVisible
=
false
;
this
.
handleMsgCancel
();
this
.
handleMsgCancel
();
}
}
}
catch
(
err
)
{
}
catch
(
err
)
{
console
.
log
(
err
,
'短信发送失败'
)
console
.
log
(
err
,
'短信发送失败'
)
...
...
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