Objective: In order to complete changes made in the form of actions to adapt to certain conditions of the table, such as: Table single and double line data show different operational bars, etc.)
In the operation bar defines a Toolbar (behind the template IDs we want to write), JS is completed.
Defines the operational template, which is the template syntax of the Layui, how to write can be referred to: https : //www.layui.com/doc/modules/laytpl.html
The role of this template is:
D is the ginseng of the representative graphs, D.FileType is represented as a column data in the table data; So it is added together to display the following operational column as a column value is equal to TXT or JPG.