From ecba6cab0840a9014b4e6e96f2f7b89070cc60e1 Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期三, 02 十一月 2022 09:13:52 +0800 Subject: [PATCH] 更新编辑短信错误 --- web/web/SysUser.aspx | 57 ++++++++++++++++++++++++++++++--------------------------- 1 files changed, 30 insertions(+), 27 deletions(-) diff --git a/web/web/SysUser.aspx b/web/web/SysUser.aspx index 1cf539a..11ee926 100644 --- a/web/web/SysUser.aspx +++ b/web/web/SysUser.aspx @@ -18,32 +18,34 @@ var html = []; $.each(result.Message.Table, function(i) { html.push("<tr>"); - html.push("<td>" + this.Account + "</td>"); + html.push("<td>" + this.Account + "</td>"); html.push("<td>" + this.UserName + "</td>"); - if (this.UserType == 1) { - html.push("<td>" + "绠$悊鍛�" + "</td>"); - } - else if (this.UserType == 2) { - html.push("<td>" + "涓氬姟鍛�" + "</td>"); - } - else if (this.UserType == 3) { - html.push("<td>" + "涓氬姟涓荤" + "</td>"); - } - else if (this.UserType == 4) { - html.push("<td>" + "涓氬姟鎬荤洃" + "</td>"); - } - else if (this.UserType == 5) { - html.push("<td>" + "瀹㈡湇浜哄憳" + "</td>"); - } - else if (this.UserType == 6) { - html.push("<td>" + "璐㈠姟浜哄憳" + "</td>"); - } - else if (this.UserType == 99) { - html.push("<td>" + "鍏朵粬" + "</td>"); - } - else { - html.push("<td>" + "" + "</td>"); - } + html.push("<td>" + this.RoleNames + "</td>"); + + //if (this.UserType == 1) { + // html.push("<td>" + "绠$悊鍛�" + "</td>"); + //} + //else if (this.UserType == 2) { + // html.push("<td>" + "涓氬姟鍛�" + "</td>"); + //} + //else if (this.UserType == 3) { + // html.push("<td>" + "涓氬姟涓荤" + "</td>"); + //} + //else if (this.UserType == 4) { + // html.push("<td>" + "涓氬姟鎬荤洃" + "</td>"); + //} + //else if (this.UserType == 5) { + // html.push("<td>" + "瀹㈡湇浜哄憳" + "</td>"); + //} + //else if (this.UserType == 6) { + // html.push("<td>" + "璐㈠姟浜哄憳" + "</td>"); + //} + //else if (this.UserType == 99) { + // html.push("<td>" + "鍏朵粬" + "</td>"); + //} + //else { + // html.push("<td>" + "" + "</td>"); + //} html.push("<td>" + this.Mobile + "</td>"); html.push("<td>" + formatFlagIcon(this.MobileFlag) + "</td>"); @@ -646,6 +648,7 @@ <div id="mask" class="mask"> <span></span> - <img src="img/spinning-circles.svg" alt="杞藉叆涓�..." /></div> - </div> + <img src="img/spinning-circles.svg" alt="杞藉叆涓�..." /> + + </div> </asp:Content> \ No newline at end of file -- Gitblit v1.9.1