"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.taskStatusIcon = exports.isHavePermission = void 0;

var _bsGlobal = require("../../utils/bs-global");

var userInfo = (0, _bsGlobal.getBSGlobal)("loginUserInfo") || {};
var isHavePermission = userInfo.IsRoot && userInfo.Role != 4 || userInfo.IsBoss || userInfo.IsOkrManager;
exports.isHavePermission = isHavePermission;
var taskStatusIcon = {
  0: "tu-icon-notstart",
  // 未开始
  1: "tu-icon-running",
  // 进行中
  2: "tu-icon-finished",
  // 已结束
  3: "tu-icon-deferred",
  // 已延迟
  4: "tu-icon-canceled",
  // 已取消
  6: "tu-icon-paused" // 暂停中

};
exports.taskStatusIcon = taskStatusIcon;