From a6919a17014fdff73fd703da6f69e50288278720 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期三, 13 十二月 2023 17:35:08 +0800 Subject: [PATCH] 11.27,9 --- cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js b/cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js index e45db94..93c1ba8 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js @@ -49,12 +49,9 @@ if(data==0) { var str = '<button class="btn btn-outline btn-primary" onclick="TSite.auth('+row.operatorId+')" >去认证</button>' btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="" onfocus="TUser.tooltip()">' + str + '</p>'] - }else if(data !=4){ - var str = '<button class="btn btn-outline btn-primary" onclick="TSite.auth('+row.operatorId+')" >详情</button>' + }else { + var str = '<button class="btn btn-outline btn-primary" onclick="TSite.auth(' + row.operatorId + ')" >详情</button>' btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="" onfocus="TUser.tooltip()">' + str + '</p>'] - } else if(data==4){ - var str = '<h3>已绑定</h3>' - btn = [str] } return btn; } @@ -439,7 +436,7 @@ $(function () { - $("#benefit").hide() + var defaultColunms = TSite.initColumn(); var table = new BSTable(TSite.id, "/operatorUser/listAll", defaultColunms); table.setPaginationType("client"); -- Gitblit v1.7.1