From 818937959bb19d3669585fa87a526bffe9ce77a4 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期四, 24 四月 2025 09:28:41 +0800
Subject: [PATCH] 修改默认验证码

---
 ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tUser/tUser.js |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tUser/tUser.js b/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tUser/tUser.js
index 991a467..012d815 100644
--- a/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tUser/tUser.js
+++ b/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tUser/tUser.js
@@ -111,6 +111,18 @@
                 return btn;
             }
         },
+        {title: '邀请次数', field: 'inviteNumber', visible: true, align: 'center', valign: 'middle',width:'5%',
+            formatter: function (value, row) {
+                var temp = row.id
+                var btn = "";
+                if(row.inviteNumber != '' && row.inviteNumber != null) {
+                    btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color: #00b7ee" title="' + row.inviteNumber + '" onfocus="TUser.tooltip()" onclick="TUser.inviteList('+temp+')">' + row.inviteNumber + '</p>']
+                }else {
+                    btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color: #00b7ee" title="0"  onfocus="TUser.tooltip()" onclick="TUser.inviteList('+temp+')">0</p>']
+                }
+                return btn;
+            }
+        },
         {title: '备注', field: 'remark', visible: true, align: 'center', valign: 'middle',width:'10%',
             formatter: function (value, row) {
                 var btn = "";
@@ -171,6 +183,20 @@
     }
 };
 /**
+ * 邀请明细
+ */
+TUser.inviteList = function (id) {
+        var index = layer.open({
+            type: 2,
+            title: '邀请明细',
+            area: ['100%', '100%'], //宽高
+            fix: false, //不固定
+            maxmin: true,
+            content: Feng.ctxPath + '/tUser/invite/'+ id
+        });
+        this.layerIndex = index;
+};
+/**
  * 修改密码
  */
 TUser.updatePassword = function () {

--
Gitblit v1.7.1