...
|
...
|
@@ -94,9 +94,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
{field: 'school.title', title: __('School.title'), operate: 'LIKE'},
|
|
|
{field: 'sno', title: __('Sno'), operate: 'LIKE'},
|
|
|
// {field: 'team_id', title: __('Team_id')},
|
|
|
{field: 'earn_score', title: __('Earn_score'), operate:false},
|
|
|
{field: 'earn_score', title: __('Earn_score'),operate:false},
|
|
|
{field: 'unique', title: __('Unique'), operate:false},
|
|
|
{field: 'barcode', title: __('Barcode'), operate:false},
|
|
|
{field: 'barcode', title: __('Barcode'),events: Table.api.events.image, formatter: Table.api.formatter.image, operate:false},
|
|
|
// {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: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate,
|
...
|
...
|
@@ -106,8 +106,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
title: __('生成条形码'),
|
|
|
classname: 'btn btn-xs btn-primary btn-ajax',
|
|
|
icon: 'fa fa-qrcode',
|
|
|
url: 'study/barcode?ids',
|
|
|
confirm: '确认生成新的条形码吗',
|
|
|
url: function(ids){
|
|
|
var x = JSON.stringify(ids);
|
|
|
var s = ids.id;
|
|
|
return 'study/barcode?ids='+s;
|
|
|
},
|
|
|
confirm: '确认生成新的条形码',
|
|
|
success: function (data, ret) {
|
|
|
return true;
|
|
|
},
|
...
|
...
|
|