<template>
  <a-page-header :title="getPageTitle()" @back="() => $router.go(-1)">
    <a-card title="租户信息" style="margin-bottom: 20px">
      <template #extra>
        <a-button>编辑</a-button>
      </template>
      <TenantInfo />
    </a-card>
    <a-card title="服务器信息" style="margin-bottom: 20px">
      <ServerInfo />
    </a-card>
    <a-card title="源代码" style="margin-bottom: 20px">
      <CodeInfo />
    </a-card>
    <a-card title="其他信息" style="margin-bottom: 20px">
      <ParamInfo />
    </a-card>
  </a-page-header>
</template>

<script lang="ts" setup>
  import { getPageTitle, push } from '@/utils/common';
  import TenantInfo from './components/TenantInfo.vue';
  import ServerInfo from './components/ServerInfo.vue';
  import CodeInfo from './components/CodeInfo.vue';
  import ParamInfo from './components/ParamInfo.vue';
</script>

<script lang="ts">
  export default {
    name: 'SystemDeveloper'
  };
</script>
