联调承载能力评估

This commit is contained in:
GGJ
2024-04-02 16:43:18 +08:00
parent fe60893e89
commit 60462b0086
24 changed files with 674 additions and 422 deletions

View File

@@ -24,7 +24,7 @@
size="18"
/>
</div>
<el-dropdown style='height: 100%;' @command='handleCommand'>
<el-dropdown style="height: 100%" @command="handleCommand">
<div class="admin-info" :class="state.currentNavMenu == 'adminInfo' ? 'hover' : ''">
<el-avatar :size="25" fit="fill">
<img src="@/assets/avatar.png" alt="" />
@@ -48,8 +48,8 @@
/>
</div>
<Config />
<PopupPwd ref='popupPwd' />
<AdminInfo ref='popupAdminInfo' />
<PopupPwd ref="popupPwd" />
<AdminInfo ref="popupAdminInfo" />
<!-- <TerminalVue /> -->
</div>
</template>
@@ -67,8 +67,9 @@ import { fullUrl } from '@/utils/common'
import html2canvas from 'html2canvas'
import PopupPwd from './popup/password.vue'
import AdminInfo from './popup/adminInfo.vue'
import { useNavTabs } from '@/stores/navTabs'
const adminInfo = useAdminInfo()
const navTabs = useNavTabs()
const configStore = useConfig()
const popupPwd = ref()
const popupAdminInfo = ref()
@@ -79,7 +80,6 @@ const state = reactive({
showAdminInfoPopover: false
})
const savePng = () => {
html2canvas(document.body, {
scale: 1,
@@ -112,13 +112,13 @@ const handleCommand = (key: string) => {
popupPwd.value.open()
break
case 'layout':
router.push({ name: 'login' })
navTabs.closeTabs()
router.push({ name: 'login' })
break
default:
break
}
}
</script>
<style scoped lang="scss">