import React, { Component } from "react"; import { WeaRightMenu, WeaTableEdit, WeaTop } from "ecCom"; import { Button } from "antd"; import { i18n } from "../../public/i18n"; class ColumnPermission extends Component { getTopMenuBtns = () => { return [ ]; }; getDropMenuDatas = () => { return [ { key: "add", icon: , content: "调整" } ]; }; render() { const columns = [ { title: "栏目", dataIndex: "column", key: "column", com: [ { label: "", type: "TEXT", viewAttr: 1, key: "column" } ] }, { title: "是否启用", dataIndex: "isused", key: "isused", com: [ { type: "CHECKBOX", key: "isused", viewAttr: 1, } ] }, { title: "所有人可见", dataIndex: "all", key: "all", com: [ { type: "CHECKBOX", key: "all" } ] }, { title: "上级可见", dataIndex: "highVisible", key: "highVisible", com: [ { type: "CHECKBOX", key: "highVisible" } ] }, { title: "所有上级可见", dataIndex: "allVisible", key: "allVisible", com: [ { type: "CHECKBOX", key: "allVisible" } ] }, { title: "查看自定义", dataIndex: "customRole", key: "customRole", com: [ { label: "", type: "TEXT", viewAttr: 1, key: "customRole" } ] } ]; const datas = [ { id: "1", column: "基本信息", isused: false, all: false, highVisible: true, allVisible: false, customRole: "角色1", } ]; return (