From b3221701c387ab536adf66cf315c75d3b429fe04 Mon Sep 17 00:00:00 2001
From: 刘帅 <rr.iii@qq.com>
Date: 星期四, 17 九月 2026 09:38:06 +0800
Subject: [PATCH] feat&bug:文档问题修改及优化

---
 cloud-server-management/src/main/webapp/static/modular/system/tStudent/tStudent.js |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tStudent/tStudent.js b/cloud-server-management/src/main/webapp/static/modular/system/tStudent/tStudent.js
index cce249b..2772abf 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/tStudent/tStudent.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/tStudent/tStudent.js
@@ -146,6 +146,26 @@
     }
 };
 
+/** 超级管理员查看学员完整手机号、身份证号;服务端会记录审计日志。 */
+TStudent.viewSensitiveData = function () {
+    if (!this.check()) return;
+    Feng.confirm('查看完整手机号和身份证号将记录审计日志,是否继续?', function () {
+        $.ajax({
+            url: Feng.ctxPath + '/system/sensitive/student/' + TStudent.seItem.id,
+            type: 'GET',
+            success: function (data) {
+                if (!data) { Feng.info('未查询到学员信息'); return; }
+                var html = '<div style="padding:20px;line-height:28px">'
+                    + '<div>学员姓名:' + (data.name || '') + '</div>'
+                    + '<div>手机号:' + (data.phone || '') + '</div>'
+                    + '<div>身份证号:' + (data.idCard || '') + '</div></div>';
+                parent.layer.open({type: 1, title: '学员敏感信息(已记录审计日志)', area: ['420px', '250px'], content: html});
+            },
+            error: function () { Feng.error('无权查看敏感信息或查询失败'); }
+        });
+    });
+};
+
 
 
 /**

--
Gitblit v1.7.1