|
@ -82,7 +82,7 @@ class ExpressAreaSearch extends ExpressArea |
|
|
[ |
|
|
[ |
|
|
'class' => 'iron\grid\ActionColumn', |
|
|
'class' => 'iron\grid\ActionColumn', |
|
|
'align' => 'center', |
|
|
'align' => 'center', |
|
|
'template' => '{express-area-update}', |
|
|
|
|
|
|
|
|
'template' => '{express-area-view} {express-area-update}', |
|
|
'buttons' => [ |
|
|
'buttons' => [ |
|
|
'express-area-update' => function ($url, $model, $key) { |
|
|
'express-area-update' => function ($url, $model, $key) { |
|
|
$options = [ |
|
|
$options = [ |
|
@ -94,6 +94,16 @@ class ExpressAreaSearch extends ExpressArea |
|
|
]; |
|
|
]; |
|
|
return Html::a('', $url . '&expressTemplateId=' . $model->express_template, $options); |
|
|
return Html::a('', $url . '&expressTemplateId=' . $model->express_template, $options); |
|
|
}, |
|
|
}, |
|
|
|
|
|
'express-area-view' => function ($url, $model, $key) { |
|
|
|
|
|
$options = [ |
|
|
|
|
|
'title' => Yii::t('yii', '查看'), |
|
|
|
|
|
'aria-label' => Yii::t('yii', '查看'), |
|
|
|
|
|
'data-method' => 'post', |
|
|
|
|
|
'class' => 'oi oi-list', |
|
|
|
|
|
|
|
|
|
|
|
]; |
|
|
|
|
|
return Html::a('', $url . '&expressTemplateId=' . $model->express_template, $options); |
|
|
|
|
|
}, |
|
|
], |
|
|
], |
|
|
'config' => [], |
|
|
'config' => [], |
|
|
], |
|
|
], |
|
|