+
+
+
+ {:build_heading()}
+
+
+
diff --git a/public/assets/js/backend/manystore/index.js b/public/assets/js/backend/manystore/index.js
index 5475962..738ab62 100644
--- a/public/assets/js/backend/manystore/index.js
+++ b/public/assets/js/backend/manystore/index.js
@@ -25,7 +25,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
columns: [
[
{checkbox: true},
- {field: 'operate', title: __('Operate'),width:750, table: table , buttons: [
+ {field: 'operate', title: __('Operate'),width:900, table: table , buttons: [
{name: 'free',
text: '免登录进入机构后台',
icon: 'fa fa-sign-in',
@@ -110,8 +110,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
},
{
name: 'order',
- text: __('机构课程订单'),
- title: __('机构课程订单'),
+ text: __('机构课程购买订单'),
+ title: __('机构课程购买订单'),
classname: 'btn btn-xs btn-primary btn-dialog',
icon: 'fa fa-list',
url: order_url,
@@ -122,6 +122,20 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
// return row.status == '2'||row.status == '3';
// }
},
+ {
+ name: 'hourorder',
+ text: __('机构课时预约记录'),
+ title: __('机构课时预约记录'),
+ classname: 'btn btn-xs btn-primary btn-dialog',
+ icon: 'fa fa-list',
+ url: hourorder_url,
+ callback: function (data) {
+
+ },
+ // visible: function (row) {
+ // return row.status == '2'||row.status == '3';
+ // }
+ },
//
// {name: 'unsetmockauth',
@@ -155,7 +169,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'email', title: __('Email')},
{field: 'status', title: __("Status"), formatter: Table.api.formatter.status},
{field: 'shop.status', title: __('Auth_status'), searchList: {"0":__('Auth_status 0'),"1":__('Auth_status 1'),"2":__('Auth_status 2')}, formatter: Table.api.formatter.status},
- {field: 'user_id', title: __('User_id'),visible:false},
+ {field: 'user_id', title: __('User_id')},
{field: 'shop.type', title: __('Type'), searchList: {"1":__('Type 1'),"2":__('Type 2')}, formatter: Table.api.formatter.normal},
{field: 'user.nickname', title: __('User.nickname'), operate: 'LIKE'},
@@ -163,7 +177,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'user.avatar', title: __('User.avatar'), operate: 'LIKE', events: Table.api.events.image, formatter: Table.api.formatter.image},
-
+ // {field: 'user_id', title: __('申请姓名|机构名'), operate: 'LIKE'},
{field: 'shop.name', title: __('申请姓名|机构名'), operate: 'LIKE'},
{field: 'shop.logo', title: __('Logo'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},
{field: 'shop.image', title: __('Image'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},
@@ -299,6 +313,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
return 'school/classes/order/order/index?shop_id='+row.id;
}
+ //hourorder_url
+ var hourorder_url = function (row,dom) {
+ return 'school/classes/hourorder/order/index?shop_id='+row.id;
+ }
return Controller;
});
diff --git a/public/assets/js/backend/school/classes/classes_lib.js b/public/assets/js/backend/school/classes/classes_lib.js
index 4756850..858afe6 100644
--- a/public/assets/js/backend/school/classes/classes_lib.js
+++ b/public/assets/js/backend/school/classes/classes_lib.js
@@ -88,6 +88,20 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
// return row.status == '2'||row.status == '3';
// }
},
+ {
+ name: 'classes_hourorder',
+ text: __('课时预约记录'),
+ title: __('课时预约记录'),
+ classname: 'btn btn-xs btn-danger btn-magic btn-dialog',
+ icon: 'fa fa-list',
+ url: classes_hourorder_url,
+ callback: function (data) {
+
+ },
+ // visible: function (row) {
+ // return row.status == '2'||row.status == '3';
+ // }
+ },
//
// {name: 'unsetmockauth',
// text: '取消加圈资格',
@@ -118,6 +132,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'feel', title: __('是否免费'), searchList: {"0":__('付费课程'),"1":__('免费课程')}, formatter: Table.api.formatter.normal},
+ {field: 'status', title: __('Status'), searchList: {"1":__('Status 1'),"2":__('Status 2'),"3":__('Status 3')}, formatter: Table.api.formatter.status},
{field: 'classes_cate_title', title: __('Classes_cate_ids'), operate: false, formatter: Table.api.formatter.flag},
{field: 'classes_label_title', title: __('Classes_label_ids'), operate: false, formatter: Table.api.formatter.flag},
@@ -128,7 +143,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'title', title: __('Title'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
{field: 'headimage', title: __('Headimage'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},
{field: 'images', title: __('Images'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.images},
- {field: 'status', title: __('Status'), searchList: {"1":__('Status 1'),"2":__('Status 2'),"3":__('Status 3')}, formatter: Table.api.formatter.status},
{field: 'reason', title: __('Reason'), operate: 'LIKE' },
{field: 'auth_time', title: __('Auth_time'), operate:'RANGE',visible:false, addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
@@ -143,7 +157,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'sale', title: __('Sale')},
{field: 'price', title: __('Price'), operate:'BETWEEN'},
{field: 'underline_price', title: __('Underline_price'), operate:'BETWEEN'},
- {field: 'admin_id', title: __('Admin_id'),visible:false},
+ {field: 'admin_id', title: __('Admin_id'),visible:false},
{field: 'weigh', title: __('Weigh'), operate: false},
{field: 'recommend', title: __('Recommend'), searchList: {"0":__('Recommend 0'),"1":__('Recommend 1')}, formatter: Table.api.formatter.normal},
{field: 'hot', title: __('Hot'), searchList: {"0":__('Hot 0'),"1":__('Hot 1')}, formatter: Table.api.formatter.normal},
@@ -364,5 +378,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
}
+ var classes_hourorder_url = function (row,dom) {
+ return 'school/classes/hourorder/order/index?classes_lib_id='+row.id;
+ }
+
+
return Controller;
});
diff --git a/public/assets/js/backend/school/classes/hourorder/order.js b/public/assets/js/backend/school/classes/hourorder/order.js
index ed74dd6..46cffa6 100644
--- a/public/assets/js/backend/school/classes/hourorder/order.js
+++ b/public/assets/js/backend/school/classes/hourorder/order.js
@@ -78,6 +78,20 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
// visible: function (row) {
// return row.status == '2'||row.status == '3';
// }
+ },
+ {
+ name: 'order_detail',
+ text: __('课程信息'),
+ title: __('课程信息'),
+ classname: 'btn btn-xs btn-primary btn-dialog',
+ icon: 'fa fa-list',
+ url: order_detail_url,
+ callback: function (data) {
+
+ },
+ // visible: function (row) {
+ // return row.paytime;
+ // }
},
//
// {name: 'unsetmockauth',
@@ -111,6 +125,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'start_time', title: __('Start_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
{field: 'end_time', title: __('End_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
+ {field: 'auth_status', title: __('Auth_status'), searchList: {"0":__('Auth_status 0'),"1":__('Auth_status 1'),"2":__('Auth_status 2')}, formatter: Table.api.formatter.status},
+
+
+
{field: 'order_no', title: __('Order_no'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
{field: 'classes_order_id',visible:false, title: __('Classes_order_id')},
{field: 'classes_lib_spec_id',visible:false, title: __('Classes_lib_spec_id')},
@@ -137,6 +155,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
{field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
{field: 'classesorder.order_no', title: __('Order.order_no'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
+
+ {field: 'manystore_id', title: __('Manystore_id'),visible:false},
+ {field: 'shop_id', title: __('Shop_id'),visible:false},
+
// {field: 'spec.name', title: __('Spec.name'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
// {field: 'lib.title', title: __('Lib.title'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
// {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
@@ -249,5 +271,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
return 'school/classes/hourorder/order_log/index?classes_hour_order_id='+row.id;
}
+ var order_detail_url = function (row,dom) {
+ return 'school/classes/order/order_detail/index?id='+row.classes_order_detail_id;
+ }
+
return Controller;
});
diff --git a/public/assets/js/backend/school/message.js b/public/assets/js/backend/school/message.js
index d6ed92d..56e2f5c 100644
--- a/public/assets/js/backend/school/message.js
+++ b/public/assets/js/backend/school/message.js
@@ -29,7 +29,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{checkbox: true},
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate},
- {field: 'id', title: __('Id'),sortable: true},
+ {field: 'id', title: __('Id')},
{field: 'weigh', title: __('Weigh'), operate: false,sortable: true},
{field: 'type', title: __('Type'), searchList: {"1":__('Type 1'),"2":__('Type 2')}, formatter: Table.api.formatter.normal},
diff --git a/public/assets/js/backend/user/user.js b/public/assets/js/backend/user/user.js
index 2920e0a..d573e5e 100644
--- a/public/assets/js/backend/user/user.js
+++ b/public/assets/js/backend/user/user.js
@@ -24,10 +24,62 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
columns: [
[
{checkbox: true},
+ {field: 'operate', title: __('Operate'), table: table , buttons: [
+ {
+ name: 'third',
+ text: __('三方账号信息'),
+ title: __('三方账号信息'),
+ classname: 'btn btn-xs btn-danger btn-magic btn-dialog',
+ icon: 'fa fa-list',
+ url: third_url,
+ callback: function (data) {
+
+ },
+ // visible: function (row) {
+ // return row.status == '2'||row.status == '3';
+ // }
+ },
+
+
+ {
+ name: 'classes_order',
+ text: __('课程购买单'),
+ title: __('课程购买单'),
+ classname: 'btn btn-xs btn-danger btn-magic btn-dialog',
+ icon: 'fa fa-list',
+ url: classes_order_url,
+ callback: function (data) {
+
+ },
+ // visible: function (row) {
+ // return row.status == '2'||row.status == '3';
+ // }
+ },
+
+ {
+ name: 'classes_hourorder',
+ text: __('课时预约单'),
+ title: __('课时预约单'),
+ classname: 'btn btn-xs btn-danger btn-magic btn-dialog',
+ icon: 'fa fa-list',
+ url: classes_hourorder_url,
+ callback: function (data) {
+
+ },
+ // visible: function (row) {
+ // return row.status == '2'||row.status == '3';
+ // }
+ },
+
+ ], events: Table.api.events.operate, formatter: Table.api.formatter.operate},
+
+
{field: 'id', title: __('Id'), sortable: true},
{field: 'group.name', title: __('Group')},
{field: 'username', title: __('Username'), operate: 'LIKE'},
{field: 'nickname', title: __('Nickname'), operate: 'LIKE'},
+ {field: 'realname', title: __('真实姓名'), operate: 'LIKE'},
+ {field: 'work', title: __('职业'), operate: 'LIKE'},
{field: 'email', title: __('Email'), operate: 'LIKE'},
{field: 'mobile', title: __('Mobile'), operate: 'LIKE'},
{field: 'avatar', title: __('Avatar'), events: Table.api.events.image, formatter: Table.api.formatter.image, operate: false},
@@ -41,7 +93,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'jointime', title: __('Jointime'), formatter: Table.api.formatter.datetime, operate: 'RANGE', addclass: 'datetimerange', sortable: true},
{field: 'joinip', title: __('Joinip'), formatter: Table.api.formatter.search},
{field: 'status', title: __('Status'), formatter: Table.api.formatter.status, searchList: {normal: __('Normal'), hidden: __('Hidden')}},
- {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
+ // {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
]
]
});
@@ -89,5 +141,19 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
}
}
};
+
+
+ var third_url = function (row,dom) {
+ return 'third/index?user_id='+row.id;
+ }
+ //classes_order_url
+ var classes_order_url = function (row,dom) {
+ return 'school/classes/order/order/index?user_id='+row.id;
+ }
+ //classes_hourorder_url
+ var classes_hourorder_url = function (row,dom) {
+ return 'school/classes/hourorder/order/index?user_id='+row.id;
+ }
+
return Controller;
});
\ No newline at end of file
diff --git a/public/assets/js/manystore/school/classes/classes_lib.js b/public/assets/js/manystore/school/classes/classes_lib.js
index 6e1c1c1..049d482 100644
--- a/public/assets/js/manystore/school/classes/classes_lib.js
+++ b/public/assets/js/manystore/school/classes/classes_lib.js
@@ -84,6 +84,20 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
// return row.status == '2'||row.status == '3';
// }
},
+ {
+ name: 'classes_hourorder',
+ text: __('课时预约记录'),
+ title: __('课时预约记录'),
+ classname: 'btn btn-xs btn-danger btn-magic btn-dialog',
+ icon: 'fa fa-list',
+ url: classes_hourorder_url,
+ callback: function (data) {
+
+ },
+ // visible: function (row) {
+ // return row.status == '2'||row.status == '3';
+ // }
+ },
// {name: 'unsetmockauth',
// text: '取消加圈资格',
// icon: 'fa fa-sign-in',
@@ -113,6 +127,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'feel', title: __('是否免费'), searchList: {"0":__('付费课程'),"1":__('免费课程')}, formatter: Table.api.formatter.normal},
+ {field: 'status', title: __('Status'), searchList: {"1":__('Status 1'),"2":__('Status 2'),"3":__('Status 3')}, formatter: Table.api.formatter.status},
{field: 'classes_cate_title', title: __('Classes_cate_ids'), operate: false, formatter: Table.api.formatter.flag},
@@ -124,7 +139,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'title', title: __('Title'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
{field: 'headimage', title: __('Headimage'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},
{field: 'images', title: __('Images'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.images},
- {field: 'status', title: __('Status'), searchList: {"1":__('Status 1'),"2":__('Status 2'),"3":__('Status 3')}, formatter: Table.api.formatter.status},
{field: 'reason', title: __('Reason'), operate: 'LIKE' },
{field: 'auth_time', title: __('Auth_time'), operate:'RANGE',visible:false, addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
@@ -359,5 +373,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
return 'school/classes/order/order/index?classes_lib_id='+row.id +'&shop_id='+row.shop_id;
}
+ var classes_hourorder_url = function (row,dom) {
+ return 'school/classes/hourorder/order/index?classes_lib_id='+row.id;
+ }
+
return Controller;
});
diff --git a/public/assets/js/manystore/school/classes/hourorder/order.js b/public/assets/js/manystore/school/classes/hourorder/order.js
index b94e90c..489ff3a 100644
--- a/public/assets/js/manystore/school/classes/hourorder/order.js
+++ b/public/assets/js/manystore/school/classes/hourorder/order.js
@@ -76,6 +76,20 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
// visible: function (row) {
// return row.status == '2'||row.status == '3';
// }
+ },
+ {
+ name: 'order_detail',
+ text: __('课程信息'),
+ title: __('课程信息'),
+ classname: 'btn btn-xs btn-primary btn-dialog',
+ icon: 'fa fa-list',
+ url: order_detail_url,
+ callback: function (data) {
+
+ },
+ // visible: function (row) {
+ // return row.paytime;
+ // }
},
//
// {name: 'unsetmockauth',
@@ -110,6 +124,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'start_time', title: __('Start_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
{field: 'end_time', title: __('End_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
+ {field: 'auth_status', title: __('Auth_status'), searchList: {"0":__('Auth_status 0'),"1":__('Auth_status 1'),"2":__('Auth_status 2')}, formatter: Table.api.formatter.status},
+
+
{field: 'order_no', title: __('Order_no'), operate: 'LIKE'},
{field: 'classes_order_id',visible:false, title: __('Classes_order_id')},
{field: 'classes_lib_spec_id',visible:false, title: __('Classes_lib_spec_id')},
@@ -136,6 +153,11 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
{field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
{field: 'schoolclassesorder.order_no',visible:false, title: __('Schoolclassesorder.order_no'), operate: 'LIKE'},
+
+
+ {field: 'manystore_id', title: __('Manystore_id'),visible:false},
+ {field: 'shop_id', title: __('Shop_id'),visible:false},
+
// {field: 'schoolclasseslibspec.name',visible:false, title: __('Schoolclasseslibspec.name'), operate: 'LIKE'},
// {field: 'schoolclasseslib.title',visible:false, title: __('Schoolclasseslib.title'), operate: 'LIKE'},
// {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
@@ -240,5 +262,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
return 'school/classes/hourorder/order_log/index?classes_hour_order_id='+row.id;
}
+
+ var order_detail_url = function (row,dom) {
+ return 'school/classes/order/order_detail/index?id='+row.classes_order_detail_id;
+ }
+
return Controller;
});
\ No newline at end of file
diff --git a/public/assets/js/manystore/user/user.js b/public/assets/js/manystore/user/user.js
new file mode 100644
index 0000000..54bf724
--- /dev/null
+++ b/public/assets/js/manystore/user/user.js
@@ -0,0 +1,128 @@
+define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefined, Backend, Table, Form) {
+
+ var Controller = {
+ index: function () {
+ // 初始化表格参数配置
+ Table.api.init({
+ extend: {
+ index_url: 'user/user/index' + location.search,
+ add_url: 'user/user/add',
+ edit_url: 'user/user/edit',
+ del_url: 'user/user/del',
+ multi_url: 'user/user/multi',
+ import_url: 'user/user/import',
+ table: 'user',
+ }
+ });
+
+ var table = $("#table");
+
+ // 初始化表格
+ table.bootstrapTable({
+ url: $.fn.bootstrapTable.defaults.extend.index_url,
+ pk: 'id',
+ sortName: 'id',
+ columns: [
+ [
+ {checkbox: true},
+
+ {field: 'operate', title: __('Operate'), table: table , buttons: [
+ {
+ name: 'classes_order',
+ text: __('课程购买记录'),
+ title: __('课程购买记录'),
+ classname: 'btn btn-xs btn-danger btn-magic btn-dialog',
+ icon: 'fa fa-list',
+ url: classes_order_url,
+ callback: function (data) {
+
+ },
+ // visible: function (row) {
+ // return row.status == '2'||row.status == '3';
+ // }
+ },
+
+ {
+ name: 'classes_hourorder',
+ text: __('课时预约记录'),
+ title: __('课时预约记录'),
+ classname: 'btn btn-xs btn-danger btn-magic btn-dialog',
+ icon: 'fa fa-list',
+ url: classes_hourorder_url,
+ callback: function (data) {
+
+ },
+ // visible: function (row) {
+ // return row.status == '2'||row.status == '3';
+ // }
+ },
+
+ ], events: Table.api.events.operate, formatter: Table.api.formatter.operate},
+
+
+
+ {field: 'id', title: __('Id')},
+ // {field: 'group_id', title: __('Group_id')},
+ // {field: 'username', title: __('Username'), operate: 'LIKE'},
+ {field: 'nickname', title: __('Nickname'), operate: 'LIKE'},
+ {field: 'realname', title: __('Realname'), operate: 'LIKE'},
+ {field: 'work', title: __('Work'), operate: 'LIKE'},
+ // {field: 'password', title: __('Password'), operate: 'LIKE'},
+ // {field: 'salt', title: __('Salt'), operate: 'LIKE'},
+ // {field: 'email', title: __('Email'), operate: 'LIKE'},
+ {field: 'bio', title: __('Bio'), operate: 'LIKE'},
+ {field: 'mobile', title: __('Mobile'), operate: 'LIKE'},
+ {field: 'avatar', title: __('Avatar'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},
+ // {field: 'level', title: __('Level')},
+ // {field: 'gender', title: __('Gender')},
+ // {field: 'birthday', title: __('Birthday'), operate:'RANGE', addclass:'datetimerange', autocomplete:false},
+ // {field: 'bio', title: __('Bio'), operate: 'LIKE'},
+ // {field: 'money', title: __('Money'), operate:'BETWEEN'},
+ // {field: 'score', title: __('Score')},
+ // {field: 'successions', title: __('Successions')},
+ // {field: 'maxsuccessions', title: __('Maxsuccessions')},
+ // {field: 'prevtime', title: __('Prevtime')},
+ // {field: 'logintime', title: __('Logintime')},
+ // {field: 'loginip', title: __('Loginip'), operate: 'LIKE'},
+ // {field: 'loginfailure', title: __('Loginfailure')},
+ // {field: 'loginfailuretime', title: __('Loginfailuretime')},
+ // {field: 'joinip', title: __('Joinip'), operate: 'LIKE'},
+ // {field: 'jointime', title: __('Jointime')},
+ // {field: 'createtime', title: __('Createtime')},
+ // {field: 'updatetime', title: __('Updatetime')},
+ // {field: 'token', title: __('Token'), operate: 'LIKE'},
+ // {field: 'status', title: __('Status'), operate: 'LIKE', formatter: Table.api.formatter.status},
+ // {field: 'verification', title: __('Verification'), operate: 'LIKE'},
+ // {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
+ ]
+ ]
+ });
+
+ // 为表格绑定事件
+ Table.api.bindevent(table);
+ },
+ add: function () {
+ Controller.api.bindevent();
+ },
+ edit: function () {
+ Controller.api.bindevent();
+ },
+ api: {
+ bindevent: function () {
+ Form.api.bindevent($("form[role=form]"));
+ }
+ }
+ };
+
+
+
+ var classes_order_url = function (row,dom) {
+ return 'school/classes/order/order/index?user_id='+row.id;
+ }
+ //classes_hourorder_url
+ var classes_hourorder_url = function (row,dom) {
+ return 'school/classes/hourorder/order/index?user_id='+row.id;
+ }
+
+ return Controller;
+});
\ No newline at end of file