全部改为一键确认

This commit is contained in:
joylink_zhaoerwei 2023-11-02 12:02:43 +08:00
parent 6cbbbc2df8
commit b90522ec42

View File

@ -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);
}
});
}