修改 电网一张图告警明细数据

This commit is contained in:
GGJ
2024-10-21 19:15:45 +08:00
parent 96ea25d0a6
commit 2e364d82ed
8 changed files with 274 additions and 116 deletions

View File

@@ -1,5 +1,7 @@
<template>
<component :is="config.layout.layoutMode"></component>
<div>
<component :is="config.layout.layoutMode"></component>
</div>
</template>
<script setup lang="ts">
@@ -51,10 +53,10 @@ onBeforeMount(() => {
})
const init = async () => {
await Promise.all([getAreaList(), dictDataCache(), getUserById(), areaSelect(),getAllUserSimpleList()]).then(res => {
await Promise.all([getAreaList(), dictDataCache(), getUserById(), areaSelect(), getAllUserSimpleList()]).then(res => {
dictData.state.area = res[0].data
dictData.state.basic = res[1].data
dictData.state.userList=res[4].data
dictData.state.userList = res[4].data
adminInfo.dataFill(res[2].data)
dictData.state.areaTree = res[3].data
})
@@ -79,6 +81,7 @@ const init = async () => {
if (item.children) {
handlerMenu(item.children)
}
})
}
handlerMenu(res.data)