diff --git a/src/main/java/com/dreamchaser/depository_manage/controller/CompanyController.java b/src/main/java/com/dreamchaser/depository_manage/controller/CompanyController.java index acd0a987..aa8ac4e9 100644 --- a/src/main/java/com/dreamchaser/depository_manage/controller/CompanyController.java +++ b/src/main/java/com/dreamchaser/depository_manage/controller/CompanyController.java @@ -345,9 +345,9 @@ public class CompanyController { return CrudUtil.insertHandle(success, roleAndDepositoryByCondition.size()); } else if (map.containsKey("depositoryIds")) { Integer num = 0; - List depositoryIds = (List) map.get("depositoryIds"); + List depositoryIds = ObjectFormatUtil.objToList(map.get("depositoryIds"),Integer.class); Integer success = 0; - Integer total = 0; + int total = 0; for (Integer depositoryId : depositoryIds) { Map param = new HashMap<>(); param.put("depositoryId", depositoryId); @@ -553,7 +553,7 @@ public class CompanyController { // 如果删除多个 // 获取要删除的id - List ids = (List) map.get("ids"); + List ids = ObjectFormatUtil.objToList(map.get("ids"),Object.class); count = ids.size(); map.remove("ids"); for (Object id : ids diff --git a/src/main/java/com/dreamchaser/depository_manage/controller/DepositoryController.java b/src/main/java/com/dreamchaser/depository_manage/controller/DepositoryController.java index fd4143fd..099e8a5d 100644 --- a/src/main/java/com/dreamchaser/depository_manage/controller/DepositoryController.java +++ b/src/main/java/com/dreamchaser/depository_manage/controller/DepositoryController.java @@ -113,7 +113,7 @@ public class DepositoryController { List list = depositoryService.findDepositoryByCondition(map, userKey, token); // 获取所有行政单位 Map administration = PublicConfig.findAdministration(userKey, token); - List administrationPList = (List) administration.get("administrationPList"); + List administrationPList = ObjectFormatUtil.objToList(administration.get("administrationPList"), AdministrationP.class); Integer total = (Integer) administration.get("total"); for (int i = 0; i < list.size(); i++) { for (int j = 0; j < administrationPList.size(); j++) { @@ -149,7 +149,7 @@ public class DepositoryController { HandlesOtherFunctionalThreadPool.execute(() -> RealDeleteSonDepository(id.toString(), finalUserKey, finalToken)); return CrudUtil.deleteHandle(depositoryService.deleteDepositoryRecordById(id), 1); } else if (map.containsKey("ids")) { - List ids = (List) map.get("ids"); + List ids = ObjectFormatUtil.objToList(map.get("ids"),Integer.class); for (Integer integer : ids) { String id = integer.toString(); HandlesOtherFunctionalThreadPool.execute(() -> RealDeleteSonDepository(id, finalUserKey, finalToken)); @@ -239,7 +239,7 @@ public class DepositoryController { return CrudUtil.deleteHandle(depositoryService.changeStateToDeletedById(id), 1); } else if (map.containsKey("ids")) { - List ids = (List) map.get("ids"); + List ids = ObjectFormatUtil.objToList(map.get("ids"),Integer.class); for (Integer integer : ids) { String id = integer.toString(); HandlesOtherFunctionalThreadPool.execute(() -> UpdateSonState(id, 3, true, finalUserKey, finalToken)); @@ -332,8 +332,8 @@ public class DepositoryController { // 获取本月及之前月份各种类别入/出库总量 List materialTypeAll = materialTypeService.findMaterialTypeNoParent(); Map previousMonth = DateUtil.getPreviousMonth(); - List months = (List) previousMonth.get("months"); - List sourceList = (List) previousMonth.get("sourceList"); + List months = ObjectFormatUtil.objToList(previousMonth.get("months"),Object.class); + List sourceList = ObjectFormatUtil.objToList(previousMonth.get("sourceList"),Object.class); for (int num = 0; num < months.size() - 1; num++) { for (MaterialType materialType : materialTypeAll) { Map parm = new HashMap<>(); @@ -427,8 +427,7 @@ public class DepositoryController { show_data.putAll((Map) result); } depository_data.put("data", show_data); - } - else { + } else { // 每天各仓库入库数目 while (it.hasNext()) { Object next = it.next(); @@ -584,7 +583,7 @@ public class DepositoryController { e.printStackTrace(); } if (sunburstChartData == null || sunburstChartData.size() == 0) { - sunburstChartData = (List) ((Map) result).get("sunburstChartDataForInventory"); + sunburstChartData = ObjectFormatUtil.objToList(((Map) result).get("sunburstChartDataForInventory"),Object.class); } if (lineChartData == null || lineChartData.size() == 0) { lineChartData = (Map) ((Map) result).get("inventoryLineChartData"); @@ -599,8 +598,7 @@ public class DepositoryController { } - } - else { + } else { // 获取本周至今仓库的入/出库数量 Future futureForBarChartData = completionService.submit(new distributeTasks(depositoryAllNameAndId, type, 1, userByPort, depositoryName)); @@ -717,9 +715,9 @@ public class DepositoryController { // 获取本月之前的月份 Map previousMonth = DateUtil.getPreviousMonth(); // 获取月份的时间戳 - List months = (List) previousMonth.get("months"); + List months = ObjectFormatUtil.objToList(previousMonth.get("months"),Object.class); // 获取月份名称 - List sourceList = (List) previousMonth.get("sourceList"); + List sourceList = ObjectFormatUtil.objToList(previousMonth.get("sourceList"),Object.class); // 结果集 List> futureList = new ArrayList>(); int threadSize = months.size(); @@ -758,9 +756,9 @@ public class DepositoryController { public List getInventorySunburstData(UserByPort userByPort) { Map previousMonth = DateUtil.getPreviousMonth(); // 获取所有月份 - List months = (List) previousMonth.get("months"); + List months = ObjectFormatUtil.objToList(previousMonth.get("months"),Object.class); // 获取月份名称 - List sourceList = (List) previousMonth.get("sourceList"); + List sourceList = ObjectFormatUtil.objToList((List) previousMonth.get("sourceList"),Object.class); Calendar instance = Calendar.getInstance(); instance.add(Calendar.MONTH, 1); instance.set(Calendar.DATE, 1); @@ -808,9 +806,9 @@ public class DepositoryController { try { obj = completionService.take().get(); - Map objectMap = (Map) obj; + Map objectMap = ObjectFormatUtil.objToMap(obj,String.class,Object.class); Integer id = ObjectFormatUtil.toInteger((objectMap).get("id")); - List inventoryByMtAndD = (List) objectMap.get("inventoryByMtAndD"); + List inventoryByMtAndD = ObjectFormatUtil.objToList(objectMap.get("inventoryByMtAndD"),InventoryByMTAndDepository.class); value += ObjectFormatUtil.toDouble(objectMap.get("value")); inventoryForMTAndDepository.put(id, inventoryByMtAndD); (objectMap).remove("id"); @@ -1346,8 +1344,7 @@ public class DepositoryController { map.put("data", doubleList); show_data.put(val, map); } - } - else { + } else { // 获取日期 SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); int now = instance.get(Calendar.DAY_OF_WEEK) - 1 == 0 ? 7 : instance.get(Calendar.DAY_OF_WEEK) - 1; diff --git a/src/main/java/com/dreamchaser/depository_manage/controller/DepositoryRecordController.java b/src/main/java/com/dreamchaser/depository_manage/controller/DepositoryRecordController.java index 9c866891..1b53eb8e 100644 --- a/src/main/java/com/dreamchaser/depository_manage/controller/DepositoryRecordController.java +++ b/src/main/java/com/dreamchaser/depository_manage/controller/DepositoryRecordController.java @@ -2301,5 +2301,37 @@ public class DepositoryRecordController { } } + /** + * 用于获取当前物料的本月出入库记录 + * + * @param jsonObject 带查询数据 + */ + @PostMapping("/getApplicationForMaterial") + public RestResponse getInventoryApplication(@RequestBody JSONObject jsonObject) { + Integer id = jsonObject.getInteger("id"); + // 获取本月至今的日期 + Map monthBeginToNow = DateUtil.getMonthBeginToNow(); + // 获取至今的日期名称 + List dayNames = ObjectFormatUtil.objToList(monthBeginToNow.get("dayName"), String.class); + // 获取至今的日期时间戳 + List dayTimeSpaces = ObjectFormatUtil.objToList(monthBeginToNow.get("dayTimeSpace"), Long.class); + // 获取当前物料的入库总额与数量 + Map> resultForApplicationIn = depositoryRecordService.getApplicationByMaterial(id, dayTimeSpaces, 1); + List amountListForIn = resultForApplicationIn.get("amountList"); + List countListForIn = resultForApplicationIn.get("countList"); + + // 获取当前物料的出库总额与数量 + Map> resultForApplicationOut = depositoryRecordService.getApplicationByMaterial(id, dayTimeSpaces, 2); + List amountListForOut = resultForApplicationOut.get("amountList"); + List countListForOut = resultForApplicationOut.get("countList"); + + Map result = new HashMap<>(); + result.put("applicationInAmount", amountListForIn); + result.put("applicationInCount", countListForIn); + result.put("applicationOutAmount", amountListForOut); + result.put("applicationOutCount", countListForOut); + result.put("dayNames", dayNames); + return new RestResponse(result); + } } diff --git a/src/main/java/com/dreamchaser/depository_manage/controller/PageController.java b/src/main/java/com/dreamchaser/depository_manage/controller/PageController.java index 7b6f0c00..cff56d34 100644 --- a/src/main/java/com/dreamchaser/depository_manage/controller/PageController.java +++ b/src/main/java/com/dreamchaser/depository_manage/controller/PageController.java @@ -842,15 +842,15 @@ public class PageController { * @return */ @GetMapping("/application_in_back") - public ModelAndView applicationIn(Integer mid, Integer depositoryId) { + public ModelAndView applicationIn(Integer mid, Integer depositoryId, Integer placeId) { ModelAndView mv = new ModelAndView(); - Inventory materialById = new Inventory(); - Depository depositoryRecordById = new Depository(); + InventoryP materialById = new InventoryP(); + Depository depositoryById = new Depository(); if (mid != null) { - materialById = materialService.findInventoryById(mid); + materialById = new InventoryP(materialService.findInventoryById(mid)); } if (depositoryId != null) { - depositoryRecordById = depositoryService.findDepositoryById(depositoryId); + depositoryById = depositoryService.findDepositoryById(depositoryId); } if (materialById.getShelfLife() == null) { mv.addObject("display", "none"); @@ -858,7 +858,16 @@ public class PageController { List splitInfoByMid = splitUnitService.findSplitInfoByMid(materialById.getMid()); materialById.setSplitInfoList(splitInfoByMid); mv.addObject("materialById", materialById); - mv.addObject("depository", depositoryRecordById); + if (placeId == null) { + placeId = 0; + } else { + Place placeById = placeService.findPlaceById(placeId); + if (placeById != null) { + depositoryById.setDname(depositoryById.getDname() + "-" + placeById.getCode()); + } + } + mv.addObject("depository", depositoryById); + mv.addObject("placeId", placeId); mv.setViewName("pages/application/application-in_back"); return mv; } @@ -1189,7 +1198,7 @@ public class PageController { for (MaterialAndPlaceForViewP materialAndPlaceForViewP : placeAndMaterialByDidAndMid) { double quantity = materialAndPlaceForViewP.getInventory() / 100.0; materialAndPlaceForViewP.setInventory(quantity); - materialAndPlaceForViewP.setAmount(ObjectFormatUtil.multiply(inventory.getPrice(),quantity)); + materialAndPlaceForViewP.setAmount(ObjectFormatUtil.multiply(inventory.getPrice(), quantity)); } inventory.setMaterialAndPlaceList(placeAndMaterialByDidAndMid); List splitInfoByMid = splitUnitService.findSplitInfoByMid(inventoryById.getMid()); diff --git a/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.java b/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.java index 519b6769..1b1adff2 100644 --- a/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.java +++ b/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.java @@ -215,10 +215,17 @@ public interface DepositoryRecordMapper { /** * 根据条件获取月份中入库物料的总额 - * @param map + * @param map 查询条件 + * @return + */ + Integer findApplicationInByDateAndMaterial(Map map); + /** + * 根据条件获取月份中出库物料的总额 + * @param map 查询条件 * @return */ - Integer findApplicationInByMonth(Map map); + Integer findApplicationOutByDateAndMaterial(Mapmap); + Integer findApplicationInByMonthTest(Map map); diff --git a/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml b/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml index 11ef2438..995c5639 100644 --- a/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml +++ b/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml @@ -326,12 +326,14 @@ FROM applicationOutRecordInfo WHERE 1=1 and (departmentHeadTime = 0 and FIND_IN_SET(#{userId},departmenthead) != 0 and DepartmentheadPass = 3) - or (depositoryManagerTime = 0 and FIND_IN_SET(#{userId},depositoryManager) != 0 and depositoryManagerPass =3) + or (depositoryManagerTime = 0 and FIND_IN_SET(#{userId},depositoryManager) != 0 and depositoryManagerPass + =3) OR ( balancePosterTime = 0 AND FIND_IN_SET( #{userId}, balancePoster ) != 0 AND balancePosterPass = 3 ) and (departmentHeadTime != 0 and FIND_IN_SET(#{userId},departmenthead) != 0 and DepartmentheadPass != 3) - or (depositoryManagerTime != 0 and FIND_IN_SET(#{userId},depositoryManager) != 0 and depositoryManagerPass != 3) + or (depositoryManagerTime != 0 and FIND_IN_SET(#{userId},depositoryManager) != 0 and depositoryManagerPass + != 3) OR ( balancePosterTime != 0 AND FIND_IN_SET( #{userId}, balancePoster ) != 0 AND balancePosterPass != 3 ) group by aorid @@ -1739,7 +1741,7 @@ - select ifnull(sum(quantity),0) from applicationinrecordinfo where 1 = 1 @@ -1753,6 +1755,22 @@ and mtid = #{typeId} + + and mid = #{mid} + + + + - diff --git a/src/main/resources/templates/pages/depository/Inventory-view_back.html b/src/main/resources/templates/pages/depository/Inventory-view_back.html index 1ff795de..35ffddfe 100644 --- a/src/main/resources/templates/pages/depository/Inventory-view_back.html +++ b/src/main/resources/templates/pages/depository/Inventory-view_back.html @@ -26,7 +26,7 @@
-
+
物料基本信息 @@ -65,7 +65,7 @@
-
+
库存基本信息
@@ -81,6 +81,7 @@ 计量单位 对应数量 金额 + 操作 @@ -93,7 +94,8 @@ class="layui-btn layui-btn-primary layui-btn-sm"> -
-
xs:6/12 | md:12/12
+
+
+
+
物料入库明细
+
+
+
+
+
+
+
+
+
物料出库明细
+
+
+
+
+
+
+
物料库存明细
+
+
+
+
+
+ @@ -97,8 +99,8 @@ - @@ -147,7 +149,7 @@ let reqForPublic = {}; - layui.use(['form', 'table', 'upload','util'], function () { + layui.use(['form', 'table', 'upload', 'util'], function () { var $ = layui.jquery, form = layui.form, upload = layui.upload, @@ -206,20 +208,19 @@ {type: "checkbox", width: 50}, {field: "code", title: '存货编码', width: 150, templet: '#materialCode'}, {field: 'mname', width: 200, title: '物料名称'}, - {field: 'brand', width: 200, title: '品牌'}, + {field: 'brand', width: 200, title: '品牌',hide:true}, {field: 'version', width: 200, title: '规格型号'}, - {field: 'typeName', width: 200, title: '物料类型'}, + {field: 'typeName', width: 200, title: '物料类型',hide:true}, {field: "unit", title: '计量单位', width: 200, templet: '#changeUnit', align: "center"}, {field: 'quantity', width: 200, title: '数量'}, {field: 'depositoryName', width: 200, title: '仓库名称'}, {field: 'depositoryCode', width: 200, title: '仓库编码'}, - // {title: '所处库位', width: 200, templet: '#changePlace', align: "center"}, - {field: "placeKingdeeCode", title: '所处库位', width: 200, templet: '#changePlace', align: "center"}, + {title: '所处库位', width: 200, templet: '#changePlace', align: "center"}, {field: 'warningCount', width: 200, title: '待过期数量', sort: true}, {field: 'price', title: '单价', width: 200, sort: true}, {field: 'amounts', title: '总金额', width: 200, sort: true}, - {field: 'texture', width: 200, title: '材质',}, - {field: 'iremark', width: 200, title: '备注',}, + {field: 'texture', width: 200, title: '材质',hide:true}, + {field: 'iremark', width: 200, title: '备注',hide:true}, {title: '操作', minWidth: 250, toolbar: '#currentTableBar', align: "center"} ]; @@ -254,17 +255,16 @@ {type: "checkbox", width: 50}, {title: '存货编码', width: 150, templet: '#materialCode'}, {field: 'mname', width: 200, title: '物料名称'}, - {field: 'brand', width: 200, title: '品牌'}, + {field: 'brand', width: 200, title: '品牌', hide: true}, {field: 'version', width: 200, title: '规格型号'}, - {field: 'typeName', width: 200, title: '物料类型'}, + {field: 'typeName', width: 200, title: '物料类型', hide: true}, {field: "unit", title: '计量单位', width: 200, templet: '#changeUnit', align: "center"}, {field: 'quantity', width: 200, title: '数量'}, {field: 'depositoryName', width: 200, title: '仓库名称'}, - {field: 'depositoryCode', width: 200, title: '仓库编码'}, + {field: 'depositoryCode', width: 200, title: '仓库编码', hide: true}, {title: '所处库位', width: 200, templet: '#changePlace', align: "center"}, - {field: "placeKingdeeCode", title: '所处库位', width: 200, templet: '#changePlace', align: "center"}, - {field: 'warningCount', width: 200, title: '待过期数量', sort: true}, - {field: 'texture', width: 200, title: '材质',}, + {field: 'warningCount', width: 200, title: '待过期数量', sort: true, hide: true}, + {field: 'texture', width: 200, title: '材质', hide: true}, {field: 'iremark', width: 200, title: '备注',}, {title: '操作', minWidth: 250, toolbar: '#currentTableBar', align: "center"} ] @@ -283,10 +283,6 @@ } $.each(res['data'], function (i, j) { let jElement = j['warningCount']; - let placeCode = j['placeCode'].split(" "); - let placeKingdeeCode = j['placeKingdeeCode'].split(" "); - let depositoryId = j['depositoryId']; - let mid = j['id']; if (jElement !== null && jElement !== undefined) { let flag = (Number(jElement) !== 0); if (flag) { @@ -294,17 +290,6 @@ } } - // 所处库位 - var placeCodeItem = $("[lay-id='currentTableId'] tr:eq(" + (i + 1) + ")").children()[10]; - //计量单位 - // 用于库位的添加 - var aItem = placeCodeItem.childNodes[0]; - // 用于计量单位的添加 - for (let k = 0; k < placeKingdeeCode.length; k++) { - if (placeKingdeeCode[k] !== "") { - $(aItem).append('') - } - } }); } @@ -364,7 +349,7 @@ } reqForPublic = req; //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/findInventory', page: { curr: 1 @@ -404,12 +389,12 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/findInventory', page: { curr: 1 }, - where:reqForPublic + where: reqForPublic }, 'data'); }); } else { @@ -418,12 +403,12 @@ time: 200, }, function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/findInventory', page: { curr: 1 }, - where:reqForPublic + where: reqForPublic }, 'data'); }) } @@ -454,7 +439,7 @@ table.on('tool(currentTableFilter)', function (obj) { let data = obj.data; - if (obj.event === 'changeUnit') { + if (obj.event === 'changeUnit') { let showQuantity = data.showQuantity; let btn = $("#btn_" + data.id); let clickNum = Number(btn.attr("click_num")); @@ -494,7 +479,7 @@ // 事件 util.on('lay-on', { - 'applicationIn': function(obj){ + 'applicationIn': function (obj) { let mid = $(obj).attr('mid'); let depositoryId = $(obj).attr('depository'); layer.open({ @@ -503,13 +488,13 @@ anim: 'slideLeft', // 从右往左 area: ['40%', '100%'], shade: 0.1, - title:"入库申请", + title: "入库申请", shadeClose: true, id: 'ID-demo-layer-direction-r', - content: '/application_in_back?mid=' +mid + "&depositoryId=" + depositoryId + content: '/application_in_back?mid=' + mid + "&depositoryId=" + depositoryId }); }, - 'applicationOut': function(obj){ + 'applicationOut': function (obj) { let code = $(obj).attr('code'); let depositoryId = $(obj).attr('depository'); layer.open({ @@ -518,10 +503,10 @@ anim: 'slideLeft', // 从右往左 area: ['40%', '100%'], shade: 0.1, - title:"出库申请", + title: "出库申请", shadeClose: true, id: 'ID-demo-layer-direction-r', - content: '/application_out_back?code=' + code+ "&depositoryId=" + depositoryId + content: '/application_out_back?code=' + code + "&depositoryId=" + depositoryId }); }, @@ -553,12 +538,12 @@ }, end: function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/findInventory', page: { curr: 1 } - , where:reqForPublic + , where: reqForPublic }, 'data'); } }); @@ -690,12 +675,12 @@ layer.close(indexForMsg); layer.close(loading2); closeShowDataMessage(); - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/findInventory', page: { curr: 1 }, - where:reqForPublic + where: reqForPublic }, 'data'); }) }, @@ -766,12 +751,12 @@ content: '/InventoryView?id=' + obj.id, end: function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/findInventory', page: { curr: 1 }, - where:reqForPublic + where: reqForPublic }, 'data'); } }); diff --git a/target/classes/templates/pages/group/application_multi.html b/target/classes/templates/pages/group/application_multi.html index 132104eb..40743b20 100644 --- a/target/classes/templates/pages/group/application_multi.html +++ b/target/classes/templates/pages/group/application_multi.html @@ -155,7 +155,7 @@ }, //1秒关闭(如果不配置,默认是3秒) function () { //do something - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/applicant_multi_create', page: { curr: 1 @@ -200,7 +200,7 @@ }, //1秒关闭(如果不配置,默认是3秒) function () { //do something - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/applicant_multi_create', page: { curr: 1 @@ -243,7 +243,7 @@ }, //1秒关闭(如果不配置,默认是3秒) function () { //do something - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/applicant_multi_create', page: { curr: 1 diff --git a/target/classes/templates/pages/group/group-add.html b/target/classes/templates/pages/group/group-add.html index c4153696..6a6b9011 100644 --- a/target/classes/templates/pages/group/group-add.html +++ b/target/classes/templates/pages/group/group-add.html @@ -196,7 +196,7 @@ }, //1秒关闭(如果不配置,默认是3秒) function () { //do something - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/material', page: { curr: 1 @@ -226,7 +226,7 @@ }, //1秒关闭(如果不配置,默认是3秒) function () { //do something - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/material', page: { curr: 1 @@ -265,7 +265,7 @@ } //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/material', page: { curr: 1 diff --git a/target/classes/templates/pages/group/group-out.html b/target/classes/templates/pages/group/group-out.html index 8cd74cf5..9c21299f 100644 --- a/target/classes/templates/pages/group/group-out.html +++ b/target/classes/templates/pages/group/group-out.html @@ -196,7 +196,7 @@ } //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findAllGroup', page: { curr: 1 @@ -229,7 +229,7 @@ } else { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findAllGroup', page: { curr: 1 @@ -259,7 +259,7 @@ area: ['100%', '100%'], content: '/group_edit?id='+data.id, end:function () { - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findAllGroup', page: { curr: 1 @@ -292,7 +292,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findAllGroup', page: { curr: 1 @@ -325,7 +325,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findAllGroup', page: { curr: 1 @@ -387,7 +387,7 @@ fixed: false, content: '/materialForGroup?mid='+mid+'&gid='+gid, end:function () { - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findAllGroup', page: { curr: 1 @@ -421,7 +421,7 @@ if (data.status >= 300) { layer.msg(data.statusInfo.message);//失败的表情 } else { - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findAllGroup', page: { curr: 1 @@ -451,7 +451,7 @@ fixed: false, content: '/group_add', end:function () { - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findAllGroup', page: { curr: 1 @@ -488,7 +488,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findAllGroup', page: { curr: 1 @@ -527,7 +527,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findAllGroup', page: { curr: 1 @@ -540,7 +540,7 @@ time: 200, }, function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findAllGroup', page: { curr: 1 diff --git a/target/classes/templates/pages/group/group_edit.html b/target/classes/templates/pages/group/group_edit.html index 6e13f8e7..cca6cf30 100644 --- a/target/classes/templates/pages/group/group_edit.html +++ b/target/classes/templates/pages/group/group_edit.html @@ -179,7 +179,7 @@ fixed: false, content: '/materialForGroup?mid=' + data.mid + '&gid=' + id, end: function () { - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findGroupInfo', page: { curr: 1 @@ -211,7 +211,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findGroupInfo', page: { curr: 1 @@ -244,7 +244,7 @@ fixed: false, content: '/group_add?gid=' + id, end: function () { - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findGroupInfo', page: { curr: 1 @@ -282,7 +282,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/group/findGroupInfo', page: { curr: 1 diff --git a/target/classes/templates/pages/material/material-out.html b/target/classes/templates/pages/material/material-out.html index 2f28090b..ea4ee6ec 100644 --- a/target/classes/templates/pages/material/material-out.html +++ b/target/classes/templates/pages/material/material-out.html @@ -249,7 +249,7 @@ flagForRelod = false; let col = {field: 'price', width: 150, title: '物料单价'}; cols.splice(6, 0, col); - table.reload('currentTableId', {cols: [cols]}); + table.reloadData('currentTableId', {cols: [cols]}); } } @@ -386,7 +386,7 @@ layer.close(indexForMsg); layer.close(loading2); closeShowDataMessage(); - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/material', page: { curr: 1 @@ -444,7 +444,7 @@ layer.close(indexForMsg); layer.close(loading2); closeShowDataMessage(); - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/material', page: { curr: 1 @@ -508,7 +508,7 @@ } //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/material', page: { curr: 1 @@ -565,7 +565,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/material', page: { curr: 1 @@ -647,7 +647,7 @@ content: '/material_view?id=' + data.id, end: function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/material', page: { curr: 1 @@ -718,7 +718,7 @@ }) }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 @@ -778,7 +778,7 @@ content: '/material_view?id=' + obj.id, end: function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/material', page: { curr: 1 diff --git a/target/classes/templates/pages/material/material-out_mobile.html b/target/classes/templates/pages/material/material-out_mobile.html index 7400d2a0..0616ac64 100644 --- a/target/classes/templates/pages/material/material-out_mobile.html +++ b/target/classes/templates/pages/material/material-out_mobile.html @@ -260,7 +260,7 @@ content: '/material_view?id=' + obj, end: function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/material', page: { curr: 1 diff --git a/target/classes/templates/pages/materialBarCode/materialBarCode_out.html b/target/classes/templates/pages/materialBarCode/materialBarCode_out.html index 95271161..a4d97e5d 100644 --- a/target/classes/templates/pages/materialBarCode/materialBarCode_out.html +++ b/target/classes/templates/pages/materialBarCode/materialBarCode_out.html @@ -123,7 +123,7 @@ dataType: "json", contentType: "application/json;charset=utf-8", success: function (d) { - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/findMaterialBarCode', page: { curr: 1 @@ -187,7 +187,7 @@ strings = strings.filter(item => item && item.trim()); barCode = strings; notice(strings); - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/findMaterialBarCode', page: { curr: 1 @@ -229,7 +229,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/findMaterialBarCode', page: { curr: 1 diff --git a/target/classes/templates/pages/materialtype/materialTypeByParentId.html b/target/classes/templates/pages/materialtype/materialTypeByParentId.html index f7fc8acb..e54eef9e 100644 --- a/target/classes/templates/pages/materialtype/materialTypeByParentId.html +++ b/target/classes/templates/pages/materialtype/materialTypeByParentId.html @@ -138,7 +138,7 @@ } req.parentId = parentId; //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -195,7 +195,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -306,7 +306,7 @@ icon: 6,//成功的表情 time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -318,7 +318,7 @@ } }) }, function () { - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -347,7 +347,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行表格重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -383,7 +383,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行表格重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 diff --git a/target/classes/templates/pages/materialtype/materialType_view.html b/target/classes/templates/pages/materialtype/materialType_view.html index f253e7b9..a8dc9e70 100644 --- a/target/classes/templates/pages/materialtype/materialType_view.html +++ b/target/classes/templates/pages/materialtype/materialType_view.html @@ -182,7 +182,7 @@ } req.parentId = parentId; //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -240,7 +240,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -375,7 +375,7 @@ layer.close(indexForMsg); layer.close(loading2); closeShowDataMessage(); - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -456,7 +456,7 @@ content: '/materialType_detail?id=' + data.oldId, end: function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -486,7 +486,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -553,7 +553,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -590,7 +590,7 @@ }) }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -647,7 +647,7 @@ icon: 6,//成功的表情 time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -659,7 +659,7 @@ } }) }, function () { - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -688,7 +688,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行表格重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 @@ -725,7 +725,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行表格重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/materialType/materialTypeRecord', page: { curr: 1 diff --git a/target/classes/templates/pages/notice/notice-out.html b/target/classes/templates/pages/notice/notice-out.html index 2fd32fff..b37f42b0 100644 --- a/target/classes/templates/pages/notice/notice-out.html +++ b/target/classes/templates/pages/notice/notice-out.html @@ -164,7 +164,7 @@ req.endDate = data.endDate; } //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/notice/findAllNotices', page: { curr: 1 @@ -221,7 +221,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/notice/findAllNotices', page: { curr: 1 @@ -259,7 +259,7 @@ content: '/noticeView?id=' + data.id, end: function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/notice/findAllNotices', page: { curr: 1 @@ -338,7 +338,7 @@ }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/notice/findAllNotices', page: { curr: 1 @@ -377,7 +377,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行表格重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/notice/findAllNotices', page: { curr: 1 @@ -411,7 +411,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行表格重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/notice/findAllNotices', page: { curr: 1 diff --git a/target/classes/templates/pages/notice/notice-out_user.html b/target/classes/templates/pages/notice/notice-out_user.html index c22e8045..0c0e49c1 100644 --- a/target/classes/templates/pages/notice/notice-out_user.html +++ b/target/classes/templates/pages/notice/notice-out_user.html @@ -160,7 +160,7 @@ req.endDate = data.endDate; } //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/notice/findAllNotices', page: { curr: 1 @@ -191,7 +191,7 @@ content: '/noticeView?id=' + data.id, end: function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/notice/findAllNotices', page: { curr: 1 @@ -265,7 +265,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行表格重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/notice/findAllNotices', page: { curr: 1 @@ -299,7 +299,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行表格重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/notice/findAllNotices', page: { curr: 1 diff --git a/target/classes/templates/pages/post/post-out.html b/target/classes/templates/pages/post/post-out.html index b412d13a..761ce32d 100644 --- a/target/classes/templates/pages/post/post-out.html +++ b/target/classes/templates/pages/post/post-out.html @@ -148,7 +148,7 @@ req.organization = organization; //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/company/allPostByOrganization', page: { curr: 1 diff --git a/target/classes/templates/pages/post/postRole.html b/target/classes/templates/pages/post/postRole.html index f435ee0f..d34f7133 100644 --- a/target/classes/templates/pages/post/postRole.html +++ b/target/classes/templates/pages/post/postRole.html @@ -187,7 +187,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('demo', { + table.reloadData('demo', { url: '/company/findPostRole?postId=' + postId+'&classes='+classes, page: { curr: 1 diff --git a/target/classes/templates/pages/split/split-out.html b/target/classes/templates/pages/split/split-out.html index 72ab1bf6..ccf5c241 100644 --- a/target/classes/templates/pages/split/split-out.html +++ b/target/classes/templates/pages/split/split-out.html @@ -177,7 +177,7 @@ } //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/split/split_out', page: { curr: 1 @@ -232,7 +232,7 @@ icon:5, time:1000 },function () { - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/split/split_out', page: { curr: 1 @@ -251,7 +251,7 @@ icon:0, time:1000 },function () { - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/split/split_out', page: { curr: 1 @@ -266,7 +266,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/split/split_out', page: { curr: 1 @@ -305,7 +305,7 @@ content: '/split_edit?id=' + data.id, end: function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/split/split_out', page: { curr: 1 @@ -385,7 +385,7 @@ }) }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/split/split_out', page: { curr: 1 @@ -492,7 +492,7 @@ }) }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/split/split_out', page: { curr: 1 @@ -524,7 +524,7 @@ content: '/split_edit?id=' + obj.id, end: function () { //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/split/split_out', page: { curr: 1 diff --git a/target/classes/templates/pages/stockTaking/stockTakingForTable.html b/target/classes/templates/pages/stockTaking/stockTakingForTable.html index 339ba089..ace149de 100644 --- a/target/classes/templates/pages/stockTaking/stockTakingForTable.html +++ b/target/classes/templates/pages/stockTaking/stockTakingForTable.html @@ -282,7 +282,7 @@ let req = {}; req.depositoryId = depositoryId; req.placeId = placeId; - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/material/findInventoryForStockTaking', page: { curr: 1 diff --git a/target/classes/templates/pages/user/table-user.html b/target/classes/templates/pages/user/table-user.html index 22404634..4fdbc31d 100644 --- a/target/classes/templates/pages/user/table-user.html +++ b/target/classes/templates/pages/user/table-user.html @@ -188,7 +188,7 @@ req.number = data.number; } //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/sys/findUsers', page: { curr: 1 diff --git a/target/classes/templates/pages/user/userRole.html b/target/classes/templates/pages/user/userRole.html index ad1defe0..23bd4dcc 100644 --- a/target/classes/templates/pages/user/userRole.html +++ b/target/classes/templates/pages/user/userRole.html @@ -186,7 +186,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('demo', { + table.reloadData('demo', { url: '/findUserRole?userId=' + userId+'&classes=1', page: { curr: 1 diff --git a/target/classes/templates/pages/user/userRoleForIn.html b/target/classes/templates/pages/user/userRoleForIn.html index 31878923..ba6c80f5 100644 --- a/target/classes/templates/pages/user/userRoleForIn.html +++ b/target/classes/templates/pages/user/userRoleForIn.html @@ -182,7 +182,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('demo', { + table.reloadData('demo', { url: '/findUserInRole?userId=' + userId+'&classes=1', page: { curr: 1 diff --git a/target/classes/templates/pages/warehouse/depository-out.html b/target/classes/templates/pages/warehouse/depository-out.html index 1aa17b6d..3a0e5c69 100644 --- a/target/classes/templates/pages/warehouse/depository-out.html +++ b/target/classes/templates/pages/warehouse/depository-out.html @@ -173,7 +173,7 @@ req.parentId = parentId; //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 @@ -222,7 +222,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 @@ -252,7 +252,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 @@ -312,7 +312,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 @@ -362,7 +362,7 @@ req = {}; req.parentId = parentId; //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 @@ -393,7 +393,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 @@ -430,7 +430,7 @@ }) }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 @@ -503,7 +503,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 @@ -517,7 +517,7 @@ }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 @@ -551,7 +551,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 @@ -565,7 +565,7 @@ }, function () { // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 @@ -600,7 +600,7 @@ }, function () { // window.location='/findWareHouseByParentId?parentId=0'+parentId // 执行重加载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 @@ -631,7 +631,7 @@ let req = {}; req.parentId = parentId; //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/repository/warehouseRecord', page: { curr: 1 diff --git a/target/classes/templates/pages/warehouse/warehouseByParentId.html b/target/classes/templates/pages/warehouse/warehouseByParentId.html index e4c3ed91..3092f7e8 100644 --- a/target/classes/templates/pages/warehouse/warehouseByParentId.html +++ b/target/classes/templates/pages/warehouse/warehouseByParentId.html @@ -181,7 +181,7 @@ } req.did = parentId; //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/place/findPlace', page: { curr: 1 @@ -237,7 +237,7 @@ time: 500 //1秒关闭(如果不配置,默认是3秒) }); //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/place/findPlace', page: { curr: 1 @@ -288,7 +288,7 @@ req = {}; req.did = parentId; //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/place/findPlace', page: { curr: 1 @@ -402,7 +402,7 @@ let req = {}; req.did = parentId; //执行搜索重载 - table.reload('currentTableId', { + table.reloadData('currentTableId', { url: '/place/findPlace', page: { curr: 1