Package com.skymobi.qc.admin.framework.util

Examples of com.skymobi.qc.admin.framework.util.Main


    Project project = projectBO.getProjectByTag(tag);
    model.addAttribute("project", projectBO.getProjectByTag(tag));
    model.addAttribute("projectList", projectBO.getProjectList(project));
    model.addAttribute("customFieldList", fieldsBO.customFieldList(project.getId()));
   
    Main main = getMain(model);
    projectBO.setMainMenu(main, tag);
    main.setAction("/project/"+tag);
   
    return "/project/summary";
  }
View Full Code Here


    model.addAttribute("projectList", projectBO.getProjectList(project));
    model.addAttribute("customFieldList", fieldsBO.customFieldList(project.getId()));
    model.addAttribute("message", getParaMap(request).get("message"));
    model.addAttribute("settingsType", "");
   
    Main main = getMain(model);
    projectBO.setMainMenu(main, tag);
    main.setAction("/project/"+tag+"/settings");
   
    return "/project/settings";
  }
View Full Code Here

    model.addAttribute("projectList", projectBO.getProjectList(project));
    model.addAttribute("customFieldList", fieldsBO.customFieldList(project.getId()));
    model.addAttribute("message", getParaMap(request).get("message"));
    model.addAttribute("settingsType", type);
   
    Main main = getMain(model);
    projectBO.setMainMenu(main, tag);
    main.setAction("/project/"+tag+"/settings");
   
    return "/project/settings";
  }
View Full Code Here

  @RequestMapping(value = "/{tag}/customfield/{id}")
  public String customfield(@PathVariable String tag,@PathVariable int id,Model model) {
    model.addAttribute("project", projectBO.getProjectByTag(tag));
    model.addAttribute("operate", "edit");
    model.addAttribute("field", fieldsBO.getCustomFields(id));
    Main main = getMain(model);
    projectBO.setMainMenu(main, tag);
    main.setAction("/project/"+tag+"/settings");

    return "/admin/custom_field_new";
  }
View Full Code Here

 
  @RequestMapping(value = "/{tag}/customfield/new")
  public String customfieldNew(@PathVariable String tag,Model model) {
    model.addAttribute("project", projectBO.getProjectByTag(tag));
   
    Main main = getMain(model);
    projectBO.setMainMenu(main, tag);
    main.setAction("/project/"+tag+"/settings");
   
    model.addAttribute("field", new CustomFields());
   
    return "/admin/custom_field_new";
  }
View Full Code Here

    page.setPageSize(30);
    page.setTotalRow(itemList.size());
    model.addAttribute("page", page);
    model.addAttribute("pageJson", JSONObject.fromObject(page).toString());
   
    Main main = getMain(model);
    projectBO.setMainMenu(main, tag);
    main.setAction("/project/"+tag+"/items");
   
    return "/project/items";
     
  }
View Full Code Here

  @RequestMapping(value = "/{tag}/items/import")
  public String itemsImport(@PathVariable String tag,Model model) {
    Project project = projectBO.getProjectByTag(tag);
    model.addAttribute("project", project);
   
    Main main = getMain(model);
    projectBO.setMainMenu(main, tag);
    main.setAction("/project/"+tag+"/item/new");
   
    return "/project/items_import";
     
  }
View Full Code Here

    model.addAttribute("item", projectBO.getItem(project,id));
   
    //所有的字段名
    model.addAttribute("customFieldList", fieldsBO.customFieldList(project.getId()));
    model.addAttribute("layout", fieldsBO.getLayout(project.getId()));
    Main main = getMain(model);
    projectBO.setMainMenu(main, tag);
    main.setAction("/project/"+tag+"/items");
   
    return "/project/items_new";
     
  }
View Full Code Here

    model.addAttribute("item", new HashMap<String,Object>());
   
    //所有的字段名
    model.addAttribute("customFieldList", fieldsBO.customFieldList(project.getId()));
    model.addAttribute("layout", fieldsBO.getLayout(project.getId()));
    Main main = getMain(model);
    projectBO.setMainMenu(main, tag);
    main.setAction("/project/"+tag+"/items/new");
   
    return "/project/items_new";
     
  }
View Full Code Here

    //所有的字段名
    model.addAttribute("customFieldList", fieldsBO.customFieldList(project.getId()));
   
    model.addAttribute("layout", fieldsBO.getLayout(project.getId()));
   
    Main main = getMain(model);
    projectBO.setMainMenu(main, tag);
    main.setAction("/project/"+tag+"/settings");
   
    return "/project/items_new_layout";
  }
View Full Code Here

TOP

Related Classes of com.skymobi.qc.admin.framework.util.Main

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.