截流自动化的商城平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

update_leader.html 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {layout name="layout2" /}
  2. <style>
  3. .div-flex {
  4. display: flex;
  5. align-items: center;
  6. justify-content: left;
  7. }
  8. .layui-form-label {
  9. width: 120px;
  10. }
  11. .width-160 {
  12. width: 200px;
  13. }
  14. </style>
  15. <div class="layui-card-body" >
  16. <!--基本信息-->
  17. <div class="layui-form" lay-filter="layuiadmin-form-update-leader" id="layuiadmin-form-update-leader" >
  18. <input type="hidden" name="user_id" value="{$user_id}">
  19. <div class="layui-form-item div-flex">
  20. <label class="layui-form-label ">当前上级:</label>
  21. <div class="width-160">{$first_leader}</div>
  22. </div>
  23. <div class="layui-form-item div-flex">
  24. <label class="layui-form-label ">调整方式:</label>
  25. <div>
  26. <select name="change_type" lay-verify="required">
  27. <option value="clear">清空上级</option>
  28. <option value="appoint">指定上级推荐人</option>
  29. </select>
  30. </div>
  31. </div>
  32. <div class="layui-form-item div-flex">
  33. <label class="layui-form-label ">上级推荐人编号:</label>
  34. <div>
  35. <input type="text" name="referrer_sn" autocomplete="off" class="layui-input">
  36. </div>
  37. </div>
  38. <div class="layui-form-item layui-hide">
  39. <input type="button" lay-submit lay-filter="update-leader-submit" id="update-leader-submit" value="确认">
  40. </div>
  41. </div>
  42. </div>
  43. <script type="text/javascript">
  44. layui.config({
  45. version:"{$front_version}",
  46. base: '/static/lib/' //静态资源所在路径
  47. }).use(['element', 'jquery', 'form'], function () {
  48. var $ = layui.$
  49. , form = layui.form;
  50. });
  51. </script>