From 049dd638c4de83fd8415c258c29d9ef71fd58141 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 01 七月 2025 17:20:03 +0800
Subject: [PATCH] 1.巡检管理新建逻辑修改
---
src/views/inspectionManagement/index.vue | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/views/inspectionManagement/index.vue b/src/views/inspectionManagement/index.vue
index 1d732fd..4b42e60 100644
--- a/src/views/inspectionManagement/index.vue
+++ b/src/views/inspectionManagement/index.vue
@@ -37,7 +37,7 @@
</el-radio-group>
<!-- 鎿嶄綔鎸夐挳鍖� -->
<el-space v-if="activeRadio !== 'task'">
- <el-button type="primary" :icon="Plus" @click="handleAdd">鏂板缓</el-button>
+ <el-button type="primary" :icon="Plus" @click="handleAdd(undefined)">鏂板缓</el-button>
<el-button type="danger" :icon="Delete" @click="handleDelete">鍒犻櫎</el-button>
<!-- <el-button type="info" plain :icon="Download">瀵煎嚭</el-button> -->
</el-space>
@@ -245,6 +245,7 @@
// 鏂板銆佺紪杈�
const handleAdd = (row) => {
+ console.log(row)
const type = row === undefined ? 'add' : 'edit'
nextTick(() => {
if (tabName.value === 'task') {
--
Gitblit v1.9.3