fastadmin操作栏添加查看订单详情按纽

fastadmin操作栏添加查看订单详情按纽(窗帘订制)

1、在js文件中,替换原来的操作按纽operate代码

{
                            field: 'operate',
                            title: __('Operate'),
                            table: table,
                            buttons :[
                                {name: 'detail',
                                    text: '订单详情',
                                    title: '订单详情',
                                    icon: 'fa fa-list',
                                    extend: 'data-area=\'["80%", "80%"]\'',
                                    classname: 'btn btn-xs btn-primary btn-dialog',
                                    url: 'cldz/order/detail'
                                }
                            ],
                            events: Table.api.events.operate,
                            formatter: Table.api.formatter.operate
         

你可能感兴趣的:(php)