| | |
| | | |
| | | <script> |
| | | import { videoCount, listMonitor, getMonitor, delMonitor, addMonitor, updateMonitor } from "@/api/platform/monitor"; |
| | | import { dataCenter } from "@/api/platform/data-center"; |
| | | export default { |
| | | name: "Monitor", |
| | | dicts: ['sys_normal_disable', 'platform_yes_no','camera_state'], |
| | |
| | | /** 查询设备资产列表 */ |
| | | getList() { |
| | | this.loading = true; |
| | | listMonitor(this.queryParams).then(response => { |
| | | this.monitorList = response.rows; |
| | | dataCenter('assetManagement', this.queryParams).then(response => { |
| | | this.monitorList = response.data; |
| | | this.total = response.total; |
| | | this.loading = false; |
| | | }); |
| | |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | border-radius: 20px; |
| | | border-radius: 10px; |
| | | width: 20%; |
| | | height: 80px; |
| | | margin-left: 5%; |