|
@@ -0,0 +1,45 @@
|
|
|
|
|
+<include file="public@header" />
|
|
|
|
|
+</head>
|
|
|
|
|
+<body>
|
|
|
|
|
+<div class="wrap">
|
|
|
|
|
+ <ul class="nav nav-tabs">
|
|
|
|
|
+ <li><a href="{:url('repair/index')}">维修日志列表</a></li>
|
|
|
|
|
+ <li class="active"><a href="{:url('repair/add')}">添加日志</a></li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('repair/datapost')}">
|
|
|
|
|
+ <div class="form-group">
|
|
|
|
|
+ <label for="input-title" class="col-sm-2 control-label"><span class="form-required">*</span>维修项目</label>
|
|
|
|
|
+ <div class="col-md-6 col-sm-6">
|
|
|
|
|
+ <input type="text" class="form-control" id="input-title" name="title">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="form-group">
|
|
|
|
|
+ <label for="input-repair_name" class="col-sm-2 control-label"><span class="form-required">*</span>维修员姓名</label>
|
|
|
|
|
+ <div class="col-md-6 col-sm-6">
|
|
|
|
|
+ <input type="text" class="form-control" id="input-repair_name" name="repair_name">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="form-group">
|
|
|
|
|
+ <label for="input-remark" class="col-sm-2 control-label">维修内容</label>
|
|
|
|
|
+ <div class="col-md-6 col-sm-10">
|
|
|
|
|
+ <textarea class="form-control" id="input-remark" name="remark"></textarea>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="form-group">
|
|
|
|
|
+ <label for="input-repair_time" class="col-sm-2 control-label">维修时间</label>
|
|
|
|
|
+ <div class="col-md-6 col-sm-10">
|
|
|
|
|
+ <input class="form-control js-bootstrap-datetime" id="input-repair_time" type="text" name="repair_time"
|
|
|
|
|
+ value="{:date('Y-m-d H:i:s',time())}">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="form-group">
|
|
|
|
|
+ <div class="col-sm-offset-2 col-sm-10">
|
|
|
|
|
+ <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
|
|
|
|
|
+ <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </form>
|
|
|
|
|
+</div>
|
|
|
|
|
+<script src="__STATIC__/js/admin.js"></script>
|
|
|
|
|
+</body>
|
|
|
|
|
+</html>
|