{"text_format":"2","workbook":"xlsx","n_sheets":6,"sheets":["class手册","taiji方法参数说明","jQuery扩展方法","$.Taiji扩展","taiji方法","其他"],"not_rendered":{"charts":0,"images":0,"macros":0,"external_links":0,"defined_names":0,"comments":0,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"run_cost":"one","rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"class手册","index":0,"n_rows":33,"n_cols":8,"rows_kept":33,"cut":false,"hidden":false,"merged":[[29,0,31,0],[29,1,31,1],[29,2,31,2],[29,5,31,5],[29,7,31,7],[29,6,31,6],[7,1,8,1],[7,2,8,2],[11,5,13,5],[9,0,10,0],[9,1,10,1],[9,2,10,2],[11,0,14,0],[11,1,14,1],[11,2,14,2],[11,7,14,7],[16,5,19,5],[7,6,8,6],[7,7,8,7],[9,7,10,7],[7,5,8,5],[9,5,10,5],[9,6,10,6],[16,6,19,6],[1,0,3,0],[1,6,3,6],[1,7,3,7],[21,1,22,1],[21,2,22,2],[21,7,22,7],[21,0,22,0],[4,2,5,2],[4,1,5,1],[4,0,5,0],[16,7,18,7],[16,0,19,0],[16,1,19,1],[16,2,19,2],[7,0,8,0],[11,6,14,6]]}
["序号","功能","class","(元素/class)属性","属性描述","post事件","监听事件","示例"]
[1,"查询","taiji_search_form\ntaiji_search_submit",null,null,null,"taijiSearchSuccess "]
[null,"查询结果","taiji_search_result"]
[null,"分页","taiji_search_pager"]
[2,"自动补全","taiji_autocomplete","data-url","直接写在select元素中，填充数据的url"]
[null,null,null,"data-placeholder","直接写在select元素中，提示信息"]
[3,"弹出层","taiji_modal\ntaiji_modal_lg（大）\ntaiji_modal_sm（小）\ntaiji_modal_full（全屏）","data-selector","jquery数据选择器，加此属性以post方式弹出模态框，并将选择到的数据提交","taijiModalPost\n参数table说明，add：表格中加行,edit:更新行，remove：删除行,none:什么都不做","taijiAddSuccess\ntaijiEditSuccess\ntaijiRemoveSuccess\ntaijiJME\ntaijiME\ntaijiCVE\ntaijiERR\n\n","1、<a href=\"${rootUrl }app/acl/user/addPost\"  class=\"taiji_modal taiji_acl btn  btn-success m-r-10\" data-selector=\"#userName\"><i class=\"fa fa-plus m-r-5\"></i>添加(POST)</a>\n2、$(\"#myManage\").triggerHandler(\"taijiModalPost\",[$(\"#myForm\"),{table:\"add\"}]);"]
[4,"表格删除","taiji_remove","data-selector\n","jquery数据选择器",null,"taijiRemoveSuccess"]
[null,null,null,"confirm_message","确认消息"]
[5,"表格更新行","taiji_update","data-selector\n","jquery数据选择器",null,"taijiUpdateSuccess","<a href=\"${rootUrl }app/acl/user/status/${vo.id}/INVALID\" data-selector=\"#userName\" class=\"taiji_update {confirm_message:'是否停用用户:${vo.name} '} taiji_acl\">停用</a>"]
[null,null,null,"confirm_message","确认消息"]
[6,"表格操作","taiji_operate","data-selector\n","jquery数据选择器",null,"taijiOperateSuccess","<a href=\"${rootUrl }app/acl/user/status/${vo.id}/INVALID\" data-selector=\"#userName\" class=\"taiji_operate {confirm_message:'是否停用用户:${vo.name} ',refresh:true} taiji_acl\">停用</a>"]
[null,null,null,"refresh","是否在执行成功后刷新表格"]
[null,null,null,"confirm_message","确认消息"]
[null,null,null,"target","将服务器返回的内容插入到target中"]
[7,"多行删除","taiji_multiRemove","confirm_message","确认消息",null,"taijiMultiRemoveSuccess"]
[8,"异步","taiji_async","process","进度url:{process:'${rootUrl }app/sample/async/runTask/process'}",null,"taijiAsyncSuccess","1、异步按钮：<a href=\"${rootUrl }app/sample/async/runTask\"  class=\"taiji_async {process:'${rootUrl }app/sample/async/runTask/process',interval:1000,confirm_message:'您确认要操作吗?',customForm:'#logType,#ip'}\">\n       <label class=\"btn btn_small btn_primary\"><span class=\"icon16 icon16_search\"></span>异步演示</label>\n      </a>"]
[null,null,null,"interval","轮询间隔,单位毫秒:{interval:1000}"]
[null,null,null,"confirm_message","确认消息"]
[null,null,null,"data-selector","jquery数据选择器，加此属性以post方式提交",null,null,"用户管理列表折叠"]
[9,"表格折叠","taiji_collapse",null,"表格中以折叠方式打开",null,null,"<a href=\"${rootUrl }app/acl/user/info/${vo.id}\" class=\"taiji_collapse taiji_acl\" ><span class=\"icon16 icon16_check\" title=\"查看\"></span>查看（折叠）</a>"]
[10,"表格排序","taiji_sortable","orderBy","排序字段",null,null,"用户管理查询列表排序"]
[null,null,null,"desc","逆序或升序"]
[11,"权限","taiji_acl",null,"控制一个url是否显示",null,null,"<a href=\"${rootUrl }app/acl/user/edit/${vo.id}\" class=\"taiji_modal taiji_acl\">修改</a>"]
[12,"高级查询","taiji_search_collapse","data-target","指向包含隐藏条件的div，控制div的显示和隐藏"]
[13,"查询条件","taiji_search_condition",{"$nulls":4},"<div class=\"taiji_search_condition  m-t-5\">"]
[14,"表头浮动","taiji_table_float",{"$nulls":4},"<div   class=\"taiji_search_result taiji_table_float table-responsive\">"]
[15,"表格列浮动","taiji_column_float","data-column-width","浮动列宽度",null,null,"<div   class=\"taiji_search_result taiji_table_float taiji_column_float table-responsive\" data-column-width=\"60\">"]
[16,"表格列缩小","taiji_column_compress",{"$nulls":4},"<th class=\"taiji_column_compress\"><span>名字</span></th>\n"]
[17,"导出","taiji_export","fileUrl","下载文件的url",null,null,"<a href=\"${rootUrl }app/system/oplog/export\" data-selector=\"#startTime,#endTime\" class=\"taiji_export {fileUrl:'${rootUrl }app/system/oplog/export/file',confirm_message:'您确认要操作吗?'} btn  btn-success m-r-10 \">\n       <i class=\"fa fa-file-excel-o m-r-10\"></i>导出\n      </a>"]
[null,null,null,"confirm_message","确认消息"]
[null,null,null,"data-selector","jquery数据选择器"]
[18,"提交表单","taiji_ajaxForm","data-form","指定要提交的表单",null,"taijiAjaxFormSuccess","<a href=\"#\" data-form=\"#myForm\" class=\"taiji_ajaxForm {confirm_message:'你确定提交操作吗?',target:'#result'} btn btn-sm btn-success\" id=\"taijiAjaxformBtn\">taiji_ajaxForm</a>"]

{"sheet":"taiji方法参数说明","index":1,"n_rows":6,"n_cols":4,"rows_kept":6,"cut":false,"hidden":false,"merged":[]}
["序号","功能模块","参数","示例"]
[1,"基础模块"," enableAclCheck : false,//非菜单权限检查\n aclClassName:\".taiji_acl\",\n debug : true   //是否启用DEBUG模式，true启用;false不启用"]
[2,"查询(search)","  formClassName : '.taiji_search_form', // 分页查询表单的class\n   rules : {}, // 分页查询表单验证的规则\n   messages : {}, // 分页查询表单验证失败的提示信息\n   submitClassName : '.taiji_search_submit', // 分页查询，查询链接的class\n   resetClassName  : '.taiji_search_reset',\n   resultClassName : '.taiji_search_result', // 分页查询，结果展示的容器标签的class\n   dataClassName : '.taiji_search_data',   // 分页查询结果，数据\n   pagerClassName : '.taiji_search_pager', //分页查询结果，分页信息\n   moreCondition   : '.taiji_search_collapse', //更多查询条件按钮\n   autoRefresh : {\n    enable : false,\n    interval : 60000\n   },\n   autoSearch:true\n  ","$(\"#logManage\").taiji({\n  enableAclCheck:true,\n  search:{\n    autoRefresh : {\n        enable : true,\n        interval : 10000\n       }\n  }\n })"]
[3,"模态框(modal)","backdrop:true","$(\"#myManage\").taiji({\n  enableAclCheck:true,\n  modal:{backdrop:false}\n })"]
[4,"链接型ajax","func:taijijs暴露的方法名\nelement:带有href的链接元素\nopts:参数项\n        opts: {    method:\"GET\",\n                     bsSuccess:function(responseText,note){},//业务成功方法\n                     complete:function(){}//请求完成的方法\n                  }\n\n","$(\"#myManage\").taiji(\"ajaxHref\",element,{bsSuccess:function(responseText,note){\n    $(\".taiji_search_result table>tbody\").html($(responseText).find(\"tbody\").html());\n   }\n  });"]
[5,"校验弹出框","placement //配置弹出框显示位置\ntemplate  //配置弹出框模板"," $.fn.showPopover.defaults.placement=\"right\";  //配置弹出框始终在右边弹出\n   $.fn.showPopover.defaults.template =\n     \"<div class='popover'>\"+\n        \"<div class='arrow'></div>\"+\n                 \"<div class='popover-inner'><div class='popover-content'><p></p></div></div>\"+\n               \"</div>\";      //配置弹出框模板\n"]

{"sheet":"jQuery扩展方法","index":2,"n_rows":9,"n_cols":8,"rows_kept":9,"cut":false,"hidden":false,"merged":[[1,7,6,7],[1,0,6,0],[2,4,6,4],[1,1,6,1],[1,2,6,2],[1,3,6,3]]}
["序号","方法","功能","扩展类型","属性","option","描述","示例"]
[1,"showModal","弹出modal框","jquery对象扩展","data-selector",null,"jquery数据选择器，加此属性以post方式弹出模态框，并将选择到的数据提交","参见用户管理-> 添加(手动)"]
[{"$nulls":5},"size","modal框大小，有默认大小，还有modal-lg,modal-sm,modal-message"]
[{"$nulls":5},"backdrop","是否通过点击背景关掉，默认是"]
[{"$nulls":5},"complete","调用完成后的方法，success或error都会执行"]
[{"$nulls":5},"data","传入的参数"]
[]
[2,"hideModal","关掉modal","jquery对象扩展"]
[3]

{"sheet":"$.Taiji扩展","index":3,"n_rows":5,"n_cols":5,"rows_kept":5,"cut":false,"hidden":false,"merged":[[0,5,1048575,11]]}
["序号","方法","功能","描述","示例"]
[1,"$.Taiji.showNote","显示成功信息"]
[2,"$.Taiji.showWarn","显示警告信息"]
[3,"$.Taiji.base64.decode","base64解码操作",null,"$.Taiji.showProcess(72,\"上传中\",0.3);"]
[4,"$.Taiji.showProcess","用于显示框架的进度条"]

{"sheet":"taiji方法","index":4,"n_rows":7,"n_cols":7,"rows_kept":7,"cut":false,"hidden":false,"merged":[[2,6,5,6],[2,2,5,2],[2,1,5,1],[2,0,5,0],[0,0,0,10]]}
["taiji对象方法调用方式：\n $(\"#myManage\").taiji(func,element,opts);\n        func:暴露的方法名\n        element:带有href的链接元素或者form\n        opts:参数项\n"]
["序号","方法","功能","option","默认","描述","示例"]
[1,"ajaxHref","taiji公用ajaxHref，对带有href属性的a元素ajax请求\n支持通过data-selector增加参数,如data-selector参数有值，ajax请求强制转为post\n方法内容主要步骤包括：\n    1、获取url\n    2、弹出confirmMessage确认框\n    3、解析data-selector组装参数\n    4、发送ajax请求，同时显示加载中\n    5、请求失败处理，包括弹出失败消息框、弹出失败校验提示、触发失败事件（taijiJME、taijiME、taijiCVE、taijiERR）。\n    6、业务成功方法bsSuccess交由调用者实现，如弹出成功框，修改表格，触发事件。\n","method或type","GET","请求类型","${rootUrl}app/sample/tjAjax"]
[null,null,null,"async","false ","是否异步"]
[null,null,null,"bsSuccess(responseData,note)","无","业务成功回调方法，也就是请求成功且后台没有异常时调用"]
[null,null,null,"jQuery.ajax的其他参数"]
[2,"ajaxForm","taiji的ajaxForm通用方法，对form进行异步提交\n1、发送表单提交ajax请求，同时显示加载中\n2、请求失败处理，包括弹出失败消息框、弹出失败校验提示、触发失败事件（taijiJME、taijiME、taijiCVE、taijiERR）。\n3、业务成功处理，后台返回的响应头包含note认为操作成功。回调方法bsSuccess交由调用者实现，如弹出成功框，修改表格，触发事件。\n","bsSuccess(responseHtml,note)","无","业务成功回调方法，后台调用addSuccess认为成功","${rootUrl}app/sample/tjAjax\n${rootUrl}app/sample/wizard"]

{"sheet":"其他","index":5,"n_rows":2,"n_cols":4,"rows_kept":2,"cut":false,"hidden":false,"merged":[]}
["序号","功能","说明","示例"]
[1,"新打开页面操作","在添加、修改操作时，不是以弹出层方式打开页面，而是新打开浏览器窗口，操作完成后更新父窗口页面。","用户管理->添加（open）"]