fix:多选删除修改
This commit is contained in:
parent
e551470c64
commit
a6b44b0742
@ -499,15 +499,18 @@ function handleDeletes() {
|
||||
});
|
||||
return;
|
||||
}
|
||||
delProcessInfo(ids.value).then(res => {
|
||||
if (res.code == 200) {
|
||||
ElMessage({
|
||||
message: '删除成功',
|
||||
type: 'success',
|
||||
})
|
||||
getList()
|
||||
}
|
||||
})
|
||||
proxy.$confirm(
|
||||
`确认删除${ids.value.length}条数据吗?`,
|
||||
'提示',
|
||||
{ confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }
|
||||
).then(() => {
|
||||
delProcessInfo(ids.value).then(res => {
|
||||
if (res.code === 200) {
|
||||
ElMessage({ message: '删除成功', type: 'success' });
|
||||
getList();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
// 删除工艺
|
||||
function handleDelete(row) {
|
||||
|
||||
@ -473,15 +473,18 @@ function handleDeletes() {
|
||||
});
|
||||
return;
|
||||
}
|
||||
delProcessInfo(ids.value).then(res => {
|
||||
if (res.code == 200) {
|
||||
ElMessage({
|
||||
message: '删除成功',
|
||||
type: 'success',
|
||||
})
|
||||
getList()
|
||||
}
|
||||
})
|
||||
proxy.$confirm(
|
||||
`确认删除${ids.value.length}条数据吗?`,
|
||||
'提示',
|
||||
{ confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }
|
||||
).then(() => {
|
||||
delProcessInfo(ids.value).then(res => {
|
||||
if (res.code === 200) {
|
||||
ElMessage({ message: '删除成功', type: 'success' });
|
||||
getList();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
// 删除工艺
|
||||
function handleDelete(row) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user