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
ff53ffc4
Commit
ff53ffc4
authored
Dec 10, 2024
by
honghy
Committed by
wux
Jan 02, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加短信节点,没有根据运输方式带出模板
parent
93c745ff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
smsNode.vue
src/views/system/sms/smsNode.vue
+7
-3
No files found.
src/views/system/sms/smsNode.vue
View file @
ff53ffc4
...
...
@@ -159,7 +159,7 @@
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('运输方式')"
prop=
"transportId"
>
<el-form-item
:label=
"$t('运输方式')"
prop=
"transportId"
@
change=
"handleChangeTransportId"
>
<el-select
v-model=
"form.transportId"
:placeholder=
"$t('请选择运输方式类型')"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.ECW_TRANSPORT_TYPE)"
:key=
"dict.value"
:label=
"dict.label"
:value=
"parseInt(dict.value)"
/>
...
...
@@ -489,6 +489,7 @@ export default {
},
/** 新增按钮操作 */
handleAdd
()
{
this
.
smsTemplateList2
=
[]
this
.
reset
();
this
.
open
=
true
;
this
.
title
=
"
添加短信节点
"
;
...
...
@@ -498,7 +499,7 @@ export default {
this
.
reset
();
const
id
=
row
.
id
;
getSmsNode
(
id
).
then
(
response
=>
{
this
.
smsTemplateList2
=
this
.
smsTemplateList
.
filter
(
a
=>
a
.
nodeValue
==
response
.
data
.
nodeValue
)
this
.
smsTemplateList2
=
this
.
smsTemplateList
.
filter
(
a
=>
(
a
.
nodeValue
==
response
.
data
.
nodeValue
)
&&
(
a
.
transportId
==
response
.
data
.
transportId
)
)
this
.
form
=
response
.
data
;
this
.
open
=
true
;
this
.
title
=
"
修改短信节点
"
;
...
...
@@ -562,7 +563,10 @@ export default {
},
// 切换节点
handleChangeNode
(
val
)
{
this
.
smsTemplateList2
=
this
.
smsTemplateList
.
filter
(
a
=>
a
.
nodeValue
==
val
)
this
.
smsTemplateList2
=
this
.
smsTemplateList
.
filter
(
a
=>
(
a
.
nodeValue
==
this
.
form
.
nodeValue
)
&&
(
a
.
transportId
==
this
.
form
.
transportId
))
},
handleChangeTransportId
(
val
)
{
this
.
smsTemplateList2
=
this
.
smsTemplateList
.
filter
(
a
=>
(
a
.
nodeValue
==
this
.
form
.
nodeValue
)
&&
(
a
.
transportId
==
this
.
form
.
transportId
))
},
test
(
row
)
{
this
.
sendSmsForm
=
{
...
...
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