吉安感知网项目-前端
shuishen
2026-01-29 6dc66c2d76c74ab15c6c8f75b9804ad2adbb0785
applications/drone-command/src/views/areaManage/partition/index.vue
@@ -5,7 +5,6 @@
            <el-input class="command-input" v-model="searchParams.areaName" placeholder="请输入"
               clearable @clear="handleSearch" />
         </el-form-item>
         <el-form-item label="区域类型" prop="areaType">
            <el-select class="command-select" popper-class="command-select-popper"
               v-model="searchParams.areaType" placeholder="请选择" clearable @change="handleSearch">
@@ -31,24 +30,18 @@
               <el-table-column type="selection" width="46" />
               <el-table-column type="index" show-overflow-tooltip width="64" label="序号" />
               <el-table-column prop="areaName" show-overflow-tooltip width="150" label="区域名称" />
               <el-table-column show-overflow-tooltip width="160" label="区域位置">
                  <template v-slot="{ row }">
                     {{ formatLocation(row) }}
                  </template>
               </el-table-column>
               <el-table-column prop="areaSize" show-overflow-tooltip width="130" label="区域面积(k㎡)" />
               <el-table-column prop="areaType" show-overflow-tooltip width="120" label="区域类型">
                  <template v-slot="{ row }">
                     {{ getDictLabel(row.areaType, dictObj.areaType) }}
                  </template>
               </el-table-column>
               <el-table-column prop="triggerCondition" show-overflow-tooltip width="130" label="触发条件">
               <el-table-column prop="triggerCondition" show-overflow-tooltip label="触发条件">
                  <template v-slot="{ row }">
                     {{ getDictLabel(row.triggerCondition, dictObj.triggeringCondition) }}
                  </template>
               </el-table-column>
               <el-table-column prop="responseMechanism" show-overflow-tooltip width="130" label="响应机制" />
               <el-table-column prop="controlLevel" show-overflow-tooltip width="120" label="管控级别">
               <el-table-column prop="responseMechanism" show-overflow-tooltip label="响应机制" />
               <el-table-column prop="controlLevel" show-overflow-tooltip label="管控级别">
                  <template v-slot="{ row }">
                     {{ getDictLabel(row.controlLevel, dictObj.controlLevel) }}
                  </template>
@@ -157,11 +150,6 @@
// 勾选值设置
function handleSelectionChange (rows) {
   selectedIds.value = rows.map(item => item.id)
}
function formatLocation (row) {
   if (row?.longitude == null || row?.latitude == null) return ''
   return `${row.longitude}, ${row.latitude}`
}
function formatFlyDate (row) {