|
@@ -164,7 +164,7 @@ public class WbsFormElementController extends BladeController {
|
|
|
*/
|
|
|
@ApiOperationSupport(order = 9)
|
|
|
@ApiOperation(value = "查询当前节点下所有表单", notes = "传入该节点id")
|
|
|
- @RequestMapping(value = "/findWbsTreeTableSameLevel", method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/getWbsTreeTableSameLevel", method = RequestMethod.GET)
|
|
|
public R<List<WbsFormElementDTO2>> findWbsTreeTableSameLevel(@RequestParam("id") String id) {
|
|
|
List<WbsFormElementDTO2> trees = wbsFormElementService.findWbsTreeTableSameLevel(id);
|
|
|
return R.data(trees);
|
|
@@ -175,7 +175,7 @@ public class WbsFormElementController extends BladeController {
|
|
|
*/
|
|
|
@ApiOperationSupport(order = 10)
|
|
|
@ApiOperation(value = "wbs树节点手动排序", notes = "WbsFormElementDTO2集合,id=表单id")
|
|
|
- @RequestMapping(value = "/wbsTreeTableSort", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/submitWbsTreeTableSort", method = RequestMethod.POST)
|
|
|
public R wbsTreeTableSort(@RequestBody List<WbsFormElementDTO2> wbsTreeDTO) {
|
|
|
boolean b = wbsFormElementService.wbsTreeTableSort(wbsTreeDTO);
|
|
|
return R.status(b);
|
|
@@ -197,7 +197,7 @@ public class WbsFormElementController extends BladeController {
|
|
|
*/
|
|
|
@ApiOperationSupport(order = 12)
|
|
|
@ApiOperation(value = "元素识别取消关联公有wbs表", notes = "传入表id、清表id")
|
|
|
- @RequestMapping(value = "/cancelRelation", method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/cancel-relation", method = RequestMethod.GET)
|
|
|
public R cancelRelation(String id,String excelTabId) {
|
|
|
if (wbsFormElementService.cancelRelation(id,excelTabId)) {
|
|
|
return R.success("取消成功");
|
|
@@ -210,7 +210,7 @@ public class WbsFormElementController extends BladeController {
|
|
|
*/
|
|
|
@ApiOperationSupport(order = 13)
|
|
|
@ApiOperation(value = "元素识别关联公共WBS模板-查询节点下已关联的所有表单", notes = "传入节点id、清表id")
|
|
|
- @RequestMapping(value = "/searchNodeTables", method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/getNodeTables", method = RequestMethod.GET)
|
|
|
public R<List<WbsNodeTableVO>> searchNodeTables(String nodeId, String excelTabId) {
|
|
|
List<WbsNodeTableVO> list = wbsFormElementService.searchNodeTables(nodeId,excelTabId);
|
|
|
if (list.size() > 0) {
|
|
@@ -224,7 +224,7 @@ public class WbsFormElementController extends BladeController {
|
|
|
*/
|
|
|
@ApiOperationSupport(order = 14)
|
|
|
@ApiOperation(value = "元素识别关联公共WBS模板-关联Wbs元素表", notes = "传入FormElementDTO2")
|
|
|
- @RequestMapping(value = "/saveRelation", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/save-relation", method = RequestMethod.POST)
|
|
|
public R relationWbsTab(@RequestBody FormElementDTO2 formElementDTO) {
|
|
|
boolean b = wbsFormElementService.saveRelation(formElementDTO);
|
|
|
if (b) {
|