src/views/trafficAccident/index.vue
@@ -265,6 +265,7 @@ /** 删除按钮操作 */ const handleDelete = async (row?: TrafficAccidentVO) => { if(row?.status == 1) { proxy?.$modal.msgWarning("当前为已启用状态,不支持删除"); return; } const _ids = row?.id || ids.value; await proxy?.$modal.confirm('是否确认删除交通事故编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); await delTrafficAccident(_ids);