| | |
| | | * @Author: lzhe lzhe@example.com |
| | | * @Date: 2024-04-16 15:22:46 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-06-21 01:45:18 |
| | | * @LastEditTime: 2024-06-21 09:50:32 |
| | | * @FilePath: /CPSnew/smart-web/src/views/home/widgets/components/mdcDeviceStatus.vue |
| | | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | --> |
| | |
| | | top: "" |
| | | }, |
| | | isSearch: false, |
| | | timeLevel: "", |
| | | top: "", |
| | | timeLevel: "24", |
| | | top: "5", |
| | | apiResource: { |
| | | workStationIdList: [] |
| | | }, |
| | |
| | | this.cardData = this.$CONFIG.DEFAULT_GRID.data; |
| | | this.cardData.forEach(item=> { |
| | | if(item.cardKey == "mdcRunning") { |
| | | if(item.apiResource == "") return; |
| | | this.apiResource = JSON.parse(item.apiResource); |
| | | this.timeLevel = this.apiResource.timeLevel; |
| | | this.top = this.apiResource.top; |