田源
2023-10-17 6657951e23782b3fd90cd283cbb895b8a775353a
Source/UBCS-WEB/src/page/index/top/index.vue
@@ -18,7 +18,11 @@
        <top-search></top-search>
      </span>
    </div>
    <div></div>
    <div class="top-bar__right">
      <el-tooltip style="margin-right: 35px">
        <p style="font-size: 20px;line-height: 20px">本系统为非涉密应用系统,禁止处理、存储、传输涉密信息</p>
      </el-tooltip>
      <el-tooltip v-if="showColor"
                  effect="dark"
                  :content="$t('navbar.color')"
@@ -101,6 +105,9 @@
          </el-dropdown-item>
        </el-dropdown-menu>
      </el-dropdown>
      <el-tooltip effect="dark" style="margin-left: 15px">
        <p style="font-size: 16px">当前登录用户:{{storedUsername}}</p>
      </el-tooltip>
      <el-dialog title="用户信息选择"
                 append-to-body
                 :visible.sync="userBox"
@@ -137,6 +144,7 @@
    name: "top",
    data() {
      return {
        storedUsername: '',
        userBox: false,
        userForm: {
          deptId: '',
@@ -191,6 +199,7 @@
    },
    mounted() {
      listenfullscreen(this.setScreen);
      this.storedUsername = localStorage.getItem('username');
    },
    computed: {
      ...mapState({