| | |
| | | |
| | | <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; |
| | | }); |