微调
This commit is contained in:
parent
2d68f9631b
commit
bb10c84c91
@ -351,7 +351,10 @@ onMounted(() => {
|
|||||||
const selected = ref<Item[]>([]);
|
const selected = ref<Item[]>([]);
|
||||||
function batchHandle() {
|
function batchHandle() {
|
||||||
const params = selected.value.map((item) => item.id);
|
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 {
|
try {
|
||||||
await recordFailAlarmInfoById(params);
|
await recordFailAlarmInfoById(params);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user