吉安感知网项目-前端
罗广辉
2026-01-12 3b45cb81e354fcbee3956cb2b58bba5d4a2b632c
applications/drone-command/src/views/aICrudTemplate/index.vue
@@ -88,7 +88,7 @@
         />
      </div>
      <FormDiaLog ref="dialogRef" @success="getList" />
      <FormDiaLog v-if="dialogVisible" v-model="dialogVisible" ref="dialogRef" @success="getList" />
   </basic-container>
</template>
@@ -115,6 +115,7 @@
const selectedIds = ref([]) // 勾选的设备ID列表
const queryParamsRef = ref(null) // 查询表单实例
const dialogRef = ref(null) // 弹框实例
const dialogVisible = ref(null) // 弹框实例
const dictObj = ref({
   deviceType: [], //设备类型
   deviceAtt: [], //设备属性
@@ -212,6 +213,7 @@
// 新增
function handleAdd() {
   dialogVisible.value = true
   dialogRef.value?.open({ mode: 'add' })
}