1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- {extend name="common/common2" /}
- {block name="main"}
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <form method="post" action="{:url('send')}" class="form-horizontal">
- <input type="hidden" name="id" value="{$id}">
- <div class="form-group">
- <label class="col-sm-2 control-label">执行护工</label>
- <div class="col-sm-6">
- {:widget('common/multiselect',['name'=>'uids','lists' => $workers, 'val' => []])}
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">开始时间</label>
- <div class="col-sm-6">
- <input type="text" placeholder="请选择" class="form-control" readonly id="start" name="start" value="{$info.start|default=date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">备注</label>
- <div class="col-sm-6">
- <textarea name="remark" class="form-control"></textarea>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <div class="col-sm-4 col-sm-offset-2">
- <button class="btn btn-primary ajax-post" data-layer="1" target-form="form-horizontal" type="submit">确 定</button>
- <button class="btn cancel-btn btn-default" type="button">取 消</button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- <script type="text/javascript" src="/static/layDate-v5.0.9/laydate.js"></script>
- <script>
- laydate.render({
- elem: '#start',
- //设置开始日期、日期日期的 input 选择器
- //数组格式为 5.3.0 开始新增,之前版本直接配置 true 或任意分割字符即可
- type: 'datetime',
- trigger: 'click',
- theme: '#284a94'
- });
- </script>
- {/block}
|