"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: !0
}), exports.companyColumns = void 0;

var _react = _interopRequireDefault(require("react")), companyColumns = function(e) {
  return [ {
    title: "单位名称",
    dataIndex: "companyName",
    query: !0,
    required: !0,
    primary: !0,
    st: "text",
    key: "companyName",
    width: "30%",
    render: function(e, r) {
      var t = "tree-td-children";
      return r.children && 0 === r.children.length && (t = "tree-td-children-empty"), 
      _react.default.createElement("span", {
        className: t
      }, e);
    }
  }, {
    title: "单位描述",
    dataIndex: "description",
    key: "description",
    width: "60%"
  } ];
};

exports.companyColumns = companyColumns;