From 29527cd31f56f10e4e356c78aa0c2b98f69b1d8d Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期五, 01 三月 2024 16:01:16 +0800 Subject: [PATCH] 交通宣传基础功能 --- src/views/dg/danger/total.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/views/dg/danger/total.vue b/src/views/dg/danger/total.vue index 9b260f7..8657463 100644 --- a/src/views/dg/danger/total.vue +++ b/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); -- Gitblit v1.8.0