src/views/dg/danger/total.vue
@@ -154,7 +154,7 @@ const initFormData: DangerTotalForm = { id: undefined, townStreetName: undefined, period: 1, period: 2, periodDate: undefined, findSecurityRisks: undefined, issueNotice: undefined, @@ -282,6 +282,7 @@ /** 删除按钮操作 */ const handleDelete = async (row?: DangerTotalVO) => { if(row?.status == 1) { proxy?.$modal.msgWarning("当前为已启用状态,不支持删除"); return; } const _ids = row?.id || ids.value; await proxy?.$modal.confirm('是否确认删除安全隐患统计编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); await delDangerTotal(_ids);