├── Web ├── css │ ├── common.css │ └── login.css ├── img │ ├── adminBG.jpg │ ├── adminPerm.png │ ├── equRepair.png │ ├── indexBG.jpg │ ├── loginBG.jpg │ ├── ownerBG.jpg │ ├── userData.png │ ├── userPay.png │ ├── equRepairBG.jpg │ └── propMoneyBG.jpg ├── Plugins │ └── layui │ │ ├── font │ │ ├── iconfont.eot │ │ ├── iconfont.ttf │ │ └── iconfont.woff │ │ ├── images │ │ └── face │ │ │ ├── 0.gif │ │ │ ├── 1.gif │ │ │ ├── 10.gif │ │ │ ├── 11.gif │ │ │ ├── 12.gif │ │ │ ├── 13.gif │ │ │ ├── 14.gif │ │ │ ├── 15.gif │ │ │ ├── 16.gif │ │ │ ├── 17.gif │ │ │ ├── 18.gif │ │ │ ├── 19.gif │ │ │ ├── 2.gif │ │ │ ├── 20.gif │ │ │ ├── 21.gif │ │ │ ├── 22.gif │ │ │ ├── 23.gif │ │ │ ├── 24.gif │ │ │ ├── 25.gif │ │ │ ├── 26.gif │ │ │ ├── 27.gif │ │ │ ├── 28.gif │ │ │ ├── 29.gif │ │ │ ├── 3.gif │ │ │ ├── 30.gif │ │ │ ├── 31.gif │ │ │ ├── 32.gif │ │ │ ├── 33.gif │ │ │ ├── 34.gif │ │ │ ├── 35.gif │ │ │ ├── 36.gif │ │ │ ├── 37.gif │ │ │ ├── 38.gif │ │ │ ├── 39.gif │ │ │ ├── 4.gif │ │ │ ├── 40.gif │ │ │ ├── 41.gif │ │ │ ├── 42.gif │ │ │ ├── 43.gif │ │ │ ├── 44.gif │ │ │ ├── 45.gif │ │ │ ├── 46.gif │ │ │ ├── 47.gif │ │ │ ├── 48.gif │ │ │ ├── 49.gif │ │ │ ├── 5.gif │ │ │ ├── 50.gif │ │ │ ├── 51.gif │ │ │ ├── 52.gif │ │ │ ├── 53.gif │ │ │ ├── 54.gif │ │ │ ├── 55.gif │ │ │ ├── 56.gif │ │ │ ├── 57.gif │ │ │ ├── 58.gif │ │ │ ├── 59.gif │ │ │ ├── 6.gif │ │ │ ├── 60.gif │ │ │ ├── 61.gif │ │ │ ├── 62.gif │ │ │ ├── 63.gif │ │ │ ├── 64.gif │ │ │ ├── 65.gif │ │ │ ├── 66.gif │ │ │ ├── 67.gif │ │ │ ├── 68.gif │ │ │ ├── 69.gif │ │ │ ├── 7.gif │ │ │ ├── 70.gif │ │ │ ├── 71.gif │ │ │ ├── 8.gif │ │ │ └── 9.gif │ │ ├── css │ │ └── modules │ │ │ ├── layer │ │ │ └── default │ │ │ │ ├── icon.png │ │ │ │ ├── icon-ext.png │ │ │ │ ├── loading-0.gif │ │ │ │ ├── loading-1.gif │ │ │ │ └── loading-2.gif │ │ │ ├── code.css │ │ │ └── laydate │ │ │ └── default │ │ │ └── laydate.css │ │ ├── lay │ │ └── modules │ │ │ ├── code.js │ │ │ ├── laytpl.js │ │ │ ├── flow.js │ │ │ ├── util.js │ │ │ ├── tree.js │ │ │ ├── carousel.js │ │ │ ├── laypage.js │ │ │ ├── upload.js │ │ │ ├── element.js │ │ │ └── form.js │ │ └── layui.js ├── js │ └── common.js ├── .project ├── login.html ├── logreg.html └── model │ ├── propMoney │ └── propMoneyList.html │ ├── ownerData │ └── ownerData.html │ └── equRepair │ └── equRepairList.html ├── Pro_Servers ├── .settings │ ├── org.eclipse.wst.jsdt.ui.superType.name │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.wst.common.project.facet.core.prefs.xml │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── .jsdtscope │ ├── org.eclipse.wst.common.component │ └── org.eclipse.jdt.core.prefs ├── src │ ├── main │ │ ├── webapp │ │ │ ├── index.jsp │ │ │ └── WEB-INF │ │ │ │ └── web.xml │ │ ├── resources │ │ │ ├── application.properties │ │ │ └── log4j.properties │ │ └── java │ │ │ └── tsu │ │ │ └── pro │ │ │ ├── bean │ │ │ ├── Stuts.java │ │ │ ├── User_Role.java │ │ │ ├── Role_Permission.java │ │ │ ├── PerInfo.java │ │ │ ├── RoleInfo.java │ │ │ ├── userInfo.java │ │ │ ├── Permission.java │ │ │ ├── Info.java │ │ │ ├── Role.java │ │ │ ├── Charge.java │ │ │ ├── Repair.java │ │ │ ├── Owner.java │ │ │ └── User.java │ │ │ ├── mapper │ │ │ ├── PerMapper.java │ │ │ ├── RoleMapper.java │ │ │ ├── ChargeMapper.java │ │ │ ├── ownerMapper.java │ │ │ ├── RepairMapper.java │ │ │ └── UserMapper.java │ │ │ ├── ProMain.java │ │ │ ├── controller │ │ │ ├── PerController.java │ │ │ ├── RoleController.java │ │ │ ├── ownerController.java │ │ │ ├── ChargeController.java │ │ │ ├── RepairController.java │ │ │ └── UserController.java │ │ │ ├── CorsFilter.java │ │ │ ├── utils │ │ │ └── mysqlconnection.java │ │ │ ├── service │ │ │ ├── PerService.java │ │ │ ├── chargeService.java │ │ │ ├── OwnerService.java │ │ │ ├── repairService.java │ │ │ ├── RoleService.java │ │ │ └── UserService.java │ │ │ └── dao │ │ │ └── UserDao.java │ └── test │ │ └── java │ │ └── test │ │ └── testV.java ├── target │ ├── classes │ │ ├── tsu │ │ │ └── pro │ │ │ │ ├── ProMain.class │ │ │ │ ├── CorsFilter.class │ │ │ │ ├── bean │ │ │ │ ├── Info.class │ │ │ │ ├── Owner.class │ │ │ │ ├── Role.class │ │ │ │ ├── Stuts.class │ │ │ │ ├── User.class │ │ │ │ ├── Charge.class │ │ │ │ ├── PerInfo.class │ │ │ │ ├── Repair.class │ │ │ │ ├── Permission.class │ │ │ │ ├── RoleInfo.class │ │ │ │ ├── User_Role.class │ │ │ │ ├── userInfo.class │ │ │ │ └── Role_Permission.class │ │ │ │ ├── dao │ │ │ │ └── UserDao.class │ │ │ │ ├── mapper │ │ │ │ ├── PerMapper.class │ │ │ │ ├── RoleMapper.class │ │ │ │ ├── UserMapper.class │ │ │ │ ├── ChargeMapper.class │ │ │ │ ├── RepairMapper.class │ │ │ │ └── ownerMapper.class │ │ │ │ ├── service │ │ │ │ ├── OwnerService.class │ │ │ │ ├── PerService.class │ │ │ │ ├── RoleService.class │ │ │ │ ├── UserService.class │ │ │ │ ├── chargeService.class │ │ │ │ └── repairService.class │ │ │ │ ├── utils │ │ │ │ └── mysqlconnection.class │ │ │ │ └── controller │ │ │ │ ├── PerController.class │ │ │ │ ├── RoleController.class │ │ │ │ ├── UserController.class │ │ │ │ ├── ChargeController.class │ │ │ │ ├── RepairController.class │ │ │ │ └── ownerController.class │ │ ├── application.properties │ │ └── log4j.properties │ ├── test-classes │ │ └── test │ │ │ └── testV.class │ └── m2e-wtp │ │ └── web-resources │ │ └── META-INF │ │ ├── MANIFEST.MF │ │ └── maven │ │ └── pro_Servers │ │ └── pro_Servers │ │ ├── pom.properties │ │ └── pom.xml ├── .project ├── .classpath └── pom.xml ├── .gitattributes ├── README.md └── pro_server(1).sql /Web/css/common.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Pro_Servers/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /Web/img/adminBG.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/img/adminBG.jpg -------------------------------------------------------------------------------- /Web/img/adminPerm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/img/adminPerm.png -------------------------------------------------------------------------------- /Web/img/equRepair.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/img/equRepair.png -------------------------------------------------------------------------------- /Web/img/indexBG.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/img/indexBG.jpg -------------------------------------------------------------------------------- /Web/img/loginBG.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/img/loginBG.jpg -------------------------------------------------------------------------------- /Web/img/ownerBG.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/img/ownerBG.jpg -------------------------------------------------------------------------------- /Web/img/userData.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/img/userData.png -------------------------------------------------------------------------------- /Web/img/userPay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/img/userPay.png -------------------------------------------------------------------------------- /Web/img/equRepairBG.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/img/equRepairBG.jpg -------------------------------------------------------------------------------- /Web/img/propMoneyBG.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/img/propMoneyBG.jpg -------------------------------------------------------------------------------- /Pro_Servers/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello wrld!

4 | 5 | 6 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-language=java 2 | *.css linguist-language=java 3 | *.html linguist-language=java 4 | -------------------------------------------------------------------------------- /Pro_Servers/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /Pro_Servers/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /Web/Plugins/layui/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/font/iconfont.eot -------------------------------------------------------------------------------- /Web/Plugins/layui/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/font/iconfont.ttf -------------------------------------------------------------------------------- /Web/Plugins/layui/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/font/iconfont.woff -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/0.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/1.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/10.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/11.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/12.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/13.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/14.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/15.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/16.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/17.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/18.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/19.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/2.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/20.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/21.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/22.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/23.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/24.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/25.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/26.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/27.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/28.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/29.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/3.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/30.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/31.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/32.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/33.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/34.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/35.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/36.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/37.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/38.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/39.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/4.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/40.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/41.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/42.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/43.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/44.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/45.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/46.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/47.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/48.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/49.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/5.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/50.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/51.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/52.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/53.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/54.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/55.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/56.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/57.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/58.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/59.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/6.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/60.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/61.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/62.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/63.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/64.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/65.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/66.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/67.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/68.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/69.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/7.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/70.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/71.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/8.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/images/face/9.gif -------------------------------------------------------------------------------- /Pro_Servers/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/ProMain.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/ProMain.class -------------------------------------------------------------------------------- /Pro_Servers/target/test-classes/test/testV.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/test-classes/test/testV.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/CorsFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/CorsFilter.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/bean/Info.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/bean/Info.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/bean/Owner.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/bean/Owner.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/bean/Role.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/bean/Role.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/bean/Stuts.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/bean/Stuts.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/bean/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/bean/User.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/bean/Charge.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/bean/Charge.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/bean/PerInfo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/bean/PerInfo.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/bean/Repair.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/bean/Repair.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/dao/UserDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/dao/UserDao.class -------------------------------------------------------------------------------- /Web/Plugins/layui/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/bean/Permission.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/bean/Permission.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/bean/RoleInfo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/bean/RoleInfo.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/bean/User_Role.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/bean/User_Role.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/bean/userInfo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/bean/userInfo.class -------------------------------------------------------------------------------- /Web/Plugins/layui/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/mapper/PerMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/mapper/PerMapper.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/mapper/RoleMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/mapper/RoleMapper.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/mapper/UserMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/mapper/UserMapper.class -------------------------------------------------------------------------------- /Web/Plugins/layui/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /Web/Plugins/layui/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Web/Plugins/layui/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/bean/Role_Permission.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/bean/Role_Permission.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/mapper/ChargeMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/mapper/ChargeMapper.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/mapper/RepairMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/mapper/RepairMapper.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/mapper/ownerMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/mapper/ownerMapper.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/service/OwnerService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/service/OwnerService.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/service/PerService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/service/PerService.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/service/RoleService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/service/RoleService.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/service/UserService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/service/UserService.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/service/chargeService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/service/chargeService.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/service/repairService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/service/repairService.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/utils/mysqlconnection.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/utils/mysqlconnection.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/controller/PerController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/controller/PerController.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/controller/RoleController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/controller/RoleController.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/controller/UserController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/controller/UserController.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/controller/ChargeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/controller/ChargeController.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/controller/RepairController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/controller/RepairController.class -------------------------------------------------------------------------------- /Pro_Servers/target/classes/tsu/pro/controller/ownerController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songchengzhuang/WuYe/HEAD/Pro_Servers/target/classes/tsu/pro/controller/ownerController.class -------------------------------------------------------------------------------- /Pro_Servers/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Administrator 3 | Build-Jdk: 1.8.0_91 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /Web/js/common.js: -------------------------------------------------------------------------------- 1 | //获取URL参数 2 | function query(name) { 3 | var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); 4 | var r = decodeURI(window.location.search).substr(1).match(reg); 5 | if(r != null) return unescape(r[2]); 6 | }; -------------------------------------------------------------------------------- /Pro_Servers/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding//src/test/java=UTF-8 5 | encoding//src/test/resources=UTF-8 6 | encoding/=UTF-8 7 | -------------------------------------------------------------------------------- /Pro_Servers/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | -------------------------------------------------------------------------------- /Pro_Servers/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.driver-class-name = com.mysql.jdbc.Driver 2 | spring.datasource.url = jdbc:mysql://127.0.0.1:3306/pro_server?useUnicode=true&characterEncoding=utf8 3 | spring.datasource.username = root 4 | spring.datasource.password =scz123 5 | 6 | 7 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.driver-class-name = com.mysql.jdbc.Driver 2 | spring.datasource.url = jdbc:mysql://127.0.0.1:3306/pro_server?useUnicode=true&characterEncoding=utf8 3 | spring.datasource.username = root 4 | spring.datasource.password =scz123 5 | 6 | 7 | -------------------------------------------------------------------------------- /Pro_Servers/target/m2e-wtp/web-resources/META-INF/maven/pro_Servers/pro_Servers/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Mon Apr 16 20:51:17 CST 2018 3 | version=0.0.1-SNAPSHOT 4 | groupId=pro_Servers 5 | m2e.projectName=Pro_Servers 6 | m2e.projectLocation=E\:\\eclipsework\\Pro_Servers 7 | artifactId=pro_Servers 8 | -------------------------------------------------------------------------------- /Pro_Servers/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/bean/Stuts.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.bean; 2 | 3 | public class Stuts { 4 | private String stuts; 5 | private String message; 6 | public String getStuts() { 7 | return stuts; 8 | } 9 | public void setStuts(String stuts) { 10 | this.stuts = stuts; 11 | } 12 | public String getMessage() { 13 | return message; 14 | } 15 | public void setMessage(String message) { 16 | this.message = message; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | #个人项目:基于LayUI+Vue+SpringBoot+MySQL的小区物业后台管理系统 2 | 3 | 开发一套基于SpringBoot的小区物业后台管理系统是必要的。本系统分为四个系统:业务缴费,设备报修、业主信息、管理权限组成。高效便捷的覆盖了小区物业的基本应用。通过互联网,保证了物业信息的安全性,保证了广大业主的权益,实现小区物业告别账本的目标。 4 | 5 | 用的技术:Layui、Vue.js、Echarts、HTML5、CSS3、SpringBoot、MySql 6 | 7 | Pro_Servers文件夹是后端 在eclipse打开 8 | 9 | web是前端代码 10 | 11 | pro_server(1).sql是MySQL数据库代码 12 | 13 | 5.1.1 软件开发在windows环境下进行 14 | 15 | (1)jdk 1.8 16 | 17 | (2)MySql-5.6 18 | 19 | (3)tomcat-8.5 20 | 21 | (4)HBuilder 22 | 23 | (5)eclipse 24 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/bean/User_Role.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.bean; 2 | 3 | public class User_Role { 4 | 5 | private int Id; 6 | private int User_Id; 7 | private int Roled_id; 8 | public int getId() { 9 | return Id; 10 | } 11 | public void setId(int id) { 12 | Id = id; 13 | } 14 | public int getUser_Id() { 15 | return User_Id; 16 | } 17 | public void setUser_Id(int user_Id) { 18 | User_Id = user_Id; 19 | } 20 | public int getRoled_id() { 21 | return Roled_id; 22 | } 23 | public void setRoled_id(int roled_id) { 24 | Roled_id = roled_id; 25 | } 26 | 27 | 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/bean/Role_Permission.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.bean; 2 | 3 | public class Role_Permission { 4 | private String Id; 5 | private String Role_id; 6 | private String Permission_id; 7 | public String getId() { 8 | return Id; 9 | } 10 | public void setId(String id) { 11 | Id = id; 12 | } 13 | public String getRole_id() { 14 | return Role_id; 15 | } 16 | public void setRole_id(String role_id) { 17 | Role_id = role_id; 18 | } 19 | public String getPermission_id() { 20 | return Permission_id; 21 | } 22 | public void setPermission_id(String permission_id) { 23 | Permission_id = permission_id; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/mapper/PerMapper.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.mapper; 2 | 3 | import java.util.ArrayList; 4 | 5 | import org.apache.ibatis.annotations.Insert; 6 | import org.apache.ibatis.annotations.Mapper; 7 | import org.apache.ibatis.annotations.Select; 8 | 9 | import tsu.pro.bean.Permission; 10 | import tsu.pro.bean.Role_Permission; 11 | 12 | @Mapper 13 | public interface PerMapper { 14 | @Select("select * from permission ") 15 | ArrayList queryAll(); 16 | @Insert("insert into role_permission(role_id,permission_id) values(#{Role_id},#{Permission_id})") 17 | int roleAddper(Role_Permission rp); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /Pro_Servers/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Pro_Servers/target/classes/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=info,ServerDailyRollingFile 2 | log4j.appender.ServerDailyRollingFile=org.apache.log4j.DailyRollingFileAppender 3 | log4j.appender.ServerDailyRollingFile.DatePattern='.'yyyy-MM-dd 4 | log4j.appender.ServerDailyRollingFile.File=E://logs/V.log 5 | log4j.appender.ServerDailyRollingFile.layout=org.apache.log4j.PatternLayout 6 | log4j.appender.ServerDailyRollingFile.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%t] %-5p [%c] - %m%n 7 | log4j.appender.ServerDailyRollingFile.Append=true 8 | log4j.appender.info=org.apache.log4j.ConsoleAppender 9 | log4j.appender.info.layout=org.apache.log4j.PatternLayout 10 | log4j.appender.info.layout.ConversionPattern=%d yyyy-MM-dd HH:mm:ss %p [%c] %m%n -------------------------------------------------------------------------------- /Pro_Servers/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=info,ServerDailyRollingFile 2 | log4j.appender.ServerDailyRollingFile=org.apache.log4j.DailyRollingFileAppender 3 | log4j.appender.ServerDailyRollingFile.DatePattern='.'yyyy-MM-dd 4 | log4j.appender.ServerDailyRollingFile.File=E://logs/V.log 5 | log4j.appender.ServerDailyRollingFile.layout=org.apache.log4j.PatternLayout 6 | log4j.appender.ServerDailyRollingFile.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%t] %-5p [%c] - %m%n 7 | log4j.appender.ServerDailyRollingFile.Append=true 8 | log4j.appender.info=org.apache.log4j.ConsoleAppender 9 | log4j.appender.info.layout=org.apache.log4j.PatternLayout 10 | log4j.appender.info.layout.ConversionPattern=%d yyyy-MM-dd HH:mm:ss %p [%c] %m%n -------------------------------------------------------------------------------- /Pro_Servers/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/bean/PerInfo.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.bean; 2 | 3 | import java.util.List; 4 | 5 | public class PerInfo { 6 | private String status; 7 | private String message; 8 | private List infos; 9 | private T t; 10 | public T getT() { 11 | return t; 12 | } 13 | public void setT(T t) { 14 | this.t = t; 15 | } 16 | public String getStatus() { 17 | return status; 18 | } 19 | public void setStatus(String status) { 20 | this.status = status; 21 | } 22 | public String getMessage() { 23 | return message; 24 | } 25 | public void setMessage(String message) { 26 | this.message = message; 27 | } 28 | public List getInfos() { 29 | return infos; 30 | } 31 | public void setInfos(List infos) { 32 | this.infos = infos; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/bean/RoleInfo.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.bean; 2 | 3 | import java.util.List; 4 | 5 | public class RoleInfo { 6 | private String status; 7 | private String message; 8 | private List infos; 9 | private T t; 10 | public T getT() { 11 | return t; 12 | } 13 | public void setT(T t) { 14 | this.t = t; 15 | } 16 | public String getStatus() { 17 | return status; 18 | } 19 | public void setStatus(String status) { 20 | this.status = status; 21 | } 22 | public String getMessage() { 23 | return message; 24 | } 25 | public void setMessage(String message) { 26 | this.message = message; 27 | } 28 | public List getInfos() { 29 | return infos; 30 | } 31 | public void setInfos(List infos) { 32 | this.infos = infos; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/bean/userInfo.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.bean; 2 | 3 | import java.util.List; 4 | 5 | public class userInfo { 6 | private String status; 7 | private String message; 8 | private List infos; 9 | private T t; 10 | public T getT() { 11 | return t; 12 | } 13 | public void setT(T t) { 14 | this.t = t; 15 | } 16 | public String getStatus() { 17 | return status; 18 | } 19 | public void setStatus(String status) { 20 | this.status = status; 21 | } 22 | public String getMessage() { 23 | return message; 24 | } 25 | public void setMessage(String message) { 26 | this.message = message; 27 | } 28 | public List getInfos() { 29 | return infos; 30 | } 31 | public void setInfos(List infos) { 32 | this.infos = infos; 33 | } 34 | 35 | } -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/bean/Permission.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.bean; 2 | 3 | public class Permission { 4 | private int Id; 5 | private String per_Name; 6 | private String per_Url; 7 | private String per_meassage; 8 | public int getId() { 9 | return Id; 10 | } 11 | public void setId(int i) { 12 | Id = i; 13 | } 14 | public String getPer_Name() { 15 | return per_Name; 16 | } 17 | public void setPer_Name(String per_Name) { 18 | this.per_Name = per_Name; 19 | } 20 | public String getPer_Url() { 21 | return per_Url; 22 | } 23 | public void setPer_Url(String per_Url) { 24 | this.per_Url = per_Url; 25 | } 26 | public String getPer_meassage() { 27 | return per_meassage; 28 | } 29 | public void setPer_meassage(String per_meassage) { 30 | this.per_meassage = per_meassage; 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /Pro_Servers/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.8 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 13 | org.eclipse.jdt.core.compiler.source=1.8 14 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/bean/Info.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.bean; 2 | 3 | import java.util.List; 4 | 5 | public class Info { 6 | private String status; 7 | private String mesage; 8 | private List infos; 9 | private T t; 10 | 11 | 12 | 13 | 14 | 15 | public T getT() { 16 | return t; 17 | } 18 | public void setT(T t) { 19 | this.t = t; 20 | } 21 | public String getMesage() { 22 | return mesage; 23 | } 24 | public void setMesage(String mesage) { 25 | this.mesage = mesage; 26 | } 27 | public List getInfos() { 28 | return infos; 29 | } 30 | public void setInfos(List infos) { 31 | this.infos = infos; 32 | } 33 | public String getStatus() { 34 | return status; 35 | } 36 | public void setStatus(String status) { 37 | this.status = status; 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/ProMain.java: -------------------------------------------------------------------------------- 1 | package tsu.pro; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.boot.builder.SpringApplicationBuilder; 6 | import org.springframework.boot.web.support.SpringBootServletInitializer; 7 | 8 | import org.springframework.scheduling.annotation.EnableScheduling; 9 | 10 | 11 | @SpringBootApplication 12 | @EnableScheduling 13 | public class ProMain extends SpringBootServletInitializer{ 14 | @Override 15 | protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { 16 | return application.sources(ProMain.class); 17 | } 18 | public static void main(String[] args) { 19 | SpringApplication.run(ProMain.class,args); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/mapper/RoleMapper.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.mapper; 2 | 3 | import java.util.ArrayList; 4 | 5 | import org.apache.ibatis.annotations.Delete; 6 | import org.apache.ibatis.annotations.Insert; 7 | import org.apache.ibatis.annotations.Mapper; 8 | import org.apache.ibatis.annotations.Select; 9 | 10 | import tsu.pro.bean.Role; 11 | import tsu.pro.bean.User_Role; 12 | 13 | @Mapper 14 | public interface RoleMapper { 15 | @Insert("insert into role(rolename,message) values(#{roleName},#{Message})") 16 | int addRole(Role role); 17 | @Select("select * from role") 18 | ArrayList queryAll(); 19 | @Delete("delete from role where id=#{id}") 20 | int deleteRole(int id); 21 | @Insert("insert into user_role(user_id,role_id) values(#{User_Id},#{Roled_id})") 22 | int userAddRole(User_Role ur); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /Web/Plugins/layui/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/bean/Role.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.bean; 2 | 3 | public class Role { 4 | private int userroleID; 5 | public int getUserroleID() { 6 | return userroleID; 7 | } 8 | public void setUserroleID(int userroleID) { 9 | this.userroleID = userroleID; 10 | } 11 | private int Id; 12 | private String roleName; 13 | private String Message; 14 | public int getId() { 15 | return Id; 16 | } 17 | public void setId(int i) { 18 | Id = i; 19 | } 20 | public String getRoleName() { 21 | return roleName; 22 | } 23 | public void setRoleName(String roleName) { 24 | this.roleName = roleName; 25 | } 26 | public String getMessage() { 27 | return Message; 28 | } 29 | public void setMessage(String message) { 30 | Message = message; 31 | } 32 | @Override 33 | public String toString() { 34 | return "Role [Id=" + Id + ", roleName=" + roleName + ", Message=" + Message + ", getId()=" + getId() 35 | + ", getRoleName()=" + getRoleName() + ", getMessage()=" + getMessage() + ", getClass()=" + getClass() 36 | + ", hashCode()=" + hashCode() + ", toString()=" + super.toString() + "]"; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/controller/PerController.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.controller; 2 | 3 | 4 | 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.web.bind.annotation.PathVariable; 7 | import org.springframework.web.bind.annotation.RequestMapping; 8 | import org.springframework.web.bind.annotation.RequestMethod; 9 | import org.springframework.web.bind.annotation.RestController; 10 | 11 | import tsu.pro.bean.PerInfo; 12 | import tsu.pro.bean.Permission; 13 | import tsu.pro.bean.RoleInfo; 14 | import tsu.pro.service.PerService; 15 | 16 | @RestController 17 | @RequestMapping(value="/per") 18 | public class PerController { 19 | @Autowired 20 | PerService perservice; 21 | 22 | @RequestMapping(value = "/", method = RequestMethod.GET) 23 | public PerInfo findlist(){ 24 | return perservice.findlist(); 25 | 26 | } 27 | 28 | @RequestMapping(value = "/{role_id}/{per_id}", method = RequestMethod.GET) 29 | public PerInfo roleAddPer(@PathVariable("role_id") String role_id,@PathVariable("per_id") String per_id){ 30 | return perservice.roleAddPer(role_id,per_id); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Web/Plugins/layui/lay/modules/code.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var a=layui.$,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('
  1. '+o.replace(/[\r\t\n]+/g,"
  2. ")+"
"),c.find(">.layui-code-h3")[0]||c.prepend('

'+(c.attr("lay-title")||e.title||"code")+(e.about?'layui.code':"")+"

");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss"); -------------------------------------------------------------------------------- /Pro_Servers/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Pro_Servers 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.wst.common.project.facet.core.builder 15 | 16 | 17 | 18 | 19 | org.eclipse.wst.validation.validationbuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.m2e.core.maven2Builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.jem.workbench.JavaEMFNature 31 | org.eclipse.wst.common.modulecore.ModuleCoreNature 32 | org.eclipse.jdt.core.javanature 33 | org.eclipse.m2e.core.maven2Nature 34 | org.eclipse.wst.common.project.facet.core.nature 35 | org.eclipse.wst.jsdt.core.jsNature 36 | 37 | 38 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/mapper/ChargeMapper.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.mapper; 2 | 3 | import java.util.List; 4 | 5 | import org.apache.ibatis.annotations.Delete; 6 | import org.apache.ibatis.annotations.Insert; 7 | import org.apache.ibatis.annotations.Mapper; 8 | import org.apache.ibatis.annotations.Select; 9 | import org.apache.ibatis.annotations.Update; 10 | 11 | import tsu.pro.bean.Charge; 12 | 13 | @Mapper 14 | public interface ChargeMapper { 15 | 16 | @Insert("insert into charge(chargeTime,chargeName,chargeMoney,ownerID,chargeDel,update_Tm) values(#{chargeTime},#{chargeName},#{chargeMoney},#{ownerID},#{chargeDel},#{update_Tm})") 17 | int insert(Charge charge); 18 | @Select("select * from charge where chargeID=#{chargeID}") 19 | Charge selectId(int chargeID); 20 | @Select("select * from charge") 21 | List selectlist(); 22 | @Select("select * from charge where chargeName like #{name}") 23 | List selectlike(int name); 24 | @Delete("delete from charge where chargeID = #{chargeID}") 25 | int delete(int chargeID); 26 | @Update("update charge set chargeTime=#{chargeTime},chargeName=#{chargeName},chargeMoney=#{chargeMoney},ownerID=#{ownerID},chargeDel=#{chargeDel},update_Tm=#{update_Tm}where chargeID=#{chargeID}") 27 | int update(Charge charge); 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/mapper/ownerMapper.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.mapper; 2 | 3 | import java.util.List; 4 | 5 | import org.apache.ibatis.annotations.Delete; 6 | import org.apache.ibatis.annotations.Insert; 7 | import org.apache.ibatis.annotations.Mapper; 8 | import org.apache.ibatis.annotations.Select; 9 | import org.apache.ibatis.annotations.Update; 10 | 11 | import tsu.pro.bean.Owner; 12 | import tsu.pro.bean.User; 13 | 14 | @Mapper 15 | public interface ownerMapper { 16 | @Insert("insert into Owners(ownerName,ownerTel,ownerInfo,ownerDel,ownerCart,update_Tm) values(#{ownerName},#{ownerTel},#{ownerInfo},#{ownerDel},#{ownerCart},#{update_Tm})") 17 | int insert(Owner owner); 18 | @Select("select * from Owners") 19 | List selectlist(); 20 | @Select("select * from Owners where ownerName like #{ownerName}") 21 | List selectlike(String name); 22 | @Select("select * from Owners where ownerID=#{ownerID}") 23 | Owner selectId(int id); 24 | @Delete("delete from Owners where ownerID=#{ownerID}") 25 | int delete(int id); 26 | @Update("update Owners set ownerName=#{ownerName},ownerTel=#{ownerTel},ownerInfo=#{ownerInfo},ownerDel=#{ownerDel},ownerCart=#{ownerCart},update_Tm=#{update_Tm}where ownerID=#{ownerID}") 27 | int update( Owner owner); 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/mapper/RepairMapper.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.mapper; 2 | 3 | import java.util.List; 4 | 5 | import org.apache.ibatis.annotations.Delete; 6 | import org.apache.ibatis.annotations.Insert; 7 | import org.apache.ibatis.annotations.Mapper; 8 | import org.apache.ibatis.annotations.Select; 9 | import org.apache.ibatis.annotations.Update; 10 | 11 | import tsu.pro.bean.Repair; 12 | 13 | @Mapper 14 | public interface RepairMapper { 15 | @Select("select * from repairS") 16 | List selectlist(); 17 | @Select("select * from repairS where ownerID=#{ownerID} ") 18 | List selectlike(int ownerID); 19 | @Delete("delete from repairS where repariID=#{repariID}") 20 | int delete(int repairID); 21 | @Update("update repairS set repairTime=#{repairTime},repairInfo=#{repairInfo},ownerID=#{ownerID},repairDel=#{repairDel},repairIdentify=#{repairIdentify},update_Tm=#{update_Tm}where repariID=#{repariID}") 22 | int update(Repair repair); 23 | @Select("select * from repairS where repariID=#{repariID}") 24 | Repair selectId(int repairID); 25 | @Insert("insert into repairS(repairTime,repairInfo,ownerID,repairDel,repairIdentify,update_Tm) values(#{repairTime},#{repairInfo},#{ownerID},#{repairDel},#{repairIdentify},#{update_Tm})") 26 | int insert(Repair repair); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/CorsFilter.java: -------------------------------------------------------------------------------- 1 | package tsu.pro; 2 | 3 | import java.io.IOException; 4 | 5 | import javax.servlet.Filter; 6 | import javax.servlet.FilterChain; 7 | import javax.servlet.FilterConfig; 8 | import javax.servlet.ServletException; 9 | import javax.servlet.ServletRequest; 10 | import javax.servlet.ServletResponse; 11 | import javax.servlet.http.HttpServletResponse; 12 | 13 | import org.springframework.stereotype.Component; 14 | 15 | @Component 16 | public class CorsFilter implements Filter { 17 | 18 | public void destroy() { 19 | // TODO Auto-generated method stub 20 | 21 | } 22 | 23 | public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) 24 | throws IOException, ServletException { 25 | HttpServletResponse response = (HttpServletResponse) res; 26 | response.setHeader("Access-Control-Allow-Origin", "*"); 27 | response.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE, PUT"); 28 | response.setHeader("Access-Control-Max-Age", "3600"); 29 | response.setHeader("Access-Control-Allow-Headers", "x-requested-with"); 30 | System.out.println("*********************************配置跨域访问**************************"); 31 | chain.doFilter(req, res); 32 | 33 | } 34 | 35 | public void init(FilterConfig arg0) throws ServletException { 36 | 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/bean/Charge.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.bean; 2 | 3 | public class Charge { 4 | private int chargeID ; 5 | private String chargeTime; 6 | private String chargeName ; 7 | private String chargeMoney; 8 | private String ownerID ; 9 | private String chargeDel ; 10 | private String Update_Tm; 11 | public String getUpdate_Tm() { 12 | return Update_Tm; 13 | } 14 | public void setUpdate_Tm(String update_Tm) { 15 | Update_Tm = update_Tm; 16 | } 17 | public int getChargeID() { 18 | return chargeID; 19 | } 20 | public void setChargeID(int chargeID) { 21 | this.chargeID = chargeID; 22 | } 23 | public String getChargeTime() { 24 | return chargeTime; 25 | } 26 | public void setChargeTime(String chargeTime) { 27 | this.chargeTime = chargeTime; 28 | } 29 | public String getChargeName() { 30 | return chargeName; 31 | } 32 | public void setChargeName(String chargeName) { 33 | this.chargeName = chargeName; 34 | } 35 | public String getChargeMoney() { 36 | return chargeMoney; 37 | } 38 | public void setChargeMoney(String chargeMoney) { 39 | this.chargeMoney = chargeMoney; 40 | } 41 | public String getOwnerID() { 42 | return ownerID; 43 | } 44 | public void setOwnerID(String ownerID) { 45 | this.ownerID = ownerID; 46 | } 47 | public String getChargeDel() { 48 | return chargeDel; 49 | } 50 | public void setChargeDel(String chargeDel) { 51 | this.chargeDel = chargeDel; 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/bean/Repair.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.bean; 2 | 3 | public class Repair { 4 | private String repariID; 5 | private String repairTime; 6 | private String repairInfo ; 7 | private int ownerID ; 8 | private String repairDel ; 9 | private String repairIdentify; 10 | private String update_Tm; 11 | 12 | public String getUpdate_Tm() { 13 | return update_Tm; 14 | } 15 | public void setUpdate_Tm(String update_Tm) { 16 | this.update_Tm = update_Tm; 17 | } 18 | public String getRepariID() { 19 | return repariID; 20 | } 21 | public void setRepariID(String repariID) { 22 | this.repariID = repariID; 23 | } 24 | public String getRepairTime() { 25 | return repairTime; 26 | } 27 | public void setRepairTime(String repairTime) { 28 | this.repairTime = repairTime; 29 | } 30 | public String getRepairInfo() { 31 | return repairInfo; 32 | } 33 | public void setRepairInfo(String repairInfo) { 34 | this.repairInfo = repairInfo; 35 | } 36 | public int getOwnerID() { 37 | return ownerID; 38 | } 39 | public void setOwnerID(int ownerID) { 40 | this.ownerID = ownerID; 41 | } 42 | public String getRepairDel() { 43 | return repairDel; 44 | } 45 | public void setRepairDel(String repairDel) { 46 | this.repairDel = repairDel; 47 | } 48 | public String getRepairIdentify() { 49 | return repairIdentify; 50 | } 51 | public void setRepairIdentify(String repairIdentify) { 52 | this.repairIdentify = repairIdentify; 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /Web/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | 吕厚 毕业设计前端 4 | Create By HBuilder 5 | 6 | 7 | 8 | 9 | com.aptana.ide.core.unifiedBuilder 10 | 11 | 12 | 13 | 14 | 15 | com.aptana.projects.webnature 16 | 17 | 18 | 19 | 1522636824973 20 | 21 | 10 22 | 23 | org.eclipse.ui.ide.orFilterMatcher 24 | 25 | 26 | org.eclipse.ui.ide.multiFilter 27 | 1.0-projectRelativePath-matches-false-false-bin 28 | 29 | 30 | org.eclipse.ui.ide.multiFilter 31 | 1.0-projectRelativePath-matches-false-false-setting 32 | 33 | 34 | 35 | 36 | 37 | 1522727109590 38 | 39 | 26 40 | 41 | org.eclipse.ui.ide.multiFilter 42 | 1.0-name-matches-false-false-node_modules 43 | 44 | 45 | 46 | 1522727109595 47 | 48 | 26 49 | 50 | org.eclipse.ui.ide.multiFilter 51 | 1.0-name-matches-false-false-node_modules 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/mapper/UserMapper.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.mapper; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | import org.apache.ibatis.annotations.Delete; 7 | import org.apache.ibatis.annotations.Insert; 8 | import org.apache.ibatis.annotations.Mapper; 9 | import org.apache.ibatis.annotations.Param; 10 | import org.apache.ibatis.annotations.Select; 11 | import org.apache.ibatis.annotations.Update; 12 | 13 | import tsu.pro.bean.User; 14 | 15 | @Mapper 16 | public interface UserMapper { 17 | 18 | @Select("select * from User where Phone=#{phone}") 19 | User findUserByPhone(@Param("phone") String phone); 20 | @Insert("insert into User(Name,Password,Email,Phone) values(#{name},#{password},#{email},#{phone})") 21 | int insert(@Param("name") String name,@Param("password") String password,@Param("email") String email,@Param("phone") String phone); 22 | 23 | @Insert("insert into Users(Name,Password,Email,Phone) values(#{name},#{password},#{email},#{phone})") 24 | int insertUser(User user); 25 | 26 | @Select("select * from Users where Id=#{id}") 27 | User findTag(int id); 28 | @Select("select * from Users") 29 | ArrayList queryAll(); 30 | 31 | @Select("select * from Users where Name=#{name} and Password=#{password}") 32 | User finduserByName(@Param("name") String name,@Param("password") String password); 33 | 34 | @Update("update Users set Name=#{Name},Password=#{password},Email=#{email},Phone=#{phone} where Id=#{Id}") 35 | int updateUser( User user); 36 | @Delete("delete from Users where Id=#{id}") 37 | int deleteUser(int id); 38 | @Delete("delete from user_role where Id=#{id}") 39 | int deleteUserrole(int id); 40 | 41 | 42 | } 43 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/bean/Owner.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.bean; 2 | 3 | public class Owner { 4 | private int ownerID; 5 | private String ownerName ; 6 | private String ownerTel ; 7 | private String ownerInfo; 8 | private String ownerDel ; 9 | private String ownerCart ; 10 | private String update_Tm; 11 | public int getOwnerID() { 12 | return ownerID; 13 | } 14 | public void setOwnerID(int ownerID) { 15 | this.ownerID = ownerID; 16 | } 17 | public String getOwnerName() { 18 | return ownerName; 19 | } 20 | public void setOwnerName(String ownerName) { 21 | this.ownerName = ownerName; 22 | } 23 | public String getOwnerTel() { 24 | return ownerTel; 25 | } 26 | public void setOwnerTel(String ownerTel) { 27 | this.ownerTel = ownerTel; 28 | } 29 | public String getOwnerInfo() { 30 | return ownerInfo; 31 | } 32 | public void setOwnerInfo(String ownerInfo) { 33 | this.ownerInfo = ownerInfo; 34 | } 35 | public String getOwnerDel() { 36 | return ownerDel; 37 | } 38 | public void setOwnerDel(String ownerDel) { 39 | this.ownerDel = ownerDel; 40 | } 41 | 42 | public String getOwnerCart() { 43 | return ownerCart; 44 | } 45 | public void setOwnerCart(String ownerCart) { 46 | this.ownerCart = ownerCart; 47 | } 48 | public String getUpdate_Tm() { 49 | return update_Tm; 50 | } 51 | public void setUpdate_Tm(String update_Tm) { 52 | this.update_Tm = update_Tm; 53 | } 54 | @Override 55 | public String toString() { 56 | return "Owner [ownerID=" + ownerID + ", ownerName=" + ownerName + ", ownerTel=" + ownerTel + ", ownerInfo=" 57 | + ownerInfo + ", ownerDel=" + ownerDel + ", ownerCart=" + ownerCart + ", update_Tm=" + update_Tm + "]"; 58 | } 59 | 60 | 61 | 62 | } 63 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/bean/User.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.bean; 2 | 3 | import java.util.Collection; 4 | import java.util.List; 5 | 6 | public class User { 7 | private int Id; 8 | private String Name; 9 | private String Password; 10 | private String Email; 11 | private String Phone; 12 | private List Per; 13 | private String status; 14 | public String getStatus() { 15 | return status; 16 | } 17 | 18 | public void setStatus(String status) { 19 | this.status = status; 20 | } 21 | 22 | 23 | 24 | public List getPer() { 25 | return Per; 26 | } 27 | 28 | public void setPer(List per) { 29 | Per = per; 30 | } 31 | public String getName() { 32 | return Name; 33 | } 34 | 35 | public void setName(String name) { 36 | Name = name; 37 | } 38 | 39 | public String getPassword() { 40 | return Password; 41 | } 42 | 43 | public int getId() { 44 | return Id; 45 | } 46 | 47 | public void setId(int id) { 48 | Id = id; 49 | } 50 | 51 | public void setPassword(String password) { 52 | Password = password; 53 | } 54 | 55 | public String getEmail() { 56 | return Email; 57 | } 58 | 59 | public void setEmail(String email) { 60 | Email = email; 61 | } 62 | 63 | public String getPhone() { 64 | return Phone; 65 | } 66 | 67 | public void setPhone(String phone) { 68 | Phone = phone; 69 | } 70 | 71 | public static Collection values() { 72 | // TODO Auto-generated method stub 73 | return null; 74 | } 75 | 76 | @Override 77 | public String toString() { 78 | return "User [Id=" + Id + ", Name=" + Name + ", Password=" + Password + ", Email=" + Email + ", Phone=" + Phone 79 | + ", Per=" + Per + ", status=" + status + "]"; 80 | } 81 | 82 | 83 | 84 | } 85 | -------------------------------------------------------------------------------- /Pro_Servers/.classpath: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /Web/Plugins/layui/lay/modules/laytpl.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error:";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)}); -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/utils/mysqlconnection.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.utils; 2 | 3 | import java.sql.Connection; 4 | import java.sql.DriverManager; 5 | import java.sql.PreparedStatement; 6 | import java.sql.ResultSet; 7 | import java.sql.SQLException; 8 | import java.sql.Statement; 9 | /** 10 | * 11 | * @类名: mysqlconnection 12 | * @描述:用户权限查询时用到 13 | * @作者: lhs 14 | * @日期 2018年4月10日 上午8:51:21 15 | * @修改人: 16 | * @修改时间: 17 | */ 18 | public abstract class mysqlconnection { 19 | static{ 20 | try { 21 | Class.forName("com.mysql.jdbc.Driver"); 22 | } catch (ClassNotFoundException e) { 23 | // TODO Auto-generated catch block 24 | e.printStackTrace(); 25 | } 26 | } 27 | public ResultSet resultset; 28 | public PreparedStatement stat; 29 | public static Connection connection; 30 | public final static String url="jdbc:mysql://127.0.0.1:3306/pro_server?useUnicode=true&characterEncoding=utf-8"; 31 | public final static String user="root"; 32 | public final static String password="scz123"; 33 | static{ 34 | try { 35 | connection=DriverManager.getConnection(url, user, password); 36 | } catch (SQLException e) { 37 | // TODO Auto-generated catch block 38 | e.printStackTrace(); 39 | } 40 | } 41 | 42 | 43 | 44 | 45 | 46 | 47 | public static void killCountion(Connection conn,Statement statement,ResultSet rs){ 48 | try { 49 | statement.close(); 50 | } catch (SQLException e) { 51 | // TODO Auto-generated catch block 52 | e.printStackTrace(); 53 | } 54 | try { 55 | conn.close(); 56 | } catch (SQLException e) { 57 | // TODO Auto-generated catch block 58 | e.printStackTrace(); 59 | } 60 | try { 61 | rs.close(); 62 | } catch (SQLException e) { 63 | // TODO Auto-generated catch block 64 | e.printStackTrace(); 65 | } 66 | 67 | } 68 | 69 | } 70 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/controller/RoleController.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.controller; 2 | 3 | 4 | 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.web.bind.annotation.ModelAttribute; 7 | import org.springframework.web.bind.annotation.PathVariable; 8 | import org.springframework.web.bind.annotation.RequestMapping; 9 | import org.springframework.web.bind.annotation.RequestMethod; 10 | import org.springframework.web.bind.annotation.RestController; 11 | 12 | import tsu.pro.bean.Info; 13 | import tsu.pro.bean.Role; 14 | import tsu.pro.bean.RoleInfo; 15 | import tsu.pro.service.RoleService; 16 | 17 | 18 | @RestController 19 | @RequestMapping(value="/role") 20 | public class RoleController { 21 | @Autowired 22 | RoleService roleservice; 23 | 24 | @RequestMapping(value="/", method = RequestMethod.POST) 25 | public RoleInfo addRole(@ModelAttribute Role role){ 26 | System.out.println(role.toString()); 27 | return roleservice.addRole(role); 28 | 29 | } 30 | 31 | @RequestMapping(value="/", method=RequestMethod.GET) 32 | public RoleInfo findAll(){ 33 | return roleservice.findAll(); 34 | 35 | } 36 | 37 | @RequestMapping(value="/{id}",method=RequestMethod.DELETE) 38 | public RoleInfo deleteRole(@PathVariable("id") int id){ 39 | System.out.println(id); 40 | return roleservice.deleteRole(id); 41 | 42 | } 43 | @RequestMapping(value="/{Userid}/{roleid}",method=RequestMethod.GET) 44 | public RoleInfo userAddRole(@PathVariable("Userid") int userid,@PathVariable("roleid") int roleid){ 45 | System.out.println(userid+""+roleid); 46 | return roleservice.userAddRole(userid,roleid); 47 | } 48 | @RequestMapping(value="/{id}",method=RequestMethod.GET) 49 | public Info findbyIDToper(@PathVariable("id") int id){ 50 | System.out.println(id); 51 | return roleservice.findidbyID(id); 52 | 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /Web/Plugins/layui/lay/modules/flow.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t='';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"没有更多了",y=e.scrollElem&&e.scrollElem!==document,d="加载更多",h=l('");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;su)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)}); -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/service/PerService.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.service; 2 | 3 | import java.util.ArrayList; 4 | 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.stereotype.Service; 7 | 8 | import tsu.pro.bean.PerInfo; 9 | import tsu.pro.bean.Permission; 10 | import tsu.pro.bean.Role; 11 | import tsu.pro.bean.Role_Permission; 12 | 13 | import tsu.pro.mapper.PerMapper; 14 | 15 | 16 | @Service 17 | public class PerService { 18 | @Autowired 19 | private PerMapper perMapper; 20 | /** 21 | * 22 | * @方法名: findlist 23 | * @描述:查询权限 24 | * @作者:lhs 25 | * @return 26 | * @日期 2018年4月8日 下午10:13:05 27 | * @返回值: PerInfo 28 | * @修改人: 29 | * @修改时间: 30 | */ 31 | public PerInfo findlist() { 32 | PerInfo perinfo=new PerInfo(); 33 | ArrayList per=new ArrayList(); 34 | per=perMapper.queryAll(); 35 | if(per.size()>=1){ 36 | perinfo.setStatus("ok"); 37 | perinfo.setMessage("查询成功"); 38 | perinfo.setInfos(per); 39 | return perinfo; 40 | } 41 | else{ 42 | perinfo.setStatus("err"); 43 | perinfo.setMessage("查询失败"); 44 | return perinfo; 45 | 46 | } 47 | } 48 | /** 49 | * 50 | * @方法名: roleAddPer 51 | * @描述:角色权限 52 | * @作者:lhs 53 | * @param role_id 54 | * @param per_id 55 | * @return 56 | * @日期 2018年4月8日 下午10:13:39 57 | * @返回值: PerInfo 58 | * @修改人: 59 | * @修改时间: 60 | */ 61 | public PerInfo roleAddPer(String role_id, String per_id) { 62 | PerInfo info=new PerInfo(); 63 | Role_Permission rp=new Role_Permission(); 64 | 65 | 66 | rp.setPermission_id(per_id); 67 | rp.setRole_id(role_id); 68 | int i=perMapper.roleAddper(rp); 69 | if(i==1){ 70 | info.setStatus("ok"); 71 | info.setMessage("添加成功"); 72 | 73 | return info; 74 | } 75 | else{ 76 | info.setStatus("error"); 77 | info.setMessage("添加失败"); 78 | return info; 79 | } 80 | } 81 | 82 | } 83 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/controller/ownerController.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.controller; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.web.bind.annotation.ModelAttribute; 5 | import org.springframework.web.bind.annotation.PathVariable; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | import org.springframework.web.bind.annotation.RequestMethod; 8 | import org.springframework.web.bind.annotation.RestController; 9 | 10 | import tsu.pro.bean.Info; 11 | import tsu.pro.bean.Owner; 12 | import tsu.pro.bean.Stuts; 13 | import tsu.pro.service.OwnerService; 14 | 15 | @RestController 16 | @RequestMapping(value = "/owner") 17 | public class ownerController { 18 | @Autowired 19 | private OwnerService ownerservice; 20 | /** 21 | * 插入业主信息 22 | */ 23 | @RequestMapping(value ="/", method = RequestMethod.POST) 24 | public Stuts createUser(@ModelAttribute Owner owner) { 25 | return ownerservice.insertOwner(owner); 26 | 27 | 28 | } 29 | /** 30 | * 查询业主 31 | * ID 32 | */ 33 | @RequestMapping(value ="/ownerID/{id}", method = RequestMethod.GET) 34 | public Info findbyID(@PathVariable("id") int ownerID) { 35 | System.out.println(ownerID); 36 | 37 | return ownerservice.selectById(ownerID); 38 | 39 | } 40 | /** 41 | * 查业主列表 42 | */ 43 | @RequestMapping(value ="/", method = RequestMethod.GET) 44 | public Info findList() { 45 | return ownerservice.findList(); 46 | 47 | } 48 | /** 49 | * 模糊查询业主信息 50 | */ 51 | @RequestMapping(value ="/{name}", method = RequestMethod.GET) 52 | public Info findlike(@PathVariable("name") String name) { 53 | return ownerservice.findLike(name); 54 | 55 | } 56 | @RequestMapping(value ="/delete/{id}", method = RequestMethod.GET) 57 | public Stuts deleteByID(@PathVariable("id") int ownerID) { 58 | return ownerservice.deleteByID(ownerID); 59 | 60 | } 61 | @RequestMapping(value ="/update", method = RequestMethod.POST) 62 | public Stuts update(@ModelAttribute Owner owner) { 63 | return ownerservice.update(owner); 64 | 65 | } 66 | 67 | } 68 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/controller/ChargeController.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.controller; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.web.bind.annotation.ModelAttribute; 5 | import org.springframework.web.bind.annotation.PathVariable; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | import org.springframework.web.bind.annotation.RequestMethod; 8 | import org.springframework.web.bind.annotation.RestController; 9 | 10 | import tsu.pro.bean.Charge; 11 | import tsu.pro.bean.Info; 12 | import tsu.pro.bean.Charge; 13 | import tsu.pro.bean.Stuts; 14 | 15 | import tsu.pro.service.chargeService; 16 | 17 | @RestController 18 | @RequestMapping(value = "/charge") 19 | public class ChargeController { 20 | @Autowired 21 | private chargeService chargeservice; 22 | /** 23 | * 插入缴费信息 24 | */ 25 | @RequestMapping(value ="/", method = RequestMethod.POST) 26 | public Stuts createUser(@ModelAttribute Charge Charge) { 27 | return chargeservice.insertCharge(Charge); 28 | 29 | 30 | } 31 | /** 32 | * 查询缴费 33 | * ID 34 | */ 35 | @RequestMapping(value ="/propid/{id}", method = RequestMethod.GET) 36 | public Info findbyID(@PathVariable("id") int ChargeID) { 37 | return chargeservice.selectById(ChargeID); 38 | 39 | } 40 | /** 41 | * 查缴费列表 42 | */ 43 | @RequestMapping(value ="/", method = RequestMethod.GET) 44 | public Info findList() { 45 | return chargeservice.findList(); 46 | 47 | } 48 | /** 49 | * 模糊查询缴费信息 50 | */ 51 | @RequestMapping(value ="/{ownerID}", method = RequestMethod.GET) 52 | public Info findlike(@PathVariable("ownerID") int ownerID) { 53 | return chargeservice.findLike(ownerID); 54 | 55 | } 56 | @RequestMapping(value ="/delete/{id}", method = RequestMethod.GET) 57 | public Stuts deleteByID(@PathVariable("id") int ChargeID) { 58 | return chargeservice.deleteByID(ChargeID); 59 | 60 | } 61 | @RequestMapping(value ="/update", method = RequestMethod.POST) 62 | public Stuts update(@ModelAttribute Charge Charge) { 63 | return chargeservice.update(Charge); 64 | 65 | } 66 | 67 | } 68 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/controller/RepairController.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.controller; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.web.bind.annotation.ModelAttribute; 5 | import org.springframework.web.bind.annotation.PathVariable; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | import org.springframework.web.bind.annotation.RequestMethod; 8 | import org.springframework.web.bind.annotation.RestController; 9 | 10 | import tsu.pro.bean.Repair; 11 | import tsu.pro.bean.Info; 12 | import tsu.pro.bean.Owner; 13 | import tsu.pro.bean.Repair; 14 | import tsu.pro.bean.Stuts; 15 | import tsu.pro.service.OwnerService; 16 | import tsu.pro.service.repairService; 17 | 18 | @RestController 19 | @RequestMapping(value = "/repair") 20 | public class RepairController { 21 | @Autowired 22 | private repairService repairservice; 23 | /** 24 | * 插入保修信息 25 | */ 26 | @RequestMapping(value ="/", method = RequestMethod.POST) 27 | public Stuts createUser(@ModelAttribute Repair Repair) { 28 | return repairservice.insertRepair(Repair); 29 | 30 | 31 | } 32 | /** 33 | * 查询保修 34 | * ID 35 | */ 36 | @RequestMapping(value ="/repId/{id}", method = RequestMethod.GET) 37 | public Info findbyID(@PathVariable("id") int RepairID) { 38 | return repairservice.selectById(RepairID); 39 | 40 | } 41 | /** 42 | * 查保修列表 43 | */ 44 | @RequestMapping(value ="/", method = RequestMethod.GET) 45 | public Info findList() { 46 | return repairservice.findList(); 47 | 48 | } 49 | /** 50 | * 模糊查询保修信息 51 | */ 52 | @RequestMapping(value ="/{ownerID}", method = RequestMethod.GET) 53 | public Info findlike(@PathVariable("ownerID") int ownerID) { 54 | return repairservice.findLike(ownerID); 55 | 56 | } 57 | @RequestMapping(value ="/delete/{id}", method = RequestMethod.GET) 58 | public Stuts deleteByID(@PathVariable("id") int RepairID) { 59 | return repairservice.deleteByID(RepairID); 60 | 61 | } 62 | @RequestMapping(value ="/update", method = RequestMethod.POST) 63 | public Stuts update(@ModelAttribute Repair Repair) { 64 | return repairservice.update(Repair); 65 | 66 | } 67 | 68 | } -------------------------------------------------------------------------------- /Web/Plugins/layui/lay/modules/util.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var t=layui.$,i={fixbar:function(e){var i,o,a="layui-fixbar",r="layui-fixbar-top",n=t(document),l=t("body");e=t.extend({showHeight:200},e),e.bar1=e.bar1===!0?"":e.bar1,e.bar2=e.bar2===!0?"":e.bar2,e.bgcolor=e.bgcolor?"background-color:"+e.bgcolor:"";var c=[e.bar1,e.bar2,""],g=t(['
    ',e.bar1?'
  • '+c[0]+"
  • ":"",e.bar2?'
  • '+c[1]+"
  • ":"",'
  • '+c[2]+"
  • ","
"].join("")),s=g.find("."+r),u=function(){var t=n.scrollTop();t>=e.showHeight?i||(s.show(),i=1):i&&(s.hide(),i=0)};t("."+a)[0]||("object"==typeof e.css&&g.css(e.css),l.append(g),u(),g.find("li").on("click",function(){var i=t(this),o=i.attr("lay-type");"top"===o&&t("html,body").animate({scrollTop:0},200),e.click&&e.click.call(this,o)}),n.on("scroll",function(){clearTimeout(o),o=setTimeout(function(){u()},100)}))},countdown:function(e,t,i){var o=this,a="function"==typeof t,r=new Date(e).getTime(),n=new Date(!t||a?(new Date).getTime():t).getTime(),l=r-n,c=[Math.floor(l/864e5),Math.floor(l/36e5)%24,Math.floor(l/6e4)%60,Math.floor(l/1e3)%60];a&&(i=t);var g=setTimeout(function(){o.countdown(e,n+1e3,i)},1e3);return i&&i(l>0?c:[0,0,0,0],t,g),l<=0&&clearTimeout(g),g},timeAgo:function(e,t){var i=this,o=[[],[]],a=(new Date).getTime()-new Date(e).getTime();return a>6912e5?(a=new Date(e),o[0][0]=i.digit(a.getFullYear(),4),o[0][1]=i.digit(a.getMonth()+1),o[0][2]=i.digit(a.getDate()),t||(o[1][0]=i.digit(a.getHours()),o[1][1]=i.digit(a.getMinutes()),o[1][2]=i.digit(a.getSeconds())),o[0].join("-")+" "+o[1].join(":")):a>=864e5?(a/1e3/60/60/24|0)+"天前":a>=36e5?(a/1e3/60/60|0)+"小时前":a>=12e4?(a/1e3/60|0)+"分钟前":a<0?"未来":"刚刚"},digit:function(e,t){var i="";e=String(e),t=t||2;for(var o=e.length;o users = Collections.synchronizedMap(new HashMap()); 31 | 32 | 33 | @RequestMapping(value = "/", method = RequestMethod.GET) 34 | public userInfo getUserList() { 35 | 36 | 37 | return userService.userList(); 38 | } 39 | 40 | 41 | @RequestMapping(value = "/", method = RequestMethod.POST) 42 | public String createUser(@ModelAttribute User user) { 43 | return userService.insertUser(user); 44 | 45 | 46 | } 47 | 48 | 49 | @RequestMapping(value = "/{id}", method = RequestMethod.GET) 50 | public userInfo getUser(@PathVariable int id) { 51 | return userService.selectByID(id); 52 | } 53 | 54 | 55 | @RequestMapping(value = "/update", method = RequestMethod.POST) 56 | public userInfo putUser( @ModelAttribute User user) { 57 | System.out.println(user.toString()); 58 | return userService.updateUser(user); 59 | 60 | } 61 | 62 | 63 | @RequestMapping(value = "/{id}", method = RequestMethod.DELETE) 64 | public userInfo deleteUser(@PathVariable int id) { 65 | return userService.deleteUser(id); 66 | } 67 | 68 | @RequestMapping(value="/login/{name}/{password}",method=RequestMethod.POST) 69 | public userInfo loginUser(@PathVariable("name") String name,@PathVariable String password){ 70 | System.out.println(name+password); 71 | return userService.finduser(name,password); 72 | } 73 | 74 | @RequestMapping(value = "userrole/{id}", method = RequestMethod.DELETE) 75 | public userInfo deleteuserrole(@PathVariable int id) { 76 | return userService.deleteuserrole(id); 77 | } 78 | 79 | } 80 | -------------------------------------------------------------------------------- /Web/Plugins/layui/lay/modules/tree.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var o=layui.$,a=layui.hint(),i="layui-tree-enter",r=function(e){this.options=e},t={arrow:["",""],checkbox:["",""],radio:["",""],branch:["",""],leaf:""};r.prototype.init=function(e){var o=this;e.addClass("layui-box layui-tree"),o.options.skin&&e.addClass("layui-tree-skin-"+o.options.skin),o.tree(e),o.on(e)},r.prototype.tree=function(e,a){var i=this,r=i.options,n=a||r.nodes;layui.each(n,function(a,n){var l=n.children&&n.children.length>0,c=o('
    '),s=o(["
  • ",function(){return l?''+(n.spread?t.arrow[1]:t.arrow[0])+"":""}(),function(){return r.check?''+("checkbox"===r.check?t.checkbox[0]:"radio"===r.check?t.radio[0]:"")+"":""}(),function(){return'"+(''+(l?n.spread?t.branch[1]:t.branch[0]:t.leaf)+"")+(""+(n.name||"未命名")+"")}(),"
  • "].join(""));l&&(s.append(c),i.tree(c,n.children)),e.append(s),"function"==typeof r.click&&i.click(s,n),i.spread(s,n),r.drag&&i.drag(s,n)})},r.prototype.click=function(e,o){var a=this,i=a.options;e.children("a").on("click",function(e){layui.stope(e),i.click(o)})},r.prototype.spread=function(e,o){var a=this,i=(a.options,e.children(".layui-tree-spread")),r=e.children("ul"),n=e.children("a"),l=function(){e.data("spread")?(e.data("spread",null),r.removeClass("layui-show"),i.html(t.arrow[0]),n.find(".layui-icon").html(t.branch[0])):(e.data("spread",!0),r.addClass("layui-show"),i.html(t.arrow[1]),n.find(".layui-icon").html(t.branch[1]))};r[0]&&(i.on("click",l),n.on("dblclick",l))},r.prototype.on=function(e){var a=this,r=a.options,t="layui-tree-drag";e.find("i").on("selectstart",function(e){return!1}),r.drag&&o(document).on("mousemove",function(e){var i=a.move;if(i.from){var r=(i.to,o('
    '));e.preventDefault(),o("."+t)[0]||o("body").append(r);var n=o("."+t)[0]?o("."+t):r;n.addClass("layui-show").html(i.from.elem.children("a").html()),n.css({left:e.pageX+10,top:e.pageY+10})}}).on("mouseup",function(){var e=a.move;e.from&&(e.from.elem.children("a").removeClass(i),e.to&&e.to.elem.children("a").removeClass(i),a.move={},o("."+t).remove())})},r.prototype.move={},r.prototype.drag=function(e,a){var r=this,t=(r.options,e.children("a")),n=function(){var t=o(this),n=r.move;n.from&&(n.to={item:a,elem:e},t.addClass(i))};t.on("mousedown",function(){var o=r.move;o.from={item:a,elem:e}}),t.on("mouseenter",n).on("mousemove",n).on("mouseleave",function(){var e=o(this),a=r.move;a.from&&(delete a.to,e.removeClass(i))})},e("tree",function(e){var i=new r(e=e||{}),t=o(e.elem);return t[0]?void i.init(t):a.error("layui.tree 没有找到"+e.elem+"元素")})}); -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/service/chargeService.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.service; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.stereotype.Service; 8 | 9 | import tsu.pro.bean.Charge; 10 | import tsu.pro.bean.Info; 11 | import tsu.pro.bean.Charge; 12 | import tsu.pro.bean.Stuts; 13 | import tsu.pro.mapper.ChargeMapper; 14 | 15 | @Service 16 | public class chargeService { 17 | @Autowired 18 | private ChargeMapper chargeMapper; 19 | public Stuts insertCharge(Charge Charge) { 20 | Stuts st=new Stuts(); 21 | int status=chargeMapper.insert(Charge); 22 | if(status==1){ 23 | st.setStuts("ok"); 24 | st.setMessage("插入成功"); 25 | return st; 26 | 27 | } 28 | else{ 29 | st.setStuts("error"); 30 | st.setMessage("插入失败"); 31 | return st; 32 | } 33 | 34 | 35 | } 36 | 37 | public Info selectById(int ChargeID) { 38 | Info info=new Info(); 39 | Charge Charge=new Charge(); 40 | Charge=chargeMapper.selectId(ChargeID); 41 | if(Charge!=null){ 42 | info.setT(Charge); 43 | info.setMesage("查询成功"); 44 | info.setStatus("ok"); 45 | return info; 46 | } 47 | else{ 48 | info.setMesage("查询失败"); 49 | info.setStatus("error"); 50 | return info; 51 | } 52 | 53 | 54 | } 55 | 56 | public Info findList() { 57 | Info info=new Info(); 58 | List list=new ArrayList(); 59 | list=chargeMapper.selectlist(); 60 | if(!list.isEmpty()){ 61 | info.setInfos(list); 62 | info.setStatus("ok"); 63 | info.setMesage("成功"); 64 | return info; 65 | } 66 | else{ 67 | info.setStatus("error"); 68 | info.setMesage("失败"); 69 | return info; 70 | } 71 | } 72 | 73 | public Info findLike(int ownerID) { 74 | Info info=new Info(); 75 | List list=new ArrayList(); 76 | list=chargeMapper.selectlike(ownerID); 77 | if(list.isEmpty()){ 78 | info.setInfos(list); 79 | info.setStatus("ok"); 80 | info.setMesage("成功"); 81 | return info; 82 | } 83 | else{ 84 | info.setStatus("error"); 85 | info.setMesage("失败"); 86 | return info; 87 | } 88 | } 89 | 90 | public Stuts deleteByID(int ChargeID) { 91 | Stuts st=new Stuts(); 92 | int status=chargeMapper.delete(ChargeID); 93 | if(status==1){ 94 | st.setStuts("ok"); 95 | st.setMessage("插入成功"); 96 | return st; 97 | 98 | } 99 | else{ 100 | st.setStuts("error"); 101 | st.setMessage("插入失败"); 102 | return st; 103 | } 104 | 105 | 106 | } 107 | 108 | public Stuts update(Charge Charge) { 109 | Stuts st=new Stuts(); 110 | int status=chargeMapper.update(Charge); 111 | if(status==1){ 112 | st.setStuts("ok"); 113 | st.setMessage("更新成功"); 114 | return st; 115 | 116 | } 117 | else{ 118 | st.setStuts("error"); 119 | st.setMessage("更新失败"); 120 | return st; 121 | } 122 | 123 | } 124 | 125 | } 126 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/service/OwnerService.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.service; 2 | 3 | 4 | 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | import org.springframework.stereotype.Service; 10 | 11 | import tsu.pro.bean.Info; 12 | import tsu.pro.bean.Owner; 13 | import tsu.pro.bean.Stuts; 14 | import tsu.pro.mapper.ownerMapper; 15 | @Service 16 | public class OwnerService { 17 | @Autowired 18 | private ownerMapper ownermapper; 19 | 20 | public Stuts insertOwner(Owner owner) { 21 | System.out.println(owner.toString()); 22 | Stuts st=new Stuts(); 23 | int status=ownermapper.insert(owner); 24 | if(status==1){ 25 | st.setStuts("ok"); 26 | st.setMessage("插入成功"); 27 | return st; 28 | 29 | } 30 | else{ 31 | st.setStuts("error"); 32 | st.setMessage("插入失败"); 33 | return st; 34 | } 35 | 36 | 37 | } 38 | 39 | public Info selectById(int ownerID) { 40 | Info info=new Info(); 41 | Owner owner=new Owner(); 42 | owner=ownermapper.selectId(ownerID); 43 | if(owner!=null){ 44 | info.setT(owner); 45 | info.setMesage("查询成功"); 46 | info.setStatus("ok"); 47 | return info; 48 | } 49 | else{ 50 | info.setMesage("查询失败"); 51 | info.setStatus("error"); 52 | return info; 53 | } 54 | 55 | 56 | } 57 | 58 | public Info findList() { 59 | Info info=new Info(); 60 | List list=new ArrayList(); 61 | list=ownermapper.selectlist(); 62 | if(!list.isEmpty()){ 63 | info.setInfos(list); 64 | info.setStatus("ok"); 65 | info.setMesage("成功"); 66 | return info; 67 | } 68 | else{ 69 | info.setStatus("error"); 70 | info.setMesage("失败"); 71 | return info; 72 | } 73 | } 74 | 75 | public Info findLike(String name) { 76 | Info info=new Info(); 77 | List list=new ArrayList(); 78 | list=ownermapper.selectlike(name); 79 | if(!list.isEmpty()){ 80 | info.setInfos(list); 81 | info.setStatus("ok"); 82 | info.setMesage("成功"); 83 | return info; 84 | } 85 | else{ 86 | info.setStatus("error"); 87 | info.setMesage("失败"); 88 | return info; 89 | } 90 | } 91 | 92 | public Stuts deleteByID(int ownerID) { 93 | Stuts st=new Stuts(); 94 | int status=ownermapper.delete(ownerID); 95 | if(status==1){ 96 | st.setStuts("ok"); 97 | st.setMessage("插入成功"); 98 | return st; 99 | 100 | } 101 | else{ 102 | st.setStuts("error"); 103 | st.setMessage("插入失败"); 104 | return st; 105 | } 106 | 107 | 108 | } 109 | 110 | public Stuts update(Owner owner) { 111 | Stuts st=new Stuts(); 112 | int status=ownermapper.update(owner); 113 | if(status==1){ 114 | st.setStuts("ok"); 115 | st.setMessage("插入成功"); 116 | return st; 117 | 118 | } 119 | else{ 120 | st.setStuts("error"); 121 | st.setMessage("插入失败"); 122 | return st; 123 | } 124 | 125 | } 126 | 127 | 128 | } 129 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/service/repairService.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.service; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.stereotype.Service; 8 | 9 | import tsu.pro.bean.Repair; 10 | import tsu.pro.bean.Info; 11 | import tsu.pro.bean.Owner; 12 | import tsu.pro.bean.Repair; 13 | import tsu.pro.bean.Stuts; 14 | import tsu.pro.mapper.RepairMapper; 15 | 16 | @Service 17 | public class repairService { 18 | @Autowired 19 | private RepairMapper RepairMapper; 20 | public Stuts insertRepair(Repair Repair) { 21 | Stuts st=new Stuts(); 22 | int status=RepairMapper.insert(Repair); 23 | if(status==1){ 24 | st.setStuts("ok"); 25 | st.setMessage("插入成功"); 26 | return st; 27 | 28 | } 29 | else{ 30 | st.setStuts("error"); 31 | st.setMessage("插入失败"); 32 | return st; 33 | } 34 | 35 | 36 | } 37 | 38 | public Info selectById(int RepairID) { 39 | Info info=new Info(); 40 | Repair Repair=new Repair(); 41 | Repair=RepairMapper.selectId(RepairID); 42 | if(Repair!=null){ 43 | info.setT(Repair); 44 | info.setMesage("查询成功"); 45 | info.setStatus("ok"); 46 | return info; 47 | } 48 | else{ 49 | info.setMesage("查询失败"); 50 | info.setStatus("error"); 51 | return info; 52 | } 53 | 54 | 55 | } 56 | 57 | public Info findList() { 58 | Info info=new Info(); 59 | List list=new ArrayList(); 60 | list=RepairMapper.selectlist(); 61 | if(!list.isEmpty()){ 62 | info.setInfos(list); 63 | info.setStatus("ok"); 64 | info.setMesage("成功"); 65 | return info; 66 | } 67 | else{ 68 | info.setStatus("error"); 69 | info.setMesage("失败"); 70 | return info; 71 | } 72 | } 73 | 74 | public Info findLike(int ownerID) { 75 | Info info=new Info(); 76 | List list=new ArrayList(); 77 | list=RepairMapper.selectlike(ownerID); 78 | if(list.isEmpty()){ 79 | info.setInfos(list); 80 | info.setStatus("ok"); 81 | info.setMesage("成功"); 82 | return info; 83 | } 84 | else{ 85 | info.setStatus("error"); 86 | info.setMesage("失败"); 87 | return info; 88 | } 89 | } 90 | 91 | public Stuts deleteByID(int RepairID) { 92 | Stuts st=new Stuts(); 93 | int status=RepairMapper.delete(RepairID); 94 | if(status==1){ 95 | st.setStuts("ok"); 96 | st.setMessage("删除成功"); 97 | return st; 98 | 99 | } 100 | else{ 101 | st.setStuts("error"); 102 | st.setMessage("删除失败"); 103 | return st; 104 | } 105 | 106 | 107 | } 108 | 109 | public Stuts update(Repair Repair) { 110 | Stuts st=new Stuts(); 111 | int status=RepairMapper.update(Repair); 112 | if(status==1){ 113 | st.setStuts("ok"); 114 | st.setMessage("插入成功"); 115 | return st; 116 | 117 | } 118 | else{ 119 | st.setStuts("error"); 120 | st.setMessage("插入失败"); 121 | return st; 122 | } 123 | 124 | } 125 | 126 | } 127 | -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.dao; 2 | 3 | import java.sql.SQLException; 4 | import java.util.ArrayList; 5 | import java.util.List; 6 | 7 | 8 | import org.springframework.stereotype.Component; 9 | 10 | import tsu.pro.bean.Permission; 11 | import tsu.pro.bean.Role; 12 | import tsu.pro.bean.User; 13 | import tsu.pro.utils.mysqlconnection; 14 | 15 | 16 | @Component 17 | public class UserDao extends mysqlconnection { 18 | 19 | public List selectPermission(User user){ 20 | String sql="select p.id,p.per_name,p.per_url,p.per_massage from Users u inner join user_role ur on u.id=ur.user_id inner join role_permission rp on ur.role_id=rp.role_id inner join permission p on rp.permission_id=p.id where u.id="+user.getId()+""; 21 | 22 | ArrayList list=new ArrayList(); 23 | try { 24 | stat = connection.prepareStatement(sql); 25 | resultset=stat.executeQuery(); 26 | 27 | 28 | while(resultset!=null&&resultset.next()){ 29 | Permission per=new Permission(); 30 | per.setId(resultset.getInt(1)); 31 | per.setPer_Name(resultset.getString(2)); 32 | per.setPer_Url(resultset.getString(3)); 33 | per.setPer_meassage(resultset.getString(4)); 34 | list.add(per); 35 | } 36 | return list; 37 | } catch (SQLException e) { 38 | // TODO Auto-generated catch block 39 | e.printStackTrace(); 40 | } 41 | return list; 42 | 43 | 44 | 45 | } 46 | 47 | public ArrayList selectrolebyID(int id) { 48 | String sql="SELECT user_role.id, role.id ,role.rolename From users inner join user_role on users.ID=user_role.user_id inner join role on user_role.role_id=role.id where users.ID="+id+""; 49 | ArrayList list=new ArrayList(); 50 | try { 51 | stat = connection.prepareStatement(sql); 52 | resultset=stat.executeQuery(); 53 | 54 | 55 | while(resultset!=null&&resultset.next()){ 56 | Role role=new Role(); 57 | role.setUserroleID(resultset.getInt(1)); 58 | role.setId(resultset.getInt(2)); 59 | role.setRoleName(resultset.getString(3)); 60 | list.add(role); 61 | } 62 | return list; 63 | } catch (SQLException e) { 64 | // TODO Auto-generated catch block 65 | e.printStackTrace(); 66 | } 67 | return list; 68 | } 69 | 70 | public ArrayList selectByIDTOper(int id) { 71 | String sql="select permission.id,permission.per_name from role inner join role_permission on role.id=role_permission.role_id inner join permission on role_permission.permission_id=permission.id where role.id="+id+""; 72 | ArrayList list=new ArrayList(); 73 | try { 74 | stat = connection.prepareStatement(sql); 75 | resultset=stat.executeQuery(); 76 | 77 | 78 | while(resultset!=null&&resultset.next()){ 79 | Permission permission=new Permission(); 80 | permission.setId(resultset.getInt(1)); 81 | permission.setPer_Name(resultset.getString(2)); 82 | list.add(permission); 83 | } 84 | return list; 85 | } catch (SQLException e) { 86 | // TODO Auto-generated catch block 87 | e.printStackTrace(); 88 | } 89 | return list; 90 | 91 | 92 | 93 | } 94 | } -------------------------------------------------------------------------------- /Web/Plugins/layui/lay/modules/carousel.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var i=layui.$,n=(layui.hint(),layui.device(),{config:{},set:function(e){var n=this;return n.config=i.extend({},n.config,e),n},on:function(e,i){return layui.onevent.call(this,t,e,i)}}),t="carousel",a="layui-this",l=">*[carousel-item]>*",o="layui-carousel-left",r="layui-carousel-right",d="layui-carousel-prev",s="layui-carousel-next",u="layui-carousel-arrow",c="layui-carousel-ind",m=function(e){var t=this;t.config=i.extend({},t.config,n.config,e),t.render()};m.prototype.config={width:"600px",height:"280px",full:!1,arrow:"hover",indicator:"inside",autoplay:!0,interval:3e3,anim:"",trigger:"click",index:0},m.prototype.render=function(){var e=this,n=e.config;n.elem=i(n.elem),n.elem[0]&&(e.elemItem=n.elem.find(l),n.index<0&&(n.index=0),n.index>=e.elemItem.length&&(n.index=e.elemItem.length-1),n.interval<800&&(n.interval=800),n.full?n.elem.css({position:"fixed",width:"100%",height:"100%",zIndex:9999}):n.elem.css({width:n.width,height:n.height}),n.elem.attr("lay-anim",n.anim),e.elemItem.eq(n.index).addClass(a),e.elemItem.length<=1||(e.indicator(),e.arrow(),e.autoplay(),e.events()))},m.prototype.reload=function(e){var n=this;clearInterval(n.timer),n.config=i.extend({},n.config,e),n.render()},m.prototype.prevIndex=function(){var e=this,i=e.config,n=i.index-1;return n<0&&(n=e.elemItem.length-1),n},m.prototype.nextIndex=function(){var e=this,i=e.config,n=i.index+1;return n>=e.elemItem.length&&(n=0),n},m.prototype.addIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index+e,n.index>=i.elemItem.length&&(n.index=0)},m.prototype.subIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index-e,n.index<0&&(n.index=i.elemItem.length-1)},m.prototype.autoplay=function(){var e=this,i=e.config;i.autoplay&&(e.timer=setInterval(function(){e.slide()},i.interval))},m.prototype.arrow=function(){var e=this,n=e.config,t=i(['",'"].join(""));n.elem.attr("lay-arrow",n.arrow),n.elem.find("."+u)[0]&&n.elem.find("."+u).remove(),n.elem.append(t),t.on("click",function(){var n=i(this),t=n.attr("lay-type");e.slide(t)})},m.prototype.indicator=function(){var e=this,n=e.config,t=e.elemInd=i(['
      ',function(){var i=[];return layui.each(e.elemItem,function(e){i.push("")}),i.join("")}(),"
    "].join(""));n.elem.attr("lay-indicator",n.indicator),n.elem.find("."+c)[0]&&n.elem.find("."+c).remove(),n.elem.append(t),"updown"===n.anim&&t.css("margin-top",-(t.height()/2)),t.find("li").on("hover"===n.trigger?"mouseover":n.trigger,function(){var t=i(this),a=t.index();a>n.index?e.slide("add",a-n.index):ai.layui-icon { 98 | position: absolute; 99 | left: 5px; 100 | top: 5px; 101 | color: #999999; 102 | display: inline-block; 103 | font-style: normal; 104 | -webkit-text-stroke-width: .2px; 105 | -webkit-font-smoothing: antialiased; 106 | -moz-osx-font-smoothing: grayscale; 107 | } 108 | 109 | .kit-login-wapper .kit-login-row .kit-login-col .kit-login-input { 110 | width: 240px; 111 | border-radius: 0; 112 | -webkit-box-sizing: border-box; 113 | box-sizing: border-box; 114 | display: inline-table; 115 | overflow: visible; 116 | border: 1px solid #E0E0E0; 117 | background-color: #FFF; 118 | transition: all 0.3s ease-out; 119 | border-collapse: separate; 120 | border-spacing: 0; 121 | border-top: 0; 122 | border-left: 0; 123 | border-right: 0; 124 | border-color: #dcdcdc; 125 | } 126 | 127 | .kit-login-wapper .kit-login-row .kit-login-col .kit-login-input:hover { 128 | border-bottom: 1px solid #38AB69; 129 | } 130 | 131 | .kit-login-wapper .kit-login-row .kit-login-col .kit-login-input input { 132 | -webkit-box-sizing: border-box; 133 | box-sizing: border-box; 134 | width: 100%; 135 | border: none; 136 | outline: 0; 137 | padding: 0; 138 | padding-left: 31px!important; 139 | font-weight: 400; 140 | vertical-align: baseline; 141 | background-color: transparent; 142 | height: 26px; 143 | line-height: 26px\9; 144 | margin: 0; 145 | padding: 0 8px; 146 | border-radius: 4px; 147 | color: #333; 148 | padding-left: 25px; 149 | font-size: 13px; 150 | } -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/service/RoleService.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.service; 2 | 3 | import java.util.ArrayList; 4 | 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.stereotype.Service; 7 | 8 | import tsu.pro.bean.Info; 9 | import tsu.pro.bean.Role; 10 | import tsu.pro.bean.RoleInfo; 11 | import tsu.pro.bean.User_Role; 12 | import tsu.pro.dao.UserDao; 13 | import tsu.pro.mapper.RoleMapper; 14 | 15 | 16 | @Service 17 | public class RoleService { 18 | @Autowired 19 | private RoleMapper roleMapper; 20 | @Autowired 21 | private UserDao userdao; 22 | 23 | /** 24 | * 25 | * @方法名: addRole 26 | * @描述:添加权限 27 | * @作者:lhs 28 | * @param role 29 | * @return 30 | * @日期 2018年4月8日 下午8:37:53 31 | * @返回值: String 32 | * @修改人: 33 | * @修改时间: 34 | */ 35 | public RoleInfo addRole(Role role) { 36 | RoleInfo info = new RoleInfo(); 37 | 38 | int i = roleMapper.addRole(role); 39 | if (i == 1) { 40 | info.setStatus("ok"); 41 | info.setMessage("添加成功"); 42 | 43 | return info; 44 | } else { 45 | info.setStatus("error"); 46 | info.setMessage("添加失败"); 47 | return info; 48 | } 49 | } 50 | /** 51 | * 52 | * @方法名: findAll 53 | * @描述: 查询所有角色 54 | * @作者:lhs 55 | * @return 56 | * @日期 2018年4月8日 下午9:01:24 57 | * @返回值: roleInfo 58 | * @修改人: 59 | * @修改时间: 60 | */ 61 | public RoleInfo findAll() { 62 | RoleInfo roleinfo=new RoleInfo(); 63 | ArrayList roles=new ArrayList(); 64 | roles=roleMapper.queryAll(); 65 | if(roles.size()>=1){ 66 | roleinfo.setStatus("ok"); 67 | roleinfo.setMessage("查询成功"); 68 | roleinfo.setInfos(roles); 69 | return roleinfo; 70 | } 71 | else{ 72 | roleinfo.setStatus("err"); 73 | roleinfo.setMessage("查询失败"); 74 | return roleinfo; 75 | } 76 | } 77 | /** 78 | * 79 | * @方法名: deleteRole 80 | * @描述:根据ID删除 81 | * @作者:lhs 82 | * @param id 83 | * @return 84 | * @日期 2018年4月8日 下午9:13:26 85 | * @返回值: RoleInfo 86 | * @修改人: 87 | * @修改时间: 88 | */ 89 | public RoleInfo deleteRole(int id) { 90 | RoleInfo info=new RoleInfo(); 91 | int i=roleMapper.deleteRole(id); 92 | if(i==1){ 93 | info.setStatus("ok"); 94 | info.setMessage("删除成功"); 95 | 96 | return info; 97 | } 98 | else{ 99 | info.setStatus("error"); 100 | info.setMessage("删除失败"); 101 | return info; 102 | } 103 | 104 | } 105 | /** 106 | * 107 | * @方法名: userAddRole 108 | * @描述:给用户添加权限 109 | * @作者:lhs 110 | * @param userid 111 | * @param roleid 112 | * @return 113 | * @日期 2018年4月8日 下午9:29:20 114 | * @返回值: RoleInfo 115 | * @修改人: 116 | * @修改时间: 117 | */ 118 | public RoleInfo userAddRole(int userid, int roleid) { 119 | RoleInfo info=new RoleInfo(); 120 | User_Role ur=new User_Role(); 121 | 122 | ur.setUser_Id(userid); 123 | ur.setRoled_id(roleid); 124 | int i=roleMapper.userAddRole(ur); 125 | if(i==1){ 126 | info.setStatus("ok"); 127 | info.setMessage("添加成功"); 128 | 129 | return info; 130 | } 131 | else{ 132 | info.setStatus("error"); 133 | info.setMessage("添加失败"); 134 | return info; 135 | } 136 | } 137 | public Info findidbyID(int id) { 138 | Info info=new Info(); 139 | ArrayList list=new ArrayList(); 140 | list=userdao.selectByIDTOper(id); 141 | if(list.size()!=0){ 142 | info.setInfos(list); 143 | info.setMesage("success"); 144 | info.setStatus("ok"); 145 | return info; 146 | } 147 | else{ 148 | info.setMesage("error"); 149 | info.setStatus("error"); 150 | return info; 151 | } 152 | 153 | } 154 | } 155 | -------------------------------------------------------------------------------- /Web/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 用户登录 9 | 10 | 11 | 12 | 13 | 14 | 49 | 50 | 51 | 52 | 53 | 121 | 122 | 123 | -------------------------------------------------------------------------------- /Web/Plugins/layui/lay/modules/laypage.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var a=document,t="getElementById",n="getElementsByTagName",i="laypage",r="layui-disabled",u=function(e){var a=this;a.config=e||{},a.config.index=++s.index,a.render(!0)};u.prototype.type=function(){var e=this.config;if("object"==typeof e.elem)return void 0===e.elem.length?2:3},u.prototype.view=function(){var e=this,a=e.config,t=a.groups="groups"in a?0|a.groups:5;a.layout="object"==typeof a.layout?a.layout:["prev","page","next"],a.count=0|a.count,a.curr=0|a.curr||1,a.limits="object"==typeof a.limits?a.limits:[10,20,30,40,50],a.limit=0|a.limit||10,a.pages=Math.ceil(a.count/a.limit)||1,a.curr>a.pages&&(a.curr=a.pages),t<0?t=1:t>a.pages&&(t=a.pages),a.prev="prev"in a?a.prev:"上一页",a.next="next"in a?a.next:"下一页";var n=a.pages>t?Math.ceil((a.curr+(t>1?1:0))/(t>0?t:1)):1,i={prev:function(){return a.prev?''+a.prev+"":""}(),page:function(){var e=[];if(a.count<1)return"";n>1&&a.first!==!1&&0!==t&&e.push(''+(a.first||1)+"");var i=Math.floor((t-1)/2),r=n>1?a.curr-i:1,u=n>1?function(){var e=a.curr+(t-i-1);return e>a.pages?a.pages:e}():t;for(u-r2&&e.push('');r<=u;r++)r===a.curr?e.push('"+r+""):e.push(''+r+"");return a.pages>t&&a.pages>u&&a.last!==!1&&(u+1…'),0!==t&&e.push(''+(a.last||a.pages)+"")),e.join("")}(),next:function(){return a.next?''+a.next+"":""}(),count:'共 '+a.count+" 条",limit:function(){var e=['"}(),skip:function(){return['到第','','页',""].join("")}()};return['
    ',function(){var e=[];return layui.each(a.layout,function(a,t){i[t]&&e.push(i[t])}),e.join("")}(),"
    "].join("")},u.prototype.jump=function(e,a){if(e){var t=this,i=t.config,r=e.children,u=e[n]("button")[0],l=e[n]("input")[0],p=e[n]("select")[0],c=function(){var e=0|l.value.replace(/\s|\D/g,"");e&&(i.curr=e,t.render())};if(a)return c();for(var o=0,y=r.length;oi.pages||(i.curr=e,t.render())});p&&s.on(p,"change",function(){var e=this.value;i.curr*e>i.count&&(i.curr=Math.ceil(i.count/e)),i.limit=e,t.render()}),u&&s.on(u,"click",function(){c()})}},u.prototype.skip=function(e){if(e){var a=this,t=e[n]("input")[0];t&&s.on(t,"keyup",function(t){var n=this.value,i=t.keyCode;/^(37|38|39|40)$/.test(i)||(/\D/.test(n)&&(this.value=n.replace(/\D/,"")),13===i&&a.jump(e,!0))})}},u.prototype.render=function(e){var n=this,i=n.config,r=n.type(),u=n.view();2===r?i.elem&&(i.elem.innerHTML=u):3===r?i.elem.html(u):a[t](i.elem)&&(a[t](i.elem).innerHTML=u),i.jump&&i.jump(i,e);var s=a[t]("layui-laypage-"+i.index);n.jump(s),i.hash&&!e&&(location.hash="!"+i.hash+"="+i.curr),n.skip(s)};var s={render:function(e){var a=new u(e);return a.index},index:layui.laypage?layui.laypage.index+1e4:0,on:function(e,a,t){return e.attachEvent?e.attachEvent("on"+a,function(a){a.target=a.srcElement,t.call(e,a)}):e.addEventListener(a,t,!1),this}};e(i,s)}); -------------------------------------------------------------------------------- /Pro_Servers/src/main/java/tsu/pro/service/UserService.java: -------------------------------------------------------------------------------- 1 | package tsu.pro.service; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.stereotype.Service; 8 | 9 | import tsu.pro.bean.Permission; 10 | import tsu.pro.bean.Role; 11 | import tsu.pro.bean.User; 12 | import tsu.pro.bean.userInfo; 13 | import tsu.pro.dao.UserDao; 14 | import tsu.pro.mapper.RoleMapper; 15 | import tsu.pro.mapper.UserMapper; 16 | 17 | 18 | 19 | @Service 20 | public class UserService { 21 | @Autowired 22 | UserMapper userMapper; 23 | @Autowired 24 | UserDao userdao; 25 | @Autowired 26 | RoleMapper rolemapper; 27 | 28 | public String insertUser(@SuppressWarnings("rawtypes") User user) { 29 | 30 | 31 | System.out.println(user.toString()); 32 | if(userMapper.insertUser(user)!=1){ 33 | 34 | return "插入错误"; 35 | } 36 | else{ 37 | return "插入成功"; 38 | } 39 | 40 | } 41 | @SuppressWarnings("rawtypes") 42 | public userInfo userList(){ 43 | userInfo info=new userInfo(); 44 | ArrayList userList=new ArrayList(); 45 | userList=userMapper.queryAll(); 46 | List list=new ArrayList<>(); 47 | 48 | if(userList.size()>=1){ 49 | info.setStatus("ok"); 50 | info.setMessage("查询成功!"); 51 | info.setInfos(userList); 52 | return info; 53 | } 54 | else{ 55 | info.setStatus("error"); 56 | info.setMessage("查询失败"); 57 | return info; 58 | } 59 | 60 | } 61 | 62 | public userInfo finduser(String name, String password) { 63 | userInfo info=new userInfo(); 64 | User user=new User(); 65 | 66 | user=userMapper.finduserByName(name,password); 67 | System.out.println(user.toString()+"fasdfasdf"); 68 | 69 | 70 | if(null!=user){ 71 | user.setPer(userdao.selectPermission(user)); 72 | info.setStatus("ok"); 73 | info.setMessage("登录成功"); 74 | info.setT(user); 75 | return info; 76 | } 77 | else{ 78 | info.setStatus("error"); 79 | info.setMessage("登录失败"); 80 | return info; 81 | } 82 | } 83 | @SuppressWarnings("rawtypes") 84 | public userInfo updateUser(User user) { 85 | userInfo info=new userInfo(); 86 | @SuppressWarnings("unused") 87 | User users=new User(); 88 | int i=userMapper.updateUser(user); 89 | if(i==1){ 90 | info.setStatus("ok"); 91 | info.setMessage("更新成功"); 92 | 93 | return info; 94 | } 95 | else{ 96 | info.setStatus("error"); 97 | info.setMessage("更新失败"); 98 | return info; 99 | } 100 | } 101 | @SuppressWarnings("rawtypes") 102 | public userInfo deleteUser(int id) { 103 | userInfo info=new userInfo(); 104 | @SuppressWarnings("unused") 105 | User users=new User(); 106 | int i=userMapper.deleteUser(id); 107 | if(i==1){ 108 | info.setStatus("ok"); 109 | info.setMessage("删除成功"); 110 | 111 | return info; 112 | } 113 | else{ 114 | info.setStatus("error"); 115 | info.setMessage("删除失败"); 116 | return info; 117 | } 118 | } 119 | public userInfo selectByID(int id) { 120 | userInfo info=new userInfo(); 121 | User user=new User(); 122 | List roleList=new ArrayList(); 123 | user=userMapper.findTag(id); 124 | if(null!=user){ 125 | roleList=userdao.selectrolebyID(user.getId()); 126 | info.setInfos(roleList); 127 | info.setStatus("ok"); 128 | info.setMessage("登录成功"); 129 | info.setT(user); 130 | return info; 131 | } 132 | else{ 133 | info.setStatus("error"); 134 | info.setMessage("登录失败"); 135 | return info; 136 | } 137 | } 138 | public userInfo deleteuserrole(int id) { 139 | userInfo info=new userInfo(); 140 | int i=0; 141 | i=userMapper.deleteUserrole(id); 142 | if(i==1){ 143 | info.setStatus("ok"); 144 | info.setMessage("成功"); 145 | 146 | return info; 147 | } 148 | else{ 149 | info.setStatus("error"); 150 | info.setMessage("失败"); 151 | return info; 152 | } 153 | } 154 | } 155 | -------------------------------------------------------------------------------- /Web/logreg.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 用户注册 10 | 11 | 12 | 13 | 14 | 15 | 68 | 69 | 70 | 71 | 137 | 138 | 139 | -------------------------------------------------------------------------------- /Pro_Servers/src/test/java/test/testV.java: -------------------------------------------------------------------------------- 1 | package test; 2 | 3 | import java.sql.Connection; 4 | import java.sql.DriverManager; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | import java.sql.Statement; 8 | 9 | import org.apache.log4j.Logger; 10 | import org.junit.Test; 11 | 12 | public class testV { 13 | private static String driverName = "org.apache.hadoop.hive.jdbc.HiveDriver"; 14 | private static String url = "jdbc:hive://host2:10000/default"; 15 | private static String user = "hive"; 16 | private static String password = "mysql"; 17 | private static String sql = ""; 18 | private static ResultSet res; 19 | private static final Logger log = Logger.getLogger(testV.class); 20 | public static void main(String[] args) { 21 | 22 | 23 | Connection conn = null; 24 | Statement stmt = null; 25 | try { 26 | conn = getConn(); 27 | stmt = conn.createStatement(); 28 | 29 | // 第一步:存在就先删除 30 | String tableName = dropTable(stmt); 31 | 32 | // 第二步:不存在就创建 33 | createTable(stmt, tableName); 34 | 35 | // 第三步:查看创建的表 36 | showTables(stmt, tableName); 37 | 38 | // 执行describe table操作 39 | describeTables(stmt, tableName); 40 | 41 | // 执行load data into table操作 42 | loadData(stmt, tableName); 43 | 44 | // 执行 select * query 操作 45 | selectData(stmt, tableName); 46 | 47 | // 执行 regular hive query 统计操作 48 | countData(stmt, tableName); 49 | 50 | } catch (ClassNotFoundException e) { 51 | e.printStackTrace(); 52 | log.error(driverName + " not found!", e); 53 | System.exit(1); 54 | } catch (SQLException e) { 55 | e.printStackTrace(); 56 | log.error("Connection error!", e); 57 | System.exit(1); 58 | } finally { 59 | try { 60 | if (conn != null) { 61 | conn.close(); 62 | conn = null; 63 | } 64 | if (stmt != null) { 65 | stmt.close(); 66 | stmt = null; 67 | } 68 | } catch (SQLException e) { 69 | e.printStackTrace(); 70 | } 71 | } 72 | } 73 | 74 | private static void countData(Statement stmt, String tableName) 75 | throws SQLException { 76 | sql = "select count(1) from " + tableName; 77 | System.out.println("Running:" + sql); 78 | res = stmt.executeQuery(sql); 79 | System.out.println("执行“regular hive query”运行结果:"); 80 | while (res.next()) { 81 | System.out.println("count ------>" + res.getString(1)); 82 | } 83 | } 84 | 85 | private static void selectData(Statement stmt, String tableName) 86 | throws SQLException { 87 | sql = "select * from " + tableName; 88 | System.out.println("Running:" + sql); 89 | res = stmt.executeQuery(sql); 90 | System.out.println("执行 select * query 运行结果:"); 91 | while (res.next()) { 92 | System.out.println(res.getInt(1) + "\t" + res.getString(2)); 93 | } 94 | } 95 | 96 | private static void loadData(Statement stmt, String tableName) 97 | throws SQLException { 98 | String filepath = "/home/hadoop01/data"; 99 | sql = "load data local inpath '" + filepath + "' into table " 100 | + tableName; 101 | System.out.println("Running:" + sql); 102 | res = stmt.executeQuery(sql); 103 | } 104 | 105 | private static void describeTables(Statement stmt, String tableName) 106 | throws SQLException { 107 | sql = "describe " + tableName; 108 | System.out.println("Running:" + sql); 109 | res = stmt.executeQuery(sql); 110 | System.out.println("执行 describe table 运行结果:"); 111 | while (res.next()) { 112 | System.out.println(res.getString(1) + "\t" + res.getString(2)); 113 | } 114 | } 115 | 116 | private static void showTables(Statement stmt, String tableName) 117 | throws SQLException { 118 | sql = "show tables '" + tableName + "'"; 119 | System.out.println("Running:" + sql); 120 | res = stmt.executeQuery(sql); 121 | System.out.println("执行 show tables 运行结果:"); 122 | if (res.next()) { 123 | System.out.println(res.getString(1)); 124 | } 125 | } 126 | 127 | private static void createTable(Statement stmt, String tableName) 128 | throws SQLException { 129 | sql = "create table " 130 | + tableName 131 | + " (key int, value string) row format delimited fields terminated by '\t'"; 132 | stmt.executeQuery(sql); 133 | } 134 | 135 | private static String dropTable(Statement stmt) throws SQLException { 136 | // 创建的表名 137 | String tableName = "testHive"; 138 | sql = "drop table " + tableName; 139 | stmt.executeQuery(sql); 140 | return tableName; 141 | } 142 | 143 | private static Connection getConn() throws ClassNotFoundException, 144 | SQLException { 145 | Class.forName(driverName); 146 | Connection conn = DriverManager.getConnection(url, user, password); 147 | return conn; 148 | } 149 | } 150 | -------------------------------------------------------------------------------- /Pro_Servers/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | pro_Servers 5 | pro_Servers 6 | war 7 | 0.0.1-SNAPSHOT 8 | BI-service Maven Webapp 9 | http://maven.apache.org 10 | 11 | UTF-8 12 | 0.6.0 13 | 1.2.16 14 | 1.5.2.RELEASE 15 | 4.10.0-HBase-1.1 16 | 5.1.44 17 | 18 | 19 | 20 | 21 | org.apache.httpcomponents 22 | httpclient 23 | 4.3.6 24 | 25 | 26 | org.springframework.boot 27 | spring-boot-starter-web 28 | ${spring.boot.version} 29 | 30 | 31 | log4j-over-slf4j 32 | org.slf4j 33 | 34 | 35 | org.springframework.boot 36 | spring-boot-starter-logging 37 | 38 | 39 | org.springframework.boot 40 | spring-boot-starter-tomcat 41 | 42 | 43 | 44 | 45 | 46 | org.mongodb 47 | mongo-java-driver 48 | 3.3.0 49 | 50 | 51 | 52 | org.springframework.boot 53 | spring-boot-starter-test 54 | ${spring.boot.version} 55 | test 56 | 57 | 58 | org.mybatis.spring.boot 59 | mybatis-spring-boot-starter 60 | 1.3.1 61 | 62 | 63 | 64 | com.googlecode.juniversalchardet 65 | 66 | juniversalchardet 67 | 68 | 1.0.3 69 | 70 | 71 | 72 | 73 | 74 | 75 | org.kie.modules 76 | 77 | org-apache-commons-httpclient 78 | 79 | 6.2.0.CR2 80 | 81 | pom 82 | 83 | 84 | 85 | 86 | 87 | 88 | org.jsoup 89 | 90 | jsoup 91 | 92 | 1.10.3 93 | 94 | 95 | 96 | 97 | org.apache.phoenix 98 | phoenix-core 99 | ${phoenix.version} 100 | 107 | 108 | 109 | jdk.tools 110 | jdk.tools 111 | 1.7 112 | system 113 | ${JAVA_HOME}/lib/tools.jar 114 | 115 | 116 | junit 117 | junit 118 | 4.11 119 | test 120 | 121 | 122 | 123 | org.apache.commons 124 | commons-lang3 125 | 3.4 126 | 127 | 128 | org.apache.hive 129 | hive-jdbc 130 | 1.2.1 131 | 132 | 133 | org.eclipse.jetty.aggregate 134 | jetty-all 135 | 136 | 137 | org.apache.hive 138 | hive-shims 139 | 140 | 141 | 142 | 143 | 144 | mysql 145 | mysql-connector-java 146 | ${mysql.version} 147 | 148 | 149 | 150 | 151 | 152 | org.apache.maven.plugins 153 | maven-compiler-plugin 154 | 155 | 1.8 156 | 1.8 157 | 158 | 159 | 160 | org.apache.maven.plugins 161 | maven-war-plugin 162 | 163 | false 164 | 165 | 3.0.0 166 | 167 | 168 | 169 | org.apache.maven.plugins 170 | maven-clean-plugin 171 | 172 | 173 | clean 174 | pre-clean 175 | 176 | clean 177 | 178 | 179 | src/main/webapp/WEB-INF/lib 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | -------------------------------------------------------------------------------- /Web/Plugins/layui/layui.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;!function(e){"use strict";var t=document,n={modules:{},status:{},timeout:10,event:{}},o=function(){this.v="2.2.5"},r=function(){var e=t.currentScript?t.currentScript.src:function(){for(var e,n=t.scripts,o=n.length-1,r=o;r>0;r--)if("interactive"===n[r].readyState){e=n[r].src;break}return e||n[o].src}();return e.substring(0,e.lastIndexOf("/")+1)}(),a=function(t){e.console&&console.error&&console.error("Layui hint: "+t)},i="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),u={layer:"modules/layer",laydate:"modules/laydate",laypage:"modules/laypage",laytpl:"modules/laytpl",layim:"modules/layim",layedit:"modules/layedit",form:"modules/form",upload:"modules/upload",tree:"modules/tree",table:"modules/table",element:"modules/element",util:"modules/util",flow:"modules/flow",carousel:"modules/carousel",code:"modules/code",jquery:"modules/jquery",mobile:"modules/mobile","layui.all":"../layui.all"};o.prototype.cache=n,o.prototype.define=function(e,t){var o=this,r="function"==typeof e,a=function(){var e=function(e,t){layui[e]=t,n.status[e]=!0};return"function"==typeof t&&t(function(o,r){e(o,r),n.callback[o]=function(){t(e)}}),this};return r&&(t=e,e=[]),layui["layui.all"]||!layui["layui.all"]&&layui["layui.mobile"]?a.call(o):(o.use(e,a),o)},o.prototype.use=function(e,o,l){function s(e,t){var o="PLaySTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/;("load"===e.type||o.test((e.currentTarget||e.srcElement).readyState))&&(n.modules[f]=t,d.removeChild(v),function r(){return++m>1e3*n.timeout/4?a(f+" is not a valid module"):void(n.status[f]?c():setTimeout(r,4))}())}function c(){l.push(layui[f]),e.length>1?y.use(e.slice(1),o,l):"function"==typeof o&&o.apply(layui,l)}var y=this,p=n.dir=n.dir?n.dir:r,d=t.getElementsByTagName("head")[0];e="string"==typeof e?[e]:e,window.jQuery&&jQuery.fn.on&&(y.each(e,function(t,n){"jquery"===n&&e.splice(t,1)}),layui.jquery=layui.$=jQuery);var f=e[0],m=0;if(l=l||[],n.host=n.host||(p.match(/\/\/([\s\S]+?)\//)||["//"+location.host+"/"])[0],0===e.length||layui["layui.all"]&&u[f]||!layui["layui.all"]&&layui["layui.mobile"]&&u[f])return c(),y;if(n.modules[f])!function g(){return++m>1e3*n.timeout/4?a(f+" is not a valid module"):void("string"==typeof n.modules[f]&&n.status[f]?c():setTimeout(g,4))}();else{var v=t.createElement("script"),h=(u[f]?p+"lay/":/^\{\/\}/.test(y.modules[f])?"":n.base||"")+(y.modules[f]||f)+".js";h=h.replace(/^\{\/\}/,""),v.async=!0,v.charset="utf-8",v.src=h+function(){var e=n.version===!0?n.v||(new Date).getTime():n.version||"";return e?"?v="+e:""}(),d.appendChild(v),!v.attachEvent||v.attachEvent.toString&&v.attachEvent.toString().indexOf("[native code")<0||i?v.addEventListener("load",function(e){s(e,h)},!1):v.attachEvent("onreadystatechange",function(e){s(e,h)}),n.modules[f]=h}return y},o.prototype.getStyle=function(t,n){var o=t.currentStyle?t.currentStyle:e.getComputedStyle(t,null);return o[o.getPropertyValue?"getPropertyValue":"getAttribute"](n)},o.prototype.link=function(e,o,r){var i=this,u=t.createElement("link"),l=t.getElementsByTagName("head")[0];"string"==typeof o&&(r=o);var s=(r||e).replace(/\.|\//g,""),c=u.id="layuicss-"+s,y=0;return u.rel="stylesheet",u.href=e+(n.debug?"?v="+(new Date).getTime():""),u.media="all",t.getElementById(c)||l.appendChild(u),"function"!=typeof o?i:(function p(){return++y>1e3*n.timeout/100?a(e+" timeout"):void(1989===parseInt(i.getStyle(t.getElementById(c),"width"))?function(){o()}():setTimeout(p,100))}(),i)},n.callback={},o.prototype.factory=function(e){if(layui[e])return"function"==typeof n.callback[e]?n.callback[e]:null},o.prototype.addcss=function(e,t,o){return layui.link(n.dir+"css/"+e,t,o)},o.prototype.img=function(e,t,n){var o=new Image;return o.src=e,o.complete?t(o):(o.onload=function(){o.onload=null,t(o)},void(o.onerror=function(e){o.onerror=null,n(e)}))},o.prototype.config=function(e){e=e||{};for(var t in e)n[t]=e[t];return this},o.prototype.modules=function(){var e={};for(var t in u)e[t]=u[t];return e}(),o.prototype.extend=function(e){var t=this;e=e||{};for(var n in e)t[n]||t.modules[n]?a("模块名 "+n+" 已被占用"):t.modules[n]=e[n];return t},o.prototype.router=function(e){var t=this,e=e||location.hash,n={path:[],search:{},hash:(e.match(/[^#](#.*$)/)||[])[1]||""};return/^#\//.test(e)?(n.href=e=e.replace(/^#\//,""),e=e.replace(/([^#])(#.*$)/,"$1").split("/")||[],t.each(e,function(e,t){/^\w+=/.test(t)?function(){t=t.split("="),n.search[t[0]]=t[1]}():n.path.push(t)}),n):n},o.prototype.data=function(t,n,o){if(t=t||"layui",o=o||localStorage,e.JSON&&e.JSON.parse){if(null===n)return delete o[t];n="object"==typeof n?n:{key:n};try{var r=JSON.parse(o[t])}catch(a){var r={}}return"value"in n&&(r[n.key]=n.value),n.remove&&delete r[n.key],o[t]=JSON.stringify(r),n.key?r[n.key]:r}},o.prototype.sessionData=function(e,t){return this.data(e,t,sessionStorage)},o.prototype.device=function(t){var n=navigator.userAgent.toLowerCase(),o=function(e){var t=new RegExp(e+"/([^\\s\\_\\-]+)");return e=(n.match(t)||[])[1],e||!1},r={os:function(){return/windows/.test(n)?"windows":/linux/.test(n)?"linux":/iphone|ipod|ipad|ios/.test(n)?"ios":/mac/.test(n)?"mac":void 0}(),ie:function(){return!!(e.ActiveXObject||"ActiveXObject"in e)&&((n.match(/msie\s(\d+)/)||[])[1]||"11")}(),weixin:o("micromessenger")};return t&&!r[t]&&(r[t]=o(t)),r.android=/android/.test(n),r.ios="ios"===r.os,r},o.prototype.hint=function(){return{error:a}},o.prototype.each=function(e,t){var n,o=this;if("function"!=typeof t)return o;if(e=e||[],e.constructor===Object){for(n in e)if(t.call(e[n],n,e[n]))break}else for(n=0;na?1:r 3 | 4.0.0 4 | pro_Servers 5 | pro_Servers 6 | war 7 | 0.0.1-SNAPSHOT 8 | BI-service Maven Webapp 9 | http://maven.apache.org 10 | 11 | UTF-8 12 | 0.6.0 13 | 1.2.16 14 | 1.5.2.RELEASE 15 | 4.10.0-HBase-1.1 16 | 5.1.44 17 | 18 | 19 | 20 | 21 | org.apache.httpcomponents 22 | httpclient 23 | 4.3.6 24 | 25 | 26 | org.springframework.boot 27 | spring-boot-starter-web 28 | ${spring.boot.version} 29 | 30 | 31 | log4j-over-slf4j 32 | org.slf4j 33 | 34 | 35 | org.springframework.boot 36 | spring-boot-starter-logging 37 | 38 | 39 | org.springframework.boot 40 | spring-boot-starter-tomcat 41 | 42 | 43 | 44 | 45 | 46 | org.mongodb 47 | mongo-java-driver 48 | 3.3.0 49 | 50 | 51 | 52 | org.springframework.boot 53 | spring-boot-starter-test 54 | ${spring.boot.version} 55 | test 56 | 57 | 58 | org.mybatis.spring.boot 59 | mybatis-spring-boot-starter 60 | 1.3.1 61 | 62 | 63 | 64 | com.googlecode.juniversalchardet 65 | 66 | juniversalchardet 67 | 68 | 1.0.3 69 | 70 | 71 | 72 | 73 | 74 | 75 | org.kie.modules 76 | 77 | org-apache-commons-httpclient 78 | 79 | 6.2.0.CR2 80 | 81 | pom 82 | 83 | 84 | 85 | 86 | 87 | 88 | org.jsoup 89 | 90 | jsoup 91 | 92 | 1.10.3 93 | 94 | 95 | 96 | 97 | org.apache.phoenix 98 | phoenix-core 99 | ${phoenix.version} 100 | 107 | 108 | 109 | jdk.tools 110 | jdk.tools 111 | 1.7 112 | system 113 | ${JAVA_HOME}/lib/tools.jar 114 | 115 | 116 | junit 117 | junit 118 | 4.11 119 | test 120 | 121 | 122 | 123 | org.apache.commons 124 | commons-lang3 125 | 3.4 126 | 127 | 128 | org.apache.hive 129 | hive-jdbc 130 | 1.2.1 131 | 132 | 133 | org.eclipse.jetty.aggregate 134 | jetty-all 135 | 136 | 137 | org.apache.hive 138 | hive-shims 139 | 140 | 141 | 142 | 143 | 144 | mysql 145 | mysql-connector-java 146 | ${mysql.version} 147 | 148 | 149 | 150 | 151 | 152 | org.apache.maven.plugins 153 | maven-compiler-plugin 154 | 155 | 1.8 156 | 1.8 157 | 158 | 159 | 160 | org.apache.maven.plugins 161 | maven-war-plugin 162 | 163 | false 164 | 165 | 3.0.0 166 | 167 | 168 | 169 | org.apache.maven.plugins 170 | maven-clean-plugin 171 | 172 | 173 | clean 174 | pre-clean 175 | 176 | clean 177 | 178 | 179 | src/main/webapp/WEB-INF/lib 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 |
    -------------------------------------------------------------------------------- /Web/Plugins/layui/lay/modules/upload.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define("layer",function(e){"use strict";var i=layui.$,t=layui.layer,n=layui.hint(),a=layui.device(),o={config:{},set:function(e){var t=this;return t.config=i.extend({},t.config,e),t},on:function(e,i){return layui.onevent.call(this,r,e,i)}},l=function(){var e=this;return{upload:function(i){e.upload.call(e,i)},config:e.config}},r="upload",u="layui-upload-file",c="layui-upload-form",f="layui-upload-iframe",s="layui-upload-choose",p=function(e){var t=this;t.config=i.extend({},t.config,o.config,e),t.render()};p.prototype.config={accept:"images",exts:"",auto:!0,bindAction:"",url:"",field:"file",method:"post",data:{},drag:!0,size:0,number:0,multiple:!1},p.prototype.render=function(e){var t=this,e=t.config;e.elem=i(e.elem),e.bindAction=i(e.bindAction),t.file(),t.events()},p.prototype.file=function(){var e=this,t=e.config,n=e.elemFile=i(['"].join("")),o=t.elem.next();(o.hasClass(u)||o.hasClass(c))&&o.remove(),a.ie&&a.ie<10&&t.elem.wrap('
    '),e.isFile()?(e.elemFile=t.elem,t.field=t.elem[0].name):t.elem.after(n),a.ie&&a.ie<10&&e.initIE()},p.prototype.initIE=function(){var e=this,t=e.config,n=i(''),a=i(['
    ',"
    "].join(""));i("#"+f)[0]||i("body").append(n),t.elem.next().hasClass(f)||(e.elemFile.wrap(a),t.elem.next("."+f).append(function(){var e=[];return layui.each(t.data,function(i,t){e.push('')}),e.join("")}()))},p.prototype.msg=function(e){return t.msg(e,{icon:2,shift:6})},p.prototype.isFile=function(){var e=this.config.elem[0];if(e)return"input"===e.tagName.toLocaleLowerCase()&&"file"===e.type},p.prototype.preview=function(e){var i=this;window.FileReader&&layui.each(i.chooseFiles,function(i,t){var n=new FileReader;n.readAsDataURL(t),n.onload=function(){e&&e(i,t,this.result)}})},p.prototype.upload=function(e,t){var n,o=this,l=o.config,r=o.elemFile[0],u=function(){var t=0,n=0,a=e||o.files||o.chooseFiles||r.files,u=function(){l.multiple&&t+n===o.fileLength&&"function"==typeof l.allDone&&l.allDone({total:o.fileLength,successful:t,aborted:n})};layui.each(a,function(e,a){var r=new FormData;r.append(l.field,a),layui.each(l.data,function(e,i){r.append(e,i)}),i.ajax({url:l.url,type:l.method,data:r,contentType:!1,processData:!1,dataType:"json",success:function(i){t++,d(e,i),u()},error:function(){n++,o.msg("请求上传接口出现异常"),m(e),u()}})})},c=function(){var e=i("#"+f);o.elemFile.parent().submit(),clearInterval(p.timer),p.timer=setInterval(function(){var i,t=e.contents().find("body");try{i=t.text()}catch(n){o.msg("获取上传后的响应信息出现异常"),clearInterval(p.timer),m()}i&&(clearInterval(p.timer),t.html(""),d(0,i))},30)},d=function(e,i){if(o.elemFile.next("."+s).remove(),r.value="","object"!=typeof i)try{i=JSON.parse(i)}catch(t){return i={},o.msg("请对上传接口返回有效JSON")}"function"==typeof l.done&&l.done(i,e||0,function(e){o.upload(e)})},m=function(e){l.auto&&(r.value=""),"function"==typeof l.error&&l.error(e||0,function(e){o.upload(e)})},h=l.exts,v=function(){var i=[];return layui.each(e||o.chooseFiles,function(e,t){i.push(t.name)}),i}(),g={preview:function(e){o.preview(e)},upload:function(e,i){var t={};t[e]=i,o.upload(t)},pushFile:function(){return o.files=o.files||{},layui.each(o.chooseFiles,function(e,i){o.files[e]=i}),o.files}},y=function(){return"choose"===t?l.choose&&l.choose(g):(l.before&&l.before(g),a.ie?a.ie>9?u():c():void u())};if(v=0===v.length?r.value.match(/[^\/\\]+\..+/g)||[]||"":v,0!==v.length){switch(l.accept){case"file":if(h&&!RegExp("\\w\\.("+h+")$","i").test(escape(v)))return o.msg("选择的文件中包含不支持的格式"),r.value="";break;case"video":if(!RegExp("\\w\\.("+(h||"avi|mp4|wma|rmvb|rm|flash|3gp|flv")+")$","i").test(escape(v)))return o.msg("选择的视频中包含不支持的格式"),r.value="";break;case"audio":if(!RegExp("\\w\\.("+(h||"mp3|wav|mid")+")$","i").test(escape(v)))return o.msg("选择的音频中包含不支持的格式"),r.value="";break;default:if(layui.each(v,function(e,i){RegExp("\\w\\.("+(h||"jpg|png|gif|bmp|jpeg$")+")","i").test(escape(i))||(n=!0)}),n)return o.msg("选择的图片中包含不支持的格式"),r.value=""}if(o.fileLength=function(){var i=0,t=e||o.files||o.chooseFiles||r.files;return layui.each(t,function(){i++}),i}(),l.number&&o.fileLength>l.number)return o.msg("同时最多只能上传的数量为:"+l.number);if(l.size>0&&!(a.ie&&a.ie<10)){var F;if(layui.each(o.chooseFiles,function(e,i){if(i.size>1024*l.size){var t=l.size/1024;t=t>=1?Math.floor(t)+(t%1>0?t.toFixed(1):0)+"MB":l.size+"KB",r.value="",F=t}}),F)return o.msg("文件不能超过"+F)}y()}},p.prototype.events=function(){var e=this,t=e.config,o=function(i){e.chooseFiles={},layui.each(i,function(i,t){var n=(new Date).getTime();e.chooseFiles[n+"-"+i]=t})},l=function(i,n){var a=e.elemFile,o=i.length>1?i.length+"个文件":(i[0]||{}).name||a[0].value.match(/[^\/\\]+\..+/g)||[]||"";a.next().hasClass(s)&&a.next().remove(),e.upload(null,"choose"),e.isFile()||t.choose||a.after(''+o+"")};t.elem.off("upload.start").on("upload.start",function(){var a=i(this),o=a.attr("lay-data");if(o)try{o=new Function("return "+o)(),e.config=i.extend({},t,o)}catch(l){n.error("Upload element property lay-data configuration item has a syntax error: "+o)}e.config.item=a,e.elemFile[0].click()}),a.ie&&a.ie<10||t.elem.off("upload.over").on("upload.over",function(){var e=i(this);e.attr("lay-over","")}).off("upload.leave").on("upload.leave",function(){var e=i(this);e.removeAttr("lay-over")}).off("upload.drop").on("upload.drop",function(n,a){var r=i(this),u=a.originalEvent.dataTransfer.files||[];r.removeAttr("lay-over"),o(u),t.auto?e.upload(u):l(u)}),e.elemFile.off("upload.change").on("upload.change",function(){var i=this.files||[];o(i),t.auto?e.upload():l(i)}),t.bindAction.off("upload.action").on("upload.action",function(){e.upload()}),t.elem.data("haveEvents")||(e.elemFile.on("change",function(){i(this).trigger("upload.change")}),t.elem.on("click",function(){e.isFile()||i(this).trigger("upload.start")}),t.drag&&t.elem.on("dragover",function(e){e.preventDefault(),i(this).trigger("upload.over")}).on("dragleave",function(e){i(this).trigger("upload.leave")}).on("drop",function(e){e.preventDefault(),i(this).trigger("upload.drop",e)}),t.bindAction.on("click",function(){i(this).trigger("upload.action")}),t.elem.data("haveEvents",!0))},o.render=function(e){var i=new p(e);return l.call(i)},e(r,o)}); -------------------------------------------------------------------------------- /Web/Plugins/layui/lay/modules/element.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(i){"use strict";var t=layui.$,a=(layui.hint(),layui.device()),e="element",l="layui-this",n="layui-show",s=function(){this.config={}};s.prototype.set=function(i){var a=this;return t.extend(!0,a.config,i),a},s.prototype.on=function(i,t){return layui.onevent.call(this,e,i,t)},s.prototype.tabAdd=function(i,a){var e=".layui-tab-title",l=t(".layui-tab[lay-filter="+i+"]"),n=l.children(e),s=n.children(".layui-tab-bar"),o=l.children(".layui-tab-content"),c='
  • '+(a.title||"unnaming")+"
  • ";return s[0]?s.before(c):n.append(c),o.append('
    '+(a.content||"")+"
    "),y.hideTabMore(!0),y.tabAuto(),this},s.prototype.tabDelete=function(i,a){var e=".layui-tab-title",l=t(".layui-tab[lay-filter="+i+"]"),n=l.children(e),s=n.find('>li[lay-id="'+a+'"]');return y.tabDelete(null,s),this},s.prototype.tabChange=function(i,a){var e=".layui-tab-title",l=t(".layui-tab[lay-filter="+i+"]"),n=l.children(e),s=n.find('>li[lay-id="'+a+'"]');return y.tabClick.call(s[0],null,null,s),this},s.prototype.tab=function(i){i=i||{},v.on("click",i.headerElem,function(a){var e=t(this).index();y.tabClick.call(this,a,e,null,i)})},s.prototype.progress=function(i,a){var e="layui-progress",l=t("."+e+"[lay-filter="+i+"]"),n=l.find("."+e+"-bar"),s=n.find("."+e+"-text");return n.css("width",a),s.text(a),this};var o=".layui-nav",c="layui-nav-item",r="layui-nav-bar",u="layui-nav-tree",d="layui-nav-child",h="layui-nav-more",f="layui-anim layui-anim-upbit",y={tabClick:function(i,a,s,o){o=o||{};var c=s||t(this),a=a||c.parent().children("li").index(c),r=o.headerElem?c.parent():c.parents(".layui-tab").eq(0),u=o.bodyElem?t(o.bodyElem):r.children(".layui-tab-content").children(".layui-tab-item"),d=c.find("a"),h=r.attr("lay-filter");"javascript:;"!==d.attr("href")&&"_blank"===d.attr("target")||(c.addClass(l).siblings().removeClass(l),u.eq(a).addClass(n).siblings().removeClass(n)),layui.event.call(this,e,"tab("+h+")",{elem:r,index:a})},tabDelete:function(i,a){var n=a||t(this).parent(),s=n.index(),o=n.parents(".layui-tab").eq(0),c=o.children(".layui-tab-content").children(".layui-tab-item"),r=o.attr("lay-filter");n.hasClass(l)&&(n.next()[0]?y.tabClick.call(n.next()[0],null,s+1):n.prev()[0]&&y.tabClick.call(n.prev()[0],null,s-1)),n.remove(),c.eq(s).remove(),setTimeout(function(){y.tabAuto()},50),layui.event.call(this,e,"tabDelete("+r+")",{elem:o,index:s})},tabAuto:function(){var i="layui-tab-more",e="layui-tab-bar",l="layui-tab-close",n=this;t(".layui-tab").each(function(){var s=t(this),o=s.children(".layui-tab-title"),c=(s.children(".layui-tab-content").children(".layui-tab-item"),'lay-stope="tabmore"'),r=t('');if(n===window&&8!=a.ie&&y.hideTabMore(!0),s.attr("lay-allowClose")&&o.find("li").each(function(){var i=t(this);if(!i.find("."+l)[0]){var a=t('');a.on("click",y.tabDelete),i.append(a)}}),o.prop("scrollWidth")>o.outerWidth()+1){if(o.find("."+e)[0])return;o.append(r),s.attr("overflow",""),r.on("click",function(t){o[this.title?"removeClass":"addClass"](i),this.title=this.title?"":"收缩"})}else o.find("."+e).remove(),s.removeAttr("overflow")})},hideTabMore:function(i){var a=t(".layui-tab-title");i!==!0&&"tabmore"===t(i.target).attr("lay-stope")||(a.removeClass("layui-tab-more"),a.find(".layui-tab-bar").attr("title",""))},clickThis:function(){var i=t(this),a=i.parents(o),n=a.attr("lay-filter"),s=i.find("a"),c="string"==typeof i.attr("lay-unselect");i.find("."+d)[0]||("javascript:;"!==s.attr("href")&&"_blank"===s.attr("target")||c||(a.find("."+l).removeClass(l),i.addClass(l)),layui.event.call(this,e,"nav("+n+")",i))},clickChild:function(){var i=t(this),a=i.parents(o),n=a.attr("lay-filter");a.find("."+l).removeClass(l),i.addClass(l),layui.event.call(this,e,"nav("+n+")",i)},showChild:function(){var i=t(this),a=i.parents(o),e=i.parent(),l=i.siblings("."+d);a.hasClass(u)&&(l.removeClass(f),e["none"===l.css("display")?"addClass":"removeClass"](c+"ed"))},collapse:function(){var i=t(this),a=i.find(".layui-colla-icon"),l=i.siblings(".layui-colla-content"),s=i.parents(".layui-collapse").eq(0),o=s.attr("lay-filter"),c="none"===l.css("display");if("string"==typeof s.attr("lay-accordion")){var r=s.children(".layui-colla-item").children("."+n);r.siblings(".layui-colla-title").children(".layui-colla-icon").html(""),r.removeClass(n)}l[c?"addClass":"removeClass"](n),a.html(c?"":""),layui.event.call(this,e,"collapse("+o+")",{title:i,content:l,show:c})}};s.prototype.init=function(i,e){var l=function(){return e?'[lay-filter="'+e+'"]':""}(),s={tab:function(){y.tabAuto.call({})},nav:function(){var i=200,e={},s={},p={},v=function(l,o,c){var r=t(this),y=r.find("."+d);o.hasClass(u)?l.css({top:r.position().top,height:r.children("a").height(),opacity:1}):(y.addClass(f),l.css({left:r.position().left+parseFloat(r.css("marginLeft")),top:r.position().top+r.height()-l.height()}),e[c]=setTimeout(function(){l.css({width:r.width(),opacity:1})},a.ie&&a.ie<10?0:i),clearTimeout(p[c]),"block"===y.css("display")&&clearTimeout(s[c]),s[c]=setTimeout(function(){y.addClass(n),r.find("."+h).addClass(h+"d")},300))};t(o+l).each(function(a){var l=t(this),o=t(''),f=l.find("."+c);l.find("."+r)[0]||(l.append(o),f.on("mouseenter",function(){v.call(this,o,l,a)}).on("mouseleave",function(){l.hasClass(u)||(clearTimeout(s[a]),s[a]=setTimeout(function(){l.find("."+d).removeClass(n),l.find("."+h).removeClass(h+"d")},300))}),l.on("mouseleave",function(){clearTimeout(e[a]),p[a]=setTimeout(function(){l.hasClass(u)?o.css({height:0,top:o.position().top+o.height()/2,opacity:0}):o.css({width:0,left:o.position().left+o.width()/2,opacity:0})},i)})),f.each(function(){var i=t(this),a=i.find("."+d);if(a[0]&&!i.find("."+h)[0]){var e=i.children("a");e.append('')}i.off("click",y.clickThis).on("click",y.clickThis),i.children("a").off("click",y.showChild).on("click",y.showChild),a.children("dd").off("click",y.clickChild).on("click",y.clickChild)})})},breadcrumb:function(){var i=".layui-breadcrumb";t(i+l).each(function(){var i=t(this),a="lay-separator",e=i.attr(a)||"/",l=i.find("a");l.next("span["+a+"]")[0]||(l.each(function(i){i!==l.length-1&&t(this).after(""+e+"")}),i.css("visibility","visible"))})},progress:function(){var i="layui-progress";t("."+i+l).each(function(){var a=t(this),e=a.find(".layui-progress-bar"),l=e.attr("lay-percent");e.css("width",function(){return/^.+\/.+$/.test(l)?100*new Function("return "+l)()+"%":l}()),a.attr("lay-showPercent")&&setTimeout(function(){e.html(''+l+"")},350)})},collapse:function(){var i="layui-collapse";t("."+i+l).each(function(){var i=t(this).find(".layui-colla-item");i.each(function(){var i=t(this),a=i.find(".layui-colla-title"),e=i.find(".layui-colla-content"),l="none"===e.css("display");a.find(".layui-colla-icon").remove(),a.append(''+(l?"":"")+""),a.off("click",y.collapse).on("click",y.collapse)})})}};return s[i]?s[i]():layui.each(s,function(i,t){t()})},s.prototype.render=s.prototype.init;var p=new s,v=t(document);p.render();var b=".layui-tab-title li";v.on("click",b,y.tabClick),v.on("click",y.hideTabMore),t(window).on("resize",y.tabAuto),i(e,p)}); -------------------------------------------------------------------------------- /Web/Plugins/layui/css/modules/laydate/default/laydate.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | .laydate-set-ym,.layui-laydate,.layui-laydate *,.layui-laydate-list{box-sizing:border-box}html #layuicss-laydate{display:none;position:absolute;width:1989px}.layui-laydate *{margin:0;padding:0}.layui-laydate{position:absolute;z-index:66666666;margin:5px 0;border-radius:2px;font-size:14px;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:laydate-upbit;animation-name:laydate-upbit}.layui-laydate-main{width:272px}.layui-laydate-content td,.layui-laydate-header *,.layui-laydate-list li{transition-duration:.3s;-webkit-transition-duration:.3s}@-webkit-keyframes laydate-upbit{from{-webkit-transform:translate3d(0,20px,0);opacity:.3}to{-webkit-transform:translate3d(0,0,0);opacity:1}}@keyframes laydate-upbit{from{transform:translate3d(0,20px,0);opacity:.3}to{transform:translate3d(0,0,0);opacity:1}}.layui-laydate-static{position:relative;z-index:0;display:inline-block;margin:0;-webkit-animation:none;animation:none}.laydate-ym-show .laydate-next-m,.laydate-ym-show .laydate-prev-m{display:none!important}.laydate-ym-show .laydate-next-y,.laydate-ym-show .laydate-prev-y{display:inline-block!important}.laydate-time-show .laydate-set-ym span[lay-type=month],.laydate-time-show .laydate-set-ym span[lay-type=year],.laydate-time-show .layui-laydate-header .layui-icon,.laydate-ym-show .laydate-set-ym span[lay-type=month]{display:none!important}.layui-laydate-header{position:relative;line-height:30px;padding:10px 70px 5px}.laydate-set-ym span,.layui-laydate-header i{padding:0 5px;cursor:pointer}.layui-laydate-header *{display:inline-block;vertical-align:bottom}.layui-laydate-header i{position:absolute;top:10px;color:#999;font-size:18px}.layui-laydate-header i.laydate-prev-y{left:15px}.layui-laydate-header i.laydate-prev-m{left:45px}.layui-laydate-header i.laydate-next-y{right:15px}.layui-laydate-header i.laydate-next-m{right:45px}.laydate-set-ym{width:100%;text-align:center;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.laydate-time-text{cursor:default!important}.layui-laydate-content{position:relative;padding:10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.layui-laydate-content table{border-collapse:collapse;border-spacing:0}.layui-laydate-content td,.layui-laydate-content th{width:36px;height:30px;padding:5px;text-align:center}.layui-laydate-content td{position:relative;cursor:pointer}.laydate-day-mark{position:absolute;left:0;top:0;width:100%;height:100%;line-height:30px;font-size:12px;overflow:hidden}.laydate-day-mark::after{position:absolute;content:'';right:2px;top:2px;width:5px;height:5px;border-radius:50%}.layui-laydate-footer{position:relative;height:46px;line-height:26px;padding:10px 20px}.layui-laydate-footer span{margin-right:15px;display:inline-block;cursor:pointer;font-size:12px}.layui-laydate-footer span:hover{color:#5FB878}.laydate-footer-btns{position:absolute;right:10px;top:10px}.laydate-footer-btns span{height:26px;line-height:26px;margin:0 0 0 -1px;padding:0 10px;border:1px solid #C9C9C9;background-color:#fff;white-space:nowrap;vertical-align:top;border-radius:2px}.layui-laydate-list>li,.layui-laydate-range .layui-laydate-main{display:inline-block;vertical-align:middle}.layui-laydate-list{position:absolute;left:0;top:0;width:100%;height:100%;padding:10px;background-color:#fff}.layui-laydate-list>li{position:relative;width:33.3%;height:36px;line-height:36px;margin:3px 0;text-align:center;cursor:pointer}.laydate-month-list>li{width:25%;margin:17px 0}.laydate-time-list>li{height:100%;margin:0;line-height:normal;cursor:default}.laydate-time-list p{position:relative;top:-4px;line-height:29px}.laydate-time-list ol{height:181px;overflow:hidden}.laydate-time-list>li:hover ol{overflow-y:auto}.laydate-time-list ol li{width:130%;padding-left:33px;line-height:30px;text-align:left;cursor:pointer}.layui-laydate-hint{position:absolute;top:115px;left:50%;width:250px;margin-left:-125px;line-height:20px;padding:15px;text-align:center;font-size:12px}.layui-laydate-range{width:546px}.layui-laydate-range .laydate-main-list-0 .laydate-next-m,.layui-laydate-range .laydate-main-list-0 .laydate-next-y,.layui-laydate-range .laydate-main-list-1 .laydate-prev-m,.layui-laydate-range .laydate-main-list-1 .laydate-prev-y{display:none}.layui-laydate-range .laydate-main-list-1 .layui-laydate-content{border-left:1px solid #e2e2e2}.layui-laydate,.layui-laydate-hint{border:1px solid #d2d2d2;box-shadow:0 2px 4px rgba(0,0,0,.12);background-color:#fff;color:#666}.layui-laydate-header{border-bottom:1px solid #e2e2e2}.layui-laydate-header i:hover,.layui-laydate-header span:hover{color:#5FB878}.layui-laydate-content{border-top:none 0;border-bottom:none 0}.layui-laydate-content th{font-weight:400;color:#333}.layui-laydate-content td{color:#666}.layui-laydate-content td.laydate-selected{background-color:#00F7DE}.laydate-selected:hover{background-color:#00F7DE!important}.layui-laydate-content td:hover,.layui-laydate-list li:hover{background-color:#eaeaea;color:#333}.laydate-time-list li ol{margin:0;padding:0;border:1px solid #e2e2e2;border-left-width:0}.laydate-time-list li:first-child ol{border-left-width:1px}.laydate-time-list>li:hover{background:0 0}.layui-laydate-content .laydate-day-next,.layui-laydate-content .laydate-day-prev{color:#d2d2d2}.laydate-selected.laydate-day-next,.laydate-selected.laydate-day-prev{background-color:#f8f8f8!important}.layui-laydate-footer{border-top:1px solid #e2e2e2}.layui-laydate-hint{color:#FF5722}.laydate-day-mark::after{background-color:#5FB878}.layui-laydate-content td.layui-this .laydate-day-mark::after{display:none}.layui-laydate-footer span[lay-type=date]{color:#5FB878}.layui-laydate .layui-this{background-color:#009688!important;color:#fff!important}.layui-laydate .laydate-disabled,.layui-laydate .laydate-disabled:hover{background:0 0!important;color:#d2d2d2!important;cursor:not-allowed!important;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.laydate-theme-molv{border:none}.laydate-theme-molv.layui-laydate-range{width:548px}.laydate-theme-molv .layui-laydate-main{width:274px}.laydate-theme-molv .layui-laydate-header{border:none;background-color:#009688}.laydate-theme-molv .layui-laydate-header i,.laydate-theme-molv .layui-laydate-header span{color:#f6f6f6}.laydate-theme-molv .layui-laydate-header i:hover,.laydate-theme-molv .layui-laydate-header span:hover{color:#fff}.laydate-theme-molv .layui-laydate-content{border:1px solid #e2e2e2;border-top:none;border-bottom:none}.laydate-theme-molv .laydate-main-list-1 .layui-laydate-content{border-left:none}.laydate-theme-grid .laydate-month-list>li,.laydate-theme-grid .laydate-year-list>li,.laydate-theme-grid .layui-laydate-content td,.laydate-theme-grid .layui-laydate-content thead,.laydate-theme-molv .layui-laydate-footer{border:1px solid #e2e2e2}.laydate-theme-grid .laydate-selected,.laydate-theme-grid .laydate-selected:hover{background-color:#f2f2f2!important;color:#009688!important}.laydate-theme-grid .laydate-selected.laydate-day-next,.laydate-theme-grid .laydate-selected.laydate-day-prev{color:#d2d2d2!important}.laydate-theme-grid .laydate-month-list,.laydate-theme-grid .laydate-year-list{margin:1px 0 0 1px}.laydate-theme-grid .laydate-month-list>li,.laydate-theme-grid .laydate-year-list>li{margin:0 -1px -1px 0}.laydate-theme-grid .laydate-year-list>li{height:43px;line-height:43px}.laydate-theme-grid .laydate-month-list>li{height:71px;line-height:71px} -------------------------------------------------------------------------------- /Web/Plugins/layui/lay/modules/form.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define("layer",function(e){"use strict";var t=layui.$,i=layui.layer,a=layui.hint(),n=layui.device(),l="form",r=".layui-form",s="layui-this",o="layui-hide",u="layui-disabled",c=function(){this.config={verify:{required:[/[\S]+/,"必填项不能为空"],phone:[/^1\d{10}$/,"请输入正确的手机号"],email:[/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/,"邮箱格式不正确"],url:[/(^#)|(^http(s*):\/\/[^\s]+\.[^\s]+)/,"链接格式不正确"],number:function(e){if(!e||isNaN(e))return"只能填写数字"},date:[/^(\d{4})[-\/](\d{1}|0\d{1}|1[0-2])([-\/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/,"日期格式不正确"],identity:[/(^\d{15}$)|(^\d{17}(x|X|\d)$)/,"请输入正确的身份证号"]}}};c.prototype.set=function(e){var i=this;return t.extend(!0,i.config,e),i},c.prototype.verify=function(e){var i=this;return t.extend(!0,i.config.verify,e),i},c.prototype.on=function(e,t){return layui.onevent.call(this,l,e,t)},c.prototype.render=function(e,i){var n=this,c=t(r+function(){return i?'[lay-filter="'+i+'"]':""}()),d={select:function(){var e,i="请选择",a="layui-form-select",n="layui-select-title",r="layui-select-none",d="",f=c.find("select"),y=function(i,l){t(i.target).parent().hasClass(n)&&!l||(t("."+a).removeClass(a+"ed "+a+"up"),e&&d&&e.val(d)),e=null},h=function(i,c,f){var h=t(this),p=i.find("."+n),m=p.find("input"),k=i.find("dl"),g=k.children("dd");if(!c){var x=function(){var e=i.offset().top+i.outerHeight()+5-v.scrollTop(),t=k.outerHeight();i.addClass(a+"ed"),g.removeClass(o),e+t>v.height()&&e>=t&&i.addClass(a+"up")},b=function(e){i.removeClass(a+"ed "+a+"up"),m.blur(),e||C(m.val(),function(e){e&&(d=k.find("."+s).html(),m&&m.val(d))})};p.on("click",function(e){i.hasClass(a+"ed")?b():(y(e,!0),x()),k.find("."+r).remove()}),p.find(".layui-edge").on("click",function(){m.focus()}),m.on("keyup",function(e){var t=e.keyCode;9===t&&x()}).on("keydown",function(e){var t=e.keyCode;9===t?b():13===t&&e.preventDefault()});var C=function(e,i,a){var n=0;layui.each(g,function(){var i=t(this),l=i.text(),r=l.indexOf(e)===-1;(""===e||"blur"===a?e!==l:r)&&n++,"keyup"===a&&i[r?"addClass":"removeClass"](o)});var l=n===g.length;return i(l),l},w=function(e){var t=this.value,i=e.keyCode;return 9!==i&&13!==i&&37!==i&&38!==i&&39!==i&&40!==i&&(C(t,function(e){e?k.find("."+r)[0]||k.append('

    无匹配项

    '):k.find("."+r).remove()},"keyup"),void(""===t&&k.find("."+r).remove()))};f&&m.on("keyup",w).on("blur",function(t){e=m,d=k.find("."+s).html(),setTimeout(function(){C(m.val(),function(e){d||m.val("")},"blur")},200)}),g.on("click",function(){var e=t(this),a=e.attr("lay-value"),n=h.attr("lay-filter");return!e.hasClass(u)&&(e.hasClass("layui-select-tips")?m.val(""):(m.val(e.text()),e.addClass(s)),e.siblings().removeClass(s),h.val(a).removeClass("layui-form-danger"),layui.event.call(this,l,"select("+n+")",{elem:h[0],value:a,othis:i}),b(!0),!1)}),i.find("dl>dt").on("click",function(e){return!1}),t(document).off("click",y).on("click",y)}};f.each(function(e,l){var r=t(this),o=r.next("."+a),c=this.disabled,d=l.value,f=t(l.options[l.selectedIndex]),y=l.options[0];if("string"==typeof r.attr("lay-ignore"))return r.show();var v="string"==typeof r.attr("lay-search"),p=y?y.value?i:y.innerHTML||i:i,m=t(['
    ','
    ','
    ','
    '+function(e){var t=[];return layui.each(e,function(e,a){0!==e||a.value?"optgroup"===a.tagName.toLowerCase()?t.push("
    "+a.label+"
    "):t.push('
    '+a.innerHTML+"
    "):t.push('
    '+(a.innerHTML||i)+"
    ")}),0===t.length&&t.push('
    没有选项
    '),t.join("")}(r.find("*"))+"
    ","
    "].join(""));o[0]&&o.remove(),r.after(m),h.call(this,m,c,v)})},checkbox:function(){var e={checkbox:["layui-form-checkbox","layui-form-checked","checkbox"],_switch:["layui-form-switch","layui-form-onswitch","switch"]},i=c.find("input[type=checkbox]"),a=function(e,i){var a=t(this);e.on("click",function(){var t=a.attr("lay-filter"),n=(a.attr("lay-text")||"").split("|");a[0].disabled||(a[0].checked?(a[0].checked=!1,e.removeClass(i[1]).find("em").text(n[1])):(a[0].checked=!0,e.addClass(i[1]).find("em").text(n[0])),layui.event.call(a[0],l,i[2]+"("+t+")",{elem:a[0],value:a[0].value,othis:e}))})};i.each(function(i,n){var l=t(this),r=l.attr("lay-skin"),s=(l.attr("lay-text")||"").split("|"),o=this.disabled;"switch"===r&&(r="_"+r);var c=e[r]||e.checkbox;if("string"==typeof l.attr("lay-ignore"))return l.show();var d=l.next("."+c[0]),f=t(['
    ',{_switch:""+((n.checked?s[0]:s[1])||"")+""}[r]||(n.title.replace(/\s/g,"")?""+n.title+"":"")+''+(r?"":"")+"","
    "].join(""));d[0]&&d.remove(),l.after(f),a.call(this,f,c)})},radio:function(){var e="layui-form-radio",i=["",""],a=c.find("input[type=radio]"),n=function(a){var n=t(this),s="layui-anim-scaleSpring";a.on("click",function(){var o=n[0].name,u=n.parents(r),c=n.attr("lay-filter"),d=u.find("input[name="+o.replace(/(\.|#|\[|\])/g,"\\$1")+"]");n[0].disabled||(layui.each(d,function(){var a=t(this).next("."+e);this.checked=!1,a.removeClass(e+"ed"),a.find(".layui-icon").removeClass(s).html(i[1])}),n[0].checked=!0,a.addClass(e+"ed"),a.find(".layui-icon").addClass(s).html(i[0]),layui.event.call(n[0],l,"radio("+c+")",{elem:n[0],value:n[0].value,othis:a}))})};a.each(function(a,l){var r=t(this),s=r.next("."+e),o=this.disabled;if("string"==typeof r.attr("lay-ignore"))return r.show();s[0]&&s.remove();var c=t(['
    ',''+i[l.checked?0:1]+"","
    "+function(){var e=l.title||"";return"string"==typeof r.next().attr("lay-radio")&&(e=r.next().html(),r.next().remove()),e}()+"
    ","
    "].join(""));r.after(c),n.call(this,c)})}};return e?d[e]?d[e]():a.error("不支持的"+e+"表单渲染"):layui.each(d,function(e,t){t()}),n};var d=function(){var e=t(this),a=f.config.verify,s=null,o="layui-form-danger",u={},c=e.parents(r),d=c.find("*[lay-verify]"),y=e.parents("form")[0],v=c.find("input,select,textarea"),h=e.attr("lay-filter");if(layui.each(d,function(e,l){var r=t(this),u=r.attr("lay-verify").split("|"),c=r.attr("lay-verType"),d=r.val();if(r.removeClass(o),layui.each(u,function(e,t){var u,f="",y="function"==typeof a[t];if(a[t]){var u=y?f=a[t](d,l):!a[t][0].test(d);if(f=f||a[t][1],u)return"tips"===c?i.tips(f,function(){return"string"==typeof r.attr("lay-ignore")||"select"!==l.tagName.toLowerCase()&&!/^checkbox|radio$/.test(l.type)?r:r.next()}(),{tips:1}):"alert"===c?i.alert(f,{title:"提示",shadeClose:!0}):i.msg(f,{icon:5,shift:6}),n.android||n.ios||l.focus(),r.addClass(o),s=!0}}),s)return s}),s)return!1;var p={};return layui.each(v,function(e,t){if(t.name=(t.name||"").replace(/^\s*|\s*&/,""),t.name){if(/^.*\[\]$/.test(t.name)){var i=t.name.match(/^(.*)\[\]$/g)[0];p[i]=0|p[i],t.name=t.name.replace(/^(.*)\[\]$/,"$1["+p[i]++ +"]")}/^checkbox|radio$/.test(t.type)&&!t.checked||(u[t.name]=t.value)}}),layui.event.call(this,l,"submit("+h+")",{elem:this,form:y,field:u})},f=new c,y=t(document),v=t(window);f.render(),y.on("reset",r,function(){var e=t(this).attr("lay-filter");setTimeout(function(){f.render(null,e)},50)}),y.on("submit",r,d).on("click","*[lay-submit]",d),e(l,f)}); -------------------------------------------------------------------------------- /Web/model/propMoney/propMoneyList.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 物业缴费列表 8 | 9 | 140 | 141 | 142 | 143 |
    144 |
    返回首页
    145 |
    146 |

    物业缴费列表

    147 | 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 | 182 | 183 | 184 |
    住宅地址费用类型缴纳额度/元录入时间操作
    177 |
    178 | 179 | 180 |
    181 |
    185 |
    186 | 暂无数据! 187 |
    188 |
    189 | 190 | 191 | 192 | 193 | 194 | 295 | 296 | 297 | -------------------------------------------------------------------------------- /Web/model/ownerData/ownerData.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 业主信息单 7 | 8 | 9 | 10 | 11 | 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 | 125 |
    126 | 127 |
    128 | 129 |
    130 |
    131 |
    132 | 133 | 134 |
    135 |
    136 |
    137 | 138 | 139 | 140 | 141 | 262 | 263 | 264 | 265 | -------------------------------------------------------------------------------- /Web/model/equRepair/equRepairList.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 物件报修列表 8 | 9 | 140 | 141 | 142 | 143 |
    144 |
    返回首页
    145 |
    146 |

    物件报修列表

    147 | 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 | 182 | 183 | 184 |
    住宅地址物件描述维修费用/元录入时间操作
    177 |
    178 | 179 | 180 |
    181 |
    185 |
    186 | 暂无数据! 187 |
    188 |
    189 | 190 | 191 | 192 | 193 | 194 | 295 | 296 | 297 | --------------------------------------------------------------------------------