Your Name 3 年之前
父節點
當前提交
98ff78da3e
共有 1 個文件被更改,包括 6 次插入11 次删除
  1. 6 11
      tool/work/assets/pc/html/index.html

+ 6 - 11
tool/work/assets/pc/html/index.html

@@ -402,15 +402,12 @@ function finish()
 
               success: function (data) {
               // var index = config.host + "lib/manage.code&id=<{$active_id}>";
-                layer.alert(data.msg, function(){
-                  location.href = config.host + "lib/manage.setInfoStatus&id=" + id;
-                  
-              });
+               location.reload();
+          layui.layer.closeAll();
 
              },
           });
-          location.reload();
-          layui.layer.closeAll();
+          
           
         });
     }
@@ -434,13 +431,11 @@ function finish()
               dataType: "json",
 
               success: function (data) {
-                layer.alert(data.msg, function(){
-                  location.href = config.host + "lib/manage.setInfoStatus&type=" + type +"&id=" + id;
-              });
+                location.reload();
+          layui.layer.closeAll();
              },
           });
-          location.reload();
-          layui.layer.closeAll();
+          
           
         });
     }