初始架构
This commit is contained in:
parent
9c532a1331
commit
6ac161319a
|
@ -16,8 +16,8 @@ class index extends admin
|
||||||
deldir('cache/templates');
|
deldir('cache/templates');
|
||||||
// html样式
|
// html样式
|
||||||
|
|
||||||
$_M['html_class'] = 'no-js css-menubar';
|
// $_M['html_class'] = 'no-js css-menubar';
|
||||||
$_M['body_class'] = 'animsition site-navbar-small dashboard';
|
// $_M['body_class'] = 'animsition site-navbar-small dashboard';
|
||||||
}
|
}
|
||||||
|
|
||||||
//应用入口
|
//应用入口
|
||||||
|
|
|
@ -25,8 +25,8 @@ class install
|
||||||
$this->m_name = 'metremark';
|
$this->m_name = 'metremark';
|
||||||
$this->m_class = 'index';
|
$this->m_class = 'index';
|
||||||
$this->m_action = 'doindex';
|
$this->m_action = 'doindex';
|
||||||
$this->appname = 'Remark UI 融入米拓'; //应用名称
|
$this->appname = 'Remark UI 融入米拓7.0'; //应用名称
|
||||||
$this->info = 'Remark UI 融入米拓调试测试页面'; //应用描述
|
$this->info = 'Remark UI 融入米拓7.0调试测试页面'; //应用描述
|
||||||
$this->depend = ''; //应用依赖
|
$this->depend = ''; //应用依赖
|
||||||
$this->target = 1; //是否支新窗口打开
|
$this->target = 1; //是否支新窗口打开
|
||||||
$this->display = 1; //是否显示应用图标
|
$this->display = 1; //是否显示应用图标
|
||||||
|
|
|
@ -13,43 +13,43 @@ $lang_json_admin_js_time = filemtime(PATH_WEB.'cache/lang_json_admin_'.$_M['lang
|
||||||
|
|
||||||
|
|
||||||
<!-- Core -->
|
<!-- Core -->
|
||||||
<script src="http://www.cui.com/classic/global/vendor/babel-external-helpers/babel-external-helpers.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/babel-external-helpers/babel-external-helpers.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/vendor/jquery/jquery.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/jquery/jquery.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/vendor/popper-js/umd/popper.min.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/popper-js/umd/popper.min.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/vendor/bootstrap/bootstrap.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/bootstrap/bootstrap.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/vendor/animsition/animsition.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/animsition/animsition.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/vendor/mousewheel/jquery.mousewheel.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/mousewheel/jquery.mousewheel.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/vendor/asscrollbar/jquery-asScrollbar.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/asscrollbar/jquery-asScrollbar.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/vendor/asscrollable/jquery-asScrollable.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/asscrollable/jquery-asScrollable.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/vendor/ashoverscroll/jquery-asHoverScroll.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/ashoverscroll/jquery-asHoverScroll.js"></script>
|
||||||
|
|
||||||
<!-- Plugins -->
|
<!-- Plugins -->
|
||||||
<script src="http://www.cui.com/classic/global/vendor/switchery/switchery.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/switchery/switchery.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/vendor/intro-js/intro.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/intro-js/intro.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/vendor/screenfull/screenfull.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/screenfull/screenfull.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/vendor/slidepanel/jquery-slidePanel.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/slidepanel/jquery-slidePanel.js"></script>
|
||||||
|
|
||||||
<!-- Scripts -->
|
<!-- Scripts -->
|
||||||
<script src="http://www.cui.com/classic/global/js/Component.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/js/Component.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/js/Plugin.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/js/Plugin.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/js/Base.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/js/Base.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/js/Config.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/js/Config.js"></script>
|
||||||
|
|
||||||
<script src="http://www.cui.com/classic/base/assets/js/Section/Menubar.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/base/assets/js/Section/Menubar.js"></script>
|
||||||
<script src="http://www.cui.com/classic/base/assets/js/Section/GridMenu.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/base/assets/js/Section/GridMenu.js"></script>
|
||||||
<script src="http://www.cui.com/classic/base/assets/js/Section/Sidebar.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/base/assets/js/Section/Sidebar.js"></script>
|
||||||
<script src="http://www.cui.com/classic/base/assets/js/Section/PageAside.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/base/assets/js/Section/PageAside.js"></script>
|
||||||
<script src="http://www.cui.com/classic/base/assets/js/Plugin/menu.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/base/assets/js/Plugin/menu.js"></script>
|
||||||
|
|
||||||
<script src="http://www.cui.com/classic/global/js/config/colors.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/js/config/colors.js"></script>
|
||||||
<script src="http://www.cui.com/classic/base/assets/js/config/tour.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/base/assets/js/config/tour.js"></script>
|
||||||
<script>Config.set('assets', '../assets');</script>
|
<script>Config.set('assets', '../assets');</script>
|
||||||
|
|
||||||
<!-- Page -->
|
<!-- Page -->
|
||||||
<script src="http://www.cui.com/classic/base/assets/js/Site.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/base/assets/js/Site.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/js/Plugin/asscrollable.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/js/Plugin/asscrollable.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/js/Plugin/slidepanel.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/js/Plugin/slidepanel.js"></script>
|
||||||
<script src="http://www.cui.com/classic/global/js/Plugin/switchery.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/js/Plugin/switchery.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function (document, window, $) {
|
(function (document, window, $) {
|
||||||
|
|
|
@ -34,23 +34,23 @@ $synchronous=$_M['langlist']['admin'][$_M['langset']]['synchronous'];
|
||||||
<!['endif']-->
|
<!['endif']-->
|
||||||
|
|
||||||
<!-- Stylesheets -->
|
<!-- Stylesheets -->
|
||||||
<!--<link rel="stylesheet" href="http://www.cui.com/classic/global/css/bootstrap.min.css">-->
|
<!--<link rel="stylesheet" href="http://ui.iqzhe.com/new/classic/global/css/bootstrap.min.css">-->
|
||||||
<link rel="stylesheet" href="http://www.cui.com/classic/global/css/bootstrap-extend.min.css">
|
<link rel="stylesheet" href="http://ui.iqzhe.com/new/classic/global/css/bootstrap-extend.min.css">
|
||||||
<link rel="stylesheet" href="http://www.cui.com/classic/base/assets/css/site.min.css">
|
<link rel="stylesheet" href="http://ui.iqzhe.com/new/classic/base/assets/css/site.min.css">
|
||||||
|
|
||||||
<!-- Plugins -->
|
<!-- Plugins -->
|
||||||
<link rel="stylesheet" href="http://www.cui.com/classic/global/vendor/animsition/animsition.css">
|
<link rel="stylesheet" href="http://ui.iqzhe.com/new/classic/global/vendor/animsition/animsition.css">
|
||||||
<link rel="stylesheet" href="http://www.cui.com/classic/global/vendor/asscrollable/asScrollable.css">
|
<link rel="stylesheet" href="http://ui.iqzhe.com/new/classic/global/vendor/asscrollable/asScrollable.css">
|
||||||
<link rel="stylesheet" href="http://www.cui.com/classic/global/vendor/switchery/switchery.css">
|
<link rel="stylesheet" href="http://ui.iqzhe.com/new/classic/global/vendor/switchery/switchery.css">
|
||||||
<link rel="stylesheet" href="http://www.cui.com/classic/global/vendor/intro-js/introjs.css">
|
<link rel="stylesheet" href="http://ui.iqzhe.com/new/classic/global/vendor/intro-js/introjs.css">
|
||||||
<link rel="stylesheet" href="http://www.cui.com/classic/global/vendor/slidepanel/slidePanel.css">
|
<link rel="stylesheet" href="http://ui.iqzhe.com/new/classic/global/vendor/slidepanel/slidePanel.css">
|
||||||
<link rel="stylesheet" href="http://www.cui.com/classic/global/vendor/flag-icon-css/flag-icon.css">
|
<link rel="stylesheet" href="http://ui.iqzhe.com/new/classic/global/vendor/flag-icon-css/flag-icon.css">
|
||||||
|
|
||||||
<!-- Fonts -->
|
<!-- Fonts -->
|
||||||
<link rel="stylesheet" href="http://www.cui.com/classic/global/fonts/web-icons/web-icons.min.css">
|
<link rel="stylesheet" href="http://ui.iqzhe.com/new/classic/global/fonts/web-icons/web-icons.min.css">
|
||||||
<link rel="stylesheet" href="http://www.cui.com/classic/global/fonts/brand-icons/brand-icons.min.css">
|
<link rel="stylesheet" href="http://ui.iqzhe.com/new/classic/global/fonts/brand-icons/brand-icons.min.css">
|
||||||
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Roboto:300,400,500,300italic'>
|
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Roboto:300,400,500,300italic'>
|
||||||
<script src="http://www.cui.com/classic/global/vendor/breakpoints/breakpoints.js"></script>
|
<script src="http://ui.iqzhe.com/new/classic/global/vendor/breakpoints/breakpoints.js"></script>
|
||||||
<script>
|
<script>
|
||||||
Breakpoints();
|
Breakpoints();
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
$(function(){
|
||||||
|
alert('dd88');
|
||||||
|
});
|
|
@ -35,276 +35,5 @@
|
||||||
* M['url']['editor'] 当前编辑器应用文件夹路径
|
* M['url']['editor'] 当前编辑器应用文件夹路径
|
||||||
*/
|
*/
|
||||||
$(function(){
|
$(function(){
|
||||||
// var myDate=new Date().getTime()
|
alert('dd');
|
||||||
// $.include(M.url.own_tem + 'js/appcheck.min.js?'+myDate);
|
|
||||||
//
|
|
||||||
// $.ajax({
|
|
||||||
// type: "GET",
|
|
||||||
// url: M.url.own_name + 'c=ajax&a=doajaxcl&lang=' + M['langset'],
|
|
||||||
// dataType: "jsonp",
|
|
||||||
// async: false
|
|
||||||
// }).done(function (data) {
|
|
||||||
// CL = data;
|
|
||||||
// });
|
|
||||||
//
|
|
||||||
// var appfun = function () {
|
|
||||||
// var $self = this;
|
|
||||||
// //有序表处理
|
|
||||||
// $.getJSON(M.url.own_name + 'c=ajax&a=dosequence&lang=' + M['langset'],{},function(json){});
|
|
||||||
// //select2
|
|
||||||
// if($('[data-plugin="select2"]').length) $self.select2(true);
|
|
||||||
// //排期广告位选择
|
|
||||||
// if($('.add_ap_list').length) $.include(M.url.own_tem + 'js/applan.js?'+myDate);
|
|
||||||
// //表格重绘后回调
|
|
||||||
// $('#tableslist').on( 'draw.dt', function ( e,settings ) {
|
|
||||||
// if($('[data-plugin="alertify"]').length) $self.select2(false);
|
|
||||||
// })
|
|
||||||
// //单个时间初始化
|
|
||||||
// if($('[data-plugin="alonetime"]').length) $self.alonetime();
|
|
||||||
// //时间区段选择
|
|
||||||
// if($('[data-plugin="datetosearch"]').length) $self.datepicker();
|
|
||||||
// //导出功能
|
|
||||||
// $(document).on('click','.backups',function (event) {
|
|
||||||
// var my = $(this);
|
|
||||||
// event.preventDefault();
|
|
||||||
// my.parents('form').metSubmit(0);
|
|
||||||
// var obj = my.parents("form").serialize();
|
|
||||||
// var href = my.data('url');
|
|
||||||
// window.location.href = href + '&' + obj;
|
|
||||||
// })
|
|
||||||
// //表格底部自定义按钮
|
|
||||||
// $(document).on('click','[table-zdybtn]',function (event) {
|
|
||||||
// var my = $(this),
|
|
||||||
// $form = my.parents('form'),
|
|
||||||
// typestr = my.data('submit_type');
|
|
||||||
// event.preventDefault();
|
|
||||||
// $self.ownsubmit($form,typestr);
|
|
||||||
// if(my.data('plugin') != 'alertify'){
|
|
||||||
// $form.submit();
|
|
||||||
// return true;
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
// //排序功能
|
|
||||||
// if($('a.orderby-link').length) $self.orders();
|
|
||||||
// //状态更改
|
|
||||||
// // http://bsify.admui.com/alertify/ 中文说明
|
|
||||||
// $(document).on('click','.btn-cursor-pointer', function () {
|
|
||||||
// var self = $(this);
|
|
||||||
// $.include(M['url']['static2_vendor'] + 'alertify/alertify.js', function () {
|
|
||||||
// alertify
|
|
||||||
// .okBtn("确定")
|
|
||||||
// .cancelBtn("取消")
|
|
||||||
// .confirm('确定更改状态吗?',function () {
|
|
||||||
// $.getJSON(self.data('href'), function(json){
|
|
||||||
// window.location.reload();
|
|
||||||
// })
|
|
||||||
// })
|
|
||||||
// })
|
|
||||||
// });
|
|
||||||
// };
|
|
||||||
//
|
|
||||||
// appfun.prototype = {
|
|
||||||
// isEmpty: function (val) {
|
|
||||||
// switch (typeof val) {
|
|
||||||
// case 'undefined':
|
|
||||||
// return true;
|
|
||||||
// case 'string':
|
|
||||||
// if (val.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '').length == 0)
|
|
||||||
// return true;
|
|
||||||
// break;
|
|
||||||
// case 'boolean':
|
|
||||||
// if (!val)
|
|
||||||
// return true;
|
|
||||||
// break;
|
|
||||||
// case 'number':
|
|
||||||
// if (0 === val || isNaN(val))
|
|
||||||
// return true;
|
|
||||||
// break;
|
|
||||||
// case 'object':
|
|
||||||
// if (null === val || val.length === 0)
|
|
||||||
// return true;
|
|
||||||
// for (var i in val) {
|
|
||||||
// return false;
|
|
||||||
// }
|
|
||||||
// return true;
|
|
||||||
// }
|
|
||||||
// return false;
|
|
||||||
// },
|
|
||||||
// select2:function(drawdt){
|
|
||||||
// // drawdt true 执行默认操作 false 不执行
|
|
||||||
// var $self = this,select = [];
|
|
||||||
// //选择器
|
|
||||||
// M['plugin']['select2'] = [
|
|
||||||
// M['url']['static2_vendor'] + 'select2/select2.min.css',
|
|
||||||
// M['url']['static2_vendor'] + 'select2/select2.full.min.js',
|
|
||||||
// M['url']['static2_vendor'] + 'select2/i18n/zh-CN.js',
|
|
||||||
// ];
|
|
||||||
// $.include(M['plugin']['select2'],function(){
|
|
||||||
// $('[data-plugin="select2"]').each(function(indexs,item){
|
|
||||||
// var _self = $(this),
|
|
||||||
// defaults = _self.data('default'),
|
|
||||||
// select2url = _self.data('select2-url') + '&'+ myDate;
|
|
||||||
//
|
|
||||||
// select[indexs] = _self.select2({
|
|
||||||
// placeholder: '输入搜索内容', //提示语
|
|
||||||
// ajax: {
|
|
||||||
// url: select2url,
|
|
||||||
// dataType: 'jsonp',
|
|
||||||
// delay: 500,
|
|
||||||
// data: function (params) {
|
|
||||||
// return {
|
|
||||||
// querys: params.term, //search term
|
|
||||||
// tname: _self.data('tname'), //指定简短表
|
|
||||||
// fiend: _self.data('fiend'), //指定字段值
|
|
||||||
// allnone: _self.data('allnone'), //是否只显示应用的值
|
|
||||||
// source: _self.data('source'), //查看来源标记
|
|
||||||
// condition: _self.data('condition') //查询限制条件
|
|
||||||
// };
|
|
||||||
// },
|
|
||||||
// results: function (data, page) {
|
|
||||||
// return {results: data.results};
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
//
|
|
||||||
// //默认值处理
|
|
||||||
// if(!$self.isEmpty(defaults) && drawdt == true){
|
|
||||||
// $.getJSON(
|
|
||||||
// select2url,
|
|
||||||
// {
|
|
||||||
// tname: _self.data('tname'), //指定简短表
|
|
||||||
// fiend: _self.data('fiend'), //指定字段值
|
|
||||||
// allnone: _self.data('allnone'), //是否只显示应用的值
|
|
||||||
// source: _self.data('source'), //查看来源标记
|
|
||||||
// condition: _self.data('condition'), //查询限制条件
|
|
||||||
// default: defaults, //默认值
|
|
||||||
// division: _self.data('division') //默认值分隔符
|
|
||||||
// },
|
|
||||||
// function(obj){
|
|
||||||
// $.each(obj.results, function(index, ele) {
|
|
||||||
// $.each(ele.children, function(indexop, eleop) {
|
|
||||||
// var option = new Option(eleop.text, eleop.id, true, true);
|
|
||||||
// select[indexs].append(option).trigger('change');
|
|
||||||
// })
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
// )
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// });
|
|
||||||
// });
|
|
||||||
// },
|
|
||||||
// datepicker:function(){
|
|
||||||
// var $self = this;
|
|
||||||
// M['plugin']['datetimepicker']=[
|
|
||||||
// M['url']['epl']+'time/jquery.datetimepicker.css',
|
|
||||||
// M['url']['epl']+'time/jquery.datetimepicker.js'
|
|
||||||
// ];
|
|
||||||
// $.include(M['plugin']['datetimepicker'], function () {
|
|
||||||
// var starttime = $('#date_timepicker_start'),
|
|
||||||
// endtime = $('#date_timepicker_end');
|
|
||||||
// starttime.datetimepicker({
|
|
||||||
// lang:M.synchronous=='cn'?'ch':'en',
|
|
||||||
// timepicker:starttime.attr("data-day-type")==2?true:false,
|
|
||||||
// format:starttime.attr("data-day-type")==2?'Y-m-d H:i:s':'Y-m-d',
|
|
||||||
//// value:starttime.val()?starttime.val():'',
|
|
||||||
//// onShow:function( ct ){
|
|
||||||
//// this.setOptions({
|
|
||||||
//// maxDate:endtime.val()?endtime.val():false
|
|
||||||
//// })
|
|
||||||
//// },
|
|
||||||
// onSelectDate:function(ct,$i){
|
|
||||||
// $self.tableaajx(starttime);
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
// endtime.datetimepicker({
|
|
||||||
// lang:M.synchronous=='cn'?'ch':'en',
|
|
||||||
// timepicker:endtime.attr("data-day-type")==2?true:false,
|
|
||||||
// format:endtime.attr("data-day-type")==2?'Y-m-d H:i:s':'Y-m-d',
|
|
||||||
//// value:endtime.val()?endtime.val():'',
|
|
||||||
//// onShow:function( ct ){
|
|
||||||
//// this.setOptions({
|
|
||||||
//// minDate:starttime.val()?starttime.val():false
|
|
||||||
//// })
|
|
||||||
//// },
|
|
||||||
// onSelectDate:function(ct,$i){
|
|
||||||
// $self.tableaajx(endtime);
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
// })
|
|
||||||
// },
|
|
||||||
// alonetime:function(){
|
|
||||||
// var $self = this;
|
|
||||||
// M['plugin']['datetimepicker']=[
|
|
||||||
// M['url']['epl']+'time/jquery.datetimepicker.css',
|
|
||||||
// M['url']['epl']+'time/jquery.datetimepicker.js'
|
|
||||||
// ];
|
|
||||||
// $.include(M['plugin']['datetimepicker'], function () {
|
|
||||||
// var alonetime = $('[data-plugin="alonetime"]');
|
|
||||||
// alonetime.datetimepicker({
|
|
||||||
// lang:M.synchronous=='cn'?'ch':'en',
|
|
||||||
// timepicker:alonetime.attr("data-day-type")==2?true:false,
|
|
||||||
// format:alonetime.attr("data-day-type")==2?'Y-m-d H:i:s':'Y-m-d',
|
|
||||||
// onSelectDate:function(ct,$i){
|
|
||||||
// $self.tableaajx(alonetime);
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
// });
|
|
||||||
// },
|
|
||||||
// tableaajx:function(timedom){
|
|
||||||
// if(typeof datatable != 'undefined'){
|
|
||||||
// var $this_datatable=timedom.parents('.dataTable'),
|
|
||||||
// datatable_index=$this_datatable.index('.dataTable');
|
|
||||||
// if(datatable_index<0) datatable_index=0;
|
|
||||||
// datatable[datatable_index].ajax.reload();
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
// orders:function(){
|
|
||||||
// var $self = this;
|
|
||||||
// $(document).on('click','a.orderby-link',function (event) {
|
|
||||||
// var $this = $(this), arrow = $this.find(".orderby-arrow");
|
|
||||||
// if(arrow.length){
|
|
||||||
// if($this.find(".desc").length){
|
|
||||||
// $self.orderby($this,'asc');
|
|
||||||
// }else{
|
|
||||||
// //还原
|
|
||||||
// $self.orderby($this,'');
|
|
||||||
// }
|
|
||||||
// }else{
|
|
||||||
// $self.orderby($this,'desc');
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
// },
|
|
||||||
// orderby(dom,type){
|
|
||||||
// var $self = this;
|
|
||||||
// //清楚所有排序
|
|
||||||
// $("a.orderby-link").find(".orderby-arrow").remove();
|
|
||||||
// $("a.orderby-link").next().val('');
|
|
||||||
// //操作当前排序
|
|
||||||
// if(type) dom.append('<span class="orderby-arrow '+type+'"></span>');
|
|
||||||
// dom.next().val(type);
|
|
||||||
// $self.tableaajx(dom);
|
|
||||||
// },
|
|
||||||
// ownsubmit:function($form,typestr){
|
|
||||||
// // 插入submit_type字段
|
|
||||||
// if($form.find('[name="submit_type"]').length) $form.append('<input type="hidden" name="submit_type" value=""/>');
|
|
||||||
// $form.find('[name="submit_type"]').val(typestr);
|
|
||||||
// // 插入表格的all_id字段
|
|
||||||
// if($form.find('.dataTable').length){
|
|
||||||
// var $table = $form.find('.dataTable'),
|
|
||||||
// $checkbox = $table.find('tbody input[type="checkbox"][name="id"]:checked'),
|
|
||||||
// all_id='';
|
|
||||||
// $checkbox.each(function(index, el) {
|
|
||||||
// all_id += all_id?','+$(this).val():$(this).val();
|
|
||||||
// })
|
|
||||||
// if(!$form.find('[name="all_id"]').length) $form.append('<input type="hidden" name="all_id"/>');
|
|
||||||
// $form.find('[name="all_id"]').val(all_id);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// };
|
|
||||||
//
|
|
||||||
// APPFUN = new appfun();
|
|
||||||
//
|
|
||||||
// //缓存
|
|
||||||
// $.ajaxSetup({cache:false});
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue