吉安感知网项目-前端
shuishen
2026-01-20 7b8789643b13dba1f2190f3bde92a7e4fa8eaafc
applications/drone-command/src/views/areaManage/areaStatistics/index.vue
@@ -17,7 +17,7 @@
         <el-form-item label="场景类型" prop="sceneType">
            <el-select class="command-select" popper-class="command-select-popper"
               v-model="searchParams.sceneType" placeholder="请选择" clearable @change="handleSearch">
               <el-option v-for="item in dictObj.sceneType" :key="item.dictKey" :label="item.dictValue"
               <el-option v-for="item in dictObj.CommandSceneType" :key="item.dictKey" :label="item.dictValue"
                  :value="item.dictKey" />
            </el-select>
         </el-form-item>
@@ -41,7 +41,7 @@
               <el-table-column prop="sceneName" show-overflow-tooltip label="关联场景" />
               <el-table-column prop="sceneType" show-overflow-tooltip label="场景类型">
                  <template v-slot="{ row }">
                     {{ getDictLabel(row.sceneType, dictObj.sceneType) }}
                     {{ getDictLabel(row.sceneType, dictObj.CommandSceneType) }}
                  </template>
               </el-table-column>
               <el-table-column prop="deviceCount" show-overflow-tooltip label="设备数量" />
@@ -126,7 +126,7 @@
// 获取字典
function getDictList () {
   getDictionaryByCode('areaType,sceneType').then(res => {
   getDictionaryByCode('areaType,CommandSceneType').then(res => {
      dictObj.value = res.data.data
   })
}