audit.html 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <input type="hidden" name="id" value="{$row.id}">
  3. <!--<div class="form-group">
  4. <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
  5. <div class="col-xs-12 col-sm-8">
  6. <input id="c-user_id" data-rule="required" data-source="user/user/index" disabled data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
  7. </div>
  8. </div>-->
  9. <div class="form-group">
  10. <label class="control-label col-xs-12 col-sm-2">{:__('Truename')}:</label>
  11. <div class="col-xs-12 col-sm-8">
  12. <input class="form-control" id="c-truename" name="row[truename]" type="text" value="{$row.truename|htmlentities}">
  13. </div>
  14. </div>
  15. <!--<div class="form-group">
  16. <label class="control-label col-xs-12 col-sm-2">{:__('Alipay_account')}:</label>
  17. <div class="col-xs-12 col-sm-8">
  18. <input id="c-alipay_account" class="form-control" disabled name="row[alipay_account]" type="text" value="{$row.alipay_account|htmlentities}">
  19. </div>
  20. </div>-->
  21. <div class="form-group">
  22. <label class="control-label col-xs-12 col-sm-2">{:__('Idcard')}:</label>
  23. <div class="col-xs-12 col-sm-8">
  24. <input class="form-control" id="c-idcard" name="row[idcard]" type="text" value="{$row.idcard|htmlentities}">
  25. </div>
  26. </div>
  27. <!-- <div class="form-group">
  28. <label class="control-label col-xs-12 col-sm-2">{:__('Idcard_images')}:</label>
  29. <div class="col-xs-12 col-sm-8">
  30. <ul class="row list-inline faupload-preview" data-listidx="0">
  31. <?php
  32. $idcard_images = explode(',',$row['idcard_images']);
  33. foreach($idcard_images as $key => $val){
  34. ?>
  35. <li class="col-xs-3">
  36. <a href="{$val}" data-url="{$val}" target="_blank" class="thumbnail">
  37. <img src="{$val}" onerror="this.src='/admin.php/ajax/icon?suffix=jpg';this.onerror=null;" class="img-responsive"></a>
  38. </li>
  39. <?php } ?>
  40. </ul>
  41. </div>
  42. </div>-->
  43. <div class="form-group">
  44. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  45. <div class="col-xs-12 col-sm-8">
  46. <div class="radio">
  47. {foreach name="statusList" item="vo"}
  48. {if $key != 0}
  49. <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="status" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
  50. {/if}
  51. {/foreach}
  52. </div>
  53. </div>
  54. </div>
  55. <div class="form-group">
  56. <label class="control-label col-xs-12 col-sm-2">{:__('Audittime')}:</label>
  57. <div class="col-xs-12 col-sm-8">
  58. <input id="c-audittime" class="form-control datetimepicker" disabled data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[audittime]" type="text" value="{:$row.audittime?datetime($row.audittime):''}">
  59. </div>
  60. </div>
  61. <div class="form-group">
  62. <label class="control-label col-xs-12 col-sm-2">{:__('Auditremark')}:</label>
  63. <div class="col-xs-12 col-sm-8">
  64. <input id="c-auditremark" class="form-control" name="auditremark" type="text" value="{$row.auditremark|htmlentities}">
  65. </div>
  66. </div>
  67. <div class="form-group layer-footer">
  68. <label class="control-label col-xs-12 col-sm-2"></label>
  69. <div class="col-xs-12 col-sm-8">
  70. {if $row['status'] != 1}
  71. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  72. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  73. {/if}
  74. </div>
  75. </div>
  76. </form>