The invention discloses a
big data tree form component method realized based on an AngularJS framework. The method comprises the following steps: defining data formats transmitted at the front end and the rear end of a tree table; defining an
HTML display template, namely a DOM structure, of the tree table;
processing tree data by the native js, and exposing basic parameter configuration and a user-defined interface; adopting an AngularJS framework to carry out component packaging to form an instruction, and displaying the instruction. The method has the advantages that 1, the tree table realized based on the AngularJS framework can simultaneously obtain the advantages of the framework; 2, the
system is a relatively perfect front-end MV * framework, and comprises all functions of data bidirectional binding, routing, modularization, service, filter,
dependency injection and the like; 3, a user-defined instruction is more flexible than a jQuery plug-in; 4, ng modularization boldly introduces some things of
Java (depending on injection), reusable codes can be easily written out, and the method is very helpful for agile development teams, 5, simplicity and convenience are achieved; 6, rolling data loading is supported, the method is used for
big data table display, and experience and performance are better.