wujingjing
2025-01-10 cb8d6096461752e321dda968d39999f3c2f81183
src/layout/component/sidebar/components/UserInformation.vue
@@ -3,29 +3,29 @@
      <el-dialog v-model="isShowInformation" title="我的信息" width="500" :before-close="handleCloseInformation">
         <el-form :model="userInformationInfo" ref="autoDialogFormRef" label-width="85">
            <el-row :gutter="20" class="form_Class">
               <el-col :span="12" class="note">
                  <el-form-item label="用户ID" prop="name"> <el-input v-model="userInformationInfo.note" readonly></el-input> </el-form-item
               <el-col :span="12" class="id">
                  <el-form-item label="用户ID" prop="name"> <el-input v-model="userInformationInfo.id" readonly></el-input> </el-form-item
               ></el-col>
               <el-col :span="12" class="mb20">
                  <el-form-item label="姓名" prop="real_name">
                     <el-input v-model="userInformationInfo.real_name" readonly></el-input>
                  <el-form-item label="姓名" prop="realName">
                     <el-input v-model="userInformationInfo.realName" readonly></el-input>
                  </el-form-item>
               </el-col>
               <el-col :span="12" class="mb20">
                  <el-form-item label="手机号" prop="phone">
                     <el-input v-model="userInformationInfo.phone" readonly></el-input>
                  <el-form-item label="手机号" prop="phoneNumber">
                     <el-input v-model="userInformationInfo.phoneNumber" readonly></el-input>
                  </el-form-item>
               </el-col>
               <el-col :span="12" class="mb20"
                  ><el-form-item label="性别" prop="sex"> <el-input v-model="userInformationInfo.sex" readonly></el-input> </el-form-item
               ></el-col>
               <el-col :span="24" class="mb20">
                  <el-form-item label="部门" prop="part"> <el-input v-model="userInformationInfo.part" readonly></el-input> </el-form-item
                  <el-form-item label="部门" prop="department"> <el-input v-model="userInformationInfo.department" readonly></el-input> </el-form-item
               ></el-col>
               <el-col :span="24" class="mb20">
                  <el-form-item label="邮箱" prop="email">
                     <el-input v-model="userInformationInfo.email" readonly />
                        <el-input v-model="userInformationInfo.email" readonly />
                  </el-form-item>
               </el-col>
            </el-row>
@@ -38,7 +38,7 @@
//#region ====================== 我的信息 ======================
import { onMounted, ref } from 'vue';
import { useUserInfo } from '/@/stores/userInfo';
import { accessSessionKey, handleNoAuth } from '/@/utils/request';
import { accessSessionKey, handleNoAuth, userInfoKey } from '/@/utils/request';
import { Local } from '/@/utils/storage';
import { userInfo } from '/@/stores/chatRoom';
const isShowInformation = defineModel({
@@ -55,7 +55,7 @@
      handleNoAuth()
      return;
   }
   userInformationInfo.value = userInfo.get();
   userInformationInfo.value = Local.get(userInfoKey);
});
</script>
<style scoped lang="scss"></style>