HTML; ?>
$value) { ?> 自定义日期
'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;?>
'padding-top: 5px', 'class' => 'echarts-input', 'data-type' => 'radioList' ])?> 'form-control echarts-input', 'data-type' => 'dropDownList' ])?>