From fabe5684d31e0c52548b33b7afbfec0855f9880e Mon Sep 17 00:00:00 2001 From: nickchange <126672920+nickchange@users.noreply.github.com> Date: 星期四, 30 十一月 2023 19:09:01 +0800 Subject: [PATCH] 11.30 --- cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js b/cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js index fbfd161..b5a5f92 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js @@ -38,7 +38,10 @@ }} ]; }; - +TQuestion.close = function() { + parent.layer.close(window.parent.TQuestion.layerIndex); + window.close(); +} /** * 检查是否选中 */ @@ -61,6 +64,7 @@ * 点击添加 */ TQuestion.openAdd = function () { + var index = layer.open({ type: 2, title: '添加分类', @@ -360,8 +364,10 @@ Feng.error("当前手机号 已被注册") }else{ window.parent.TQuestion.table.refresh(); + layer.closeAll('page'); TQuestion.close(); Feng.success("添加成功"); + window.close(); } }, @@ -537,9 +543,7 @@ TQuestion.table.refresh({query: queryData}); }; -TQuestion.close = function() { - parent.layer.close(window.parent.TQuestion.layerIndex); -} + /** * 重置搜索 */ -- Gitblit v1.7.1