1、进入栏目管理配置

{
  "mkey": "bo-app-config-system",
  "field": "manager",
  "moulesShow": [
    "table",
    "action"
  ],
  "modulesHide": [
    "form"
  ],
  "position": "tab",
  "class": "el-icon-unlock",
  "menuClass": "nav-menu__all",
  "attrs": {
    "label": "应用系统"
  },
  "popup": {
    "component": "bs-table"
  },
  "tab": {
    "component": "bs-table"
  },
  "query": {
    "removeActions": "add,edit,detail,up,down,history,detail,ocr,del,check,import,export,refresh,search,popedom,api"
  }
}

2、生效参数
removeActions
filterRemoves
3、配置代码逻辑说明
\RG3.Web.Host.PaaS\Config\Bridge\basis\bridge_global-actions.json

   //#region 处理1对多情况,关系表直接进入页面移除功能
    if (params.removeActions && !params.filterRemoves && dataT.menuFunc && dataT.menuFunc.actions) {
        dataT.menuFunc.actions = dataT.menuFunc.actions.filter(temp => !params.removeActions.split(',').includes(temp));
    }
    //#endregion 处理1对多情况,关系表直接进入页面移除功能
文档更新时间: 2023-01-23 20:50   作者:admin