|
@@ -278,7 +278,7 @@ $(document).ready(function() {
|
|
|
function deleteAll(){
|
|
|
jp.confirm('确认要删除计划表单记录吗?', function(){
|
|
|
jp.loading();
|
|
|
- jp.get("${ctx}/sg/managementCenter/constructionProject/deleteAll?ids=" + getIdSelections(), function(data){
|
|
|
+ jp.get("${ctx}/sg/managementCenter/projectPlanArrage/getDeleteMainAll?ids=" + getIdSelections()+"&projectNames="+encodeURI(encodeURI(getNameSelections())), function(data){
|
|
|
if(data.success){
|
|
|
$('#projectTable').bootstrapTable('refresh');
|
|
|
jp.success(data.msg);
|
|
@@ -299,4 +299,10 @@ function addDatePlan() {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
+function getNameSelections() {
|
|
|
+ return $.map($("#projectTable").bootstrapTable('getSelections'), function (row) {
|
|
|
+ return row.projectName
|
|
|
+});
|
|
|
+}
|
|
|
</script>
|