This commit is contained in:
joylink_zhaoerwei 2023-10-31 11:14:00 +08:00
parent 2d68f9631b
commit bb10c84c91

View File

@ -351,7 +351,10 @@ onMounted(() => {
const selected = ref<Item[]>([]);
function batchHandle() {
const params = selected.value.map((item) => item.id);
$q.dialog({ message: `已选择${params.length}条数据,确定一键误报吗 吗?`, cancel: true }).onOk(async () => {
$q.dialog({
message: `已选择${params.length}条数据,确定一键误报吗?`,
cancel: true,
}).onOk(async () => {
try {
await recordFailAlarmInfoById(params);
} catch (err) {