Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
smart-operation
so-manage-ui
Commits
0ed29fe1
Commit
0ed29fe1
authored
Jul 20, 2023
by
张耀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
预警列表推送和关闭接口参数,ids改为[int]传参
parent
b2bd77a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/page/main/forewarning/list/index.vue
src/page/main/forewarning/list/index.vue
+2
-2
No files found.
src/page/main/forewarning/list/index.vue
View file @
0ed29fe1
...
...
@@ -407,7 +407,7 @@ const pushConfirm = async () => {
if
(
!
manual_distribution_form_valid
)
return
;
const
{
method
,
lists
}
=
manual_distribution_form
.
value
.
form
||
{};
let
params
=
{
ids
:
state
.
pushType
==
1
?
[
`
${
state
.
actionRow
.
id
}
`
]
:
state
.
selected
.
map
((
e
)
=>
`
${
e
.
id
}
`
),
ids
:
state
.
pushType
==
1
?
[
+
state
.
actionRow
.
id
]
:
state
.
selected
.
map
((
e
)
=>
+
e
.
id
),
notify_method
:
method
||
[],
notify_recipients
:
lists
?.
map
((
e
)
=>
{
return
{
...
...
@@ -448,7 +448,7 @@ const confirmClose = () => {
closeForm
.
value
.
validate
((
valid
)
=>
{
if
(
valid
)
{
let
params
=
{
ids
:
state
.
closeType
==
1
?
[
state
.
actionRow
.
id
]
:
state
.
selected
.
map
((
e
)
=>
e
.
id
),
ids
:
state
.
closeType
==
1
?
[
+
state
.
actionRow
.
id
]
:
state
.
selected
.
map
((
e
)
=>
+
e
.
id
),
close_remark
:
state
.
closeFormData
.
close_notes
,
defer_push
:
state
.
closeFormData
.
close_remind
?
1
:
0
,
};
...
...
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