Newer
Older
KaiFengPC / src / views / sponeScreen / projectHM / ProjectEvaluation.vue
@zhangdeliang zhangdeliang on 26 Jun 6 KB update
<template>
  <div class="publicContainerA">
    <div class="partTitleHM">项目评估</div>
    <div class="ConstrucClass">
      <div class="WaterAccumulation">
        <div class="HeadContent">
          <span>积水分析</span>
          <el-form-item prop="BODName" style="float: right; width: 130px; margin: 7px 20px 0px 0px">
            <el-select v-model="queryParams.BODName" size="small">
              <el-option v-for="item in ListBod" :key="item.value" :label="item.name" :value="item.value" />
            </el-select>
          </el-form-item>
        </div>
        <div class="assessment">
          <AssessmentEcharts :data="chartData2" :refresh="chartData2.refresh"></AssessmentEcharts>
        </div>
      </div>

      <div class="WaterList">
        <div class="DropdownBox">
          <div class="analysis">
            <img :src="pipefx" alt="" class="ICON_zp" />
            <span>片区分析</span>
          </div>
          <div class="Selectionbox">
            <el-form-item prop="area" style="width: 41%; margin-left: 10px; margin-top: 18px">
              <el-select v-model="queryParams.area" size="small">
                <el-option v-for="item in areaList" :key="item.value" :label="item.name" :value="item.value" />
              </el-select>
            </el-form-item>
            <el-form-item prop="pipe" style="width: 50%; margin-left: 10px; margin-top: 18px">
              <el-select v-model="queryParams.pipe" size="small">
                <el-option v-for="item in pipeList" :key="item.value" :label="item.name" :value="item.value" />
              </el-select>
            </el-form-item>
          </div>
        </div>

        <div class="DropdownBox">
          <div class="analysis">
            <img :src="xmfx" alt="" class="ICON_zp" />
            <span>项目分析</span>
          </div>
          <div class="Selectionbox">
            <el-form-item prop="Xm" style="width: 41%; margin-left: 10px; margin-top: 18px">
              <el-select v-model="queryParams.Xm" size="small">
                <el-option v-for="item in XmList" :key="item.value" :label="item.name" :value="item.value" />
              </el-select>
            </el-form-item>
            <el-form-item prop="XmA" style="width: 50%; margin-left: 10px; margin-top: 18px">
              <el-select v-model="queryParams.XmA" size="small">
                <el-option v-for="item in XmListA" :key="item.value" :label="item.name" :value="item.value" />
              </el-select>
            </el-form-item>
          </div>
        </div>
        <div class="DropdownBox">
          <div class="analysis">
            <img :src="ssfx" alt="" class="ICON_zp" />
            <span>设施分析</span>
          </div>
          <div class="Selectionbox">
            <el-form-item prop="Xm" style="width: 41%; margin-left: 10px; margin-top: 18px">
              <el-select v-model="queryParams.Xm" size="small">
                <el-option v-for="item in XmList" :key="item.value" :label="item.name" :value="item.value" />
              </el-select>
            </el-form-item>
            <el-form-item prop="XmA" style="width: 50%; margin-left: 10px; margin-top: 18px">
              <el-select v-model="queryParams.XmA" size="small">
                <el-option v-for="item in XmListA" :key="item.value" :label="item.name" :value="item.value" />
              </el-select>
            </el-form-item>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
import AssessmentEcharts from '@/views/sponeScreen/Echarts/AssessmentEcharts.vue'; // 积水分析
import pipefx from '@/assets/newImgs/HMScreen/pipefx.png';
import ssfx from '@/assets/newImgs/HMScreen/ssfx.png';
import xmfx from '@/assets/newImgs/HMScreen/xmfx.png';

const chartData2 = ref({
  xAxis: [
    '06-12 08:00',
    '06-12 09:00',
    '06-12 10:00',
    '06-12 11:00',
    '06-12 12:00',
    '06-12 13:00',
    '06-12 14:00',
    '06-12 15:00',
    '06-12 16:00',
    '06-12 17:00',
    '06-12 18:00',
    '06-12 19:00',
  ],
  yAxis: [2, 5, 10, 8, 2, 4, 5, 5, 7, 10, 5, 1],
  yAxis2: [0.1, 0.2, 0.3, 0.2, 0.1, 0.4, 0.5, 0.03, 0.6, 0.1, 0.2, 0.1, 0.3, 0.4],
  yAxis3: [50, 50, 80, 230, 180, 240, 160, 200, 268, 198, 269, 260],
  refresh: 1,
});
const refresh = ref(1);
const ListBod = ref([
  {
    name: '明伦桥俩侧积水点',
    value: '1',
  },
  {
    name: '复兴大道四季城积水点',
    value: '2',
  },
]);
const areaList = ref([
  {
    name: '主城区',
    value: '1',
  },
  {
    name: '示范区',
    value: '2',
  },
]);

const pipeList = ref([
  {
    name: '向阳路管网监测点',
    value: '1',
  },
  {
    name: '汴京路管网监测点',
    value: '2',
  },
]);

const XmList = ref([
  {
    name: '汴京路海绵项目',
    value: '1',
  },
  {
    name: '老旧小区改造',
    value: '2',
  },
]);

const XmListA = ref([
  {
    name: '出口监测点',
    value: '1',
  },
  {
    name: '进口监测点',
    value: '2',
  },
]);

const AllData = reactive({
  queryParams: { BODName: '1', area: '1', pipe: '1', Xm: '1', XmA: '1' },
});
const { queryParams } = toRefs(AllData);
</script>

<style lang="scss" scoped>
.publicContainerA {
  margin-top: 10px;
}
.ConstrucClass {
  width: 460px;
  height: calc(100vh - 575px);
  background: #003b6d;
  opacity: 0.8;
  overflow-x: hidden;
  overflow-y: auto;
  .WaterAccumulation {
    width: 95%;
    height: 270px;
    margin: auto;
    // background: yellow;
    .HeadContent {
      width: 100%;
      height: 40px;
      background: #217dc8;
      border: 1px solid #61aff0;
      position: relative;
      top: 2px;
      span {
        position: relative;
        top: 8px;
        left: 15px;
        color: #ffffff;
        font-family: Source Han Sans CN;
        font-weight: 500;
      }
    }
    .assessment {
      margin-top: 5px;
      width: 100%;
      height: 260px;
    }
  }
  .WaterList {
    position: relative;
    top: 8%;
    width: 95%;
    height: calc(100vh - 900px);
    margin: auto;
    padding-top: 10px;
    // background: yellow;
    .DropdownBox {
      height: 50px;
      background: #217dc8;
      border: 1px solid #61aff0;
      display: flex;
      justify-content: space-around;
      margin: 5px;
      .analysis {
        width: 35%;
        display: flex;
        align-items: center;
        // background: red;
        .ICON_zp {
          width: 28px;
          height: 28px;
          position: relative;
          top: 32x;
        }
      }
      .Selectionbox {
        width: 65%;
        display: flex;
        align-items: center;
        // background: yellowgreen;
      }
    }
  }
}
</style>