<?php use yii\helpers\Html; use iron\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel common\models\searchs\OrderSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Orders'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="row"> <div class="col-12"> <?= GridView::widget([ 'dataProvider' => $dataProvider, 'filter' => $this->render("_search", ['model' => $searchModel]), 'batch' => [ [ "label" => "删除", "url" => "order/deletes" ], ], 'columns' => $columns ]); ?> </div> </div>