Fire equipment System

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.