|
@@ -1,8 +1,8 @@
|
|
<template>
|
|
<template>
|
|
<div id="largeDataScreen" class="h-screen w-screen flex flex-col">
|
|
<div id="largeDataScreen" class="h-screen w-screen flex flex-col">
|
|
- <Header></Header>
|
|
|
|
|
|
+ <Header :title="profile?.nickname || ''"></Header>
|
|
<!-- <el-row style="height: calc(100vh - 210px)" :gutter="10"> -->
|
|
<!-- <el-row style="height: calc(100vh - 210px)" :gutter="10"> -->
|
|
- <el-row class="flex-1" >
|
|
|
|
|
|
+ <el-row class="flex-1">
|
|
<el-col :span="8" class="p-2">
|
|
<el-col :span="8" class="p-2">
|
|
<div class="flex flex-col h-full">
|
|
<div class="flex flex-col h-full">
|
|
<div class=" ">
|
|
<div class=" ">
|
|
@@ -19,7 +19,7 @@
|
|
<el-col :span="8" class="py-2">
|
|
<el-col :span="8" class="py-2">
|
|
<div class="flex flex-col h-full">
|
|
<div class="flex flex-col h-full">
|
|
<div class="flex-[2] flex flex-col">
|
|
<div class="flex-[2] flex flex-col">
|
|
- <Center1 class=""/>
|
|
|
|
|
|
+ <Center1 class="" />
|
|
</div>
|
|
</div>
|
|
<div class="bg-white rounded mt-2 flex-1">
|
|
<div class="bg-white rounded mt-2 flex-1">
|
|
<Center2 />
|
|
<Center2 />
|
|
@@ -53,7 +53,16 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script setup>
|
|
<script setup>
|
|
-import { computed, onMounted, defineAsyncComponent, reactive, provide, nextTick, ref } from "vue";
|
|
|
|
|
|
+import {
|
|
|
|
+ computed,
|
|
|
|
+ onMounted,
|
|
|
|
+ defineAsyncComponent,
|
|
|
|
+ reactive,
|
|
|
|
+ provide,
|
|
|
|
+ nextTick,
|
|
|
|
+ ref,
|
|
|
|
+ shallowRef
|
|
|
|
+} from "vue";
|
|
// import autofit from "autofit.js";
|
|
// import autofit from "autofit.js";
|
|
import Header from "./components/Header.vue";
|
|
import Header from "./components/Header.vue";
|
|
import Left1 from "./components/Left1.vue";
|
|
import Left1 from "./components/Left1.vue";
|
|
@@ -99,8 +108,13 @@ const abnormalIndicatorGroupList = computed(() => {
|
|
});
|
|
});
|
|
return list;
|
|
return list;
|
|
});
|
|
});
|
|
-
|
|
|
|
|
|
+const profile = shallowRef();
|
|
|
|
+const getInfo = async () => {
|
|
|
|
+ const { data } = await request.get("/archivesService/agency/profile");
|
|
|
|
+ profile.value = data.profile;
|
|
|
|
+};
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
|
+ getInfo();
|
|
useLargeScreenHook?.requestLargeScreenGlobalData();
|
|
useLargeScreenHook?.requestLargeScreenGlobalData();
|
|
});
|
|
});
|
|
|
|
|
|
@@ -159,7 +173,7 @@ provide("openDialogDetail", openDialogDetail);
|
|
#largeDataScreen {
|
|
#largeDataScreen {
|
|
}
|
|
}
|
|
body {
|
|
body {
|
|
- background:#f1f1f1;
|
|
|
|
|
|
+ background: #f1f1f1;
|
|
}
|
|
}
|
|
.center1 {
|
|
.center1 {
|
|
flex: 2;
|
|
flex: 2;
|