<!--
 * @Author: SunTao 328867980@qq.com
 * @Date: 2025-03-25 11:10:16
 * @LastEditors: SunTao 328867980@qq.com
 * @LastEditTime: 2025-03-25 11:55:23
 * @FilePath: \znxjxt-ui\src\views\xj\inspection\map-diease\index.vue
 * @Description: 地图展示病害-首页
-->
<template>
  <div class="map-diease-content">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="100px">
      <el-form-item label="道路名称" prop="segmentId">
        <el-select v-model="queryParams.segmentId" placeholder="请选择路段" filterable clearable>
          <el-option v-for="item in segmentList" :key="item.value" :label="item.label" :value="item.value" />
        </el-select>
      </el-form-item>
    </el-form>
    <fssm-map class="map-diease-map"></fssm-map>
  </div>
</template>

<script>
import fssmMap from '@/components/map/fssm-map.vue'
export default {
  components: { fssmMap },
  name: 'MapDiease',
  data() {
    return {
      // 搜索表单
      queryParams: {
        // 道路名称
        segmentId: '',
      },
      // 道路名称下拉数据
      segmentList: []
    }
  }
}
</script>

<style lang="scss" scoped>
.map-diease-content {
  width: 100%;
  height: calc(100vh - 5.3rem);

  .map-diease-map {
    width: 100%;
    height: 100%;
  }
}
</style>
