|
@ -61,7 +61,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="warehouse-right"> |
|
|
<div class="warehouse-right"> |
|
|
<!-- 报警记录 --> |
|
|
<!-- 报警记录 --> |
|
|
<warehouse-warning :height="'calc(100% - 40px)'" /> |
|
|
|
|
|
|
|
|
<warehouse-warning :height="'calc(100% - 40px)'" :storeroom-id="roomId" /> |
|
|
<!-- <div class="container-wrap" style="margin-bottom:20px"> |
|
|
<!-- <div class="container-wrap" style="margin-bottom:20px"> |
|
|
<span class="right-top-line" /> |
|
|
<span class="right-top-line" /> |
|
|
<span class="left-bottom-line" /> |
|
|
<span class="left-bottom-line" /> |
|
@ -107,7 +107,6 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import data1 from '../data1.json' |
|
|
|
|
|
import WarehouseWarning from '@/views/components/WarehouseWarning' |
|
|
import WarehouseWarning from '@/views/components/WarehouseWarning' |
|
|
import SecurityDoor from '@/views/components/SecurityDoor' |
|
|
import SecurityDoor from '@/views/components/SecurityDoor' |
|
|
export default { |
|
|
export default { |
|
@ -115,13 +114,13 @@ export default { |
|
|
components: { WarehouseWarning, SecurityDoor }, |
|
|
components: { WarehouseWarning, SecurityDoor }, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
tableData: [], |
|
|
|
|
|
|
|
|
roomId: 'D6490DA3D4261E8C26D0E3', |
|
|
iframeWin: null, |
|
|
iframeWin: null, |
|
|
timer: null, // 定时器id 滚动表格 |
|
|
timer: null, // 定时器id 滚动表格 |
|
|
isScroll: false // 是否滚动 |
|
|
isScroll: false // 是否滚动 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
|
|
|
|
|
|
async created() { |
|
|
window.getIframeLoading = this.getIframeLoading // 把vue实例中的方法引用给window对象 |
|
|
window.getIframeLoading = this.getIframeLoading // 把vue实例中的方法引用给window对象 |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
@ -199,9 +198,6 @@ export default { |
|
|
// true 显示 false 隐藏 |
|
|
// true 显示 false 隐藏 |
|
|
window.frames['iframeMap'].setYangGanCanshow(deviceId, false) |
|
|
window.frames['iframeMap'].setYangGanCanshow(deviceId, false) |
|
|
}, |
|
|
}, |
|
|
getData() { |
|
|
|
|
|
this.tableData = data1.rows |
|
|
|
|
|
}, |
|
|
|
|
|
// 表格隔行变色 |
|
|
// 表格隔行变色 |
|
|
rowBgColor({ row, rowIndex }) { |
|
|
rowBgColor({ row, rowIndex }) { |
|
|
if (rowIndex % 2 === 1) { |
|
|
if (rowIndex % 2 === 1) { |
|
|