From ae9bfd2d66f68a553786ac78b12f4390e65e4e09 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期五, 24 十一月 2023 18:30:18 +0800 Subject: [PATCH] 后台bug修改 --- cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js | 21 +++++++++++++++++---- 1 files changed, 17 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 e2573c6..441e0cb 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,9 @@ }} ]; }; - +TQuestion.close = function() { + parent.layer.close(window.parent.TQuestion.layerIndex); +} /** * 检查是否选中 */ @@ -61,6 +63,7 @@ * 点击添加 */ TQuestion.openAdd = function () { + var index = layer.open({ type: 2, title: '添加分类', @@ -360,6 +363,7 @@ Feng.error("当前手机号 已被注册") }else{ window.parent.TQuestion.table.refresh(); + layer.closeAll('page'); TQuestion.close(); Feng.success("添加成功"); } @@ -537,9 +541,7 @@ TQuestion.table.refresh({query: queryData}); }; -TQuestion.close = function() { - parent.layer.close(window.parent.TQuestion.layerIndex); -} + /** * 重置搜索 */ @@ -564,4 +566,15 @@ var carPhoto = new $WebUpload("img"); carPhoto.setUploadBarId("progressBar"); carPhoto.init(); + + // //提交信息 + // var ajax = new $ax(Feng.ctxPath + "/operatorUser/mgtShopAuth", function (data) { + // Feng.success("添加成功!"); + // window.parent.Course.table.refresh(); + // CourseInfo.close(); + // }, function (data) { + // Feng.error("添加失败!" + data.responseJSON.message + "!"); + // }); + // ajax.start(); + }); -- Gitblit v1.7.1