fastadmin pop effect form

In the corresponding project js file

table.bootstrapTable({
    url: $.fn.bootstrapTable.defaults.extend.index_url,
    pk: 'id',
    sortName: 'id',
    columns: [
           {field: 'operate',
             title: __('Operate'),
             table: table,
             buttons:[
                {
                    name: 'detail',
                    title:'详情',
                    icon: 'fa fa-list',
                    classname: 'btn btn-info btn-xs btn-detail btn-dialog',
                    url: 'Partner_e / ShowList' // your own address 
                }, 
    }]
            

Where the default URL with id of this trip: ..... / partner_e / showlist / ids / 1

If an operation button click action bar, the controller input ( "ids") to the receiving id

Guess you like

Origin www.cnblogs.com/wxy0126/p/11642220.html