|
|
1
|
+<include file="public@header"/>
|
|
|
2
|
+<style type="text/css">
|
|
|
3
|
+ .pic-list li {
|
|
|
4
|
+ margin-bottom: 5px;
|
|
|
5
|
+ }
|
|
|
6
|
+</style>
|
|
|
7
|
+</head>
|
|
|
8
|
+<body>
|
|
|
9
|
+<div class="wrap js-check-wrap">
|
|
|
10
|
+ <ul class="nav nav-tabs">
|
|
|
11
|
+ <li><a href="{:url('AdminCost/index')}">费用管理</a></li>
|
|
|
12
|
+ <li class="active"><a>添加费用管理</a></li>
|
|
|
13
|
+ </ul>
|
|
|
14
|
+ <!--js-ajax-form margin-top-20-->
|
|
|
15
|
+ <form action="{:url('AdminCost/addPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
|
|
|
16
|
+ <div class="row">
|
|
|
17
|
+ <div class="col-md-3">
|
|
|
18
|
+ <table class="table table-bordered">
|
|
|
19
|
+ <tr>
|
|
|
20
|
+ <td>
|
|
|
21
|
+ 医院名称<input style="width: 10rem" type="text" name="hospital" value="">
|
|
|
22
|
+ </td>
|
|
|
23
|
+ </tr>
|
|
|
24
|
+ <tr>
|
|
|
25
|
+ <th>免费设置</th>
|
|
|
26
|
+ </tr>
|
|
|
27
|
+ <tr>
|
|
|
28
|
+ <td>
|
|
|
29
|
+ <input type="checkbox" name="free" value="1">第一小时免费</label><br/>
|
|
|
30
|
+ </td>
|
|
|
31
|
+ </tr>
|
|
|
32
|
+ <tr>
|
|
|
33
|
+ <th>每小时费用</th>
|
|
|
34
|
+ </tr>
|
|
|
35
|
+ <tr>
|
|
|
36
|
+ <td>
|
|
|
37
|
+ 每小时费用<input style="width: 5rem" type="number" name="cost" value="">元
|
|
|
38
|
+ </td>
|
|
|
39
|
+ </tr>
|
|
|
40
|
+ <tr>
|
|
|
41
|
+ <th>费用上限</th>
|
|
|
42
|
+ </tr>
|
|
|
43
|
+ <tr>
|
|
|
44
|
+ <td>
|
|
|
45
|
+ 每天费用上限<input style="width: 5rem" type="number" name="ceiling" value="">元
|
|
|
46
|
+ </td>
|
|
|
47
|
+ </tr>
|
|
|
48
|
+ </table>
|
|
|
49
|
+ </div>
|
|
|
50
|
+ <div class="col-md-9">
|
|
|
51
|
+ <table class="table table-bordered">
|
|
|
52
|
+ <thead>
|
|
|
53
|
+ <tr>
|
|
|
54
|
+ <th colspan="6">固定收费时间段设置</th>
|
|
|
55
|
+ </tr>
|
|
|
56
|
+ </thead>
|
|
|
57
|
+ <tbody>
|
|
|
58
|
+ <tr>
|
|
|
59
|
+ <th>开始时间</th>
|
|
|
60
|
+ <td><input class="form-control" type="time" name="start_time" value=""></td>
|
|
|
61
|
+ <th>结束时间</th>
|
|
|
62
|
+ <td><input class="form-control" type="time" name="end_time" value=""></td>
|
|
|
63
|
+ <th>每小时费用</th>
|
|
|
64
|
+ <td><input class="form-control" type="number" name="price" value=""></td>
|
|
|
65
|
+ </tr>
|
|
|
66
|
+ </tbody>
|
|
|
67
|
+ <tfoot>
|
|
|
68
|
+ <tr>
|
|
|
69
|
+ <!--<th colspan="6" style="text-align: right">-->
|
|
|
70
|
+ <!--<a class="btn btn-default btn-sm" id="addattr">添加属性</a>-->
|
|
|
71
|
+ <!--</th>-->
|
|
|
72
|
+ <th colspan="6">
|
|
|
73
|
+ <span class="form-required">
|
|
|
74
|
+ <p style="text-indent: 2em; text-align: left;">
|
|
|
75
|
+ 说明:此时间段设置为跨越夜间凌晨0点的时间段。如果您想要对不跨天的时间端进行设置时,请调转开始时间与结束时间。并将时间段的每小时费用与左侧的每小时费用进行对调。
|
|
|
76
|
+ </p>
|
|
|
77
|
+ <p style="text-indent: 2em; text-align: left;">
|
|
|
78
|
+ 例如:要设置9点到21点是金额为10元,其余时间的金额为5元。则在时间段的开始时间填入21点,结束时间填入9点,每小时金额为5元,并在左侧的每小时费用填入10元,即可达到您想要的效果。
|
|
|
79
|
+ </p>
|
|
|
80
|
+ </span>
|
|
|
81
|
+ </th>
|
|
|
82
|
+ </tr>
|
|
|
83
|
+ </tfoot>
|
|
|
84
|
+ </table>
|
|
|
85
|
+ </div>
|
|
|
86
|
+ </div>
|
|
|
87
|
+ <div class="form-group">
|
|
|
88
|
+ <div class="col-sm-offset-2 col-sm-10" style="text-align: center">
|
|
|
89
|
+ <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
|
|
|
90
|
+ <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
|
|
|
91
|
+ </div>
|
|
|
92
|
+ </div>
|
|
|
93
|
+ </form>
|
|
|
94
|
+</div>
|
|
|
95
|
+<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
|
|
|
96
|
+<script type="text/javascript">
|
|
|
97
|
+ //编辑器路径定义
|
|
|
98
|
+ var editorURL = GV.WEB_ROOT;
|
|
|
99
|
+</script>
|
|
|
100
|
+<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.config.js"></script>
|
|
|
101
|
+<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.all.min.js"></script>
|
|
|
102
|
+<script type="text/javascript">
|
|
|
103
|
+ $(function () {
|
|
|
104
|
+
|
|
|
105
|
+ editorcontent = new baidu.editor.ui.Editor();
|
|
|
106
|
+ editorcontent.render('content');
|
|
|
107
|
+ try {
|
|
|
108
|
+ editorcontent.sync();
|
|
|
109
|
+ } catch (err) {
|
|
|
110
|
+ }
|
|
|
111
|
+
|
|
|
112
|
+ $('.btn-cancel-thumbnail').click(function () {
|
|
|
113
|
+ $('#thumbnail-preview').attr('src', '__TMPL__/public/assets/images/default-thumbnail.png');
|
|
|
114
|
+ $('#thumbnail').val('');
|
|
|
115
|
+ });
|
|
|
116
|
+
|
|
|
117
|
+ $('#more-template-select').val("{$post.more.template|default=''}");
|
|
|
118
|
+ });
|
|
|
119
|
+</script>
|
|
|
120
|
+</body>
|
|
|
121
|
+</html> |