$value) { ?>
自定义日期
= DateRangePicker::widget([
'id' => 'queryDate-' . $boxId,
'name' => 'queryDate-' . $boxId,
'value' => '',
'useWithAddon' => true,
'convertFormat' => true,
'startAttribute' => 'start_time',
'endAttribute' => 'end_time',
'pluginEvents' => [
"apply.daterangepicker" => "function(ev, picker) {
var startDate = picker.startDate.format('YYYY-MM-DD');
var endDate = picker.endDate.format('YYYY-MM-DD');
var boxID = '{$boxId}';
$('#freedom-' + boxID).attr('data-start', startDate);
$('#freedom-' + boxID).attr('data-end', endDate);
// 触发点击
$('#freedom-' + boxID).trigger('click');
}",
],
'options' => [
'class' => 'form-control',
'placeholder' => '开始时间 - 结束时间'
],
'pluginOptions' => [
'locale' => ['format' => 'Y-m-d'],
],
]) . $addon;?>
= Html::encode($value) ?>
= Html::radioList($column['name'], $column['value'], $column['items'], [
'style' => 'padding-top: 5px',
'class' => 'echarts-input',
'data-type' => 'radioList'
])?>
= Html::dropDownList($column['name'], $column['value'], $column['items'], [
'class' => 'form-control echarts-input',
'data-type' => 'dropDownList'
])?>