|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div id="largeDataScreen" class="h-screen w-screen flex flex-col">
|
|
|
- <Header :title="profile?.nickname || ''"></Header>
|
|
|
+ <Header :title="screenName || ''"></Header>
|
|
|
<!-- <el-row style="height: calc(100vh - 210px)" :gutter="10"> -->
|
|
|
<el-row class="flex-1">
|
|
|
<el-col :span="8" class="p-2">
|
|
@@ -108,10 +108,13 @@ const abnormalIndicatorGroupList = computed(() => {
|
|
|
});
|
|
|
return list;
|
|
|
});
|
|
|
-const profile = shallowRef();
|
|
|
+const screenName = shallowRef();
|
|
|
const getInfo = async () => {
|
|
|
- const { data } = await request.get("/archivesService/agency/profile");
|
|
|
- profile.value = data.profile;
|
|
|
+ const { data } = await request.post("/archivesService/agency/agencySetting/get", {
|
|
|
+ keys: ['screenName']
|
|
|
+ });
|
|
|
+
|
|
|
+ screenName.value = data.list[0]?.value || ''
|
|
|
};
|
|
|
onMounted(() => {
|
|
|
getInfo();
|