|
@@ -64,8 +64,8 @@ public class MaterialModuleController extends BaseController {
|
|
@RequestMapping(value = "nonPowerStart")
|
|
@RequestMapping(value = "nonPowerStart")
|
|
public String nonPowerStart(MaterialModule materialModule, Model model) {
|
|
public String nonPowerStart(MaterialModule materialModule, Model model) {
|
|
MaterialModule materialShow = materialModuleService.get(materialModule.getAct().getProcInsId());
|
|
MaterialModule materialShow = materialModuleService.get(materialModule.getAct().getProcInsId());
|
|
- model.addAttribute("materialModule", materialModule);
|
|
|
|
model.addAttribute("materialShow", materialShow);
|
|
model.addAttribute("materialShow", materialShow);
|
|
|
|
+ model.addAttribute("materialModule", materialModule);
|
|
return "modules/sg/materialmodule/activiti/nonPowerStart";
|
|
return "modules/sg/materialmodule/activiti/nonPowerStart";
|
|
}
|
|
}
|
|
|
|
|
|
@@ -74,6 +74,8 @@ public class MaterialModuleController extends BaseController {
|
|
*/
|
|
*/
|
|
@RequestMapping(value = "nonPowerMiddle")
|
|
@RequestMapping(value = "nonPowerMiddle")
|
|
public String nonPowerMiddle(MaterialModule materialModule, Model model) {
|
|
public String nonPowerMiddle(MaterialModule materialModule, Model model) {
|
|
|
|
+ MaterialModule materialShow = materialModuleService.get(materialModule.getAct().getProcInsId());
|
|
|
|
+ model.addAttribute("materialShow", materialShow);
|
|
model.addAttribute("materialModule", materialModule);
|
|
model.addAttribute("materialModule", materialModule);
|
|
return "modules/sg/materialmodule/activiti/nonPowerMiddle";
|
|
return "modules/sg/materialmodule/activiti/nonPowerMiddle";
|
|
}
|
|
}
|
|
@@ -83,6 +85,8 @@ public class MaterialModuleController extends BaseController {
|
|
*/
|
|
*/
|
|
@RequestMapping(value = "nonPowerEnd")
|
|
@RequestMapping(value = "nonPowerEnd")
|
|
public String nonPowerEnd(MaterialModule materialModule, Model model) {
|
|
public String nonPowerEnd(MaterialModule materialModule, Model model) {
|
|
|
|
+ MaterialModule materialShow = materialModuleService.get(materialModule.getAct().getProcInsId());
|
|
|
|
+ model.addAttribute("materialShow", materialShow);
|
|
model.addAttribute("materialModule", materialModule);
|
|
model.addAttribute("materialModule", materialModule);
|
|
return "modules/sg/materialmodule/activiti/nonPowerEnd";
|
|
return "modules/sg/materialmodule/activiti/nonPowerEnd";
|
|
}
|
|
}
|
|
@@ -92,6 +96,8 @@ public class MaterialModuleController extends BaseController {
|
|
*/
|
|
*/
|
|
@RequestMapping(value = "nonPowerWhether")
|
|
@RequestMapping(value = "nonPowerWhether")
|
|
public String nonPowerWhether(MaterialModule materialModule, Model model) {
|
|
public String nonPowerWhether(MaterialModule materialModule, Model model) {
|
|
|
|
+ MaterialModule materialShow = materialModuleService.get(materialModule.getAct().getProcInsId());
|
|
|
|
+ model.addAttribute("materialShow", materialShow);
|
|
model.addAttribute("materialModule", materialModule);
|
|
model.addAttribute("materialModule", materialModule);
|
|
return "modules/sg/materialmodule/activiti/nonPowerWhether";
|
|
return "modules/sg/materialmodule/activiti/nonPowerWhether";
|
|
}
|
|
}
|
|
@@ -101,6 +107,8 @@ public class MaterialModuleController extends BaseController {
|
|
*/
|
|
*/
|
|
@RequestMapping(value = "PowerStart")
|
|
@RequestMapping(value = "PowerStart")
|
|
public String PowerStart(MaterialModule materialModule, Model model) {
|
|
public String PowerStart(MaterialModule materialModule, Model model) {
|
|
|
|
+ MaterialModule materialShow = materialModuleService.get(materialModule.getAct().getProcInsId());
|
|
|
|
+ model.addAttribute("materialShow", materialShow);
|
|
model.addAttribute("materialModule", materialModule);
|
|
model.addAttribute("materialModule", materialModule);
|
|
return "modules/sg/materialmodule/activiti/PowerStart";
|
|
return "modules/sg/materialmodule/activiti/PowerStart";
|
|
}
|
|
}
|
|
@@ -110,6 +118,8 @@ public class MaterialModuleController extends BaseController {
|
|
*/
|
|
*/
|
|
@RequestMapping(value = "PowerEnd")
|
|
@RequestMapping(value = "PowerEnd")
|
|
public String PowerEnd(MaterialModule materialModule, Model model) {
|
|
public String PowerEnd(MaterialModule materialModule, Model model) {
|
|
|
|
+ MaterialModule materialShow = materialModuleService.get(materialModule.getAct().getProcInsId());
|
|
|
|
+ model.addAttribute("materialShow", materialShow);
|
|
model.addAttribute("materialModule", materialModule);
|
|
model.addAttribute("materialModule", materialModule);
|
|
return "modules/sg/materialmodule/activiti/PowerEnd";
|
|
return "modules/sg/materialmodule/activiti/PowerEnd";
|
|
}
|
|
}
|
|
@@ -119,11 +129,25 @@ public class MaterialModuleController extends BaseController {
|
|
*/
|
|
*/
|
|
@RequestMapping(value = "PowerWhether")
|
|
@RequestMapping(value = "PowerWhether")
|
|
public String PowerWhether(MaterialModule materialModule, Model model) {
|
|
public String PowerWhether(MaterialModule materialModule, Model model) {
|
|
|
|
+ MaterialModule materialShow = materialModuleService.get(materialModule.getAct().getProcInsId());
|
|
|
|
+ model.addAttribute("materialShow", materialShow);
|
|
model.addAttribute("materialModule", materialModule);
|
|
model.addAttribute("materialModule", materialModule);
|
|
return "modules/sg/materialmodule/activiti/PowerWhether";
|
|
return "modules/sg/materialmodule/activiti/PowerWhether";
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * 施工单位项目经理判断项目是否包含涉电工作
|
|
|
|
+ */
|
|
|
|
+ @RequestMapping(value = "managerWhether")
|
|
|
|
+ public String managerWhether(MaterialModule materialModule, Model model) {
|
|
|
|
+ MaterialModule materialShow = materialModuleService.get(materialModule.getAct().getProcInsId());
|
|
|
|
+ model.addAttribute("materialShow", materialShow);
|
|
|
|
+ model.addAttribute("materialModule", materialModule);
|
|
|
|
+ return "modules/sg/materialmodule/activiti/managerWhether";
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ /**
|
|
* 施工流程发起
|
|
* 施工流程发起
|
|
*/
|
|
*/
|
|
@ResponseBody
|
|
@ResponseBody
|