About this project implementation:
Using Angularjs+php+mysql to realize the interaction of data, realizing the interface of the system through bootstrap, using jquery to realize the small function of date, etc.
The middle part of the above system is done using the Angularjs Routing config module, the benefit is that the content is in different pages during the switching process, navigation belongs to the main page does not change
Config code block
. config (function ($routeProvider) {$routeProvider. When ("/qicai", { templateurl: "qicai.html", Controller: " Qicai "}). When ("/hetong ", { templateurl:" hetong.html ", Controller:" Hetong "}). When ("/songhuodan ", { Templateurl: "songhuodan.html", Controller: "Songhuodan"}). When ("/tjnewhetong", { templateurl: " Tjnewhetong.html ", Controller:" Tjnewhetong "}). Otherwise ({ //redirect Redirectto:" Qicai " });})
All data sources are implemented using Angularjs+php+mysql, using Ng-repeat to traverse the data returned from PHP
<tbody><tr ng-repeat= "I in Data" > <td>{{i.id}}</td> <td>{{i.name}}</td> <td >{{i.price}}</td> <td>{{i.gname}}</td> <td>{{i.qdate}}</td> <td class= " Text-center "> <input type=" button "class=" btn btn-info "data-toggle=" modal "data-target=" #info "value=" Modify "Ng-cl ick= "SELECT (i)"/> <input type= "button" class= "btn Btn-danger" data-toggle= "modal" data-target= "#delete" value= " Delete " ng-click=" Delete (i) "/> </td></tr></tbody>
Fire equipment System