Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

ajax_surveyquickmenu_taskflow.htm 3.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  8. <!-- Apple devices fullscreen -->
  9. <meta name="apple-mobile-web-app-capable" content="yes">
  10. <!-- Apple devices fullscreen -->
  11. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  12. <link href="__SKIN__/css/main.css?v={$version}" rel="stylesheet" type="text/css">
  13. <link href="__SKIN__/font/css/font-awesome.min.css?v={$version}" rel="stylesheet" />
  14. <link href="__SKIN__/css/index.css?v={$version}" rel="stylesheet" type="text/css">
  15. <!--[if IE 7]>
  16. <link rel="stylesheet" href="__SKIN__/font/css/font-awesome-ie7.min.css">
  17. <![endif]-->
  18. <link href="__SKIN__/css/diy_style.css?v={$version}" rel="stylesheet" type="text/css" />
  19. {include file="public/theme_css" /}
  20. <script type="text/javascript">
  21. var eyou_basefile = "{$Request.baseFile}";
  22. var module_name = "{$Think.const.MODULE_NAME}";
  23. var __root_dir__ = "__ROOT_DIR__";
  24. var __lang__ = "{$admin_lang}";
  25. var __main_lang__ = "{$main_lang}";
  26. </script>
  27. <script type="text/javascript" src="__STATIC__/common/js/jquery.min.js?v={$version}"></script>
  28. <script type="text/javascript" src="__SKIN__/js/jquery-ui/jquery-ui.min.js?v={$version}"></script>
  29. <script type="text/javascript" src="__PUBLIC__/plugins/layer-v3.1.0/layer.js?v={$version}"></script>
  30. <script src="__SKIN__/js/global.js?v={$version}"></script>
  31. </head>
  32. <body style="background-color:#F4F4F4;padding:6px; overflow: auto;min-width:auto;">
  33. <form id="post_form">
  34. <div class="navboxs sort-list">
  35. {volist name='$menuList' id='vo'}
  36. <div>
  37. <label style="cursor: pointer;">
  38. <span><input type="checkbox" name="checkedids[]" value="{$vo.id}" {if condition="$vo.checked"}checked{/if} /></span>{$vo.title}
  39. <input type="hidden" name="ids[]" value="{$vo.id}" />
  40. </label>
  41. </div>
  42. {/volist}
  43. </div>
  44. <div class="navboxs_bt" onclick="check_submit();">确认提交</div>
  45. </form>
  46. <script type="text/javascript">
  47. $(function () {
  48. /** 拖动排序相关 js*/
  49. $( ".sort-list" ).sortable({
  50. start: function( event, ui) {
  51. }
  52. ,stop: function( event, ui ) {
  53. }
  54. });
  55. $( ".sort-list" ).disableSelection();
  56. });
  57. var parentObj = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  58. // 表单提交
  59. function check_submit(){
  60. layer_loading('正在处理');
  61. $.ajax({
  62. url: "{:url('Index/ajax_surveyquickmenu_taskflow', ['_ajax'=>1])}",
  63. type: 'POST',
  64. dataType: 'JSON',
  65. data: $('#post_form').serialize(),
  66. success: function(res){
  67. layer.closeAll();
  68. if (res.code == 1) {
  69. var _parent = parent;
  70. _parent.layer.close(parentObj);
  71. _parent.layer.msg(res.msg, {shade: layer_shade, time: 1000}, function(){
  72. _parent.gourl(res.url);
  73. });
  74. } else {
  75. showErrorMsg(res.msg);
  76. }
  77. },
  78. error: function(e){
  79. layer.closeAll();
  80. layer.alert(e.responseText, {icon:5, time:1500});
  81. }
  82. });
  83. return false;
  84. }
  85. </script>
  86. {include file="public/footer" /}