Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
0f958df5
Commit
0f958df5
authored
Dec 11, 2024
by
honghy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
短信节点调整
parent
56eafbc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
smsNode.vue
src/views/system/sms/smsNode.vue
+9
-8
No files found.
src/views/system/sms/smsNode.vue
View file @
0f958df5
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<el-form-item
label=
"国家"
prop=
"countryId"
>
<el-form-item
label=
"国家"
prop=
"countryId"
>
<el-select
filterable
clearable
v-model=
"queryParams.countryId"
:placeholder=
"$t('请选择国家')"
>
<el-select
filterable
clearable
v-model=
"queryParams.countryId"
:placeholder=
"$t('请选择国家')"
>
<el-option
key=
"0"
label=
"全部"
:value=
"parseInt(0)"
/>
<el-option
key=
"0"
label=
"全部"
:value=
"parseInt(0)"
/>
<el-option
key=
"-1"
label=
"其他"
:value=
"parseInt(
-
1)"
/>
<el-option
key=
"-1"
label=
"其他"
:value=
"parseInt(1)"
/>
<el-option
v-for=
"dict in countryList"
<el-option
v-for=
"dict in countryList"
:key=
"dict.id"
:label=
"$l(dict, 'name')"
:value=
"parseInt(dict.id)"
/>
:key=
"dict.id"
:label=
"$l(dict, 'name')"
:value=
"parseInt(dict.id)"
/>
</el-select>
</el-select>
...
@@ -169,7 +169,7 @@
...
@@ -169,7 +169,7 @@
<el-form-item
label=
"国家"
prop=
"countryIds"
>
<el-form-item
label=
"国家"
prop=
"countryIds"
>
<el-select
filterable
clearable
multiple
v-model=
"form.countryIds"
:placeholder=
"$t('请选择国家')"
>
<el-select
filterable
clearable
multiple
v-model=
"form.countryIds"
:placeholder=
"$t('请选择国家')"
>
<el-option
key=
"0"
label=
"全部"
:value=
"parseInt(0)"
/>
<el-option
key=
"0"
label=
"全部"
:value=
"parseInt(0)"
/>
<el-option
key=
"-1"
label=
"其他"
:value=
"parseInt(
-
1)"
/>
<el-option
key=
"-1"
label=
"其他"
:value=
"parseInt(1)"
/>
<el-option
v-for=
"dict in countryList"
<el-option
v-for=
"dict in countryList"
:key=
"dict.id"
:label=
"$l(dict, 'name')"
:value=
"parseInt(dict.id)"
/>
:key=
"dict.id"
:label=
"$l(dict, 'name')"
:value=
"parseInt(dict.id)"
/>
</el-select>
</el-select>
...
@@ -412,7 +412,7 @@ export default {
...
@@ -412,7 +412,7 @@ export default {
})
})
})
})
this
.
countryMap
.
set
(
0
,{
id
:
0
,
nameZh
:
'
全部
'
,
tel
:
0
})
this
.
countryMap
.
set
(
0
,{
id
:
0
,
nameZh
:
'
全部
'
,
tel
:
0
})
this
.
countryMap
.
set
(
-
1
,{
id
:
-
1
,
nameZh
:
'
其他
'
,
tel
:
-
1
})
this
.
countryMap
.
set
(
1
,{
id
:
1
,
nameZh
:
'
其他
'
,
tel
:
1
})
getSmsTemplateList
().
then
(
res
=>
{
getSmsTemplateList
().
then
(
res
=>
{
this
.
smsTemplateList
=
res
.
data
this
.
smsTemplateList
=
res
.
data
for
(
var
i
=
0
;
i
<
res
.
data
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
res
.
data
.
length
;
i
++
){
...
@@ -589,11 +589,12 @@ export default {
...
@@ -589,11 +589,12 @@ export default {
if
(
!
valid
)
{
if
(
!
valid
)
{
return
;
return
;
}
}
this
.
node
[
'
countryCode
'
]
=
this
.
sendSmsForm
.
countryCode
var
node
=
this
.
node
this
.
node
[
'
mobile
'
]
=
this
.
sendSmsForm
.
countryCode
+
''
+
this
.
sendSmsForm
.
mobile
node
[
'
countryCode
'
]
=
this
.
sendSmsForm
.
countryCode
this
.
node
[
'
templateParams
'
]
=
JSON
.
parse
(
this
.
sendSmsForm
.
templateParams
)
node
[
'
mobile
'
]
=
this
.
sendSmsForm
.
countryCode
+
''
+
this
.
sendSmsForm
.
mobile
this
.
node
[
'
messageType
'
]
=
this
.
sendSmsForm
.
messageType
node
[
'
templateParams
'
]
=
JSON
.
parse
(
this
.
sendSmsForm
.
templateParams
)
this
.
node
[
'
nodeTemplateSn
'
]
=
this
.
sendSmsForm
.
nodeTemplateSn
node
[
'
messageType
'
]
=
this
.
sendSmsForm
.
messageType
node
[
'
nodeTemplateSn
'
]
=
this
.
sendSmsForm
.
nodeTemplateSn
// 添加的提交
// 添加的提交
testSms
(
this
.
node
).
then
(
response
=>
{
testSms
(
this
.
node
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
提交发送成功!
"
);
this
.
$modal
.
msgSuccess
(
"
提交发送成功!
"
);
...
...
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