EasyUi and jQuery analog admin page

Consolidated text columns

  1. Background page layout analysis

Preliminary easyui-layout layout display

Code

 

2. To achieve the menu bar and add a tab

(1) preparing menu to load menu

(2) add a tab

a) binding to the menu bar to add an event

b) to add the page to show the tab class = "easyui-tabs"

c) adding method, and determine whether there is the menu tab, if there would not have been added

d) determining whether the subset of the parent directory or

3. Click on the menu to achieve load data (forms)

(1) how to load data in an iframe tags (add data within a given range)

content:"<iframe frameborder=0 style='width:100%;height:100%' src='"+node.url+"'></iframe>"

frameborder adaptive Border

(2) Click event will load employee.html, this page has to load the data (here we employee.json)

 a) adding the path

b) formatter object is loaded and department head

4. Add button

(1) add an event to the button

(2) A method of packaging all the attributes of the object

5. Advanced Search

(1) introduced into the data packet acquisition jquery.jdirk.js

(2) loading the data

6 Remove Features

(1) to obtain the number of rows click event

() To determine whether to delete

7. Add Features

 

8 write data back

(1) Hide Password box

(2) write-back data

 

Guess you like

Origin www.cnblogs.com/13438145925xiaozheng/p/11223526.html