游戏数学 删除备课优化
This commit is contained in:
		| @@ -270,6 +270,7 @@ export default { | ||||
|   //   color: #666; | ||||
|   // } | ||||
| } | ||||
|  | ||||
| @media print { | ||||
|   .table-container { | ||||
|     padding: 30px 0; | ||||
| @@ -312,9 +313,6 @@ export default { | ||||
|       } | ||||
|     } | ||||
|   } | ||||
|   .print { | ||||
|     opacity: 0; | ||||
|   } | ||||
| } | ||||
| /*去除页眉页脚*/ | ||||
| @page { | ||||
|   | ||||
| @@ -171,7 +171,10 @@ public class ByMathTermplanController extends BaseController { | ||||
|             byMathTermplanitem.setTpid(ids[i]); | ||||
|             List<ByMathTermplanitem> list = byMathTermplanitemService.selectByMathTermplanitemList(byMathTermplanitem); | ||||
|             if (list != null && list.size() > 0) { | ||||
|                 return AjaxResult.error("选中的计划下存在计划明细,无法删除"); | ||||
|                 //return AjaxResult.error("选中的计划下存在计划明细,无法删除"); | ||||
|                 for (int j = 0; j < list.size(); j++) { | ||||
|                     byMathTermplanitemService.deleteByMathTermplanitemById(list.get(j).getId()); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         return toAjax(byMathTermplanService.deleteByMathTermplanByIds(ids)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user