fastAdmin框架,点击表格内容弹出页面弹窗
效果:
代码:
{field: 'base_detail', title: __('基地详情'), operate: false,formatter: function (value, row, index) {
var html = '<span class="details-view text-info" data-href="business/business/edit?ids=' + row.id + '">查看基地详情</span>';
// var css = 'warning';
// html += '<br/><a class="btn-xs btn-' + css + ' update-audit" data-id="' + row.id + '">查看基地详情</a>';
return html;
}},
每天进步一点点