Commit 255bd40692940bf24c6ad39ea7d266b2a1a47e89
Merge branch 'master' of 192.168.168.201:panzhaov5/bsth_control
Showing
45 changed files
with
1379 additions
and
196 deletions
src/main/java/com/bsth/entity/sys/CarDevice.java renamed to src/main/java/com/bsth/entity/CarDevice.java
| 1 | -package com.bsth.entity.sys; | |
| 1 | +package com.bsth.entity; | |
| 2 | 2 | |
| 3 | 3 | import javax.persistence.*; |
| 4 | 4 | import java.util.Date; |
| ... | ... | @@ -7,44 +7,40 @@ import java.util.Date; |
| 7 | 7 | * 车辆设备信息(记录车辆设备变更情况,因为是历史表,字段不做关联) |
| 8 | 8 | */ |
| 9 | 9 | @Entity |
| 10 | -@Table(name = "bsth_c_cardevice") | |
| 10 | +@Table(name = "bsth_c_car_device") | |
| 11 | 11 | public class CarDevice { |
| 12 | 12 | |
| 13 | - /** 主键Id */ | |
| 13 | + /** 主键 */ | |
| 14 | 14 | @Id |
| 15 | 15 | @GeneratedValue |
| 16 | 16 | private Long id; |
| 17 | 17 | |
| 18 | - /** 公司名字 */ | |
| 18 | + /** 公司名称 */ | |
| 19 | 19 | @Column(nullable = false) |
| 20 | 20 | private String gsName; |
| 21 | - /** 内部编号/自编号 */ | |
| 22 | - @Column(nullable = false) | |
| 23 | - private String nbbh; | |
| 21 | + /** 内部编号(自编号) */ | |
| 22 | + private String clZbh; | |
| 24 | 23 | /** 线路名称 */ |
| 25 | - @Column(nullable = false) | |
| 26 | 24 | private String xlName; |
| 27 | 25 | |
| 28 | 26 | /** 旧终端号 */ |
| 29 | - @Column(nullable = false) | |
| 30 | 27 | private String oldDeviceNo; |
| 31 | 28 | /** 新终端号 */ |
| 32 | - @Column(nullable = false) | |
| 33 | 29 | private String newDeviceNo; |
| 34 | - | |
| 35 | - /** 旧sim卡号 */ | |
| 30 | + /** 旧SIM卡号 */ | |
| 36 | 31 | private String oldSimNo; |
| 37 | - /** 新sim卡号 */ | |
| 32 | + /** 新SIM卡号 */ | |
| 38 | 33 | private String newSimNo; |
| 39 | 34 | |
| 40 | 35 | /** 故障描述 */ |
| 41 | - private String gzDesc; | |
| 36 | + private String troubleDesc; | |
| 42 | 37 | /** 保修描述 */ |
| 43 | - private String bxDesc; | |
| 38 | + private String guaranteeDesc; | |
| 44 | 39 | |
| 45 | 40 | // 创建日期 |
| 46 | 41 | @Column(updatable = false, name = "create_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP") |
| 47 | 42 | private Date createDate; |
| 43 | + | |
| 48 | 44 | // 修改日期 |
| 49 | 45 | @Column(name = "update_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP") |
| 50 | 46 | private Date updateDate; |
| ... | ... | @@ -65,12 +61,12 @@ public class CarDevice { |
| 65 | 61 | this.gsName = gsName; |
| 66 | 62 | } |
| 67 | 63 | |
| 68 | - public String getNbbh() { | |
| 69 | - return nbbh; | |
| 64 | + public String getClZbh() { | |
| 65 | + return clZbh; | |
| 70 | 66 | } |
| 71 | 67 | |
| 72 | - public void setNbbh(String nbbh) { | |
| 73 | - this.nbbh = nbbh; | |
| 68 | + public void setClZbh(String clZbh) { | |
| 69 | + this.clZbh = clZbh; | |
| 74 | 70 | } |
| 75 | 71 | |
| 76 | 72 | public String getXlName() { |
| ... | ... | @@ -113,20 +109,20 @@ public class CarDevice { |
| 113 | 109 | this.newSimNo = newSimNo; |
| 114 | 110 | } |
| 115 | 111 | |
| 116 | - public String getGzDesc() { | |
| 117 | - return gzDesc; | |
| 112 | + public String getTroubleDesc() { | |
| 113 | + return troubleDesc; | |
| 118 | 114 | } |
| 119 | 115 | |
| 120 | - public void setGzDesc(String gzDesc) { | |
| 121 | - this.gzDesc = gzDesc; | |
| 116 | + public void setTroubleDesc(String troubleDesc) { | |
| 117 | + this.troubleDesc = troubleDesc; | |
| 122 | 118 | } |
| 123 | 119 | |
| 124 | - public String getBxDesc() { | |
| 125 | - return bxDesc; | |
| 120 | + public String getGuaranteeDesc() { | |
| 121 | + return guaranteeDesc; | |
| 126 | 122 | } |
| 127 | 123 | |
| 128 | - public void setBxDesc(String bxDesc) { | |
| 129 | - this.bxDesc = bxDesc; | |
| 124 | + public void setGuaranteeDesc(String guaranteeDesc) { | |
| 125 | + this.guaranteeDesc = guaranteeDesc; | |
| 130 | 126 | } |
| 131 | 127 | |
| 132 | 128 | public Date getCreateDate() { |
| ... | ... | @@ -145,4 +141,3 @@ public class CarDevice { |
| 145 | 141 | this.updateDate = updateDate; |
| 146 | 142 | } |
| 147 | 143 | } |
| 148 | - | ... | ... |
src/main/java/com/bsth/entity/Cars.java
| 1 | 1 | package com.bsth.entity; |
| 2 | 2 | |
| 3 | +import javax.persistence.*; | |
| 3 | 4 | import java.util.Date; |
| 4 | 5 | |
| 5 | -import javax.persistence.Column; | |
| 6 | -import javax.persistence.Entity; | |
| 7 | -import javax.persistence.GeneratedValue; | |
| 8 | -import javax.persistence.GenerationType; | |
| 9 | -import javax.persistence.Id; | |
| 10 | -import javax.persistence.OneToOne; | |
| 11 | -import javax.persistence.Table; | |
| 12 | - | |
| 13 | 6 | /** |
| 14 | 7 | * |
| 15 | 8 | * @ClassName : Cars(车实体类) |
| ... | ... | @@ -28,121 +21,110 @@ import javax.persistence.Table; |
| 28 | 21 | @Table(name = "bsth_c_cars") |
| 29 | 22 | public class Cars { |
| 30 | 23 | |
| 31 | - // ID | |
| 24 | + /** 主键Id */ | |
| 32 | 25 | @Id |
| 33 | - @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 26 | + @GeneratedValue | |
| 34 | 27 | private Integer id; |
| 35 | - | |
| 36 | - // 车辆编码 | |
| 28 | + | |
| 29 | + /** 自编号/内部编号 */ | |
| 30 | + @Column(nullable = false, length = 8) | |
| 31 | + private String insideCode; | |
| 32 | + | |
| 33 | + // 公司、分公司暂时不用关联实体 | |
| 34 | + /** 公司代码 */ | |
| 35 | + @Column(nullable = false) | |
| 36 | + private String businessCode; | |
| 37 | + /** 公司名称 */ | |
| 38 | + @Column(nullable = false) | |
| 39 | + private String company; | |
| 40 | + /** 分公司编码 */ | |
| 41 | + private String brancheCompanyCode; | |
| 42 | + /** 分公司 */ | |
| 43 | + private String brancheCompany; | |
| 44 | + | |
| 45 | + /** 车辆编码 */ | |
| 46 | + @Column(nullable = false) | |
| 37 | 47 | private String carCode; |
| 38 | - | |
| 39 | - // 车牌号 | |
| 48 | + /** 车牌号 */ | |
| 49 | + @Column(nullable = false) | |
| 40 | 50 | private String carPlate; |
| 41 | - | |
| 42 | - // 内部编码 | |
| 43 | - private String insideCode; | |
| 44 | - | |
| 45 | - // 车型类别 | |
| 51 | + /** 供应商名称 */ | |
| 52 | + @Column(nullable = false) | |
| 53 | + private String supplierName; | |
| 54 | + /** 设备终端号 */ | |
| 55 | + @Column(nullable = false) | |
| 56 | + private String equipmentCode; | |
| 57 | + | |
| 58 | + // 以下信息来自总公司的业务系统,可能需要调用相关接口 | |
| 59 | + /** 车型类别 */ | |
| 46 | 60 | private String carClass ; |
| 47 | - | |
| 48 | - // 座位数 | |
| 61 | + /** 技术速度 */ | |
| 62 | + private Double speed; | |
| 63 | + /** 座位数 */ | |
| 49 | 64 | private Integer carSeatnNumber; |
| 50 | - | |
| 51 | - // 载客标准 | |
| 65 | + /** 载客标准 */ | |
| 52 | 66 | private String carStandard; |
| 53 | - | |
| 54 | - // 技术速度 | |
| 55 | - private Double speed; | |
| 56 | - | |
| 57 | - // 是否空调车 | |
| 67 | + /** 标准油耗(开空调) */ | |
| 68 | + private Double kburnStandard; | |
| 69 | + /** 标准油耗(关空调) */ | |
| 70 | + private Double gburnStandard; | |
| 71 | + /** 报废号 */ | |
| 72 | + private String scrapCode; | |
| 73 | + /** 报废日期 */ | |
| 74 | + private Date scrapDate; | |
| 75 | + /** 厂牌型号1 */ | |
| 76 | + private String makeCodeOne; | |
| 77 | + /** 厂牌型号2 */ | |
| 78 | + private String makeCodeTwo; | |
| 79 | + /** 车辆等级标准 */ | |
| 80 | + private String carGride; | |
| 81 | + /** 出厂排放标准 */ | |
| 82 | + private String emissionsStandard; | |
| 83 | + /** 发动机号码1 */ | |
| 84 | + private String engineCodeOne; | |
| 85 | + /** 发动机号码2 */ | |
| 86 | + private String engineCodeTwo; | |
| 87 | + /** 车架号码1 */ | |
| 88 | + private String carNumberOne; | |
| 89 | + /** 车架号码2 */ | |
| 90 | + private String carNumberTwo; | |
| 91 | + /** 启用日期(2008-10-10)*/ | |
| 92 | + private Date openDate; | |
| 93 | + /** 取消日期 */ | |
| 94 | + private Date closeDate; | |
| 95 | + | |
| 96 | + /** 是否空调车 */ | |
| 58 | 97 | private boolean hvacCar; |
| 59 | - | |
| 60 | - // 标准油耗(开空调) | |
| 61 | - private Double kburnStandard; | |
| 62 | - | |
| 63 | - // 标准油耗(关空调) | |
| 64 | - private Double gburnStandard; | |
| 65 | - | |
| 66 | - // 有无人售票 | |
| 98 | + /** 有无人售票 */ | |
| 67 | 99 | private boolean ticketType; |
| 68 | - | |
| 69 | - // 是否有TV视频 | |
| 100 | + /** 是否有LED服务屏 */ | |
| 101 | + private boolean ledScreen; | |
| 102 | + /** 是否有TV视频 */ | |
| 70 | 103 | private boolean tvVideoType; |
| 71 | - | |
| 72 | - // 是否有LED服务屏 | |
| 73 | - private boolean ledScreen; | |
| 74 | - | |
| 75 | - // 设备编号 | |
| 76 | - private String equipmentCode; | |
| 77 | - | |
| 78 | - // 厂牌型号1 | |
| 79 | - private String makeCodeOne; | |
| 80 | - | |
| 81 | - // 厂牌型号2 | |
| 82 | - private String makeCodeTwo; | |
| 83 | - | |
| 84 | - // 车辆等级标准 | |
| 85 | - private String carGride; | |
| 86 | - | |
| 87 | - // 出厂排放标准 | |
| 88 | - private String emissionsStandard; | |
| 89 | - | |
| 90 | - // 发动机号码1 | |
| 91 | - private String engineCodeOne; | |
| 92 | - | |
| 93 | - // 发动机号码2 | |
| 94 | - private String engineCodeTwo; | |
| 95 | - | |
| 96 | - // 车架号码1 | |
| 97 | - private String carNumberOne; | |
| 98 | - | |
| 99 | - // 车架号码2 | |
| 100 | - private String carNumberTwo; | |
| 101 | - | |
| 102 | - // 车辆类型 | |
| 104 | + | |
| 105 | + /** 车辆类型 */ | |
| 103 | 106 | private String carType; |
| 104 | - | |
| 105 | - // 企业代码 | |
| 106 | - private String businessCode; | |
| 107 | - | |
| 108 | - // 所属公司 | |
| 109 | - private String company; | |
| 107 | + /** 是否机动车(机动车类型选择)*/ | |
| 108 | + private String VehicleStats; | |
| 109 | + /** 营运状态 */ | |
| 110 | + private Integer operatorsState; | |
| 111 | + /** 是否电车 */ | |
| 112 | + private boolean sfdc; | |
| 113 | + /** 备注/描述 */ | |
| 114 | + private String descriptions; | |
| 115 | + | |
| 110 | 116 | |
| 111 | - // 分公司 | |
| 112 | - private String brancheCompany; | |
| 113 | 117 | |
| 114 | 118 | // 车辆序号 |
| 115 | 119 | private String carOrdinal; |
| 116 | - | |
| 117 | - // 是否机动车 | |
| 118 | - private String VehicleStats; | |
| 119 | - | |
| 120 | 120 | // 视频编号 |
| 121 | 121 | private String videoCode; |
| 122 | - | |
| 123 | - // 营运状态 | |
| 124 | - private Integer operatorsState; | |
| 125 | - | |
| 126 | - // 启用日期(2008-10-10) | |
| 127 | - private Date openDate; | |
| 128 | - | |
| 129 | - // 取消日期 | |
| 130 | - private Date closeDate; | |
| 131 | - | |
| 132 | 122 | // 是否报废 |
| 133 | 123 | private boolean scrapState; |
| 134 | - | |
| 135 | - // 报废号 | |
| 136 | - private String scrapCode; | |
| 137 | - | |
| 138 | - // 报废日期 | |
| 139 | - private Date scrapDate; | |
| 140 | - | |
| 141 | 124 | // 是否切换 |
| 142 | 125 | private Integer isSwitch; |
| 143 | 126 | |
| 144 | - // 描述 | |
| 145 | - private String descriptions; | |
| 127 | + | |
| 146 | 128 | |
| 147 | 129 | // 创建人 |
| 148 | 130 | private Integer createBy; |
| ... | ... | @@ -505,4 +487,28 @@ public class Cars { |
| 505 | 487 | public void setLineid(Line lineid) { |
| 506 | 488 | this.lineid = lineid; |
| 507 | 489 | } |
| 490 | + | |
| 491 | + public String getBrancheCompanyCode() { | |
| 492 | + return brancheCompanyCode; | |
| 493 | + } | |
| 494 | + | |
| 495 | + public void setBrancheCompanyCode(String brancheCompanyCode) { | |
| 496 | + this.brancheCompanyCode = brancheCompanyCode; | |
| 497 | + } | |
| 498 | + | |
| 499 | + public String getSupplierName() { | |
| 500 | + return supplierName; | |
| 501 | + } | |
| 502 | + | |
| 503 | + public void setSupplierName(String supplierName) { | |
| 504 | + this.supplierName = supplierName; | |
| 505 | + } | |
| 506 | + | |
| 507 | + public boolean isSfdc() { | |
| 508 | + return sfdc; | |
| 509 | + } | |
| 510 | + | |
| 511 | + public void setSfdc(boolean sfdc) { | |
| 512 | + this.sfdc = sfdc; | |
| 513 | + } | |
| 508 | 514 | } | ... | ... |
src/main/java/com/bsth/entity/schedule/CarConfigInfo.java
| 1 | 1 | package com.bsth.entity.schedule; |
| 2 | 2 | |
| 3 | -import com.bsth.entity.Cars; | |
| 3 | +import com.bsth.entity.Bus; | |
| 4 | 4 | import com.bsth.entity.Line; |
| 5 | 5 | |
| 6 | 6 | import javax.persistence.*; |
| ... | ... | @@ -25,7 +25,15 @@ public class CarConfigInfo { |
| 25 | 25 | private Line xl; |
| 26 | 26 | /** 车辆关联 */ |
| 27 | 27 | @ManyToOne(optional = false, cascade = CascadeType.PERSIST, fetch = FetchType.LAZY) |
| 28 | - private Cars cl; | |
| 28 | + private Bus cl; | |
| 29 | + | |
| 30 | + | |
| 31 | + /** 早班时间(格式:HH:mm) */ | |
| 32 | + @Column(length = 5) | |
| 33 | + private String zbsj; | |
| 34 | + /** 末班时间(格式:HH:mm) */ | |
| 35 | + @Column(length = 5) | |
| 36 | + private String mbsj; | |
| 29 | 37 | |
| 30 | 38 | /** 启用日期 */ |
| 31 | 39 | private Date qyrq; |
| ... | ... | @@ -59,11 +67,11 @@ public class CarConfigInfo { |
| 59 | 67 | this.xl = xl; |
| 60 | 68 | } |
| 61 | 69 | |
| 62 | - public Cars getCl() { | |
| 70 | + public Bus getCl() { | |
| 63 | 71 | return cl; |
| 64 | 72 | } |
| 65 | 73 | |
| 66 | - public void setCl(Cars cl) { | |
| 74 | + public void setCl(Bus cl) { | |
| 67 | 75 | this.cl = cl; |
| 68 | 76 | } |
| 69 | 77 | |
| ... | ... | @@ -111,6 +119,22 @@ public class CarConfigInfo { |
| 111 | 119 | return updateDate; |
| 112 | 120 | } |
| 113 | 121 | |
| 122 | + public String getZbsj() { | |
| 123 | + return zbsj; | |
| 124 | + } | |
| 125 | + | |
| 126 | + public void setZbsj(String zbsj) { | |
| 127 | + this.zbsj = zbsj; | |
| 128 | + } | |
| 129 | + | |
| 130 | + public String getMbsj() { | |
| 131 | + return mbsj; | |
| 132 | + } | |
| 133 | + | |
| 134 | + public void setMbsj(String mbsj) { | |
| 135 | + this.mbsj = mbsj; | |
| 136 | + } | |
| 137 | + | |
| 114 | 138 | public void setUpdateDate(Date updateDate) { |
| 115 | 139 | this.updateDate = updateDate; |
| 116 | 140 | } | ... | ... |
src/main/java/com/bsth/entity/schedule/EmployeeConfigInfo.java
| 1 | 1 | package com.bsth.entity.schedule; |
| 2 | 2 | |
| 3 | -import com.bsth.entity.Cars; | |
| 3 | +import com.bsth.entity.Bus; | |
| 4 | 4 | import com.bsth.entity.Line; |
| 5 | 5 | import com.bsth.entity.Personnel; |
| 6 | 6 | |
| ... | ... | @@ -24,7 +24,7 @@ public class EmployeeConfigInfo { |
| 24 | 24 | private Line xl; |
| 25 | 25 | /** 车辆关联 */ |
| 26 | 26 | @ManyToOne(optional = false, cascade = CascadeType.PERSIST, fetch = FetchType.LAZY) |
| 27 | - private Cars cl; | |
| 27 | + private Bus cl; | |
| 28 | 28 | /** 人员关联(驾驶员) */ |
| 29 | 29 | @ManyToOne(optional = false, cascade = CascadeType.PERSIST, fetch = FetchType.LAZY) |
| 30 | 30 | private Personnel jsy; |
| ... | ... | @@ -58,11 +58,11 @@ public class EmployeeConfigInfo { |
| 58 | 58 | this.xl = xl; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | - public Cars getCl() { | |
| 61 | + public Bus getCl() { | |
| 62 | 62 | return cl; |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | - public void setCl(Cars cl) { | |
| 65 | + public void setCl(Bus cl) { | |
| 66 | 66 | this.cl = cl; |
| 67 | 67 | } |
| 68 | 68 | ... | ... |
src/main/java/com/bsth/entity/schedule/rule/ScheduleRule1.java
| 1 | 1 | package com.bsth.entity.schedule.rule; |
| 2 | 2 | |
| 3 | -import com.bsth.entity.Cars; | |
| 3 | +import com.bsth.entity.Bus; | |
| 4 | 4 | import com.bsth.entity.Line; |
| 5 | 5 | import com.bsth.entity.Personnel; |
| 6 | 6 | import com.bsth.entity.schedule.GuideboardInfo; |
| ... | ... | @@ -30,7 +30,7 @@ public class ScheduleRule1 { |
| 30 | 30 | private Line xl; |
| 31 | 31 | /** 关联车辆 */ |
| 32 | 32 | @ManyToOne(optional = false, cascade = CascadeType.PERSIST, fetch = FetchType.LAZY) |
| 33 | - private Cars cl; | |
| 33 | + private Bus cl; | |
| 34 | 34 | /** 启用日期 */ |
| 35 | 35 | private Date qyrq; |
| 36 | 36 | |
| ... | ... | @@ -89,11 +89,11 @@ public class ScheduleRule1 { |
| 89 | 89 | this.xl = xl; |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | - public Cars getCl() { | |
| 92 | + public Bus getCl() { | |
| 93 | 93 | return cl; |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | - public void setCl(Cars cl) { | |
| 96 | + public void setCl(Bus cl) { | |
| 97 | 97 | this.cl = cl; |
| 98 | 98 | } |
| 99 | 99 | ... | ... |
src/main/resources/static/index.html
| ... | ... | @@ -290,7 +290,8 @@ tr.row-active td { |
| 290 | 290 | <!-- TODO:angularJS相关库 --> |
| 291 | 291 | |
| 292 | 292 | <!-- angularJS相关库 --> |
| 293 | -<script src="/assets/bower_components/angular/angular.js"></script> | |
| 293 | +<!-- 这个是基于angularjs 1.4.10修改的版本,主要是修改了history控制部分,用于兼容route和pjax的同时操作history的冲突 --> | |
| 294 | +<script src="/assets/js/angular.js"></script> | |
| 294 | 295 | <script src="/assets/bower_components/angular-resource/angular-resource.min.js"></script> |
| 295 | 296 | <script src="/assets/bower_components/angular-sanitize/angular-sanitize.min.js"></script> |
| 296 | 297 | <script src="/assets/bower_components/angular-touch/angular-touch.min.js"></script> | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/busInfoManage/busInfoManage.html deleted
100644 → 0
| 1 | -<div class="page-head"> | |
| 2 | - <div class="page-title"> | |
| 3 | - <h1>车辆信息管理</h1> | |
| 4 | - </div> | |
| 5 | -</div> | |
| 6 | - | |
| 7 | -<ul class="page-breadcrumb breadcrumb"> | |
| 8 | - <li> | |
| 9 | - <a href="/pages/home.html" data-pjax>首页</a> | |
| 10 | - <i class="fa fa-circle"></i> | |
| 11 | - </li> | |
| 12 | - <li> | |
| 13 | - <span class="active">基础信息</span> | |
| 14 | - <i class="fa fa-circle"></i> | |
| 15 | - </li> | |
| 16 | - <li> | |
| 17 | - <span class="active">车辆信息管理</span> | |
| 18 | - </li> | |
| 19 | - | |
| 20 | -</ul> | |
| 21 | - | |
| 22 | -<div class="row"> | |
| 23 | - <div class="col-md-12"> | |
| 24 | - dfdfdfdfdf | |
| 25 | - </div> | |
| 26 | -</div> | |
| 27 | 0 | \ No newline at end of file |
src/main/resources/static/pages/scheduleApp/module/basicInfo/busInfoManage/busInfoManage.js
0 → 100644
| 1 | +// 车辆基础信息维护 service controller等写在一起 | |
| 2 | + | |
| 3 | +angular.module('ScheduleApp').factory('BusInfoManageService', ['$resource', function($resource) { | |
| 4 | + // TODO:测试 | |
| 5 | + var pageInfo = { | |
| 6 | + totalItems : 64, | |
| 7 | + currentPage : 4, | |
| 8 | + infos: [] | |
| 9 | + }; | |
| 10 | + | |
| 11 | + return { | |
| 12 | + pi: function() { | |
| 13 | + console.log("pi"); | |
| 14 | + return pageInfo; | |
| 15 | + }, | |
| 16 | + setCP: function(cp) { | |
| 17 | + console.log("setCP"); | |
| 18 | + pageInfo.currentPage = cp; | |
| 19 | + } | |
| 20 | + }; | |
| 21 | + | |
| 22 | + //return $resource( // TODO:后面再改 | |
| 23 | + // '/cci', | |
| 24 | + // {}, | |
| 25 | + // { | |
| 26 | + // list: { | |
| 27 | + // method: 'GET' | |
| 28 | + // } | |
| 29 | + // } | |
| 30 | + //); | |
| 31 | +}]); | |
| 32 | + | |
| 33 | +angular.module('ScheduleApp').controller('BusInfoManageCtrl', ['BusInfoManageService', function(busInfoManageService) { | |
| 34 | + | |
| 35 | +}]); | |
| 36 | + | |
| 37 | +angular.module('ScheduleApp').controller('BusInfoManageListCtrl', ['BusInfoManageService', function(busInfoManageService) { | |
| 38 | + // TODO:模拟数据 | |
| 39 | + var self = this; | |
| 40 | + self.pi = busInfoManageService.pi(); | |
| 41 | + //self.totalItems = pi.totalItems; | |
| 42 | + //self.currentPage = pi.currentPage; | |
| 43 | + //self.infos = pi.infos; | |
| 44 | + self.pageChanaged = function() { | |
| 45 | + console.log("页面跳转到:" + busInfoManageService.pi().currentPage); | |
| 46 | + } | |
| 47 | +}]); | |
| 48 | + | |
| 49 | +angular.module('ScheduleApp').controller('BusInfoManageFormCtrl', ['BusInfoManageService', function(busInfoManageService) { | |
| 50 | + | |
| 51 | +}]); | |
| 52 | + | |
| 53 | +angular.module('ScheduleApp').controller('BusInfoManageDetailCtrl', ['BusInfoManageService', function(busInfoManageService) { | |
| 54 | + | |
| 55 | +}]); | |
| 0 | 56 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/busInfoManage/detail.html
0 → 100644
src/main/resources/static/pages/scheduleApp/module/basicInfo/busInfoManage/form.html
0 → 100644
src/main/resources/static/pages/scheduleApp/module/basicInfo/busInfoManage/index.html
0 → 100644
| 1 | +<div class="page-head"> | |
| 2 | + <div class="page-title"> | |
| 3 | + <h1>车辆信息管理</h1> | |
| 4 | + </div> | |
| 5 | +</div> | |
| 6 | + | |
| 7 | +<ul class="page-breadcrumb breadcrumb"> | |
| 8 | + <li> | |
| 9 | + <a href="/pages/home.html" data-pjax>首页</a> | |
| 10 | + <i class="fa fa-circle"></i> | |
| 11 | + </li> | |
| 12 | + <li> | |
| 13 | + <span class="active">基础信息</span> | |
| 14 | + <i class="fa fa-circle"></i> | |
| 15 | + </li> | |
| 16 | + <li> | |
| 17 | + <span class="active">车辆信息管理</span> | |
| 18 | + </li> | |
| 19 | +</ul> | |
| 20 | + | |
| 21 | +<div class="row"> | |
| 22 | + <div class="col-md-12" ng-controller="BusInfoManageCtrl as ctrl"> | |
| 23 | + <div class="portlet light bordered"> | |
| 24 | + <div class="portlet-title"> | |
| 25 | + <div class="caption font-dark"> | |
| 26 | + <i class="fa fa-database font-dark"></i> | |
| 27 | + <span class="caption-subject bold uppercase">车辆信息表</span> | |
| 28 | + </div> | |
| 29 | + <div class="actions"> | |
| 30 | + <a href="javascirpt:" class="btn btn-circle blue"> | |
| 31 | + <i class="fa fa-plus"></i> | |
| 32 | + 添加车辆信息 | |
| 33 | + </a> | |
| 34 | + | |
| 35 | + <div class="btn-group"> | |
| 36 | + <a href="javascript:" class="btn red btn-outline btn-circle" data-toggle="dropdown"> | |
| 37 | + <i class="fa fa-share"></i> | |
| 38 | + <span>系统工具</span> | |
| 39 | + <i class="fa fa-angle-down"></i> | |
| 40 | + </a> | |
| 41 | + <ul class="dropdown-menu pull-right"> | |
| 42 | + <li> | |
| 43 | + <a href="javascript:" class="tool-action"> | |
| 44 | + <i class="fa fa-file-excel-o"></i> | |
| 45 | + 导出excel | |
| 46 | + </a> | |
| 47 | + </li> | |
| 48 | + <li class="divider"></li> | |
| 49 | + <li> | |
| 50 | + <a href="javascript:" class="tool-action"> | |
| 51 | + <i class="fa fa-refresh"></i> | |
| 52 | + 刷行数据 | |
| 53 | + </a> | |
| 54 | + </li> | |
| 55 | + </ul> | |
| 56 | + </div> | |
| 57 | + </div> | |
| 58 | + </div> | |
| 59 | + | |
| 60 | + <div class="portlet-body"> | |
| 61 | + <div ui-view="list"></div> | |
| 62 | + </div> | |
| 63 | + </div> | |
| 64 | + </div> | |
| 65 | +</div> | |
| 0 | 66 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/busInfoManage/list.html
0 → 100644
| 1 | +<!-- ui-route busInfoManage.list --> | |
| 2 | +<div ng-controller="BusInfoManageListCtrl as ctrl"> | |
| 3 | + <table class="table table-striped table-bordered table-hover table-checkable order-column"> | |
| 4 | + <thead> | |
| 5 | + <tr> | |
| 6 | + <th> | |
| 7 | + <input type="checkbox" class="group-checkable"/> | |
| 8 | + </th> | |
| 9 | + <th>序号</th> | |
| 10 | + <th>车辆编号</th> | |
| 11 | + <th>内部编号</th> | |
| 12 | + <th>设备编号</th> | |
| 13 | + <th>车牌号</th> | |
| 14 | + <th>所在公司</th> | |
| 15 | + <th>所在分公司</th> | |
| 16 | + <th>是否电车</th> | |
| 17 | + <th>操作</th> | |
| 18 | + </tr> | |
| 19 | + </thead> | |
| 20 | + <tbody> | |
| 21 | + <tr ng-repeat="info in ctrl.infos" class="odd gradeX"> | |
| 22 | + <td> | |
| 23 | + <input type="checkbox"/> | |
| 24 | + </td> | |
| 25 | + <td> | |
| 26 | + <span>todo</span> | |
| 27 | + </td> | |
| 28 | + <td> | |
| 29 | + <span ng-bind="info.carCode"></span> | |
| 30 | + </td> | |
| 31 | + <td> | |
| 32 | + <span ng-bind="info.insideCode"></span> | |
| 33 | + </td> | |
| 34 | + <td> | |
| 35 | + <span ng-bind="info.equipmentCode"></span> | |
| 36 | + </td> | |
| 37 | + <td> | |
| 38 | + <span ng-bind="info.carPlate"></span> | |
| 39 | + </td> | |
| 40 | + <td> | |
| 41 | + <span ng-bind="info.company"></span> | |
| 42 | + </td> | |
| 43 | + <td> | |
| 44 | + <span ng-bind="info.brancheCompany"></span> | |
| 45 | + </td> | |
| 46 | + <td> | |
| 47 | + <span>todo</span> | |
| 48 | + </td> | |
| 49 | + <td> | |
| 50 | + <span>todo</span> | |
| 51 | + </td> | |
| 52 | + </tr> | |
| 53 | + </tbody> | |
| 54 | + | |
| 55 | + </table> | |
| 56 | + | |
| 57 | + <div style="text-align: right;"> | |
| 58 | + <uib-pagination total-items="ctrl.pi.totalItems" | |
| 59 | + ng-model="ctrl.pi.currentPage" | |
| 60 | + ng-change="ctrl.pageChanged()" | |
| 61 | + previous-text="上一页" | |
| 62 | + next-text="下一页"> | |
| 63 | + </uib-pagination> | |
| 64 | + </div> | |
| 65 | +</div> | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/deviceInfoManage/detail.html
0 → 100644
src/main/resources/static/pages/scheduleApp/module/basicInfo/deviceInfoManage/deviceInfoManage.html deleted
100644 → 0
src/main/resources/static/pages/scheduleApp/module/basicInfo/deviceInfoManage/deviceInfoManage.js
0 → 100644
| 1 | +// 设备信息维护 service controller 等写在一起 | |
| 2 | + | |
| 3 | +angular.module('ScheduleApp').factory('DeviceInfoManageService', ['$resource', function($resource) { | |
| 4 | + // TODO:测试 | |
| 5 | + var pageInfo = { | |
| 6 | + totalItems: 64, | |
| 7 | + currentPage: 4, | |
| 8 | + infos: [] | |
| 9 | + }; | |
| 10 | + | |
| 11 | + return { | |
| 12 | + pi: function() { | |
| 13 | + console.log("pi"); | |
| 14 | + return pageInfo; | |
| 15 | + }, | |
| 16 | + setCP: function(cp) { | |
| 17 | + console.log("setCP"); | |
| 18 | + pageInfo.currentPage = cp; | |
| 19 | + } | |
| 20 | + } | |
| 21 | +}]); | |
| 22 | + | |
| 23 | +angular.module('ScheduleApp').controller('DeviceInfoManageCtrl', ['DeviceInfoManageService', function(deviceInfoManageService) { | |
| 24 | + | |
| 25 | +}]); | |
| 26 | + | |
| 27 | +angular.module('ScheduleApp').controller('DeviceInfoManageListCtrl', ['DeviceInfoManageService', function(deviceInfoManageService) { | |
| 28 | + // TODO:模拟数据 | |
| 29 | + var self = this; | |
| 30 | + self.pi = deviceInfoManageService.pi(); | |
| 31 | + self.pageChanaged = function() { | |
| 32 | + console.log("go:" + deviceInfoManageService.pi().currentPage); | |
| 33 | + }; | |
| 34 | + | |
| 35 | +}]); | |
| 36 | + | |
| 37 | +angular.module('ScheduleApp').controller('DeviceInfoManageFormCtrl', ['DeviceInfoManageService', function(deviceInfoManageService) { | |
| 38 | + | |
| 39 | +}]); | |
| 40 | + | |
| 41 | +angular.module('ScheduleApp').controller('DeviceInfoManageDetailCtrl', ['DeviceInfoManageService', function(deviceInfoManageService) { | |
| 42 | + | |
| 43 | +}]); | |
| 0 | 44 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/deviceInfoManage/form.html
0 → 100644
src/main/resources/static/pages/scheduleApp/module/basicInfo/deviceInfoManage/index.html
0 → 100644
| 1 | +<div class="page-head"> | |
| 2 | + <div class="page-title"> | |
| 3 | + <h1>车辆设备信息管理</h1> | |
| 4 | + </div> | |
| 5 | +</div> | |
| 6 | + | |
| 7 | +<ul class="page-breadcrumb breadcrumb"> | |
| 8 | + <li> | |
| 9 | + <a href="/pages/home.html" data-pjax>首页</a> | |
| 10 | + <i class="fa fa-circle"></i> | |
| 11 | + </li> | |
| 12 | + <li> | |
| 13 | + <span class="active">基础信息</span> | |
| 14 | + <i class="fa fa-circle"></i> | |
| 15 | + </li> | |
| 16 | + <li> | |
| 17 | + <span class="active">车辆设备信息管理</span> | |
| 18 | + </li> | |
| 19 | +</ul> | |
| 20 | + | |
| 21 | +<div class="row"> | |
| 22 | + <div class="col-md-12" ng-controller="DeviceInfoManageCtrl as ctrl"> | |
| 23 | + <div class="portlet light bordered"> | |
| 24 | + <div class="portlet-title"> | |
| 25 | + <div class="caption font-dark"> | |
| 26 | + <i class="fa fa-database font-dark"></i> | |
| 27 | + <span class="caption-subject bold uppercase">设备信息表</span> | |
| 28 | + </div> | |
| 29 | + <div class="actions"> | |
| 30 | + <a href="javascirpt:" class="btn btn-circle blue"> | |
| 31 | + <i class="fa fa-plus"></i> | |
| 32 | + 添加设备信息 | |
| 33 | + </a> | |
| 34 | + | |
| 35 | + <div class="btn-group"> | |
| 36 | + <a href="javascript:" class="btn red btn-outline btn-circle" data-toggle="dropdown"> | |
| 37 | + <i class="fa fa-share"></i> | |
| 38 | + <span>系统工具</span> | |
| 39 | + <i class="fa fa-angle-down"></i> | |
| 40 | + </a> | |
| 41 | + <ul class="dropdown-menu pull-right"> | |
| 42 | + <li> | |
| 43 | + <a href="javascript:" class="tool-action"> | |
| 44 | + <i class="fa fa-file-excel-o"></i> | |
| 45 | + 导出excel | |
| 46 | + </a> | |
| 47 | + </li> | |
| 48 | + <li class="divider"></li> | |
| 49 | + <li> | |
| 50 | + <a href="javascript:" class="tool-action"> | |
| 51 | + <i class="fa fa-refresh"></i> | |
| 52 | + 刷行数据 | |
| 53 | + </a> | |
| 54 | + </li> | |
| 55 | + </ul> | |
| 56 | + </div> | |
| 57 | + </div> | |
| 58 | + </div> | |
| 59 | + | |
| 60 | + <div class="portlet-body"> | |
| 61 | + <div ui-view="list"></div> | |
| 62 | + </div> | |
| 63 | + </div> | |
| 64 | + </div> | |
| 65 | +</div> | |
| 0 | 66 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/deviceInfoManage/list.html
0 → 100644
| 1 | +<!-- ui-route deviceInfoManage.list --> | |
| 2 | +<div ng-controller="DeviceInfoManageListCtrl as ctrl"> | |
| 3 | + <table class="table table-striped table-bordered table-hover table-checkable order-column"> | |
| 4 | + <thead> | |
| 5 | + <tr> | |
| 6 | + <th> | |
| 7 | + <input type="checkbox" class="group-checkable"/> | |
| 8 | + </th> | |
| 9 | + <th>序号</th> | |
| 10 | + <th>线路名称</th> | |
| 11 | + <th>内部编号</th> | |
| 12 | + <th>创建时间</th> | |
| 13 | + <th>旧设备编号</th> | |
| 14 | + <th>新设备编号</th> | |
| 15 | + <th>旧SIM卡</th> | |
| 16 | + <th>新SIM卡</th> | |
| 17 | + <th>操作时间</th> | |
| 18 | + <th>操作</th> | |
| 19 | + </tr> | |
| 20 | + </thead> | |
| 21 | + <tbody> | |
| 22 | + <tr ng-repeat="info in ctrl.infos" class="odd gradeX"> | |
| 23 | + <td> | |
| 24 | + <input type="checkbox"/> | |
| 25 | + </td> | |
| 26 | + <td> | |
| 27 | + <span>todo</span> | |
| 28 | + </td> | |
| 29 | + <td> | |
| 30 | + <span ng-bind="info.xlName"></span> | |
| 31 | + </td> | |
| 32 | + <td> | |
| 33 | + <span ng-bind="info.clZbh"></span> | |
| 34 | + </td> | |
| 35 | + <td> | |
| 36 | + <span ng-bind="info.createDate | date:'yyyy-MM-dd HH:mm:ss'"></span> | |
| 37 | + </td> | |
| 38 | + <td> | |
| 39 | + <span ng-bind="info.oldDeviceNo"></span> | |
| 40 | + </td> | |
| 41 | + <td> | |
| 42 | + <span ng-bind="info.newDeviceNo"></span> | |
| 43 | + </td> | |
| 44 | + <td> | |
| 45 | + <span ng-bind="info.oldSimNo"></span> | |
| 46 | + </td> | |
| 47 | + <td> | |
| 48 | + <span ng-bind="info.newSimNo"></span> | |
| 49 | + </td> | |
| 50 | + <td> | |
| 51 | + <span ng-bind="info.updateDate | date:'yyyy-MM-dd HH:mm:ss'"></span> | |
| 52 | + </td> | |
| 53 | + <td> | |
| 54 | + <span>todo</span> | |
| 55 | + </td> | |
| 56 | + </tr> | |
| 57 | + </tbody> | |
| 58 | + | |
| 59 | + </table> | |
| 60 | + | |
| 61 | + <div style="text-align: right;"> | |
| 62 | + <uib-pagination total-items="ctrl.pi.totalItems" | |
| 63 | + ng-model="ctrl.pi.currentPage" | |
| 64 | + ng-change="ctrl.pageChanged()" | |
| 65 | + previous-text="上一页" | |
| 66 | + next-text="下一页"> | |
| 67 | + </uib-pagination> | |
| 68 | + </div> | |
| 69 | +</div> | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/detail.html
0 → 100644
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/employeeInfoManage.html deleted
100644 → 0
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/employeeInfoManage.js
0 → 100644
| 1 | +// 人员信息管理 service controller等写在一起 | |
| 2 | + | |
| 3 | +angular.module('ScheduleApp').factory('EmployeeInfoManageService', ['$resource', function($resource) { | |
| 4 | + // TODO:测试 | |
| 5 | + | |
| 6 | + | |
| 7 | + return $resource( | |
| 8 | + '/cci', | |
| 9 | + {}, | |
| 10 | + { | |
| 11 | + list: { | |
| 12 | + method: 'GET' | |
| 13 | + } | |
| 14 | + } | |
| 15 | + ); | |
| 16 | + | |
| 17 | +}]); | |
| 18 | + | |
| 19 | +angular.module('ScheduleApp').controller('EmployeeInfoManageCtrl', ['EmployeeInfoManageService', function(employeeInfoManageService) { | |
| 20 | + | |
| 21 | +}]); | |
| 22 | + | |
| 23 | +angular.module('ScheduleApp').controller('EmployeeInfoManageListCtrl', ['EmployeeInfoManageService', function(employeeInfoManageService) { | |
| 24 | + // TODO:模拟数据 | |
| 25 | + var self = this; | |
| 26 | + self.totalItems = 64; | |
| 27 | + self.currentPage = 4; | |
| 28 | + self.infos = {}; | |
| 29 | + self.pageChanaged = function() { | |
| 30 | + console.log("页面跳转到:" + currentPage.currentPage); | |
| 31 | + } | |
| 32 | +}]); | |
| 33 | + | |
| 34 | +angular.module('ScheduleApp').controller('EmployeeInfoManageFormCtrl', ['EmployeeInfoManageService', function(employeeInfoManageService) { | |
| 35 | + | |
| 36 | +}]); | |
| 37 | + | |
| 38 | +angular.module('ScheduleApp').controller('EmployeeInfoManageDetailCtrl', ['EmployeeInfoManageService', function(employeeInfoManageService) { | |
| 39 | + | |
| 40 | +}]); | |
| 41 | + | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/form.html
0 → 100644
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/index.html
0 → 100644
| 1 | +<div class="page-head"> | |
| 2 | + <div class="page-title"> | |
| 3 | + <h1>人员信息管理</h1> | |
| 4 | + </div> | |
| 5 | +</div> | |
| 6 | + | |
| 7 | +<ul class="page-breadcrumb breadcrumb"> | |
| 8 | + <li> | |
| 9 | + <a href="/pages/home.html" data-pjax>首页</a> | |
| 10 | + <i class="fa fa-circle"></i> | |
| 11 | + </li> | |
| 12 | + <li> | |
| 13 | + <span class="active">基础信息</span> | |
| 14 | + <i class="fa fa-circle"></i> | |
| 15 | + </li> | |
| 16 | + <li> | |
| 17 | + <span class="active">人员信息管理</span> | |
| 18 | + </li> | |
| 19 | +</ul> | |
| 20 | + | |
| 21 | +<div class="row"> | |
| 22 | + <div class="col-md-12" ng-controller="EmployeeInfoManageCtrl as ctrl"> | |
| 23 | + <div class="portlet light bordered"> | |
| 24 | + <div class="portlet-title"> | |
| 25 | + <div class="caption font-dark"> | |
| 26 | + <i class="fa fa-database font-dark"></i> | |
| 27 | + <span class="caption-subject bold uppercase">人员信息表</span> | |
| 28 | + </div> | |
| 29 | + <div class="actions"> | |
| 30 | + <a href="javascirpt:" class="btn btn-circle blue"> | |
| 31 | + <i class="fa fa-plus"></i> | |
| 32 | + 添加人员信息 | |
| 33 | + </a> | |
| 34 | + | |
| 35 | + <div class="btn-group"> | |
| 36 | + <a href="javascript:" class="btn red btn-outline btn-circle" data-toggle="dropdown"> | |
| 37 | + <i class="fa fa-share"></i> | |
| 38 | + <span>系统工具</span> | |
| 39 | + <i class="fa fa-angle-down"></i> | |
| 40 | + </a> | |
| 41 | + <ul class="dropdown-menu pull-right"> | |
| 42 | + <li> | |
| 43 | + <a href="javascript:" class="tool-action"> | |
| 44 | + <i class="fa fa-file-excel-o"></i> | |
| 45 | + 导出excel | |
| 46 | + </a> | |
| 47 | + </li> | |
| 48 | + <li class="divider"></li> | |
| 49 | + <li> | |
| 50 | + <a href="javascript:" class="tool-action"> | |
| 51 | + <i class="fa fa-refresh"></i> | |
| 52 | + 刷行数据 | |
| 53 | + </a> | |
| 54 | + </li> | |
| 55 | + </ul> | |
| 56 | + </div> | |
| 57 | + </div> | |
| 58 | + </div> | |
| 59 | + | |
| 60 | + <div class="portlet-body"> | |
| 61 | + <div ui-view="list"></div> | |
| 62 | + </div> | |
| 63 | + </div> | |
| 64 | + </div> | |
| 65 | +</div> | |
| 0 | 66 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/list.html
0 → 100644
| 1 | +<!-- ui-route employeeInfoManage.list --> | |
| 2 | +<div ng-controller="EmployeeInfoManageListCtrl as ctrl"> | |
| 3 | + <table class="table table-striped table-bordered table-hover table-checkable order-column"> | |
| 4 | + <thead> | |
| 5 | + <tr> | |
| 6 | + <th> | |
| 7 | + <input type="checkbox" class="group-checkable"/> | |
| 8 | + </th> | |
| 9 | + <th>序号</th> | |
| 10 | + <th>员工编号</th> | |
| 11 | + <th>姓名</th> | |
| 12 | + <th>工号</th> | |
| 13 | + <th>性别</th> | |
| 14 | + <th>所在公司</th> | |
| 15 | + <th>分公司</th> | |
| 16 | + <th>工种</th> | |
| 17 | + <th>一卡通号</th> | |
| 18 | + <th>运营服务证号</th> | |
| 19 | + <th>操作</th> | |
| 20 | + </tr> | |
| 21 | + </thead> | |
| 22 | + <tbody> | |
| 23 | + <tr ng-repeat="info in ctrl.infos" class="odd gradeX"> | |
| 24 | + <td> | |
| 25 | + <input type="checkbox"/> | |
| 26 | + </td> | |
| 27 | + <td> | |
| 28 | + <span>TODO</span> | |
| 29 | + </td> | |
| 30 | + <td> | |
| 31 | + <span ng-bind="info.personnelCode"></span> | |
| 32 | + </td> | |
| 33 | + <td> | |
| 34 | + <span ng-bind="info.personnelName"></span> | |
| 35 | + </td> | |
| 36 | + <td> | |
| 37 | + <span ng-bind="info.jobCode"></span> | |
| 38 | + </td> | |
| 39 | + <td> | |
| 40 | + <span ng-bind="info.personnelType"></span> | |
| 41 | + </td> | |
| 42 | + <td> | |
| 43 | + <span ng-bind="info.company"></span> | |
| 44 | + </td> | |
| 45 | + <td> | |
| 46 | + <span ng-bind="info.brancheCompany"></span> | |
| 47 | + </td> | |
| 48 | + <td> | |
| 49 | + <span>TODO</span> | |
| 50 | + </td> | |
| 51 | + <td> | |
| 52 | + <span ng-bind="info.icCardCode"></span> | |
| 53 | + </td> | |
| 54 | + <td> | |
| 55 | + <span ng-bind="info.papersCode"></span> | |
| 56 | + </td> | |
| 57 | + <td> | |
| 58 | + <span>TODO</span> | |
| 59 | + </td> | |
| 60 | + </tr> | |
| 61 | + </tbody> | |
| 62 | + </table> | |
| 63 | + | |
| 64 | + <div style="text-align: right;"> | |
| 65 | + <uib-pagination total-items="ctrl.totalItems" | |
| 66 | + ng-model="ctrl.currentPage" | |
| 67 | + ng-change="ctrl.pageChanged()" | |
| 68 | + previous-text="上一页" | |
| 69 | + next-text="下一页"> | |
| 70 | + </uib-pagination> | |
| 71 | + </div> | |
| 72 | +</div> | |
| 0 | 73 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/core/busConfig/busConfig.html
src/main/resources/static/pages/scheduleApp/module/core/busConfig/busConfig.js
0 → 100644
| 1 | +// 车辆配置管理 service controller 等写在一起 | |
| 2 | +angular.module('ScheduleApp').factory('BusConfigService', ['$resource', function($resource) { | |
| 3 | + // TODO:测试 | |
| 4 | + return $resource( | |
| 5 | + '/cci', | |
| 6 | + {}, | |
| 7 | + { | |
| 8 | + list: { | |
| 9 | + method: 'GET' | |
| 10 | + } | |
| 11 | + } | |
| 12 | + ); | |
| 13 | +}]); | |
| 14 | + | |
| 15 | +angular.module('ScheduleApp').controller('BusConfigCtrl', ['BusConfigService', function(busConfigService) { | |
| 16 | + | |
| 17 | +}]); | |
| 18 | + | |
| 19 | +angular.module('ScheduleApp').controller('BusConfigListCtrl', ['BusConfigService', function(busConfigService) { | |
| 20 | + // TODO:模拟数据 | |
| 21 | + var self = this; | |
| 22 | + self.totalItems = 64; | |
| 23 | + self.currentPage = 4; | |
| 24 | + self.infos = {}; | |
| 25 | + self.pageChanaged = function() { | |
| 26 | + console.log("页面跳转到:" + currentPage.currentPage); | |
| 27 | + } | |
| 28 | +}]); | |
| 29 | + | |
| 30 | +angular.module('ScheduleApp').controller('BusConfigFormCtrl', ['BusConfigService', function(busConfigService) { | |
| 31 | + | |
| 32 | +}]); | |
| 33 | + | |
| 34 | +angular.module('ScheduleApp').controller('BusConfigDetailCtrl', ['BusConfigService', function(busConfigService) { | |
| 35 | + | |
| 36 | +}]); | |
| 37 | + | |
| 38 | + | |
| 39 | + | ... | ... |
src/main/resources/static/pages/scheduleApp/module/core/busConfig/busConfig2.html
src/main/resources/static/pages/scheduleApp/module/core/busConfig/detail.html
0 → 100644
src/main/resources/static/pages/scheduleApp/module/core/busConfig/dist/busConfig.dist.html
src/main/resources/static/pages/scheduleApp/module/core/busConfig/form.html
0 → 100644
src/main/resources/static/pages/scheduleApp/module/core/busConfig/index.html
0 → 100644
| 1 | +<div class="page-head"> | |
| 2 | + <div class="page-title"> | |
| 3 | + <h1>车辆配置</h1> | |
| 4 | + </div> | |
| 5 | +</div> | |
| 6 | + | |
| 7 | +<ul class="page-breadcrumb breadcrumb"> | |
| 8 | + <li> | |
| 9 | + <a href="/pages/home.html" data-pjax>首页</a> | |
| 10 | + <i class="fa fa-circle"></i> | |
| 11 | + </li> | |
| 12 | + <li> | |
| 13 | + <span class="active">运营计划管理</span> | |
| 14 | + <i class="fa fa-circle"></i> | |
| 15 | + </li> | |
| 16 | + <li> | |
| 17 | + <span class="active">车俩配置</span> | |
| 18 | + </li> | |
| 19 | +</ul> | |
| 20 | + | |
| 21 | +<div class="row"> | |
| 22 | + <div class="col-md-12" ng-controller="BusConfigCtrl as ctrl"> | |
| 23 | + <div class="portlet light bordered"> | |
| 24 | + <div class="portlet-title"> | |
| 25 | + <div class="caption font-dark"> | |
| 26 | + <i class="fa fa-database font-dark"></i> | |
| 27 | + <span class="caption-subject bold uppercase">配置表</span> | |
| 28 | + </div> | |
| 29 | + <div class="actions"> | |
| 30 | + <a href="javascirpt:" class="btn btn-circle blue"> | |
| 31 | + <i class="fa fa-plus"></i> | |
| 32 | + 添加配置 | |
| 33 | + </a> | |
| 34 | + | |
| 35 | + <div class="btn-group"> | |
| 36 | + <a href="javascript:" class="btn red btn-outline btn-circle" data-toggle="dropdown"> | |
| 37 | + <i class="fa fa-share"></i> | |
| 38 | + <span>系统工具</span> | |
| 39 | + <i class="fa fa-angle-down"></i> | |
| 40 | + </a> | |
| 41 | + <ul class="dropdown-menu pull-right"> | |
| 42 | + <li> | |
| 43 | + <a href="javascript:" class="tool-action"> | |
| 44 | + <i class="fa fa-file-excel-o"></i> | |
| 45 | + 导出excel | |
| 46 | + </a> | |
| 47 | + </li> | |
| 48 | + <li class="divider"></li> | |
| 49 | + <li> | |
| 50 | + <a href="javascript:" class="tool-action"> | |
| 51 | + <i class="fa fa-refresh"></i> | |
| 52 | + 刷行数据 | |
| 53 | + </a> | |
| 54 | + </li> | |
| 55 | + </ul> | |
| 56 | + </div> | |
| 57 | + </div> | |
| 58 | + </div> | |
| 59 | + | |
| 60 | + <div class="portlet-body"> | |
| 61 | + <div ui-view="list"></div> | |
| 62 | + </div> | |
| 63 | + </div> | |
| 64 | + </div> | |
| 65 | +</div> | |
| 0 | 66 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/core/busConfig/list.html
0 → 100644
| 1 | +<!-- ui-route employeeInfoManage.list --> | |
| 2 | +<div ng-controller="BusConfigListCtrl as ctrl"> | |
| 3 | + <table class="table table-striped table-bordered table-hover table-checkable order-column"> | |
| 4 | + <thead> | |
| 5 | + <tr> | |
| 6 | + <th> | |
| 7 | + <input type="checkbox" class="group-checkable"/> | |
| 8 | + </th> | |
| 9 | + <th>序号</th> | |
| 10 | + <th>线路</th> | |
| 11 | + <th>内部编号</th> | |
| 12 | + <th>设备编码</th> | |
| 13 | + <th>启用日期</th> | |
| 14 | + <th>终止日期</th> | |
| 15 | + <th>停车点</th> | |
| 16 | + <th>是否切换</th> | |
| 17 | + <th>操作</th> | |
| 18 | + </tr> | |
| 19 | + </thead> | |
| 20 | + <tbody> | |
| 21 | + <tr ng-repeat="info in ctrl.infos" class="odd gradeX"> | |
| 22 | + <td> | |
| 23 | + <input type="checkbox"/> | |
| 24 | + </td> | |
| 25 | + <td> | |
| 26 | + <span>TODO</span> | |
| 27 | + </td> | |
| 28 | + <td> | |
| 29 | + <span ng-bind="info.xl.name"></span> | |
| 30 | + </td> | |
| 31 | + <td> | |
| 32 | + <span ng-bind="info.cl.carCode"></span> | |
| 33 | + </td> | |
| 34 | + <td> | |
| 35 | + <span ng-bind="info.cl.equipmentCode"></span> | |
| 36 | + </td> | |
| 37 | + <td> | |
| 38 | + <span ng-bind="info.personnelType"></span> | |
| 39 | + </td> | |
| 40 | + <td> | |
| 41 | + <span ng-bind="info.qyrq | date: 'yyyy-MM-dd HH:mm:ss'"></span> | |
| 42 | + </td> | |
| 43 | + <td> | |
| 44 | + <span ng-bind="info.zzrq | date: 'yyyy-MM-dd HH:mm:ss'"></span> | |
| 45 | + </td> | |
| 46 | + <td> | |
| 47 | + <span ng-bind="info.tcd"></span> | |
| 48 | + </td> | |
| 49 | + <td> | |
| 50 | + <span ng-bind="info.isSwitch"></span> | |
| 51 | + </td> | |
| 52 | + <td> | |
| 53 | + <span>TODO</span> | |
| 54 | + </td> | |
| 55 | + </tr> | |
| 56 | + </tbody> | |
| 57 | + </table> | |
| 58 | + | |
| 59 | + <div style="text-align: right;"> | |
| 60 | + <uib-pagination total-items="ctrl.totalItems" | |
| 61 | + ng-model="ctrl.currentPage" | |
| 62 | + ng-change="ctrl.pageChanged()" | |
| 63 | + previous-text="上一页" | |
| 64 | + next-text="下一页"> | |
| 65 | + </uib-pagination> | |
| 66 | + </div> | |
| 67 | +</div> | |
| 0 | 68 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/core/employeeConfig/detail.html
0 → 100644
src/main/resources/static/pages/scheduleApp/module/core/employeeConfig/dist/employeeConfig.dist.html
src/main/resources/static/pages/scheduleApp/module/core/employeeConfig/employeeConfig.html
src/main/resources/static/pages/scheduleApp/module/core/employeeConfig/employeeConfig.js
0 → 100644
| 1 | +// 人员配置管理 service controller 等写在一起 | |
| 2 | + | |
| 3 | +angular.module('ScheduleApp').factory('EmployeeConfigService', ['$resource', function($resource) { | |
| 4 | + // TODO:测试 | |
| 5 | + return $resource( | |
| 6 | + '/cci', | |
| 7 | + {}, | |
| 8 | + { | |
| 9 | + list: { | |
| 10 | + method: 'GET' | |
| 11 | + } | |
| 12 | + } | |
| 13 | + ); | |
| 14 | +}]); | |
| 15 | + | |
| 16 | +angular.module('ScheduleApp').controller('EmployeeConfigCtrl', ['EmployeeConfigService', function(employeeConfigService) { | |
| 17 | + | |
| 18 | +}]); | |
| 19 | + | |
| 20 | +angular.module('ScheduleApp').controller('EmployeeConfigListCtrl', ['EmployeeConfigService', function(employeeConfigService) { | |
| 21 | + // TODO:模拟数据 | |
| 22 | + var self = this; | |
| 23 | + self.totalItems = 64; | |
| 24 | + self.currentPage = 4; | |
| 25 | + self.infos = {}; | |
| 26 | + self.pageChanaged = function() { | |
| 27 | + console.log("页面跳转到:" + currentPage.currentPage); | |
| 28 | + } | |
| 29 | +}]); | |
| 30 | + | |
| 31 | +angular.module('ScheduleApp').controller('EmployeeConfigFormCtrl', ['EmployeeConfigService', function(employeeConfigService) { | |
| 32 | + | |
| 33 | +}]); | |
| 34 | + | |
| 35 | +angular.module('ScheduleApp').controller('EmployeeConfigDetailCtrl', ['EmployeeConfigService', function(employeeConfigService) { | |
| 36 | + | |
| 37 | +}]); | |
| 38 | + | ... | ... |
src/main/resources/static/pages/scheduleApp/module/core/employeeConfig/form.html
0 → 100644
src/main/resources/static/pages/scheduleApp/module/core/employeeConfig/index.html
0 → 100644
| 1 | +<div class="page-head"> | |
| 2 | + <div class="page-title"> | |
| 3 | + <h1>人员配置</h1> | |
| 4 | + </div> | |
| 5 | +</div> | |
| 6 | + | |
| 7 | +<ul class="page-breadcrumb breadcrumb"> | |
| 8 | + <li> | |
| 9 | + <a href="/pages/home.html" data-pjax>首页</a> | |
| 10 | + <i class="fa fa-circle"></i> | |
| 11 | + </li> | |
| 12 | + <li> | |
| 13 | + <span class="active">运营计划管理</span> | |
| 14 | + <i class="fa fa-circle"></i> | |
| 15 | + </li> | |
| 16 | + <li> | |
| 17 | + <span class="active">人员配置</span> | |
| 18 | + </li> | |
| 19 | +</ul> | |
| 20 | + | |
| 21 | +<div class="row"> | |
| 22 | + <div class="col-md-12" ng-controller="EmployeeConfigCtrl as ctrl"> | |
| 23 | + <div class="portlet light bordered"> | |
| 24 | + <div class="portlet-title"> | |
| 25 | + <div class="caption font-dark"> | |
| 26 | + <i class="fa fa-database font-dark"></i> | |
| 27 | + <span class="caption-subject bold uppercase">配置表</span> | |
| 28 | + </div> | |
| 29 | + <div class="actions"> | |
| 30 | + <a href="javascirpt:" class="btn btn-circle blue"> | |
| 31 | + <i class="fa fa-plus"></i> | |
| 32 | + 添加配置 | |
| 33 | + </a> | |
| 34 | + | |
| 35 | + <div class="btn-group"> | |
| 36 | + <a href="javascript:" class="btn red btn-outline btn-circle" data-toggle="dropdown"> | |
| 37 | + <i class="fa fa-share"></i> | |
| 38 | + <span>系统工具</span> | |
| 39 | + <i class="fa fa-angle-down"></i> | |
| 40 | + </a> | |
| 41 | + <ul class="dropdown-menu pull-right"> | |
| 42 | + <li> | |
| 43 | + <a href="javascript:" class="tool-action"> | |
| 44 | + <i class="fa fa-file-excel-o"></i> | |
| 45 | + 导出excel | |
| 46 | + </a> | |
| 47 | + </li> | |
| 48 | + <li class="divider"></li> | |
| 49 | + <li> | |
| 50 | + <a href="javascript:" class="tool-action"> | |
| 51 | + <i class="fa fa-refresh"></i> | |
| 52 | + 刷行数据 | |
| 53 | + </a> | |
| 54 | + </li> | |
| 55 | + </ul> | |
| 56 | + </div> | |
| 57 | + </div> | |
| 58 | + </div> | |
| 59 | + | |
| 60 | + <div class="portlet-body"> | |
| 61 | + <div ui-view="list"></div> | |
| 62 | + </div> | |
| 63 | + </div> | |
| 64 | + </div> | |
| 65 | +</div> | |
| 0 | 66 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/core/employeeConfig/list.html
0 → 100644
| 1 | +<!-- ui-route employeeInfoManage.list --> | |
| 2 | +<div ng-controller="EmployeeConfigListCtrl as ctrl"> | |
| 3 | + <table class="table table-striped table-bordered table-hover table-checkable order-column"> | |
| 4 | + <thead> | |
| 5 | + <tr> | |
| 6 | + <th> | |
| 7 | + <input type="checkbox" class="group-checkable"/> | |
| 8 | + </th> | |
| 9 | + <th>序号</th> | |
| 10 | + <th>线路</th> | |
| 11 | + <th>搭班编码</th> | |
| 12 | + <th>驾驶员工号</th> | |
| 13 | + <th>驾驶员</th> | |
| 14 | + <th>售票员工号</th> | |
| 15 | + <th>售票员</th> | |
| 16 | + <th>车辆内部编号</th> | |
| 17 | + <th>操作</th> | |
| 18 | + </tr> | |
| 19 | + </thead> | |
| 20 | + <tbody> | |
| 21 | + <tr ng-repeat="info in ctrl.infos" class="odd gradeX"> | |
| 22 | + <td> | |
| 23 | + <input type="checkbox"/> | |
| 24 | + </td> | |
| 25 | + <td> | |
| 26 | + <span>TODO</span> | |
| 27 | + </td> | |
| 28 | + <td> | |
| 29 | + <span ng-bind="info.xl.name"></span> | |
| 30 | + </td> | |
| 31 | + <td> | |
| 32 | + <span ng-bind="info.dbbm"></span> | |
| 33 | + </td> | |
| 34 | + <td> | |
| 35 | + <span ng-bind="info.jsy.jobCode"></span> | |
| 36 | + </td> | |
| 37 | + <td> | |
| 38 | + <span ng-bind="info.jsy.personnelName"></span> | |
| 39 | + </td> | |
| 40 | + <td> | |
| 41 | + <span ng-bind="info.spy.jobCode"></span> | |
| 42 | + </td> | |
| 43 | + <td> | |
| 44 | + <span ng-bind="info.spy.personnelName"></span> | |
| 45 | + </td> | |
| 46 | + <td> | |
| 47 | + <span ng-bind="info.cl.insideCode"></span> | |
| 48 | + </td> | |
| 49 | + <td> | |
| 50 | + <span>TODO</span> | |
| 51 | + </td> | |
| 52 | + </tr> | |
| 53 | + </tbody> | |
| 54 | + </table> | |
| 55 | + | |
| 56 | + <div style="text-align: right;"> | |
| 57 | + <uib-pagination total-items="ctrl.totalItems" | |
| 58 | + ng-model="ctrl.currentPage" | |
| 59 | + ng-change="ctrl.pageChanged()" | |
| 60 | + previous-text="上一页" | |
| 61 | + next-text="下一页"> | |
| 62 | + </uib-pagination> | |
| 63 | + </div> | |
| 64 | +</div> | |
| 0 | 65 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/core/guideboardManage/detail.html
0 → 100644
src/main/resources/static/pages/scheduleApp/module/core/guideboardManage/form.html
0 → 100644
src/main/resources/static/pages/scheduleApp/module/core/guideboardManage/guideboardManage.js
0 → 100644
| 1 | +// 路牌管理 service controller 等写在一起 | |
| 2 | + | |
| 3 | +angular.module('ScheduleApp').factory('GuideboardManageService', ['$resource', function($resource) { | |
| 4 | + // TODO:测试 | |
| 5 | + return $resource( | |
| 6 | + '/cci', | |
| 7 | + {}, | |
| 8 | + { | |
| 9 | + list: { | |
| 10 | + method: 'GET' | |
| 11 | + } | |
| 12 | + } | |
| 13 | + ); | |
| 14 | +}]); | |
| 15 | + | |
| 16 | +angular.module('ScheduleApp').controller('GuideboardManageCtrl', ['GuideboardManageService', function(guideboardManageService) { | |
| 17 | + | |
| 18 | +}]); | |
| 19 | + | |
| 20 | +angular.module('ScheduleApp').controller('GuideboardManageListCtrl', ['GuideboardManageService', function(guideboardManageService) { | |
| 21 | + // TODO:模拟数据 | |
| 22 | + var self = this; | |
| 23 | + self.totalItems = 64; | |
| 24 | + self.currentPage = 4; | |
| 25 | + self.infos = {}; | |
| 26 | + self.pageChanaged = function() { | |
| 27 | + console.log("页面跳转到:" + currentPage.currentPage); | |
| 28 | + } | |
| 29 | +}]); | |
| 30 | + | |
| 31 | +angular.module('ScheduleApp').controller('GuideboardManageFormCtrl', ['GuideboardManageService', function(guideboardManageService) { | |
| 32 | + | |
| 33 | +}]); | |
| 34 | + | |
| 35 | +angular.module('ScheduleApp').controller('GuideboardManageDetailCtrl', ['GuideboardManageService', function(guideboardManageService) { | |
| 36 | + | |
| 37 | +}]); | |
| 38 | + | |
| 39 | + | ... | ... |
src/main/resources/static/pages/scheduleApp/module/core/guideboardManage/index.html
0 → 100644
| 1 | +<div class="page-head"> | |
| 2 | + <div class="page-title"> | |
| 3 | + <h1>路牌管理</h1> | |
| 4 | + </div> | |
| 5 | +</div> | |
| 6 | + | |
| 7 | +<ul class="page-breadcrumb breadcrumb"> | |
| 8 | + <li> | |
| 9 | + <a href="/pages/home.html" data-pjax>首页</a> | |
| 10 | + <i class="fa fa-circle"></i> | |
| 11 | + </li> | |
| 12 | + <li> | |
| 13 | + <span class="active">运营计划管理</span> | |
| 14 | + <i class="fa fa-circle"></i> | |
| 15 | + </li> | |
| 16 | + <li> | |
| 17 | + <span class="active">路牌管理</span> | |
| 18 | + </li> | |
| 19 | +</ul> | |
| 20 | + | |
| 21 | +<div class="row"> | |
| 22 | + <div class="col-md-12" ng-controller="GuideboardManageCtrl as ctrl"> | |
| 23 | + <div class="portlet light bordered"> | |
| 24 | + <div class="portlet-title"> | |
| 25 | + <div class="caption font-dark"> | |
| 26 | + <i class="fa fa-database font-dark"></i> | |
| 27 | + <span class="caption-subject bold uppercase">路牌表</span> | |
| 28 | + </div> | |
| 29 | + <div class="actions"> | |
| 30 | + <a href="javascirpt:" class="btn btn-circle blue"> | |
| 31 | + <i class="fa fa-plus"></i> | |
| 32 | + 添加路牌 | |
| 33 | + </a> | |
| 34 | + | |
| 35 | + <div class="btn-group"> | |
| 36 | + <a href="javascript:" class="btn red btn-outline btn-circle" data-toggle="dropdown"> | |
| 37 | + <i class="fa fa-share"></i> | |
| 38 | + <span>系统工具</span> | |
| 39 | + <i class="fa fa-angle-down"></i> | |
| 40 | + </a> | |
| 41 | + <ul class="dropdown-menu pull-right"> | |
| 42 | + <li> | |
| 43 | + <a href="javascript:" class="tool-action"> | |
| 44 | + <i class="fa fa-file-excel-o"></i> | |
| 45 | + 导出excel | |
| 46 | + </a> | |
| 47 | + </li> | |
| 48 | + <li class="divider"></li> | |
| 49 | + <li> | |
| 50 | + <a href="javascript:" class="tool-action"> | |
| 51 | + <i class="fa fa-refresh"></i> | |
| 52 | + 刷行数据 | |
| 53 | + </a> | |
| 54 | + </li> | |
| 55 | + </ul> | |
| 56 | + </div> | |
| 57 | + </div> | |
| 58 | + </div> | |
| 59 | + | |
| 60 | + <div class="portlet-body"> | |
| 61 | + <div ui-view="list"></div> | |
| 62 | + </div> | |
| 63 | + </div> | |
| 64 | + </div> | |
| 65 | +</div> | |
| 0 | 66 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/core/guideboardManage/list.html
0 → 100644
| 1 | +<!-- ui-route employeeInfoManage.list --> | |
| 2 | +<div ng-controller="GuideboardManageListCtrl as ctrl"> | |
| 3 | + <table class="table table-striped table-bordered table-hover table-checkable order-column"> | |
| 4 | + <thead> | |
| 5 | + <tr> | |
| 6 | + <th> | |
| 7 | + <input type="checkbox" class="group-checkable"/> | |
| 8 | + </th> | |
| 9 | + <th>序号</th> | |
| 10 | + <th>线路</th> | |
| 11 | + <th>路牌编号</th> | |
| 12 | + <th>路牌名称</th> | |
| 13 | + <th>路牌类型</th> | |
| 14 | + </tr> | |
| 15 | + </thead> | |
| 16 | + <tbody> | |
| 17 | + <tr ng-repeat="info in ctrl.infos" class="odd gradeX"> | |
| 18 | + <td> | |
| 19 | + <input type="checkbox"/> | |
| 20 | + </td> | |
| 21 | + <td> | |
| 22 | + <span>TODO</span> | |
| 23 | + </td> | |
| 24 | + <td> | |
| 25 | + <span ng-bind="info.xl.name"></span> | |
| 26 | + </td> | |
| 27 | + <td> | |
| 28 | + <span ng-bind="info.lpNo"></span> | |
| 29 | + </td> | |
| 30 | + <td> | |
| 31 | + <span ng-bind="info.lpName"></span> | |
| 32 | + </td> | |
| 33 | + <td> | |
| 34 | + <span ng-bind="info.lpType"></span> | |
| 35 | + </td> | |
| 36 | + </tr> | |
| 37 | + </tbody> | |
| 38 | + </table> | |
| 39 | + | |
| 40 | + <div style="text-align: right;"> | |
| 41 | + <uib-pagination total-items="ctrl.totalItems" | |
| 42 | + ng-model="ctrl.currentPage" | |
| 43 | + ng-change="ctrl.pageChanged()" | |
| 44 | + previous-text="上一页" | |
| 45 | + next-text="下一页"> | |
| 46 | + </uib-pagination> | |
| 47 | + </div> | |
| 48 | +</div> | |
| 0 | 49 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/main.js
| ... | ... | @@ -44,44 +44,203 @@ ScheduleApp.config(['$stateProvider', '$urlRouterProvider', function($stateProvi |
| 44 | 44 | //$urlRouterProvider.otherwise('/busConfig.html'); |
| 45 | 45 | |
| 46 | 46 | $stateProvider |
| 47 | + // 车辆基础信息模块配置 | |
| 48 | + .state("busInfoManage", { | |
| 49 | + url: '/busInfoManage', | |
| 50 | + views: { | |
| 51 | + "": { | |
| 52 | + templateUrl: 'pages/scheduleApp/module/basicInfo/busInfoManage/index.html' | |
| 53 | + }, | |
| 54 | + "list@busInfoManage": { | |
| 55 | + templateUrl: 'pages/scheduleApp/module/basicInfo/busInfoManage/list.html' | |
| 56 | + } | |
| 57 | + }, | |
| 58 | + | |
| 59 | + resolve: { | |
| 60 | + deps: ['$ocLazyLoad', function($ocLazyLoad) { | |
| 61 | + return $ocLazyLoad.load({ | |
| 62 | + name: 'busInfoManage_module', | |
| 63 | + insertBefore: '#ng_load_plugins_before', // 动态载入模块时放置的位置 | |
| 64 | + files: [ | |
| 65 | + "pages/scheduleApp/module/basicInfo/busInfoManage/busInfoManage.js" | |
| 66 | + ] | |
| 67 | + }); | |
| 68 | + }] | |
| 69 | + } | |
| 70 | + }) | |
| 71 | + //.state("busInfoManage.list", { | |
| 72 | + // url: 'list', | |
| 73 | + // templateUrl: 'pages/scheduleApp/module/basicInfo/busInfoManage/list.html', | |
| 74 | + // resolve: { | |
| 75 | + // deps: ['$ocLazyLoad', function($ocLazyLoad) { | |
| 76 | + // return $ocLazyLoad.load({ | |
| 77 | + // name: 'busInfoManage_module', | |
| 78 | + // insertBefore: '#ng_load_plugins_before', // 动态载入模块时放置的位置 | |
| 79 | + // files: [ | |
| 80 | + // "pages/scheduleApp/module/basicInfo/busInfoManage/busInfoManage.js" | |
| 81 | + // ] | |
| 82 | + // }); | |
| 83 | + // }] | |
| 84 | + // } | |
| 85 | + //}) | |
| 86 | + //.state("busInfoManage.form", { | |
| 87 | + // url: 'form', | |
| 88 | + // views: { | |
| 89 | + // "": {templateUrl: 'pages/scheduleApp/module/basicInfo/busInfoManage/form.html'} | |
| 90 | + // }, | |
| 91 | + // resolve: { | |
| 92 | + // deps: ['$ocLazyLoad', function($ocLazyLoad) { | |
| 93 | + // return $ocLazyLoad.load({ | |
| 94 | + // name: 'busInfoManage_module', | |
| 95 | + // insertBefore: '#ng_load_plugins_before', // 动态载入模块时放置的位置 | |
| 96 | + // files: [ | |
| 97 | + // "pages/scheduleApp/module/basicInfo/busInfoManage/busInfoManage.js" | |
| 98 | + // ] | |
| 99 | + // }); | |
| 100 | + // }] | |
| 101 | + // } | |
| 102 | + //}) | |
| 103 | + //.state("busInfoManage.detail", { | |
| 104 | + // url: 'detail', | |
| 105 | + // views: { | |
| 106 | + // "": {templateUrl: 'pages/scheduleApp/module/basicInfo/busInfoManage/detail.html'} | |
| 107 | + // }, | |
| 108 | + // resolve: { | |
| 109 | + // deps: ['$ocLazyLoad', function($ocLazyLoad) { | |
| 110 | + // return $ocLazyLoad.load({ | |
| 111 | + // name: 'busInfoManage_module', | |
| 112 | + // insertBefore: '#ng_load_plugins_before', // 动态载入模块时放置的位置 | |
| 113 | + // files: [ | |
| 114 | + // "pages/scheduleApp/module/basicInfo/busInfoManage/busInfoManage.js" | |
| 115 | + // ] | |
| 116 | + // }); | |
| 117 | + // }] | |
| 118 | + // } | |
| 119 | + //}) | |
| 120 | + | |
| 121 | + // 人员基础信息模块配置 | |
| 122 | + .state("employeeInfoManage", { | |
| 123 | + url: '/employeeInfoManage', | |
| 124 | + views: { | |
| 125 | + "": { | |
| 126 | + templateUrl: 'pages/scheduleApp/module/basicInfo/employeeInfoManage/index.html' | |
| 127 | + }, | |
| 128 | + "list@employeeInfoManage": { | |
| 129 | + templateUrl: 'pages/scheduleApp/module/basicInfo/employeeInfoManage/list.html' | |
| 130 | + } | |
| 131 | + }, | |
| 132 | + | |
| 133 | + resolve: { | |
| 134 | + deps: ['$ocLazyLoad', function($ocLazyLoad) { | |
| 135 | + return $ocLazyLoad.load({ | |
| 136 | + name: 'employeeInfoManage_module', | |
| 137 | + insertBefore: '#ng_load_plugins_before', // 动态载入模块时放置的位置 | |
| 138 | + files: [ | |
| 139 | + "pages/scheduleApp/module/basicInfo/employeeInfoManage/employeeInfoManage.js" | |
| 140 | + ] | |
| 141 | + }); | |
| 142 | + }] | |
| 143 | + } | |
| 144 | + }) | |
| 145 | + | |
| 146 | + // 车辆设备信息模块配置 | |
| 147 | + .state("deviceInfoManage", { | |
| 148 | + url: '/deviceInfoManage', | |
| 149 | + views: { | |
| 150 | + "": { | |
| 151 | + templateUrl: 'pages/scheduleApp/module/basicInfo/deviceInfoManage/index.html' | |
| 152 | + }, | |
| 153 | + "list@deviceInfoManage": { | |
| 154 | + templateUrl: 'pages/scheduleApp/module/basicInfo/deviceInfoManage/list.html' | |
| 155 | + } | |
| 156 | + }, | |
| 157 | + | |
| 158 | + resolve: { | |
| 159 | + deps: ['$ocLazyLoad', function($ocLazyLoad) { | |
| 160 | + return $ocLazyLoad.load({ | |
| 161 | + name: 'deviceInfoManage_module', | |
| 162 | + insertBefore: '#ng_load_plugins_before', // 动态载入模块时放置的位置 | |
| 163 | + files: [ | |
| 164 | + "pages/scheduleApp/module/basicInfo/deviceInfoManage/deviceInfoManage.js" | |
| 165 | + ] | |
| 166 | + }); | |
| 167 | + }] | |
| 168 | + } | |
| 169 | + }) | |
| 170 | + | |
| 47 | 171 | // 车辆配置模块 |
| 48 | - .state('busConfig', { | |
| 49 | - url: '/abc.html', | |
| 50 | - templateUrl: 'pages/scheduleApp/module/core/busConfig/busConfig2.html', | |
| 51 | - data: {}, | |
| 52 | - controller: 'busConfigCtrl', | |
| 172 | + .state("busConfig", { | |
| 173 | + url: '/busConfig', | |
| 174 | + views: { | |
| 175 | + "": { | |
| 176 | + templateUrl: 'pages/scheduleApp/module/core/busConfig/index.html' | |
| 177 | + }, | |
| 178 | + "list@busConfig": { | |
| 179 | + templateUrl: 'pages/scheduleApp/module/core/busConfig/list.html' | |
| 180 | + } | |
| 181 | + }, | |
| 182 | + | |
| 53 | 183 | resolve: { |
| 54 | 184 | deps: ['$ocLazyLoad', function($ocLazyLoad) { |
| 55 | 185 | return $ocLazyLoad.load({ |
| 56 | 186 | name: 'busConfig_module', |
| 57 | 187 | insertBefore: '#ng_load_plugins_before', // 动态载入模块时放置的位置 |
| 58 | 188 | files: [ |
| 59 | - 'pages/scheduleApp/module/core/busConfig/service2.js', | |
| 60 | - 'pages/scheduleApp/module/core/busConfig/controller2.js' | |
| 189 | + "pages/scheduleApp/module/core/busConfig/busConfig.js" | |
| 61 | 190 | ] |
| 62 | 191 | }); |
| 63 | 192 | }] |
| 64 | 193 | } |
| 65 | 194 | }) |
| 66 | - // 路牌管理 | |
| 67 | - .state('guideboardManage', { | |
| 68 | - url: '/guideboardManage.html', | |
| 69 | - templateUrl: 'pages/scheduleApp/module/core/guideboardManage/guideboardManage2.html', | |
| 70 | - data: {}, | |
| 71 | - controller: 'guideboardManageCtrl', | |
| 195 | + | |
| 196 | + // 人员配置模块 | |
| 197 | + .state("employeeConfig", { | |
| 198 | + url: '/employeeConfig', | |
| 199 | + views: { | |
| 200 | + "": { | |
| 201 | + templateUrl: 'pages/scheduleApp/module/core/employeeConfig/index.html' | |
| 202 | + }, | |
| 203 | + "list@employeeConfig": { | |
| 204 | + templateUrl: 'pages/scheduleApp/module/core/employeeConfig/list.html' | |
| 205 | + } | |
| 206 | + }, | |
| 207 | + | |
| 72 | 208 | resolve: { |
| 73 | 209 | deps: ['$ocLazyLoad', function($ocLazyLoad) { |
| 74 | 210 | return $ocLazyLoad.load({ |
| 75 | - name: 'guideboardManage.html', | |
| 211 | + name: 'employeeConfig_module', | |
| 76 | 212 | insertBefore: '#ng_load_plugins_before', // 动态载入模块时放置的位置 |
| 77 | 213 | files: [ |
| 78 | - 'pages/scheduleApp/module/core/guideboardManage/service2.js', | |
| 79 | - 'pages/scheduleApp/module/core/guideboardManage/controller2.js' | |
| 214 | + "pages/scheduleApp/module/core/employeeConfig/employeeConfig.js" | |
| 80 | 215 | ] |
| 81 | 216 | }); |
| 82 | 217 | }] |
| 83 | 218 | } |
| 84 | - }); | |
| 219 | + }) | |
| 220 | + // 路牌管理模块 | |
| 221 | + .state("guideboardManage", { | |
| 222 | + url: '/guideboardManage', | |
| 223 | + views: { | |
| 224 | + "": { | |
| 225 | + templateUrl: 'pages/scheduleApp/module/core/guideboardManage/index.html' | |
| 226 | + }, | |
| 227 | + "list@guideboardManage": { | |
| 228 | + templateUrl: 'pages/scheduleApp/module/core/guideboardManage/list.html' | |
| 229 | + } | |
| 230 | + }, | |
| 231 | + | |
| 232 | + resolve: { | |
| 233 | + deps: ['$ocLazyLoad', function($ocLazyLoad) { | |
| 234 | + return $ocLazyLoad.load({ | |
| 235 | + name: 'guideboardManage_module', | |
| 236 | + insertBefore: '#ng_load_plugins_before', // 动态载入模块时放置的位置 | |
| 237 | + files: [ | |
| 238 | + "pages/scheduleApp/module/core/guideboardManage/guideboardManage.js" | |
| 239 | + ] | |
| 240 | + }); | |
| 241 | + }] | |
| 242 | + } | |
| 243 | + }) | |
| 85 | 244 | }]); |
| 86 | 245 | |
| 87 | 246 | ... | ... |