form.html 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
  2. <div class="layui-card-body padding-left-40">
  3. <div class="layui-row layui-col-space15">
  4. <div class="layui-col-xs5">
  5. <label class="block relative">
  6. <span class="color-green font-w7">学校名称</span>
  7. <span class="color-desc margin-left-5">Nick Name</span>
  8. <input name="name" value='{$vo.name|default=""}' required placeholder="请输入学校名称" class="layui-input">
  9. <span class="help-block">用户显示的账号别名,请尽量保持不要重复</span>
  10. </label>
  11. </div>
  12. <div class="layui-col-xs5" style="width: 26%;">
  13. <label class="block relative">
  14. <span class="color-green font-w7">登录账号</span>
  15. <span class="color-desc margin-left-5">User Name</span>
  16. <input name="username" value='{$vo.username|default=""}' required placeholder="请输入登录账号" class="layui-input">
  17. <span class="help-block">登录账号不能重复</span>
  18. </label>
  19. </div>
  20. <div class="layui-col-xs5" style="width: 32%;">
  21. <label class="block relative">
  22. <span class="color-green font-w7">登录密码</span>
  23. <span class="color-desc margin-left-5">Password</span>
  24. <input name="visible_password" style="width: 150px" value='{$vo.visible_password|default=""}' required placeholder="请输入登录密码" class="layui-input">
  25. <span class="help-block">请填写新的密码</span>
  26. </label>
  27. </div>
  28. </div>
  29. <div class="hr-line-dashed margin-top-10 margin-bottom-10"></div>
  30. <div class="layui-row layui-col-space15">
  31. <div class="layui-col-xs4">
  32. <label class="relative block">
  33. <span class="color-green font-w7">办学类型</span><span class="color-desc margin-left-5">School Type</span>
  34. <input name="school_type" value='{$vo.school_type|default=""}' required placeholder="请输入办学类型" class="layui-input">
  35. <span class="color-desc">请填写办学类型(例如:职业高等学校)</span>
  36. </label>
  37. </div>
  38. <div class="layui-col-xs4">
  39. <label class="relative block">
  40. <span class="color-green font-w7">办学类型代码</span><span class="color-desc margin-left-5">School Type Code</span>
  41. <input name="school_type_code" value='{$vo.school_type_code|default=""}' required placeholder="请输入对用的办学类型代码" class="layui-input">
  42. <span class="color-desc">请填写办学类型对应的办学类型代码</span>
  43. </label>
  44. </div>
  45. <div class="layui-col-xs4">
  46. <label class="relative block">
  47. <span class="color-green font-w7">社会信用代码</span><span class="color-desc margin-left-5">Social Credit Code</span>
  48. <input name="social_credit_code" value='{$vo.social_credit_code|default=""}' placeholder="请输入社会信用代码" class="layui-input">
  49. <span class="color-desc">选填,法人和其他组织统一社会信用代码</span>
  50. </label>
  51. </div>
  52. </div>
  53. <div class="hr-line-dashed margin-top-10 margin-bottom-10"></div>
  54. <div class="layui-row layui-col-space15">
  55. <div class="layui-col-xs5">
  56. <label class="block relative">
  57. <span class="color-green font-w7">党政负责人姓名</span>
  58. <span class="color-desc margin-left-5">Dz Leader Name</span>
  59. <input name="dz_leader_name" value='{$vo.dz_leader_name|default=""}' placeholder="请输入党政负责人姓名" class="layui-input">
  60. <span class="help-block">可选,请填写党政负责人姓名</span>
  61. </label>
  62. </div>
  63. <div class="layui-col-xs5">
  64. <label class="block relative">
  65. <span class="color-green font-w7">党政负责人职务</span>
  66. <span class="color-desc margin-left-5">Dz Leader Position</span>
  67. <input name="dz_leader_position" value='{$vo.dz_leader_position|default=""}' placeholder="请输入党政负责人职务" class="layui-input">
  68. <span class="help-block">可选,请填写党政负责人职务</span>
  69. </label>
  70. </div>
  71. </div>
  72. <div class="layui-row layui-col-space15">
  73. <div class="layui-col-xs5">
  74. <label class="block relative">
  75. <span class="color-green font-w7">行政负责人姓名</span>
  76. <span class="color-desc margin-left-5">Xz Leader Name</span>
  77. <input name="xz_leader_name" value='{$vo.xz_leader_name|default=""}' placeholder="请输入行政负责人姓名" class="layui-input">
  78. <span class="help-block">可选,请填写行政负责人姓名</span>
  79. </label>
  80. </div>
  81. <div class="layui-col-xs5">
  82. <label class="block relative">
  83. <span class="color-green font-w7">行政负责人职务</span>
  84. <span class="color-desc margin-left-5">Xz Leader Position</span>
  85. <input name="xz_leader_position" value='{$vo.xz_leader_position|default=""}' placeholder="请输入行政负责人职务" class="layui-input">
  86. <span class="help-block">可选,请填写行政负责人职务</span>
  87. </label>
  88. </div>
  89. </div>
  90. <div class="layui-row layui-col-space15">
  91. <div class="layui-col-xs4">
  92. <label class="relative block">
  93. <span class="color-green font-w7">业务负责人姓名</span><span class="color-desc margin-left-5">Yw Leader Name</span>
  94. <input name="yw_leader_name" value='{$vo.yw_leader_name|default=""}' placeholder="请输入业务负责人姓名" class="layui-input">
  95. <span class="color-desc">可选,请填写业务负责人姓名</span>
  96. </label>
  97. </div>
  98. <div class="layui-col-xs4">
  99. <label class="relative block">
  100. <span class="color-green font-w7">业务负责人职务</span><span class="color-desc margin-left-5">Yw Leader Position</span>
  101. <input name="yw_leader_position" value='{$vo.yw_leader_position|default=""}' placeholder="请输入业务负责人职务" class="layui-input">
  102. <span class="color-desc">可选,请填写业务负责人职务</span>
  103. </label>
  104. </div>
  105. <div class="layui-col-xs4">
  106. <label class="relative block">
  107. <span class="color-green font-w7">业务负责人电话</span><span class="color-desc margin-left-5">Yw Leader Phone</span>
  108. <input type="tel" maxlength="11" name="yw_leader_phone" value='{$vo.yw_leader_phone|default=""}' pattern="^1[1-9][0-9]{9}$" placeholder="请输入业务负责人电话" class="layui-input">
  109. <span class="color-desc">可选,请填写业务负责人电话号</span>
  110. </label>
  111. </div>
  112. </div>
  113. <div class="hr-line-dashed margin-top-10 margin-bottom-10"></div>
  114. <div class="layui-row layui-col-space15">
  115. <div class="layui-col-xs4">
  116. <label class="relative block">
  117. <span class="color-green font-w7">电子邮箱</span><span class="color-desc margin-left-5">Email</span>
  118. <input name="email" pattern="^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$" value='{$vo.email|default=""}' placeholder="请输入联系电子邮箱" class="layui-input">
  119. <span class="color-desc">可选,请填写常用的电子邮箱</span>
  120. </label>
  121. </div>
  122. <div class="layui-col-xs4">
  123. <label class="relative block">
  124. <span class="color-green font-w7">办公电话</span><span class="color-desc margin-left-5">Office Phone</span>
  125. <input type="office_phone" maxlength="11" name="contact_phone" value='{$vo.office_phone|default=""}' placeholder="请输入办公电话" class="layui-input">
  126. <span class="color-desc">可选,请填写常用的办公电话</span>
  127. </label>
  128. </div>
  129. <div class="layui-col-xs4">
  130. <label class="relative block">
  131. <span class="color-green font-w7">填报人</span><span class="color-desc margin-left-5">Fill In One</span>
  132. <input name="fill_in_one" value='{$vo.fill_in_one|default=""}' required placeholder="请输入填报人" class="layui-input">
  133. <span class="color-desc">请填写填报人</span>
  134. </label>
  135. </div>
  136. </div>
  137. <div class="hr-line-dashed"></div>
  138. {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
  139. <div class="layui-form-item text-center">
  140. <button class="layui-btn" type='submit'>保存数据</button>
  141. <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗?" data-close>取消编辑</button>
  142. </div>
  143. </div>
  144. <script>
  145. </script>
  146. </form>