form.html 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <form onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='layui-form layui-card' autocomplete="off">
  2. <div class="layui-card-body">
  3. <input type="hidden" name="id" value='{$vo.id|default=""}' class="layui-input">
  4. <div class="layui-form-item">
  5. <label class="layui-form-label">工作单位</label>
  6. <div class="layui-input-block">
  7. <input name="c_id" disabled value='{$vo.c_id|default=""}' class="layui-input">
  8. </div>
  9. </div>
  10. <div class="layui-form-item">
  11. <label class="layui-form-label">工作性质</label>
  12. <div class="layui-input-block">
  13. <input name="n_id" disabled value='{$vo.nname|default=""}' class="layui-input">
  14. </div>
  15. </div>
  16. <div class="layui-form-item">
  17. <label class="layui-form-label">工会主席</label>
  18. <div class="layui-input-block">
  19. <input name="zhuxi" disabled value='{$vo.zhuxi|default=""}' class="layui-input">
  20. </div>
  21. </div>
  22. <div class="layui-form-item">
  23. <label class="layui-form-label">主席电话</label>
  24. <div class="layui-input-block">
  25. <input name="zhuxi_phone" disabled value='{$vo.zhuxi_phone|default=""}' class="layui-input">
  26. </div>
  27. </div>
  28. <div class="layui-form-item">
  29. <label class="layui-form-label">星座</label>
  30. <div class="layui-input-block">
  31. <input name="constellation" disabled value='{$vo.constellation|default=""}' class="layui-input">
  32. </div>
  33. </div>
  34. <div class="layui-form-item">
  35. <label class="layui-form-label">爱好</label>
  36. <div class="layui-input-block">
  37. <input name="hobby" disabled value='{$vo.hobby|default=""}' class="layui-input">
  38. </div>
  39. </div>
  40. <div class="layui-form-item">
  41. <label class="layui-form-label">择偶</label>
  42. <div class="layui-input-block">
  43. <input name="appeals" disabled value='{$vo.appeals|default=""}' class="layui-input">
  44. </div>
  45. </div>
  46. <div class="layui-form-item">
  47. <label class="layui-form-label">婚史</label>
  48. <div class="layui-input-block">
  49. <input name="hunshi" disabled value='{if $vo.hunshi==1}未婚{elseif $vo.hunshi==2}离异{else}丧偶{/if}' class="layui-input">
  50. </div>
  51. </div>
  52. <div class="layui-form-item">
  53. <label class="layui-form-label">是否有子女</label>
  54. <div class="layui-input-block">
  55. <input name="is_zinv" disabled value='{if $vo.is_zinv==1}有{else}没有{/if}' class="layui-input">
  56. </div>
  57. </div>
  58. {if $vo.is_du==}
  59. <div class="layui-form-item">
  60. <label class="layui-form-label">子女性别</label>
  61. <div class="layui-input-block">
  62. <input name="zinv_sex" disabled value='{if $vo.zinv_sex==1}男{else}女{/if}' class="layui-input">
  63. </div>
  64. </div>
  65. {/if}
  66. <div class="layui-form-item">
  67. <label class="layui-form-label">是否独生子女</label>
  68. <div class="layui-input-block">
  69. <input name="is_du" disabled value='{if $vo.is_du==1}是{else}否{/if}' class="layui-input">
  70. </div>
  71. </div>
  72. {if $vo.is_du==2}
  73. <div class="layui-form-item">
  74. <label class="layui-form-label"></label>
  75. <div class="layui-input-block">
  76. <input name="children" disabled value='{$vo.children|default=""}' class="layui-input">
  77. </div>
  78. </div>
  79. {/if}
  80. <div class="layui-form-item">
  81. <label class="layui-form-label">居住情况</label>
  82. <div class="layui-input-block">
  83. <input name="home" disabled value='{if $vo.home==1}自有产权房{elseif $vo.home==2}租房{else}与父母同住{/if}' class="layui-input">
  84. </div>
  85. </div>
  86. <div class="layui-form-item">
  87. <label class="layui-form-label">是否有车</label>
  88. <div class="layui-input-block">
  89. <input name="is_car" disabled value='{if $vo.is_car==1}有{else}没有{/if}' class="layui-input">
  90. </div>
  91. </div>
  92. <div class="layui-form-item">
  93. <label class="layui-form-label">车辆型号</label>
  94. <div class="layui-input-block">
  95. <input name="car_model" disabled value='{$vo.car_model|default=""}' class="layui-input">
  96. </div>
  97. </div>
  98. <div class="layui-form-item">
  99. <label class="layui-form-label">父亲工作</label>
  100. <div class="layui-input-block">
  101. <input name="fa_work" disabled value='{$vo.fa_work|default=""}' class="layui-input">
  102. </div>
  103. </div>
  104. <div class="layui-form-item">
  105. <label class="layui-form-label">毕业学校</label>
  106. <div class="layui-input-block">
  107. <input name="graduation_school" disabled value='{$vo.graduation_school|default=""}' class="layui-input">
  108. </div>
  109. </div>
  110. <div class="layui-form-item">
  111. <label class="layui-form-label">职位</label>
  112. <div class="layui-input-block">
  113. <input name="position" disabled value='{$vo.position|default=""}' class="layui-input">
  114. </div>
  115. </div>
  116. <div class="layui-form-item">
  117. <label class="layui-form-label">收入</label>
  118. <div class="layui-input-block">
  119. <input name="income" disabled value='{$vo.income|default=""}' class="layui-input">
  120. </div>
  121. </div>
  122. <!-- <div class="layui-form-item">-->
  123. <!-- <label class="layui-form-label">生活图片</label>-->
  124. <!-- {foreach $vo.describes_arr as $vo}-->
  125. <!-- <div class="uploadimage uploadimagemtl" data-tips-image="{$vo}" style="background-image: url('{$vo}');">-->
  126. <!-- </div>-->
  127. <!-- {/foreach}-->
  128. <!-- </div>-->
  129. <div class="layui-form-item">
  130. <label class="layui-form-label label-required">审核类型</label>
  131. <input type="radio" name="status" value="2" title="审核通过">
  132. <input type="radio" name="status" value="3" title="审核驳回">
  133. </label>
  134. </div>
  135. <div class="layui-form-item">
  136. <label class="layui-form-label">驳回原因</label>
  137. <div class="layui-input-block">
  138. <textarea placeholder="请输入驳回原因" class="layui-textarea" name="reason"></textarea>
  139. </div>
  140. </div>
  141. </div>
  142. <div class="hr-line-dashed"></div>
  143. <div class="layui-form-item text-center">
  144. <button class="layui-btn" type='submit'>保存数据</button>
  145. <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗?" data-close>取消编辑</button>
  146. </div>
  147. </form>
  148. <script>
  149. window.form.render();
  150. </script>