1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- {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('selfAdd',[],'')}/mode/{$mode}" class="form-horizontal">
- {if $mode==0}
- <input type="hidden" name="source_type" value="4">
- {/if}
- <div class="form-group">
- <label class="col-sm-2 control-label">任务内容<span class="text-danger">*</span></label>
- <div class="col-sm-6">
- <textarea name="content" class="form-control" cols="30" rows="3" id="value"></textarea>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">所在科室/部门</label>
- <div class="col-sm-6">
- {:widget('common/select',['name'=>'dep_id','lists'=>$dep_list,'value'=>$dep_id])}
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">图片</label>
- <div class="col-sm-6">
- {:widget('common/upimg',['name'=>'images','multi'=>1,'val'=>''])}
- </div>
- </div>
- {if $mode==1}
- <div class="form-group">
- <label class="col-sm-2 control-label">报修紧急程度<span class="text-danger">*</span></label>
- <div class="col-sm-6">
- <select name="repair_priority" class="form-control" >
- <option value="2">普通</option>
- <option value="1">可延缓</option>
- <option value="3">紧急</option>
- </select>
- </div>
- </div>
- {/if}
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <div class="col-sm-6 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>
- </script>
- {/block}
|