<template>
<!-- <div>{{deviceList}}</div> -->
  <el-select
    v-model="query.deviceName"
    placeholder=""
    style="width: 160px"
    clearable
  >
    <el-option
      v-for="item in deviceList"
      :key="item.deviceCode"
      :label="item.deviceName"
      :value="item.deviceCode"
    >
    </el-option>
  </el-select>
</template>
<script>
export default {
  name: "deviceList",
  props: ["deviceList",'query'],

  data() {
    return {};
  },
  methods: {},
};
</script>