树形表单数据权限配置

最后更新于:2022-04-02 07:20:00

Online树形表单数据权限 === >[info] version`2.2` ##### 以online的测试表单为例 #### 1.进入online的树形表单页面 ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/14/e7/14e7b8c6dd0f8b2dd1108167a55f0a33_1881x862.png) #### 2.拿到上图ID:86444ab0418f4653acc3b515a508c02b 配置权限菜单: ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/26/0d/260dbe9f34aacba7e8cd29c6e148749f_800x616.png) > #### 此处有两点注意(如上图圈圈): #### a.菜单类型选择:按钮/权限 类型 #### b.菜单路径配置为: /online/cgform/api/getTreeData/ + 上图中拿到的字符串 > #### 3.配置菜单数据规则(此处配置一个的数据规则:筛选性别为男性的数据) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/b9/69/b9696204df121458c3b258029b2d83be_1586x283.png) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/05/1c/051c90491d4261fc68a6e9386c89f576_1233x494.png) #### 4.菜单授权(先勾选菜单保存后再操作菜单的数据权限) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/ac/8b/ac8b78ddc64d8068258e35891700e1eb_1865x790.png) #### 5.重新进入列表页面,测试结果如下: ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/f1/db/f1db1813394604d1b0c8c5d215cae5c8_1608x682.png)
';