edit.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. {// 引入标签库 }
  2. <tagLib name="html" />
  3. <include file="Public:header" />
  4. <load href='__TMPL__Common/js/conf.js' />
  5. <script type="text/javascript" src="__ROOT__/public/region.js"></script>
  6. <load href='__TMPL__Common/js/user_edit.js' />
  7. <div class="main">
  8. <div class="main_title">{%EDIT} <a href="{:u("UserBusiness/index")}" class="back_list">{%BACK_LIST}</a></div>
  9. <div class="blank5"></div>
  10. <form name="edit" action="__APP__" method="post" enctype="multipart/form-data">
  11. <table class="form conf_tab" cellpadding=0 cellspacing=0 >
  12. <tr>
  13. <td colspan=2 class="topTd"></td>
  14. </tr>
  15. <tr>
  16. <td class="item_title">{%USER_NAME}:</td>
  17. <td class="item_input">{$vo.user_name}<input type="hidden" name="user_name" value="{$vo.user_name}" /></td>
  18. </tr>
  19. <tr>
  20. <td class="item_title">{%USER_EMAIL}:</td>
  21. <td class="item_input">{$vo.email}<input type="hidden" name="email" value="{$vo.email}" /></td>
  22. </tr>
  23. <tr>
  24. <td class="item_title">{%USER_MOBILE}:</td>
  25. <td class="item_input"><input type="text" value="{$vo.mobile}" class="textbox" name="mobile" /></td>
  26. </tr>
  27. <tr>
  28. <td class="item_title">{%USER_PASSWORD}:</td>
  29. <td class="item_input"><input type="password" class="textbox" name="user_pwd" /></td>
  30. </tr>
  31. <tr>
  32. <td class="item_title">{%USER_CONFIRM_PASSWORD}:</td>
  33. <td class="item_input"><input type="password" class="textbox" name="user_confirm_pwd" /></td>
  34. </tr>
  35. <tr>
  36. <td class="item_title">所属地区:</td>
  37. <td class="item_input">
  38. <select name="province">
  39. <option value="" rel="0">请选择省份</option>
  40. <foreach name="region_lv2" item="region">
  41. <option value="{$region.name}" rel="{$region.id}" <if condition="$region['selected']">selected="selected"</if>>{$region.name}</option>
  42. </foreach>
  43. </select>
  44. <select name="city">
  45. <option value="" rel="0">请选择城市</option>
  46. <foreach name="region_lv3" item="region">
  47. <option value="{$region.name}" rel="{$region.id}" <if condition="$region['selected']">selected="selected"</if>>{$region.name}</option>
  48. </foreach>
  49. </select>
  50. </td>
  51. </tr>
  52. <tr>
  53. <td class="item_title">性别:</td>
  54. <td class="item_input">
  55. <label>女<input type="radio" name="sex" value="0" <if condition="$vo['sex'] eq 0">checked="checked"</if> /></label>
  56. <label>男<input type="radio" name="sex" value="1" <if condition="$vo['sex'] eq 1">checked="checked"</if>/></label>
  57. <label>未知<input type="radio" name="sex" value="-1" <if condition="$vo['sex'] eq -1">checked="checked"</if> /></label>
  58. </td>
  59. </tr>
  60. <!--<tr>
  61. <td class="item_title">会员类型:</td>
  62. <td class="item_input">
  63. <select name="user_type">
  64. <option value="0" <if condition="$vo['user_type'] eq 0">selected="selected"</if>>请选择类型</option>
  65. <option value="1" <if condition="$vo['user_type'] eq 1">selected="selected"</if>>创业者</option>
  66. <option value="2" <if condition="$vo['user_type'] eq 2">selected="selected"</if>>投资者</option>
  67. </select>
  68. <span class='tip_span'>默认为0无类型</span>
  69. </td>
  70. </tr>-->
  71. <tr>
  72. <td class="item_title">会员等级:</td>
  73. <td class="item_input">
  74. <select name="user_level">
  75. <option value="0">请选择等级</option>
  76. <foreach name="user_level" item="level">
  77. <option value="{$level.id}" <if condition="$vo['user_level'] eq $level['id']">selected="selected"</if>>{$level.name}</option>
  78. </foreach>
  79. </select>
  80. </td>
  81. </tr>
  82. <tr>
  83. <td class="item_title">简介:</td>
  84. <td class="item_input">
  85. <textarea name="intro" class="textarea">{$vo.intro}</textarea>
  86. </td>
  87. </tr>
  88. <tr>
  89. <td class="item_title">{%IS_EFFECT}:</td>
  90. <td class="item_input">
  91. <label>{%IS_EFFECT_1}<input type="radio" name="is_effect" value="1" <if condition="$vo['is_effect'] eq 1">checked="checked"</if> /></label>
  92. <label>{%IS_EFFECT_0}<input type="radio" name="is_effect" value="0" <if condition="$vo['is_effect'] eq 0">checked="checked"</if> /></label>
  93. </td>
  94. </tr>
  95. <tr>
  96. <td colspan=2 class="bottomTd"></td>
  97. </tr>
  98. </table>
  99. <div class="blank5"></div>
  100. <table class="form" cellpadding=0 cellspacing=0 style="display:none;">
  101. <tr>
  102. <td colspan=2 class="topTd"></td>
  103. </tr>
  104. <tr>
  105. <td class="item_title">真实姓名</td>
  106. <td class="item_input">
  107. <input type="text" value="{$vo.ex_real_name}" name="ex_real_name" class="textbox" />
  108. </td>
  109. </tr>
  110. <tr>
  111. <td class="item_title">开户行:</td>
  112. <td class="item_input">
  113. <input type="text" name="ex_account_bank" value="{$vo.ex_account_bank}" class="textbox" style="width:500px;" />
  114. </td>
  115. </tr>
  116. <tr>
  117. <td class="item_title">银行帐号:</td>
  118. <td class="item_input">
  119. <input type="text" name="ex_account_info" value="{$vo.ex_account_info}" class="textbox" style="width:500px;" />
  120. </td>
  121. </tr>
  122. <tr>
  123. <td class="item_title">联系电话:</td>
  124. <td class="item_input">
  125. <input type="text" name="ex_contact" value="{$vo.ex_contact}" class="textbox" style="width:500px;" />
  126. </td>
  127. </tr>
  128. <tr>
  129. <td class="item_title">联系QQ:</td>
  130. <td class="item_input">
  131. <input type="text" name="ex_qq" value="{$vo.ex_qq}" class="textbox" style="width:500px;" />
  132. </td>
  133. </tr>
  134. <tr>
  135. <td colspan=2 class="bottomTd"></td>
  136. </tr>
  137. </table>
  138. <div class="blank5"></div>
  139. <table class="form" cellspacing=0 cellpadding=0>
  140. <tr><td colspan=2 class="topTd"></td></tr>
  141. <tr>
  142. <td class="item_title">投资类型审核:</td>
  143. <td class="item_input">
  144. <input type="radio" name="investor_status" <if condition="$vo.investor_stauts eq 0">checked="checked"</if> value="0">未审核
  145. <input type="radio" name="investor_status" <if condition="$vo.investor_status eq 1">checked="checked"</if> value="1">审核通过
  146. <input type="radio" name="investor_status" <if condition="$vo.investor_status eq 2">checked="checked"</if> value="2">审核未通过
  147. </td>
  148. </tr>
  149. <tr>
  150. <td class="item_title">投资类型</td>
  151. <td class="item_input">
  152. <input type="radio" name="is_investor" <if condition="$vo.is_investor eq 0">checked="checked"</if> value="0"> 普通用户
  153. <input type="radio" name="is_investor" <if condition="$vo.is_investor eq 2">checked="checked"</if> value="2"> 机构投资人
  154. <!-- <input type="radio" name="is_investor" <if condition="$vo.is_investor eq 4">checked="checked"</if> value="4"> 创业公司 -->
  155. <input type="radio" name="is_investor" <if condition="$vo.is_investor eq 5">checked="checked"</if> value="5"> 众创空间
  156. <input type="radio" name="is_investor" <if condition="$vo.is_investor eq 6">checked="checked"</if> value="6"> 创服机构
  157. </td>
  158. </tr>
  159. </table>
  160. <div class="blank5"></div>
  161. <table class="form identify_info" id="identify_info_0" <if condition="$vo.is_investor neq 0">style="display:0"</if>>
  162. <tr></tr>
  163. </table>
  164. <table class="form identify_info" cellspacing=0 cellpadding=0 id="identify_info_1" <if condition="$vo.is_investor eq 0">style="display:0"</if>>
  165. <tr>
  166. <td class="item_title">身份证姓名:</td>
  167. <td class="item_input"><input type="text" name="identify_name" value="{$vo.identify_name}" class="textbox"></td>
  168. </tr>
  169. <tr>
  170. <td class="item_title">身份证号码:</td>
  171. <td class="item_input"><input type="text" name="identify_number" value="{$vo.identify_number}" class="textbox"></td>
  172. </tr>
  173. <if condition="app_conf('IDENTIFY_POSITIVE') eq 1">
  174. <tr>
  175. <td class="item_title">身份证正面:</td>
  176. <td class="item_input"><html:imgUpload name="identify_positive_image" id="identify_positive_image" value="$vo.identify_positive_image" /></td>
  177. </tr>
  178. </if>
  179. <if condition="app_conf('IDENTIFY_NAGATIVE') eq 1">
  180. <tr>
  181. <td class="item_title">身份证反面:</td>
  182. <td class="item_input"><html:imgUpload name="identify_nagative_image" id="identify_nagative_image" value="$vo.identify_nagative_image" /></td>
  183. </tr>
  184. </if>
  185. <if condition="app_conf('CARD') eq 1">
  186. <tr class="identify_info_3">
  187. <td class="item_title">名片:</td>
  188. <td class="item_input"><html:imgUpload name="card" id="card_image" value="$vo.card" /></td>
  189. </tr>
  190. </if>
  191. <tr class="identify_info_3">
  192. <td class="item_title">符合以下条件之一的自然人投资者:</td>
  193. <td class="item_input">
  194. <input type="radio" name="identity_conditions" <if condition="$vo.identity_conditions eq 0">checked="checked"</if> value="0"> 我的金融资产超过100万元
  195. <input type="radio" name="identity_conditions" <if condition="$vo.identity_conditions eq 1">checked="checked"</if> value="1"> 我的年收入超过30万元
  196. <input type="radio" name="identity_conditions" <if condition="$vo.identity_conditions eq 2">checked="checked"</if> value="2"> 我是专业的风险投资人
  197. <input type="radio" name="identity_conditions" <if condition="$vo.identity_conditions eq 3">checked="checked"</if> value="3"> 我不符合上述任一条件
  198. </td>
  199. </tr>
  200. <if condition="app_conf('CREDIT_REPORT') eq 1">
  201. <tr class="identify_info_3">
  202. <td class="item_title">信用报告:</td>
  203. <td class="item_input"><html:imgUpload name="credit_report" id="credit_report_image" value="$vo.credit_report" /></td>
  204. </tr>
  205. </if>
  206. <if condition="app_conf('HOUSING_CERTIFICATE') eq 1">
  207. <tr class="identify_info_3">
  208. <td class="item_title">房产认证:</td>
  209. <td class="item_input"><html:imgUpload name="housing_certificate" id="housing_certificate_image" value="$vo.housing_certificate" /></td>
  210. </tr>
  211. </if>
  212. </table>
  213. <table class="form identify_info" cellspacing=0 cellpadding=0 id="identify_info_2" <if condition="$vo.is_investor neq 2">style="display:none;"</if> >
  214. <tr>
  215. <td class="item_title">机构名称:</td>
  216. <td class="item_input"><input type="text" name="identify_business_name" value="{$vo.identify_business_name}"></td>
  217. </tr>
  218. <if condition="app_conf('BUSINESS_LICENCE') eq 1">
  219. <tr>
  220. <td class="item_title">营业执照:</td>
  221. <td class="item_input"><html:imgUpload name="identify_business_licence" id="identify_business_licence" value="$vo.identify_business_licence" /></td>
  222. </tr>
  223. </if>
  224. <if condition="app_conf('BUSINESS_CODE') eq 1">
  225. <tr>
  226. <td class="item_title">组织机构代码证:</td>
  227. <td class="item_input"><html:imgUpload name="identify_business_code" id="identify_business_code" value="$vo.identify_business_code" /> </td>
  228. </tr>
  229. </if>
  230. <if condition="app_conf('BUSINESS_TAX') eq 1">
  231. <tr>
  232. <td class="item_title">税务登记证:</td>
  233. <td class="item_input"><html:imgUpload name="identify_business_tax" id="identify_business_tax" value="$vo.identify_business_tax" /></td>
  234. </tr>
  235. </if>
  236. <if condition="app_conf('AUTHORIZED_OPERATION_LETTER') eq 1">
  237. <tr>
  238. <td class="item_title">运营授权函:</td>
  239. <td class="item_input"><html:imgUpload name="authorized_operation_letter" id="authorized_operation_letter" value="$vo.authorized_operation_letter" /></td>
  240. </tr>
  241. </if>
  242. <if condition="app_conf('AUTHORIZED_OPERATION_CERTIFICATE') eq 1">
  243. <tr>
  244. <td class="item_title">运营授权证明:</td>
  245. <td class="item_input"><html:imgUpload name="authorized_operation_certificate" id="authorized_operation_certificate" value="$vo.authorized_operation_certificate" /></td>
  246. </tr>
  247. </if>
  248. </table>
  249. <script>
  250. $(function(){
  251. $("input[name='is_investor']").bind("click",function(){
  252. num=$(this).val();
  253. if(num==2 || num==4 || num==5 || num==6){
  254. $("#identify_info_2").show("slow");
  255. $(".identify_info_3").hide();
  256. }else{
  257. if(num==0){
  258. $("#identify_info_1").hide();
  259. }else{
  260. $("#identify_info_1").show("slow");
  261. $(".identify_info_3").show("slow");
  262. }
  263. $("#identify_info_2").hide("slow");
  264. }
  265. });
  266. if($("input[name='is_investor']:checked").val()==0){
  267. $("#identify_info_2").hide();
  268. $("#identify_info_3").hide();
  269. $("#identify_info_1").hide();
  270. }else{
  271. if($("input[name='is_investor']:checked").val()==1 || $("input[name='is_investor']:checked").val()==3){
  272. $("#identify_info_1").show("slow");
  273. $(".identify_info_3").show("slow");
  274. $("#identify_info_2").hide();
  275. }else{
  276. $("#identify_info_2").show("slow");
  277. $(".identify_info_3").hide();
  278. }
  279. }
  280. });
  281. </script>
  282. <div class="blank5"></div>
  283. <table class="form" cellpadding=0 cellspacing=0>
  284. <tr>
  285. <td colspan=2 class="topTd"></td>
  286. </tr>
  287. <tr>
  288. <td class="item_title"></td>
  289. <td class="item_input">
  290. <!--隐藏元素-->
  291. <input type="hidden" name="{:conf("VAR_MODULE")}" value="UserBusiness" />
  292. <input type="hidden" name="{:conf("VAR_ACTION")}" value="update" />
  293. <input type="hidden" name="id" value="{$vo.id}" />
  294. <input type="hidden" name="wx_openid" value="{$vo.wx_openid}" />
  295. <!--隐藏元素-->
  296. <input type="submit" class="button" value="{%EDIT}" />
  297. <input type="reset" class="button" value="{%RESET}" />
  298. </td>
  299. </tr>
  300. <tr>
  301. <td colspan=2 class="bottomTd"></td>
  302. </tr>
  303. </table>
  304. </form>
  305. </div>
  306. <include file="Public:footer" />