projectService-update.jsp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <title>项目外包服务</title>
  7. <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  8. <script type="text/javascript">
  9. $(document).ready(function(){
  10. // 查看的时候隐藏选择按钮及清除按钮
  11. if(location.href.indexOf("load=detail")!=-1){
  12. $("#projectSearch").remove();
  13. $("#projectRedo").remove();
  14. }
  15. $(".tabs-wrap").css('width','100%');
  16. });
  17. </script>
  18. </head>
  19. <body>
  20. <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="projectServiceController.do?doUpdate" >
  21. <input id="id" name="id" type="hidden" value="${projectServicePage.id }"/>
  22. <table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
  23. <tr>
  24. <td align="right">
  25. <label class="Validform_label">
  26. <span color="red" class="requiredIcon">*</span>项目:
  27. </label>
  28. </td>
  29. <td class="value">
  30. <input readonly="true" type="text" id="projectName" name="projectName" datatype="*" value='${projectServicePage.projectName}' style="width: 157px" placeholder="请选择项目名称" onclick="openDepartmentSelect()">
  31. <input id="projectid" name="projectid" type="hidden" value='${projectServicePage.projectid}'>
  32. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="projectSearch" onclick="openDepartmentSelect()">选择</a>
  33. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="projectRedo" onclick="callbackClean()">清空</a>
  34. <label class="Validform_label" style="display: none;">项目</label>
  35. </td>
  36. </tr>
  37. <tr>
  38. <td align="right">
  39. <label class="Validform_label">
  40. <span color="red" class="requiredIcon">*</span>服务类型:
  41. </label>
  42. </td>
  43. <td class="value">
  44. <t:dictSelect field="servicetypedetail" type="list" typeGroupCode="servicetypedetail" datatype="*" defaultVal="${projectServicePage.servicetypedetail}" hasLabel="false" title="服务类型"></t:dictSelect>
  45. </td>
  46. </tr>
  47. <tr>
  48. <td align="right">
  49. <label class="Validform_label">
  50. 服务编码:
  51. </label>
  52. </td>
  53. <td class="value">
  54. <input id="code" name="code" type="text" style="width: 150px" class="inputxt" ignore="ignore" value='${projectServicePage.code}'/>
  55. <span class="Validform_checktip"></span>
  56. <label class="Validform_label" style="display: none;">服务编码</label>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td align="right">
  61. <label class="Validform_label">
  62. <span color="red" class="requiredIcon">*</span>服务名称:
  63. </label>
  64. </td>
  65. <td class="value">
  66. <input id="name" name="name" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" value='${projectServicePage.name}'/>
  67. <span class="Validform_checktip"></span>
  68. <label class="Validform_label" style="display: none;">服务名称</label>
  69. </td>
  70. </tr>
  71. </table>
  72. </t:formvalid>
  73. </body>
  74. <script src = "webpage/cn/com/lzt/projectservice/projectService.js"></script>