src/utils/tool.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/home/widgets/components/Access.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/home/widgets/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/utils/tool.js
@@ -2,7 +2,7 @@ * @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'; src/views/home/widgets/components/Access.vue
@@ -1,3 +1,11 @@ <!-- * @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"> @@ -14,7 +22,6 @@ <li>中兵航联</li> <li>未绑定员工</li> </ul> <div class="ver">版本号: 93.1.14</div> </el-card> </template> src/views/home/widgets/index.vue
@@ -226,10 +226,11 @@ // this.$CONFIG.DEFAULT_GRID.layout = layout; // this.$CONFIG.DEFAULT_GRID.data = cards; //this.$CONFIG.DEFAULT_GRID.copmsList = [["mdcDeviceStatus"],["mdcRunning","mdcEquipmentRun"],[],[]] 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"],[],[]] // } 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); } this.$CONFIG.DEFAULT_GRID.layout = [24,12,6,6]; this.$CONFIG.DEFAULT_GRID.data = res.data; this.defaultGrid = this.$CONFIG.DEFAULT_GRID;