"use strict";
Object.defineProperty(exports, "__esModule", {
  value: !0
});
var userColumns = [{
  title: "用户名",
  dataIndex: "userName",
  query: !(exports.userColumns = void 0),
  required: !0,
  primary: !0,
  st: "text",
  key: "userName",
  width: "18%"
}, {
  title: "所属单位",
  dataIndex: "companyName",
  query: !0,
  required: !0,
  primary: !0,
  st: "text",
  key: "companyName",
  width: "15%",
  render: function(e, t) {
    return t && t.company ? t.company.companyName : ""
  }
}, {
  title: "所属部门",
  dataIndex: "department",
  key: "department",
  width: "15%",
  render: function(e) {
    return e ? e.departmentName : ""
  }
}, {
  title: "角色",
  dataIndex: "role",
  key: "role",
  width: "15%",
  render: function(e) {
    return e ? e.name : ""
  }
}, {
  title: "手机/固定电话",
  dataIndex: "contact",
  key: "contact",
  width: "15%"
}, {
  title: "用户状态",
  dataIndex: "enabled",
  query: !0,
  required: !0,
  primary: !0,
  st: "list",
  list: ["启用", "禁用"],
  key: "enabled",
  width: "15%",
  render: function(e) {
    return e ? "启用" : "禁用"
  }
}];
exports.userColumns = userColumns;
