gaoluyang
2025-07-01 049dd638c4de83fd8415c258c29d9ef71fd58141
1.巡检管理新建逻辑修改
已修改1个文件
3 ■■■■ 文件已修改
src/views/inspectionManagement/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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') {