Browse Source

fix:修改供需管理-服务开发需求,点击下架后,弹出框没有取消,始终在界面

414057798 5 years ago
parent
commit
f31da90805
1 changed files with 9 additions and 8 deletions
  1. 9 8
      src/main/webapp/pages/admin/microapp/unshelve.jsp

+ 9 - 8
src/main/webapp/pages/admin/microapp/unshelve.jsp

@@ -24,14 +24,15 @@
 <script type="text/javascript">
     $("#btnUnshelve").click(function() {
         $('#unshelveresultFmt').ajaxSubmit(function (data) {
-            if(data!=undefined&&data!=null){
-                window.parent.search();
-                //$.popBsPartial({url:"<%=basePath%>/admin/microapp/unshelveresult/"+data.stateCode})
-                window.parent.showunshelveresult(data.stateCode);
-            }else{
-                //$.popBsPartial({url:"<%=basePath%>/admin/microapp/unshelveresult/"+400})
-                window.parent.showunshelveresult(400);
-            }
+            window.location.href="<%=basePath%>/admin/microapp/index.htm"
+            <%--if(data!=undefined&&data!=null){--%>
+            <%--    /*window.parent.search();*/--%>
+            <%--   /* //$.popBsPartial({url:"<%=basePath%>/admin/microapp/unshelveresult/"+data.stateCode})*/--%>
+            <%--    /*// window.parent.showunshelveresult(data.stateCode);*/--%>
+            <%--}else{--%>
+            <%--   /* //$.popBsPartial({url:"<%=basePath%>/admin/microapp/unshelveresult/"+400})*/--%>
+            <%--   /* // window.parent.showunshelveresult(400);*/--%>
+            <%--}--%>
         });
     });
     $("#btnBack").click(function() {