diff --git a/web/src/main/resources/static/js/jlw/resourcesQuestion/index.js b/web/src/main/resources/static/js/jlw/resourcesQuestion/index.js index 557af362..e88dae39 100644 --- a/web/src/main/resources/static/js/jlw/resourcesQuestion/index.js +++ b/web/src/main/resources/static/js/jlw/resourcesQuestion/index.js @@ -292,10 +292,11 @@ layui.define(['form', 'laydate', 'table'], function (exports) { var url = ""; var param = {ids: ids}; if(type == "1" || type == "FACULTY_ADD"){ - param.status = 0; - url = "/jlw/teacherOpenCourseMergeResourcesQuestion/editStatus.json"; + param = {resourcesQuestionId: ids}; + url = "/jlw/teacherOpenCourseMergeResourcesQuestion/manageBatchDeleteStatus.json"; }else if(type == "2" || type == " ADMIN_ADD"){ url = "/jlw/resourcesQuestion/delete.json"; + param = {ids: ids}; } var ret = Common.postAjax(url, param); layer.msg(ret.code == 0 ? "删除成功!" : ret.msg, {