userManage.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <table id="bd-dg" style="height:500px;" class="user-manage-table">
  2. </table>
  3. <div id="bd-toolbar" style="padding: 10px 5px;">
  4. 库名:<input class="easyui-combobox librarySearch" style="width:150px" name="libraryName" >&emsp;&emsp;
  5. 角色:<input class="easyui-textbox roleSearch easyui-validatebox" data-options="width:'140px',validType:'length[0,20]'" name="role-name">&emsp;
  6. 用户名:<input class="easyui-textbox nameSearch easyui-validatebox" data-options="width:'140px',validType:'length[0,20]'" name="bd-s-name">&emsp;
  7. <a href="#" class="easyui-linkbutton bd-add-s bd-search">查找</a>
  8. <a href="#" class="easyui-linkbutton bd-add-s clear-btn1" plain="true">清空</a>
  9. <a href="#" class="easyui-linkbutton bd-add-s bd-add-bt" plain="true" id="bd-user-add-btn" style="float: right;">新增用户</a>
  10. <a href="#" class="easyui-linkbutton bd-add-s bd-password-csh" plain="true" id="bd-user-password" style="float: right;margin-right: 10px!important;">密码初始化</a>
  11. </div>
  12. <div class="um-w user-manage-add" id="um-w" style="padding: 10px;">
  13. <form id="um-form">
  14. <div class="form-left">
  15. <span class="pf-pitem-li">
  16. <span class="pf-pitem-lit">用户名:</span>
  17. <span class="pf-pitem-lic">
  18. <input class="easyui-textbox easyui-validatebox" required="true" data-options="validType:'length[0,20]',width:'140px',height:'20px'" name="name" ></span>
  19. </span>
  20. <span class="pf-pitem-li">
  21. <span class="pf-pitem-lit">真实:</span>
  22. <span class="pf-pitem-lic"><input class="easyui-textbox easyui-validatebox" required="true" data-options="validType:'length[0,20]',width:'140px',height:'20px'" name="realname"></span>
  23. </span>
  24. <span class="pf-pitem-li">
  25. <span class="pf-pitem-lit">生日:</span>
  26. <span class="pf-pitem-lic"><input class="easyui-datebox" required="true" data-options="width:'140px',height:'20px'" name="birthday" editable="false"></span>
  27. </span>
  28. <span class="pf-pitem-li">
  29. <span class="pf-pitem-lit">联系电话:</span>
  30. <span class="pf-pitem-lic"><input class="easyui-numberbox easyui-validatebox" required="true" data-options="validType:'length[11,11]',width:'140px',height:'20px'" name="phone"></span>
  31. </span>
  32. <span class="pf-pitem-li">
  33. <span class="pf-pitem-lit">邮箱:</span>
  34. <span class="pf-pitem-lic"><input class="easyui-textbox easyui-validatebox" data-options="width:'140px',height:'20px'" name="email" validType="email" ></span>
  35. </span>
  36. <span class="pf-pitem-li">
  37. <span class="pf-pitem-lit">职位:</span>
  38. <span class="pf-pitem-lic"><input class="easyui-combobox zhiweiz" editable="false" required="true" data-options="width:'140px',height:'20px'" name="position"></span>
  39. </span>
  40. <span class="pf-pitem-li pwdspan" >
  41. <span class="pf-pitem-lit">密码:</span>
  42. <span class="pf-pitem-lic">
  43. <input type="password" class="easyui-textbox easyui-validatebox" required="true" data-options="width:'140px',height:'20px'" id="password" name="password" validType="length[6,10]" ></span>
  44. </span>
  45. <span class="pf-pitem-li pwdspan">
  46. <span class="pf-pitem-lit">确认密码:</span>
  47. <span class="pf-pitem-lic"><input type="password" class="easyui-textbox easyui-validatebox" required="true" data-options="width:'140px',height:'20px'" id="password2" name="password2" validType="equalTo['#password']" invalidMessage="两次密码不一致"></span>
  48. </span>
  49. <span class="pf-pitem-li">
  50. <span class="pf-pitem-lit">角色组:</span>
  51. <span class="pf-pitem-lic">
  52. <input class="easyui-combobox roleIds" editable="false" data-options="width:'140px',height:'20px',panelHeight:110" required="true" name="roleIds"></span>
  53. </span>
  54. <span class="pf-pitem-li fgs-control">
  55. <span class="pf-pitem-lit">库:</span>
  56. <span class="pf-pitem-lic">
  57. <!----<input id="yonghu-container" class="easyui-combobox grainId" editable="false" data-options="width:'140px',height:'20px'" required="true" name="grainId"></span>--->
  58. <input id="yonghu-container" class="easyui-combotree combotree-f combo-f textbox-f grainId" editable="false" data-options="width:'140px',height:'20px'" required="true" name="grainId"></span>
  59. </span>
  60. <br/>
  61. <span class="pf-pitem-li houseId-span fgs-controll">
  62. <span class="pf-pitem-lit">仓房:</span>
  63. <span class="pf-pitem-lic"><input id="cangfId" class="easyui-combobox houseId" editable="false" data-options="width:'140px',height:'20px'" name="houseId"></span>
  64. </span>
  65. <span class="pf-pitem-li">
  66. <span class="pf-pitem-lit">联系地址:</span>
  67. <span class="pf-pitem-lic"><input class="easyui-textbox easyui-validatebox" data-options="validType:'length[0,50]',width:'140px',height:'20px'" name="address"></span>
  68. </span><br/>
  69. <a href="javascript:;" class="easyui-linkbutton bd-add-s bd-win-y" id="bd-user-doadd-btn" plain="true" style="margin-top: 20px;">确定</a>
  70. </div>
  71. <div class="form-right">
  72. <div class="pic user_pic" id="userpic">
  73. </div>
  74. <div class="upload-btn">
  75. <input id="upload-file" class="upload upload-file" name="file" type="file" >
  76. <input name="avator" id="avator" type="hidden" />
  77. <span class="uploading-bar" id="uploading-bar" ></span>
  78. </div>
  79. <div class="upload-userinfo" id="upload-userinfo">
  80. </div>
  81. </div>
  82. </form>
  83. </div>
  84. <div class="um-w user-manage-edit" id="um-w-edit" style="padding: 10px;display: none;">
  85. <form id="um-form-edit">
  86. <div class="form-left">
  87. <input type="hidden" name="id">
  88. <input type="hidden" name="uuid">
  89. <span class="pf-pitem-li">
  90. <span class="pf-pitem-lit">用户名:</span>
  91. <span class="pf-pitem-lic">
  92. <input class="easyui-textbox username-disabled easyui-validatebox" data-options="disabled:true,width:'140px',height:'20px'" name="name" ></span>
  93. </span>
  94. <span class="pf-pitem-li">
  95. <span class="pf-pitem-lit">真实姓名:</span>
  96. <span class="pf-pitem-lic">
  97. <input class="easyui-textbox easyui-validatebox" required="true" data-options="validType:'length[0,20]',width:'140px',height:'20px'" name="realname"></span>
  98. </span>
  99. <span class="pf-pitem-li">
  100. <span class="pf-pitem-lit">生日:</span>
  101. <span class="pf-pitem-lic">
  102. <input class="easyui-datebox" required="true" data-options="width:'140px',height:'20px'" editable="false" name="birthday"></span>
  103. </span>
  104. <span class="pf-pitem-li">
  105. <span class="pf-pitem-lit">联系电话:</span>
  106. <span class="pf-pitem-lic">
  107. <input class="easyui-textbox easyui-validatebox" required="true" data-options="validType:'length[11,11]',width:'140px',height:'20px'" name="phone"></span>
  108. </span>
  109. <span class="pf-pitem-li">
  110. <span class="pf-pitem-lit">邮箱:</span>
  111. <span class="pf-pitem-lic">
  112. <input class="easyui-textbox easyui-validatebox" data-options="width:'140px',height:'20px'" name="email" validType="email" ></span>
  113. </span>
  114. <span class="pf-pitem-li">
  115. <span class="pf-pitem-lit">职位:</span>
  116. <span class="pf-pitem-lic">
  117. <input class="easyui-combobox zhiweiz" required="true " data-options="width:'140px',height:'20px'" name="position"></span>
  118. </span>
  119. <span class="pf-pitem-li">
  120. <span class="pf-pitem-lit">角色组:</span>
  121. <span class="pf-pitem-lic">
  122. <input class="easyui-combobox roleIds" data-options="width:'140px',height:'20px',panelHeight:110" required="true" editable="false" name="roleIds"></span>
  123. </span>
  124. <span class="pf-pitem-li fgs-control">
  125. <span class="pf-pitem-lit">库:</span>
  126. <span class="pf-pitem-lic">
  127. <!---<input class="easyui-combobox grainId" data-options="width:'140px',height:'20px'" name="grainId" editable="false"></span>--->
  128. <input id="yonghu-container1" class="easyui-combotree combotree-f combo-f textbox-f" editable="false" data-options="width:'140px',height:'20px'" required="true" name="grainId"></span>
  129. </span>
  130. <br/>
  131. <span class="pf-pitem-li fgs-control">
  132. <span class="pf-pitem-lit">仓房:</span>
  133. <span class="pf-pitem-lic">
  134. <input id="cangfId1" class="easyui-combobox houseId1" data-options="width:'140px',height:'20px'" name="houseId" editable="false"></span>
  135. </span>
  136. <span class="pf-pitem-li">
  137. <span class="pf-pitem-lit">联系地址:</span>
  138. <span class="pf-pitem-lic">
  139. <input class="easyui-textbox easyui-validatebox" data-options="validType:'length[0,50]',width:'140px',height:'20px'" name="address"></span>
  140. </span><br/>
  141. <span class="pf-pitem-li">
  142. <span class="pf-pitem-lit"></span>
  143. <span class="pf-pitem-lic">
  144. <button type="button" class="easyui-linkbutton bd-add-s bd-update-win-y" id="bd-user-doupdate-btn" plain="true">确认修改</button>
  145. </span>
  146. </span>
  147. </div>
  148. <div class="form-right">
  149. <div class="pic user_pic" id="userpic">
  150. </div>
  151. <div class="upload-btn">
  152. <input id="upload-file" class="upload upload-file" name="file" type="file" >
  153. <input name="avator" id="avator" type="hidden" />
  154. <span class="uploading-bar" id="uploading-bar" ></span>
  155. </div>
  156. <div class="upload-userinfo" id="upload-userinfo">
  157. </div>
  158. </div>
  159. </form>
  160. </div>
  161. <div class="um-password user-manage-edit" id="um-password" style="padding: 10px;display: none;">
  162. <form id="um-form-password">
  163. <div >
  164. <input type="hidden" name="id"><br/>
  165. <span style="text-align:center;display:block;font-size:14px;">
  166. 是否为选中账户进行密码初始化?初始化后不可恢复原密码!
  167. </span>
  168. <br/><br/>
  169. <span class="pf-pitem-li">
  170. <span class="pf-pitem-lit"></span>
  171. <span class="pf-pitem-lic">
  172. <button type="button" class="easyui-linkbutton bd-add-s bd-update-win-y" id="bd-user-password-qr" plain="true">确认</button>
  173. </span>
  174. </span>
  175. <span class="pf-pitem-li">
  176. <span class="pf-pitem-lic">
  177. <button type="button" class="easyui-linkbutton bd-add-s bd-update-win-y" id="bd-user-password-qx" plain="true">取消</button>
  178. </span>
  179. </span>
  180. </div>
  181. </form>
  182. </div>
  183. <div id="user-manage-alert" class="easyui-dialog" title="密码初始化" data-options="closed: 'true',modal: 'true'" style="width:400px;height:200px; top:25%; padding:10px">
  184. <div class="alert-msg">请至少选择一条数据!</div>
  185. <div class="btn-box">
  186. <a href="#" class="easyui-linkbutton bd-add-s alert-save" plain="true" onclick="$('#user-manage-alert').dialog('close')">确定</a>
  187. </div>
  188. </div>
  189. <style type="text/css">
  190. /* .con-wrap {
  191. width: 1200px;
  192. height: 650px;
  193. margin: 0 auto;
  194. margin-top: 12px;
  195. font-family: 'Microsoft YaHei';
  196. padding-bottom: 0px;
  197. }
  198. #con-map {
  199. height: 400px !important;
  200. min-height: 400px;
  201. display: inline-block;
  202. margin-top: 10px;
  203. }*/
  204. .readonly {
  205. border: 1px solid #FFF !important;
  206. background-color: #CCC !important;
  207. }
  208. .form-left {
  209. width: 300px;
  210. float: left;
  211. }
  212. .form-right {
  213. width: 200px;
  214. min-height: 150px;
  215. float: left;
  216. }
  217. </style>