| | |
| | | * @Descripttion: 工具集 |
| | | * @version: 1.2 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-10-22 20:58:47 |
| | | * @LastEditTime: 2024-10-23 13:46:35 |
| | | */ |
| | | |
| | | import CryptoJS from 'crypto-js'; |
| | |
| | | <!-- |
| | | * @Author: lzhe lzhe@example.com |
| | | * @Date: 2024-09-06 14:09:39 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-10-23 13:40:48 |
| | | * @FilePath: /smart-web/src/views/home/widgets/components/Access.vue |
| | | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | --> |
| | | <template> |
| | | <el-card shadow="hover" header="信息卡" class="item-background"> |
| | | <div class="informationCar"> |
| | |
| | | <li>中兵航联</li> |
| | | <li>未绑定员工</li> |
| | | </ul> |
| | | <div class="ver">版本号: 93.1.14</div> |
| | | </el-card> |
| | | </template> |
| | | |
| | |
| | | // this.$CONFIG.DEFAULT_GRID.layout = layout; |
| | | // this.$CONFIG.DEFAULT_GRID.data = cards; |
| | | //this.$CONFIG.DEFAULT_GRID.copmsList = [["mdcDeviceStatus"],["mdcRunning","mdcEquipmentRun"],[],[]] |
| | | if(res.data.length == 0) { |
| | | this.$CONFIG.DEFAULT_GRID.copmsList = []; |
| | | }else { |
| | | this.$CONFIG.DEFAULT_GRID.copmsList = res.data[0].layoutConfig == null?[]:JSON.parse(res.data[0].layoutConfig); |
| | | // if(this.$CONFIG.DEFAULT_GRID.copmsList.length == 0) { |
| | | // this.$CONFIG.DEFAULT_GRID.copmsList = [["mdcDeviceStatus"],["mdcRunning","mdcEquipmentRun"],[],[]] |
| | | // } |
| | | } |
| | | this.$CONFIG.DEFAULT_GRID.layout = [24,12,6,6]; |
| | | this.$CONFIG.DEFAULT_GRID.data = res.data; |
| | | this.defaultGrid = this.$CONFIG.DEFAULT_GRID; |