diff --git a/src/views/page/index.vue b/src/views/page/index.vue index 525e0c30..ec109cd8 100644 --- a/src/views/page/index.vue +++ b/src/views/page/index.vue @@ -673,7 +673,7 @@ const gettree4 = (data: any) => { name: localStorage.getItem('loginname'), industry: data, }) - .then((res) => { + .then((res: JsonResult) => { if (res.code == 0) { api .post('/multialarm/client/alarm_point/getlist', { @@ -686,7 +686,8 @@ const gettree4 = (data: any) => { }) let data = [res.data] data.forEach((tree) => { - console.log(tree) + console.log('tree______', tree) + tree.children.reverse() // 长沙市排在前 printLeafs(tree, res1.data) }) treedataall.value = [...data] diff --git a/src/views/page/indexMim.vue b/src/views/page/indexMim.vue index 5fe2ffda..5ee05319 100644 --- a/src/views/page/indexMim.vue +++ b/src/views/page/indexMim.vue @@ -1,1121 +1,1139 @@ \ No newline at end of file + .cen { + width: calc(100% - 900px); + height: 98%; + margin-top: 0.5%; + margin-left: 0.5%; + margin-right: 0.5%; + border: 1px solid #3876B9; + background-image: url(./indeximag/able.jpg); + background-size: 100% 100%; + } +} +