Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
weiqiao-vue
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
金民
weiqiao-vue
Commits
04272107
Commit
04272107
authored
Jan 15, 2026
by
宋春膨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(scjh): 解决任务重复下发问题
- 添加状态检查逻辑避免重复下发任务 - 当选中项中存在已下发状态的任务时阻止提交 - 添加警告提示告知用户请勿重复下发任务 - 保持原有下发功能逻辑不变
parent
04990a39
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
xjrsoft-vue3/src/views/scgl/scjh/index.vue
+10
-0
No files found.
xjrsoft-vue3/src/views/scgl/scjh/index.vue
View file @
04272107
...
@@ -207,6 +207,14 @@
...
@@ -207,6 +207,14 @@
const
store
=
useUserStore
()
const
store
=
useUserStore
()
const
ids
=
selectedRowsData
.
value
.
map
((
x
)
=>
x
.
id
)
const
ids
=
selectedRowsData
.
value
.
map
((
x
)
=>
x
.
id
)
if
(
code
===
'xiafa'
)
{
if
(
code
===
'xiafa'
)
{
//如果状态是已下发就直接禁止提交 提示警告
if
(
selectedRowsData
.
value
.
some
((
x
)
=>
x
.
status
===
'已下发'
))
{
notification
.
warning
({
message
:
'提示信息'
,
description
:
'请勿重复下发任务!'
,
});
return
;
}
else
{
Modal
.
confirm
({
Modal
.
confirm
({
title
:
'提示信息'
,
title
:
'提示信息'
,
icon
:
createVNode
(
ExclamationCircleOutlined
),
icon
:
createVNode
(
ExclamationCircleOutlined
),
...
@@ -226,6 +234,8 @@
...
@@ -226,6 +234,8 @@
});
});
},
},
});
});
}
}
}
btnEvent
[
code
]();
btnEvent
[
code
]();
...
...
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