正在显示
1 个修改的文件
包含
15 行增加
和
1 行删除
@@ -58,7 +58,21 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin | @@ -58,7 +58,21 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin | ||
58 | {field: 'radar.title', title: __('Radar.title'), operate: false}, | 58 | {field: 'radar.title', title: __('Radar.title'), operate: false}, |
59 | {field: 'createtime', title: __('Createtime'), operate:false, addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime}, | 59 | {field: 'createtime', title: __('Createtime'), operate:false, addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime}, |
60 | //{field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime}, | 60 | //{field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime}, |
61 | - {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate} | 61 | + {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, |
62 | + buttons: [ | ||
63 | + { | ||
64 | + name: 'details', | ||
65 | + text: __('学生信息'), | ||
66 | + title: __('学生信息'), | ||
67 | + classname: 'btn btn-xs btn-primary btn-dialog', | ||
68 | + icon: 'fa fa-list', | ||
69 | + url: 'study/details', | ||
70 | + callback: function (data) { | ||
71 | + Layer.alert("接收到回传数据:" + JSON.stringify(data), {title: "回传数据"}); | ||
72 | + }, | ||
73 | + }, | ||
74 | + ], | ||
75 | + formatter: Table.api.formatter.operate} | ||
62 | ] | 76 | ] |
63 | ] | 77 | ] |
64 | }); | 78 | }); |
-
请 注册 或 登录 后发表评论