From 36de27cf6c6010bd2c8a5d1e09f12fc49932f4a9 Mon Sep 17 00:00:00 2001 From: 18516761980 <4761516tqsxp> Date: 星期五, 14 一月 2022 13:59:40 +0800 Subject: [PATCH] Merge remote-tracking branch 'gitblit/zypms' into zypms --- src/main/webapp/static/js/item/item.js | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/static/js/item/item.js b/src/main/webapp/static/js/item/item.js index 8ca9f62..c74bfdc 100644 --- a/src/main/webapp/static/js/item/item.js +++ b/src/main/webapp/static/js/item/item.js @@ -72,7 +72,7 @@ statusCode: 200 }, done: function(res, curr, count) { - console.log(res.data) + if (res.code === 403) { top.location.href = baseUrl+"/"; } @@ -177,9 +177,7 @@ success: function (layero, dIndex) { layDateRender(); form.val('detail', mData); - console.log(mData) form.on('submit(editSubmit)', function (data) { - var loadIndex = layer.load(2); $.ajax({ url: baseUrl+"/item/"+(mData?'update':'add')+"/auth", @@ -287,6 +285,7 @@ function tableReload(child) { var searchData = {}; + $.each($('#search-box [name]').serializeArray(), function() { searchData[this.name] = this.value; }); -- Gitblit v1.9.1