| | |
| | | <el-button |
| | | type="danger" |
| | | size="small" |
| | | @click="taskDelete(scope.row)"> |
| | | @click.native="taskDelete(scope.row)"> |
| | | 删除 |
| | | </el-button> |
| | | </template> |
| | |
| | | <el-button |
| | | type="danger" |
| | | size="small" |
| | | @click="taskDelete1(scope.row)"> |
| | | @click.native="taskDelete1(scope.row)"> |
| | | 初始化 |
| | | </el-button> |
| | | </template> |
| | |
| | | this.getValueSystem() |
| | | this.getLicenseDays() |
| | | |
| | | // 高频更新:小车和设备位置(1秒) |
| | | setInterval(() => { |
| | | this.getTableDataRgv() |
| | | this.getTableDataDev() |
| | | this.getTableDataTrack() |
| | | this.getTableDataLeft() |
| | | this.getTableDataLeft1() |
| | | this.getTableDataRight() |
| | | }, 1500) |
| | | |
| | | // 低频更新:任务列表等(5秒) |
| | | setInterval(() => { |
| | | this.getTableDataLeft1() |
| | | this.getTableDataRight1() |
| | | this.getValueSystem() |
| | | this.getLicenseDays() |
| | | }, 10*1000) |
| | | |
| | | }, 1000) |
| | | // 低频更新:许可证信息(30秒) |
| | | setInterval(() => { |
| | | this.getLicenseDays() |
| | | }, 30000) |
| | | |
| | | // 低频更新:许可证信息(30秒) |
| | | setInterval(() => { |
| | | this.getTableDataTrack() |
| | | }, 60*60*1000) |
| | | }, |
| | | // 获取容器实际尺寸 |
| | | updateContainerSize() { |