api1.1.1 standard tree API for 1.1 trees
Single-Selection tree:
Select a person API
- GetId ();//user ID
- GetName ();//user name
- GetType ();//tree node type
- Getloginname ();//User login name
- Getsingleinfor ();//tree node information, you can pass parameters: User or department or workgroup, the default is "user" when not transmitting parameters, for example: "User: After the election of this method return value such as: [{type:" user ", ID:" 4 ", Name:" Li Goyang ", LoginName:" Ligeyang ", ParentType:" Board office to ", ParentName:" department "}], which contains user ID, user name, user login name, The user's Department and department ID, and then take relevant information as required.
Multiple Tree selection:
Select a person API
- GetIDs ();//user ID
- GetNames ();//user name
- Getloginnames ();//User login name
- Getinfos ();//tree node information, you can pass parameters: User or department or workgroup, the default is "user" when not transmitting parameters, for example: "User: After the election of this method return value such as: [{type:" user ", ID:" 4 ", Name: "Li Goyang", LoginName: "Ligeyang", ParentType: "Board office to", ParentName: "department"}], which contains user ID, user name, user login, user Department and Department ID , and then take relevant information as needed.
- Getuserinfos ();//tree node information
- Gettreetype ();//Tree type
- GetTypes ();//tree node type
1.1.2 Tag Tree API
Single-Selection tree:
Select a person API
GetInfo ();//tree node information, you can pass parameters: User or department or workgroup, the default is "user" when not transmitting parameters, for example: "User: After the election of this method return value such as: [{type:" user ", ID:" 4 ", name : "Li Goyang", LoginName: "Ligeyang", ParentType: "Board office to", ParentName: "department"}], which contains user ID, user name, user login, user Department and Department ID, Then take the relevant information according to the requirements.
- GetId ();//user ID
- GetType ();//tree node type
- Clicktree ();//Click Tree Node Event
- GetName ();//user name
- Getloginname ();//User login name
Multiple Tree selection:
Select a person API
GetInfo ();//tree node information, you can pass parameters: User or department or workgroup, the default is "user" when not transmitting parameters, for example: "User: After the election of this method return value such as: [{type:" user ", ID:" 4 ", name : "Li Goyang", LoginName: "Ligeyang", ParentType: "Board office to", ParentName: "department"}], which contains user ID, user name, user login, user Department and Department ID, Then take the relevant information according to the requirements.
- GetIDs ();//user ID
- GetNames ();//user name
- Getloginnames ();//User login name
Note: The multi-select tree API is called, and the user information in the return value is separated by commas.
Imatrix6.0.0.rc1demo Demo Login Address: Http://demo.imatrix.net.cn:8888/imatrix
If you have problems using Imatrix platform, please login to the Imatrix Platform forum for Consultation:
http://bbs.imatrix.net.cn/forum.php?mod=forumdisplay&fid=37
Or join the buckle group 307599527