details.html
27.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
<!-- 片段标题 START -->
<div class="page-head">
<div class="page-title">
<h1>Detail</h1>
</div>
</div>
<!-- 片段标题 START -->
<!-- Route导航栏组件 START -->
<ul class="page-breadcrumb breadcrumb">
<li><a href="/pages/home.html" data-pjax>Home page</a> <i class="fa fa-circle"></i></li>
<li><span class="active">Basic information</span> <i class="fa fa-circle"></i></li>
<li><a href="/pages/base/line/list.html" data-pjax>Line</a> <i class="fa fa-circle"></i></li>
<li><span class="active">Detail</span></li>
</ul>
<!-- Route导航栏组件 START -->
<!-- 信息容器组件 START -->
<div class="portlet light bordered">
<!-- 信息容器组件标题 START -->
<div class="portlet-title">
<div class="caption">
<i class="icon-equalizer font-red-sunglo"></i>
<span class="caption-subject font-red-sunglo bold uppercase">Line</span>
</div>
</div>
<!-- 信息容器组件标题 END -->
<!-- 表单容器组件 START -->
<div class="portlet-body form" id="lineDetailsForm">
<!-- START FORM -->
<form action="/" class="form-horizontal" id="line_details_form">
<!-- 表单内容 -->
<div class="form-body">
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- 线路编码 (* 必填项) START -->
<div class="col-md-6">
<label class="control-label col-md-5">
<span class="required"> * </span>Line code :
</label>
<div class="col-md-4">
<input type="text" class="form-control" name="lineCode" id="lineCodeInput"
placeholder='Line code'>
</div>
</div>
<!-- 线路编码 (* 必填项) END -->
<!-- Line name (* 必填项) START -->
<div class="col-md-6">
<label class="control-label col-md-5">
<span class="required"> * </span>Line name :
</label>
<div class="col-md-4">
<input type="text" class="form-control" name="name" id="nameInput" placeholder="Line name"/>
<span class="help-block"> For example: 浦东88路 </span>
</div>
</div>
<!-- Line name (* 必填项) END -->
</div>
<!-- 表单分组组件 form-group END -->
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- 所属公司 START 在片段线路添加JS模块里初始化select(options值查询的公司表) -->
<div class="col-md-6">
<label class="control-label col-md-5">
<span class="required"> * </span>Company :
</label>
<div class="col-md-4">
<select name="company" class="form-control" id="companySelect"></select>
</div>
</div>
<!-- 所属公司 END -->
<!-- Branch company START 在片段线路添加JS模块里初始化select(options值查询的公司表) -->
<div class="col-md-6">
<label class="control-label col-md-5">
<span class="required"> * </span>Branch company :
</label>
<div class="col-md-4">
<select name="brancheCompany" class="form-control" id="brancheCompanySelect"></select>
</div>
</div>
<!-- Branch company END -->
</div>
<!-- 表单分组组件 form-group END -->
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- 线路等级 START (因为options值基本固定,所以在页面固定。【以后可以根具需求修改成使用字典表实现】) -->
<div class="col-md-6">
<label class="control-label col-md-5">
<span class="required"> * </span>Line level :
</label>
<div class="col-md-4">
<select name="level" class="form-control" id="levelSelect">
<option value="">Select line level</option>
<option value="1">一级线路</option>
<option value="2">二级线路</option>
<option value="0">Unknown</option>
</select>
</div>
</div>
<!-- 线路等级 END -->
<!-- Line type START (因为options值基本固定,所以在页面固定。【以后可以根具需求修改成使用字典表实现】) -->
<div class="col-md-6">
<label class="control-label col-md-5">
<span class="required"> * </span>Line type :
</label>
<div class="col-md-4">
<select name="nature" class="form-control" id="natureSelect">
<option value="">Select line type</option>
<option value="lj">路救</option>
<option value="bc">备车</option>
<option value="dbc">定班车</option>
<option value="yxl">夜宵路</option>
<option value="cgxl">常规线路</option>
<option value="gjxl">过江线路</option>
<option value="csbs">穿梭巴士</option>
<option value="tyxl">特约线路</option>
<option value="cctxl">村村通线路</option>
<option value="hlwgj">互联网公交</option>
<option value="qt">其他</option>
</select>
</div>
</div>
<!-- Line type END -->
</div>
<!-- 表单分组组件 form-group END -->
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- 是否宵夜 START (因为options值基本固定,所以在页面固定。【以后可以根具需求修改成使用字典表实现】) -->
<div class="col-md-6">
<label class="control-label col-md-5">
<span class="required"> * </span>Night shift :
</label>
<div class="col-md-4">
<div class="md-radio-inline">
<div class="md-radio">
<input type="radio" id="radio16" name="supperLine" class="md-radiobtn" value="1"
data-title="Yes">
<label for="radio16">
<span></span>
<span class="check"></span>
<span class="box"></span>Yes
</label>
</div>
<div class="md-radio has-error">
<input type="radio" id="radio17" name="supperLine" class="md-radiobtn" value="0"
data-title="No" checked="checked">
<label for="radio17" style="color:#FFC0CB">
<span></span>
<span class="check"></span>
<span class="box"></span>No
</label>
</div>
</div>
</div>
</div>
<!-- 是否宵夜 END -->
<!-- 是否撤销 START (因为options值基本固定,所以在页面固定。【以后可以根具需求修改成使用字典表实现】) -->
<div class="col-md-6">
<label class="control-label col-md-5">
<span class="required"> * </span>State :
</label>
<div class="col-md-4">
<div class="md-radio-inline">
<div class="md-radio">
<input type="radio" id="radio14" name="destroy" data-title="Yes" class="md-radiobtn"
value="1">
<label for="radio14">
<span></span>
<span class="check"></span>
<span class="box"></span>Yes
</label>
</div>
<div class="md-radio has-error">
<input type="radio" id="radio15" name="destroy" class="md-radiobtn" data-title="No"
value="0" checked="checked">
<label for="radio15" style="color:#FFC0CB">
<span></span>
<span class="check"></span>
<span class="box"></span>No
</label>
</div>
</div>
</div>
</div>
<!-- 是否撤销 START -->
</div>
<!-- 表单分组组件 form-group END -->
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- Starting station name START (该字段值会在规划线路站点操作时会去验证是否有值。如果为空,则用线路规划站点的起点站。默认使用该字段填写值) -->
<div class="col-md-6">
<label class="control-label col-md-5"><span class="required"> * </span>
Starting station name :
</label>
<div class="col-md-4">
<input type="text" class="form-control" name="startStationName" id="startStationNameInput"
placeholder="Starting station name">
<span class="help-block"> Description: Up Starting station name </span>
</div>
</div>
<!-- Starting station name END -->
<!-- Terminal station name START (该字段值会在规划线路站点操作时会去验证是否有值。如果为空,则用线路规划站点的终点站。默认使用该字段填写值) -->
<div class="col-md-6">
<label class="control-label col-md-5"><span class="required"> * </span> Terminal station name :
</label>
<div class="col-md-4">
<input type="text" class="form-control" name="endStationName" id="endStationNameInput"
placeholder="Terminal station name">
<span class="help-block"> Description: Up Terminal station name </span>
</div>
</div>
<!-- Terminal station name END -->
</div>
<!-- 表单分组组件 form-group END -->
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- 起始站首班车时间 (* 必填项) START -->
<div class="col-md-6">
<label class="control-label col-md-5"><span class="required"> * </span> Starting station first shift time: </label>
<div class="col-md-4">
<input type="text" class="form-control" name="startStationFirstTime"
id="startStationFirstTimeInput" placeholder="起始站首班车时间">
<span class="help-block"> For example: 06:00 </span>
</div>
</div>
<!-- 起始站首班车时间 END -->
<!-- 起始站末班车时间 (* 必填项) START -->
<div class="col-md-6">
<label class="control-label col-md-5"><span class="required"> * </span> Starting station last shift time: </label>
<div class="col-md-4">
<!-- <input type="text" class="form-control" name="StartStationEndTime" id="StartStationEndTimeInput" placeholder="起始站末班车时间 "> -->
<input type="text" class="form-control" name="startStationEndTime" id="endTimeInput"
placeholder="起始站末班车时间">
<span class="help-block"> For example: 17:00 </span>
</div>
</div>
<!-- 起始站末班车时间 END -->
</div>
<!-- 表单分组组件 form-group END -->
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- 终点站首班车时间 (* 必填项) START -->
<div class="col-md-6">
<label class="control-label col-md-5"><span class="required"> * </span> Terminal station first shift time: </label>
<div class="col-md-4">
<input type="text" class="form-control" name="endStationFirstTime"
id="endStationFirstTimeInput" placeholder="终点站首班车时间">
<span class="help-block"> For example: 05:00 </span>
</div>
</div>
<!-- 终点站首班车时间 END -->
<!-- 终点站末班车时间 (* 必填项) START -->
<div class="col-md-6">
<label class="control-label col-md-5"><span class="required"> * </span> Terminal station last shift time: </label>
<div class="col-md-4">
<input type="text" class="form-control" name="endStationEndTime" id="endStationEndTimeInput"
placeholder="终点站末班车时间 ">
<span class="help-block"> For example: 18:00 </span>
</div>
</div>
<!-- 终点站末班车时间 END -->
</div>
<!-- 表单分组组件 form-group END -->
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- Route planning type (* 必填项) START (因为options值基本固定,所以在页面固定。【以后可以根具需求修改成使用字典表实现】) -->
<div class="col-md-6">
<label class="control-label col-md-5"><span class="required"> * </span> Route planning type :</label>
<div class="col-md-4">
<select name="linePlayType" class="form-control" id="linePlayTypeSelect">
<option value="">Select</option>
<option value="0">双向</option>
<option value="1">环线</option>
</select>
</div>
</div>
<!-- Route planning type (* 必填项) END -->
<!--车辆区域 START -->
<div class="col-md-6">
<label class="control-label col-md-5"> <span class="required"> * </span>Line's area :
</label>
<div class="col-md-4">
<select name="region" class="form-control" id="regionSelect">
<option value="">Select</option>
<option value="0">区内</option>
<option value="1">区外</option>
</select>
</div>
</div>
<!--车辆区域END -->
</div>
<!-- 表单分组组件 form-group START -->
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!--Interval level START -->
<div class="col-md-6">
<label class="control-label col-md-5"> Interval level : </label>
<div class="col-md-4">
<select name="spacGrade" class="form-control" id="spacGradeSelect">
<option value="">Select interval level</option>
<option value="1">一级</option>
<option value="2">二级</option>
<option value="3">三级</option>
<option value="4">四级</option>
<option value="5">五级</option>
</select>
</div>
</div>
<!-- Interval levelEND -->
<!-- Number of vehicle START -->
<div class="col-md-6">
<label class="control-label col-md-5"> Number of vehicle : </label>
<div class="col-md-4">
<input type="text" class="form-control" name="warrantCar" id="warrantCarInput"
placeholder="Number of vehicle">
</div>
</div>
<!-- Number of vehicle END -->
</div>
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- Line short name START -->
<div class="col-md-6">
<label class="control-label col-md-5"> Line short name :</label>
<div class="col-md-4">
<input type="text" class="form-control" name="shortName" id="shortNameInput"
placeholder="Line short name">
</div>
</div>
<!-- Line short name END -->
<!-- English name START -->
<div class="col-md-6">
<label class="control-label col-md-5"> English name : </label>
<div class="col-md-4">
<input type="text" class="form-control" name="es" id="esInput" placeholder="English name">
</div>
</div>
<!-- English name END -->
</div>
<!-- 表单分组组件 form-group END -->
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- Shanghai line code START -->
<div class="col-md-6">
<label class="control-label col-md-5"> Shanghai line code: </label>
<div class="col-md-4">
<input type="text" class="form-control" name="shanghaiLinecode" id="shanghaiLinecodeInput"
placeholder="Shanghai line code">
</div>
</div>
<!-- Shanghai line code END -->
<!--Line code START -->
<div class="col-md-6">
<label class="control-label col-md-5"> Line code : </label>
<div class="col-md-4">
<input type="text" class="form-control" name="eqLinecode" id="eqLinecodeInput"
placeholder="Line code">
</div>
</div>
<!--Line code END -->
</div>
<!-- 表单分组组件 form-group END -->
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- Starting station telephone START -->
<div class="col-md-6">
<label class="control-label col-md-5"> Starting station telephone: </label>
<div class="col-md-4">
<input type="text" class="form-control" name="startPhone" id="startPhoneInput"
placeholder="Starting station telephone">
</div>
</div>
<!-- Starting station telephone END -->
<!-- Terminal station telephone START -->
<div class="col-md-6">
<label class="control-label col-md-5"> Terminal station telephone: </label>
<div class="col-md-4">
<input type="text" class="form-control" name="endPhone" id="startPhoneInput"
placeholder="Terminal station telephone">
</div>
</div>
<!-- Terminal station telephone START -->
</div>
<!-- 表单分组组件 form-group END -->
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- Total number of vehicles START -->
<div class="col-md-6">
<label class="control-label col-md-5"> Total number of vehicles: </label>
<div class="col-md-4">
<input type="text" class="form-control" name="carSumNumber" id="carSumNumberInput"
placeholder="Total number of vehicles">
</div>
</div>
<!-- Total number of vehicles END -->
<!-- Number of ordinary vehicles START -->
<div class="col-md-6">
<label class="control-label col-md-5"> Number of ordinary vehicles: </label>
<div class="col-md-4">
<input type="text" class="form-control" name="ordCarNumber" id="ordCarNumberInput"
placeholder="Number of ordinary vehicles">
</div>
</div>
<!-- Number of ordinary vehicles END -->
</div>
<!-- 表单分组组件 form-group END -->
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- Number of air-conditioned vehicles START -->
<div class="col-md-6">
<label class="control-label col-md-5"> Number of air-conditioned vehicles: </label>
<div class="col-md-4">
<input type="text" class="form-control" name="hvacCarNumber" id="hvacCarNumberInput"
placeholder="Number of air-conditioned vehicles">
</div>
</div>
<!-- Number of air-conditioned vehicles END -->
<!-- Opening date START -->
<div class="col-md-6">
<label class="control-label col-md-5"> Opening date : </label>
<div class="col-md-4">
<input type="text" class="form-control" name="openDate" id="openDateInput"
placeholder="Opening date">
</div>
</div>
<!-- Opening date END -->
</div>
<!-- 表单分组组件 form-group END -->
<!-- 表单分组组件 form-group START -->
<div class="form-group">
<!-- Line historical change START -->
<div class="col-md-6">
<label class="control-label col-md-5"> Line historical change : </label>
<div class="col-md-4">
<textarea class="form-control" rows="3" name="history" id="historyTextarea"
placeholder="Line historical change"></textarea>
<span class="help-block">日期及内容:如2014-1-1,开辟;2014-5-1,延线;</span>
</div>
</div>
<!-- Line historical change END -->
<!-- Description START -->
<div class="col-md-6">
<label class="control-label col-md-5"> Description : </label>
<div class="col-md-4">
<textarea class="form-control" rows="3" name="descriptions" id="descriptionsTextarea"
placeholder="Description"></textarea>
</div>
</div>
<!-- Description END -->
</div>
<!-- 表单分组组件 form-group END -->
</div>
<!-- 表单按钮组件 START -->
<div class="form-actions">
<div class="row">
<div class="col-md-offset-4 col-md-5">
<a type="button" class="btn default" href="list.html" style="margin-left: 35%;" data-pjax><i
class="fa fa-reply"></i>Back</a>
</div>
</div>
</div>
<!-- 表单按钮组件 END -->
</form>
<!-- END FORM-->
</div>
<!-- 表单组件 END -->
</div>
<!-- 信息容器组件 END -->
<!-- Route详情片段JS模块 -->
<script type="text/javascript" src="/pages/base/line/js/line-details-info.js"></script>