|
|
|
@ -157,6 +157,7 @@ |
|
|
|
<div class="user-info" style="background-color: #f8f9fa; border-radius: 8px; padding: 15px; margin-bottom: 20px;"> |
|
|
|
<h3 style="font-size: 16px; color: #333; margin-bottom: 10px;">登录信息</h3> |
|
|
|
<div id="userInfo" style="font-size: 14px; color: #666;"> |
|
|
|
<p>职位名称:<span id="userProjectName">未登录</span></p> |
|
|
|
<p>姓名:<span id="userName">未登录</span></p> |
|
|
|
<p>电话:<span id="userPhone">未登录</span></p> |
|
|
|
</div> |
|
|
|
@ -202,6 +203,7 @@ |
|
|
|
if (userInfo) { |
|
|
|
try { |
|
|
|
const user = JSON.parse(userInfo); |
|
|
|
document.getElementById('userProjectName').textContent = user.projectName || '未提供'; |
|
|
|
document.getElementById('userName').textContent = user.name || user.userName; |
|
|
|
document.getElementById('userPhone').textContent = user.phoneNumber || '未提供'; |
|
|
|
} catch (error) { |
|
|
|
|