| | |
| | | <!-- |
| | | * @Date: 2024-01-05 23:47:53 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-03-08 09:12:55 |
| | | * @LastEditTime: 2024-03-12 20:18:34 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/mapPreview/Map.vue |
| | | --> |
| | | <template> |
| | |
| | | :width="v.colspan * height + 'px'" :height="v.rowspan * height + 'px'" v-for="v in item" |
| | | :rowspan="v.rowspan" :colspan="v.colspan" :key="v.rowIndex + '-' + v.colIndex"> |
| | | <div class="td-div" :style="{width:v.colspan * height - 2 + 'px',height: v.rowspan * height - 2 + 'px',overflow:'hidden'}"> |
| | | <Device @toDetail="toDetail(v)" v-if="v.id" :id="v.id" style="width: 100%;height: 100%;" |
| | | <Device @toDetail="toDetail(v)" v-if="v.id" :id="v.id" |
| | | :deviceList="deviceList" :plantDeviceList="plantDeviceList"></Device> |
| | | </div> |
| | | </td> |