全部改为一键确认
This commit is contained in:
parent
6cbbbc2df8
commit
b90522ec42
@ -370,10 +370,10 @@ function batchHandle() {
|
||||
lineNetStore.closeAllAlarmInfoDialog = true;
|
||||
const params = selected.value.map((item) => item.id);
|
||||
if (!params.length) {
|
||||
errorNotify('没有选择需要一键误报的数据', '');
|
||||
errorNotify('没有选择需要一键确认的数据', '');
|
||||
} else {
|
||||
$q.dialog({
|
||||
message: `已选择${params.length}条数据,确定一键误报吗?`,
|
||||
message: `已选择${params.length}条数据,确定一键确认吗?`,
|
||||
cancel: true,
|
||||
}).onOk(async () => {
|
||||
try {
|
||||
@ -382,7 +382,7 @@ function batchHandle() {
|
||||
selected.value = [];
|
||||
});
|
||||
} catch (err) {
|
||||
errorNotify('一键误报失败:', err);
|
||||
errorNotify('一键确认失败:', err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user