wagestrategy-zone-add.jsp 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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 src="plug-in/layer/layer.js"></script>
  9. <script>
  10. function btn_ok(){
  11. $("#btnsub").click();
  12. }
  13. function callback(data){
  14. if(data.success){
  15. layer.alert(data.msg, function(index){
  16. window.location.href="wagestrategyController.do?list"
  17. layer.close(index);
  18. });
  19. }
  20. else{
  21. layer.alert(data.msg);
  22. }
  23. }
  24. </script>
  25. <script type="text/javascript">
  26. //编写自定义JS代码
  27. </script>
  28. </head>
  29. <body>
  30. <t:formvalid formid="formobj" dialog="false" usePlugin="password" layout="table" action="wagestrategyController.do?doAdd" tiptype="1" callback="callback">
  31. <input id="id" name="id" type="hidden" value="${wagestrategyPage.id }"/>
  32. <table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
  33. <tr>
  34. <td align="right">
  35. <label class="Validform_label">
  36. 区域:
  37. </label>
  38. </td>
  39. <td class="value">
  40. <t:dictSelect field="zone" type="list" dictTable="t_b_zone" dictField="id" dictText="name" hasLabel="false" title="区域" ></t:dictSelect>
  41. <span class="Validform_checktip"></span>
  42. <label class="Validform_label" style="display: none;">区域</label>
  43. </td>
  44. </tr>
  45. <tr>
  46. <td align="right" style="width: 60px;">
  47. <label class="Validform_label">
  48. <span color="red" class="requiredIcon">*</span>职务名称:
  49. </label>
  50. </td>
  51. <td class="value" style="min-width: 300px">
  52. <%--update-start--Author:jg_renjie Date:20160320 for:#942 【组件封装】所属部门弹出模式,目前是列表,得改造成树方式--%>
  53. <input id="dutiesName" name="dutiesName" type="text" readonly="readonly" class="inputxt" datatype="*" value="${dutiesName}" placeholder="请选择职务名称" onclick="openDepartmentSelect() " ignore="ignore">
  54. <input id="dutiesId" name="dutiesId" type="hidden" value="${dutiesId}">
  55. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="departSearch" onclick="openDepartmentSelect()">选择</a>
  56. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="departRedo" onclick="callbackClean()">清空</a>
  57. <%--update-end--Author:jg_renjie Date:20160320 for:#942 【组件封装】所属部门弹出模式,目前是列表,得改造成树方式--%>
  58. <span class="Validform_checktip"></span>
  59. <label class="Validform_label" style="display: none;">职务名称</label>
  60. </td>
  61. </tr>
  62. <tr>
  63. <td align="right">
  64. <label class="Validform_label">
  65. 区域-基础职务津贴:
  66. </label>
  67. </td>
  68. <td class="value">
  69. <input id="subsidy" name="subsidy" type="text" style="width: 150px" class="inputxt" datatype="/^(-?\d+)(\.\d+)?$/" ignore="ignore" />
  70. <span class="Validform_checktip"></span>
  71. <label class="Validform_label" style="display: none;">区域-基础职务津贴</label>
  72. </td>
  73. </tr>
  74. <tr>
  75. <td height="50px" align="center" colspan="2">
  76. <a style="margin-left:80px" href="#" class="easyui-linkbutton l-btn" plain="true" iconcls="icon-le-back" onclick="history.go(-1)">返回</a>
  77. <div style="display:none"><input type="submit" id ="btnsub" value=""/></div>
  78. <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-le-ok" onclick="btn_ok()">提交</a>
  79. </td>
  80. </tr>
  81. </table>
  82. </t:formvalid>
  83. </body>
  84. <script src = "webpage/cn/com/lzt/wagestrategy/wagestrategy.js"></script>