The application discloses a kind of each type
data filling and display method of power
system, method includes: according to the
tree structure of power
plant organization structure, tree-shaped
JSON data is constructed, tree-shaped indentation and free contraction expansion display are realized by the Table component of element-ui, according to different business needs, the index of power
system is dynamically configured, and the front end can dynamically display relevant index information according to different business index data, and the back end constructs a complete tree-shaped
json table structure data according to different organization structure level and the index data obtained, and the front end shows according to the data returned by the back end, and the front end shows data table, can present different UI effects according to the extension information of index, there is
text display, digital display, time display, file display and rich
text display, and whether
cell can be edited or filled in can be determined according to the state of
cell.The method realizes the
flexible display and filling editing of various types of index data of power
system.