| | |
| | | * @Author: lzhe lzhe@example.com |
| | | * @Date: 2024-04-16 15:22:46 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-06-21 09:54:33 |
| | | * @LastEditTime: 2024-06-21 10:53:10 |
| | | * @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 |
| | | --> |
| | |
| | | :data="parentData" |
| | | :props="{ label: 'title' }" |
| | | style="width:80%;" |
| | | :default-checked-keys="selectedIds" |
| | | :render-after-expand="false" /> |
| | | </div> |
| | | <div> |
| | |
| | | description: "快速查看设备运行时长排名", |
| | | data() { |
| | | return { |
| | | selectedIds: [], |
| | | parentData: {}, |
| | | list: [], |
| | | timeLevelList: [], |
| | |
| | | if(item.cardKey == "mdcRunning") { |
| | | if(item.apiResource == "") return; |
| | | this.apiResource = JSON.parse(item.apiResource); |
| | | this.selectedIds = this.apiResource.workStationIdList; |
| | | this.search.workStationIdList = this.apiResource.workStationIdList; |
| | | this.timeLevel = this.apiResource.timeLevel; |
| | | this.top = this.apiResource.top; |
| | | if(this.apiResource.workStationIdList.length > 0) { |