Açıklama Yok
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.

move.htm 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {include file="public/layout" /}
  2. <body style="background-color: rgb(255, 255, 255); overflow: auto; cursor: default; -moz-user-select: inherit;min-width: auto;">
  3. <div id="append_parent"></div>
  4. <div id="ajaxwaitid"></div>
  5. <div class="page" style="min-width: auto;box-shadow:none;">
  6. <!-- 操作说明 -->
  7. <div id="explanation" class="explanation">
  8. <div id="checkZoom" class="title"><i class="fa fa-lightbulb-o"></i>
  9. <h4 title="提示相关设置操作时应注意的要点">提示</h4>
  10. <span title="收起提示" id="explanationZoom" style="display: block;"></span>
  11. </div>
  12. <ul>
  13. <li>移动到的目标栏目必须和当前模型类型一致,否则程序会自动忽略不符合的文档。</li>
  14. </ul>
  15. </div>
  16. <form class="form-horizontal" id="post_form" method="POST" action="{$form_action|default=''}" onsubmit="return false;">
  17. <div class="ncap-form-default">
  18. <dl class="row">
  19. <dt class="tit">
  20. <label for="typeid"><em>*</em>目标栏目</label>
  21. </dt>
  22. <dd class="opt" style="width: auto;">
  23. <select id="typeid" name="typeid">
  24. {$arctype_html}
  25. </select>
  26. <input type="hidden" name="aids" id="aids" value="" class="input">
  27. <p class="notic"></p>
  28. <span class="err"></span>
  29. </dd>
  30. </dl>
  31. <dl class="row">
  32. <dt class="tit">
  33. <label for="all_move">移动全部</label>
  34. </dt>
  35. <dd class="opt" style="width: auto;">
  36. <label><input type="checkbox" name="all_move" value="1">当前栏目的所有文档移动到目标栏目</label>
  37. <p class="notic"></p>
  38. <span class="err"></span>
  39. </dd>
  40. </dl>
  41. <div class="bot" style="padding-bottom:0px;">
  42. <input type="hidden" name="_ajax" value="1">
  43. <a href="JavaScript:void(0);" onclick="check_submit();" class="ncap-btn-big ncap-btn-green" id="submitBtn">确认提交</a>
  44. </div>
  45. </div>
  46. </form>
  47. </div>
  48. <script type="text/javascript">
  49. var parentObj = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  50. $('#aids').val(parent.get_aids());
  51. function check_submit()
  52. {
  53. layer_loading('正在处理');
  54. $.ajax({
  55. url: $('#post_form').attr('action'),
  56. type: 'POST',
  57. dataType: 'JSON',
  58. data: $('#post_form').serialize(),
  59. success: function(res){
  60. layer.closeAll();
  61. if (res.code == 1) {
  62. parent.layer.msg(res.msg, {shade: layer_shade, time: 1000}, function(){
  63. parent.window.location.reload();
  64. parent.layer.close(parentObj);
  65. });
  66. } else {
  67. showErrorAlert(res.msg);
  68. }
  69. },
  70. error: function(e){
  71. layer.closeAll();
  72. showErrorAlert(e.responseText);
  73. }
  74. });
  75. }
  76. </script>
  77. {include file="public/footer" /}