Explorar o código

解决招聘计划新增界面子计划删除bug

java71- 张威豹 %!s(int64=3) %!d(string=hai) anos
pai
achega
1bd113b997

+ 2 - 2
ruoyi-ahrs/src/main/resources/templates/ahrs/recruitplan/add.html

@@ -342,7 +342,7 @@
                             /*actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.recruitPlanChangeId + '\')"><i class="fa fa-edit"></i> 编辑</a> ');*/
                             actions.push('<a class="btn btn-danger btn-xs" href="javascript:void(0)" onclick="remove(' + index + ',this)"><i class="fa fa-remove"></i> </a>');
                             return actions.join('');
-                    }
+                  }
                 }]
         };
 
@@ -585,7 +585,7 @@
     function remove(index, obj) {
         $.modal.confirm("确认删除么?", function () {
             $("#bootstrap-table").bootstrapTable('remove', {
-                field: 'recruitPlanChildId',
+                field: 'recruitPlanChangeId',
                 values: JSON.parse("[" + $("input[name=\'columns[" + index + "].nprs\']").attr("id") + "]")
             })
         });