Authored by qinchao

Merge branch 'dev_qc_6.8.4_menu' into test6.8.4

@@ -376,25 +376,25 @@ @@ -376,25 +376,25 @@
376 message = "确认要关闭销售类目吗?"; 376 message = "确认要关闭销售类目吗?";
377 msg = "关闭销售类目成功!"; 377 msg = "关闭销售类目成功!";
378 } 378 }
379 - window.top.$.messager.confirm("确认", message, function (flag) { 379 + $.messager.confirm("确认", message, function (flag) {
380 if (flag) { 380 if (flag) {
381 - window.top.$.messager.progress({ 381 + $.messager.progress({
382 title: "正在执行", 382 title: "正在执行",
383 msg: "正在执行,请稍后...", 383 msg: "正在执行,请稍后...",
384 interval: 500, 384 interval: 500,
385 text: "" 385 text: ""
386 }); 386 });
387 $.post(contextPath + "/saleCategory/updateStatus",{"id":id, "status":status, "parentId": parentId}, function (data) { 387 $.post(contextPath + "/saleCategory/updateStatus",{"id":id, "status":status, "parentId": parentId}, function (data) {
388 - window.top.$.messager.progress("close"); 388 + $.messager.progress("close");
389 if (data.code == 200) { 389 if (data.code == 200) {
390 $("#saleCategoryTable").treegrid("reload"); 390 $("#saleCategoryTable").treegrid("reload");
391 - window.top.$.messager.show({ 391 + $.messager.show({
392 title: "提示", 392 title: "提示",
393 msg: msg, 393 msg: msg,
394 height: 120 394 height: 120
395 }); 395 });
396 } else { 396 } else {
397 - window.top.$.messager.alert("失败", data.message, "error"); 397 + $.messager.alert("失败", data.message, "error");
398 } 398 }
399 }, "json"); 399 }, "json");
400 } 400 }