@titaui/pc 1.15.89 → 1.15.90-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/lib/components/avatar/name-avatar/index.css +1 -1
  2. package/lib/components/avatar/text-avatar/index.css +1 -1
  3. package/lib/components/book-demo/components/pc/components/content/index.js +8 -6
  4. package/lib/components/book-demo/components/pc/index.js +22 -18
  5. package/lib/components/book-demo/constant.js +115 -0
  6. package/lib/components/book-demo/interface.js +1 -0
  7. package/lib/components/change-okr-modal/Filter.js +3 -1
  8. package/lib/components/change-okr-modal/Item.js +3 -1
  9. package/lib/components/common-share/publishMblog.js +3 -1
  10. package/lib/components/common-share/request-apis.js +4 -2
  11. package/lib/components/communication/style.js +1 -1
  12. package/lib/components/confidence/index.css +4 -4
  13. package/lib/components/create-okr-modal/fields/index.css +6 -6
  14. package/lib/components/create-okr-modal/fields/okr-classify.js +3 -1
  15. package/lib/components/create-okr-modal/fields/okr-new-user-selector.js +4 -1
  16. package/lib/components/create-okr-modal/fields/okr-type.js +3 -1
  17. package/lib/components/create-okr-modal/index.css +6 -6
  18. package/lib/components/create-okr-modal/index.js +3 -1
  19. package/lib/components/create-okr-modal/kr-items/index.css +3 -3
  20. package/lib/components/create-okr-modal/request-api.js +4 -2
  21. package/lib/components/create-okr-modal/utils/helper.js +3 -1
  22. package/lib/components/dialog/index.css +2 -2
  23. package/lib/components/dialog-confirm/index.css +5 -5
  24. package/lib/components/dialog-confirm/index.js +3 -1
  25. package/lib/components/dynamic/components/comments-dialog/api.js +4 -2
  26. package/lib/components/dynamic/dynamic-item/components/okr-progress/index.js +11 -6
  27. package/lib/components/dynamic/dynamic-item/components/schedule/index.css +8 -0
  28. package/lib/components/dynamic/dynamic-item/components/schedule/index.js +34 -7
  29. package/lib/components/dynamic/dynamic-item/components/summary-header/index.js +0 -1
  30. package/lib/components/dynamic/dynamic-item/components/table-row-okr/utils.js +2 -0
  31. package/lib/components/dynamic/dynamic-item/components/task-progress/index.js +3 -2
  32. package/lib/components/dynamic/dynamic-item/components/task-progress/render-row.js +8 -2
  33. package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/dynamic-footer.js +4 -2
  34. package/lib/components/dynamic/dynamic-item/dynamic-align/index.css +1 -1
  35. package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.css +1 -1
  36. package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.css +1 -1
  37. package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.css +1 -1
  38. package/lib/components/dynamic/dynamic-item/dynamic-discovery/dynamic-footer.js +4 -2
  39. package/lib/components/dynamic/dynamic-item/dynamic-interview-share/index.js +3 -1
  40. package/lib/components/dynamic/dynamic-item/dynamic-kr/index.css +1 -1
  41. package/lib/components/dynamic/dynamic-item/dynamic-learning/index.js +3 -1
  42. package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +1 -1
  43. package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.css +1 -1
  44. package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.js +3 -1
  45. package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/index.css +1 -1
  46. package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/index.css +1 -1
  47. package/lib/components/dynamic/dynamic-item/dynamic-progress/index.css +1 -1
  48. package/lib/components/dynamic/dynamic-item/dynamic-project/index.css +1 -1
  49. package/lib/components/dynamic/dynamic-item/dynamic-relative/index.css +1 -1
  50. package/lib/components/dynamic/dynamic-item/dynamic-reply/index.css +1 -1
  51. package/lib/components/dynamic/dynamic-item/dynamic-report/index.css +1 -1
  52. package/lib/components/dynamic/dynamic-item/dynamic-reward/index.css +1 -1
  53. package/lib/components/dynamic/dynamic-item/dynamic-share/index.css +1 -1
  54. package/lib/components/dynamic/dynamic-item/dynamic-share/index.js +3 -1
  55. package/lib/components/dynamic/dynamic-item/dynamic-task/index.css +1 -1
  56. package/lib/components/dynamic/dynamic-item/index.css +2 -2
  57. package/lib/components/dynamic/dynamic-item/index.js +4 -2
  58. package/lib/components/dynamic/dynamic-list/index.css +1 -1
  59. package/lib/components/dynamic/request-api.js +3 -1
  60. package/lib/components/e-priority/index.css +4 -4
  61. package/lib/components/eReport/eReportListEmpty.js +1 -1
  62. package/lib/components/eReport/eReportLists/style.js +2 -2
  63. package/lib/components/eReport/eReportShare/index.js +3 -1
  64. package/lib/components/edit-kr-wight/style/index.js +5 -5
  65. package/lib/components/emotions-selector/style.js +1 -1
  66. package/lib/components/ereport-list/style.js +2 -2
  67. package/lib/components/file-list/index.css +1 -1
  68. package/lib/components/form/form-fields/cycle/index.css +1 -1
  69. package/lib/components/form/form-fields/department/index.css +2 -2
  70. package/lib/components/form/form-fields/dropdown/index.js +2 -2
  71. package/lib/components/form/form-fields/duties/index.css +2 -2
  72. package/lib/components/form/form-fields/input/index.css +6 -2
  73. package/lib/components/form/form-fields/input/index.js +9 -7
  74. package/lib/components/form/form-fields/input-verification-code/index.css +2 -2
  75. package/lib/components/form/form-fields/password/index.css +2 -2
  76. package/lib/components/form/form-fields/textarea/index.css +2 -2
  77. package/lib/components/form/form-fields/user/index.css +2 -2
  78. package/lib/components/grid-layout/commen-components/index.css +1 -1
  79. package/lib/components/grid-layout/personal-info/index.js +4 -4
  80. package/lib/components/grid-layout/sub-employee-okr/index.js +3 -1
  81. package/lib/components/grid-layout/util/network.js +4 -2
  82. package/lib/components/grid-page/personal-info/index.js +4 -4
  83. package/lib/components/guide-tip/index.js +4 -1
  84. package/lib/components/help-card/index.js +3 -1
  85. package/lib/components/help-card/request-api.js +4 -2
  86. package/lib/components/hr-header/index.js +4 -2
  87. package/lib/components/img-viewer/index.css +1 -1
  88. package/lib/components/import-modal/helper.js +1 -1
  89. package/lib/components/import-modal/request-api.js +6 -2
  90. package/lib/components/import-modal/search/search-dropdown/index.css +1 -1
  91. package/lib/components/import-modal/tree/okr-tree/search-form.js +2 -2
  92. package/lib/components/import-modal/tree/task-work-tree/index.js +3 -1
  93. package/lib/components/import-modal/tree-node/kr-node/index.css +1 -1
  94. package/lib/components/import-modal/tree-node/milestone-node/index.css +1 -1
  95. package/lib/components/import-modal/tree-node/work-node/index.js +3 -1
  96. package/lib/components/magnet/index.js +5 -0
  97. package/lib/components/mblog/index.js +3 -1
  98. package/lib/components/menus/components/menu-card/index.js +3 -1
  99. package/lib/components/menus/export-modules/appraisal-menus/menus.js +7 -5
  100. package/lib/components/menus/export-modules/okr-menus/menus.js +3 -1
  101. package/lib/components/menus/export-modules/okr-menus/subordinate-menus/index.js +3 -1
  102. package/lib/components/menus/export-modules/research-menu/index.css +9 -0
  103. package/lib/components/menus/export-modules/research-menu/index.js +120 -0
  104. package/lib/components/menus/export-modules/research-menu/menu-highlight.js +44 -0
  105. package/lib/components/menus/export-modules/research-menu/menus.js +78 -0
  106. package/lib/components/menus/export-modules/research-menu/research-front-menus.js +158 -0
  107. package/lib/components/menus/export-modules/skynet-dashboard-menu/index.css +9 -0
  108. package/lib/components/menus/export-modules/skynet-dashboard-menu/index.js +120 -0
  109. package/lib/components/menus/export-modules/skynet-dashboard-menu/menu-highlight.js +52 -0
  110. package/lib/components/menus/export-modules/skynet-dashboard-menu/menus.js +80 -0
  111. package/lib/components/menus/export-modules/skynet-dashboard-menu/request-api.js +5 -0
  112. package/lib/components/menus/export-modules/skynet-dashboard-menu/survey-front-menus.js +178 -0
  113. package/lib/components/menus/export-modules/summary-menus/menu-highlight.js +8 -0
  114. package/lib/components/menus/export-modules/summary-menus/menus.js +13 -2
  115. package/lib/components/menus/export-modules/summary-menus/request-api.js +8 -2
  116. package/lib/components/menus/export-modules/summary-menus/subordinate-menus/index.js +3 -1
  117. package/lib/components/menus/export-modules/summary-menus/summary-front-menus.js +30 -8
  118. package/lib/components/menus/i18n.js +1 -0
  119. package/lib/components/menus/index.js +12 -0
  120. package/lib/components/menus/request-apis.js +4 -2
  121. package/lib/components/nav-top/components/app-center/images/research.png +0 -0
  122. package/lib/components/nav-top/components/app-center/index.css +11 -3
  123. package/lib/components/nav-top/components/app-center/index.js +13 -5
  124. package/lib/components/nav-top/components/menu/index.css +1 -1
  125. package/lib/components/nav-top/index.css +1 -1
  126. package/lib/components/nav-top/index.js +21 -11
  127. package/lib/components/nav-top/request.apis.js +6 -5
  128. package/lib/components/nav-top/utils.js +1 -1
  129. package/lib/components/okr-detail/base-info/base-info.css +1 -1
  130. package/lib/components/okr-detail/base-info/base-info.js +11 -15
  131. package/lib/components/okr-detail/base-info/other-infos/classify/index.css +1 -1
  132. package/lib/components/okr-detail/base-info/other-infos/date-cycle/index.css +2 -2
  133. package/lib/components/okr-detail/base-info/other-infos/okr-type/index.css +1 -1
  134. package/lib/components/okr-detail/base-info/other-infos/principal/index.css +1 -1
  135. package/lib/components/okr-detail/base-info/other-infos/visibility/index.css +1 -1
  136. package/lib/components/okr-detail/components/ao-nice/index.css +1 -1
  137. package/lib/components/okr-detail/components/editable-input/index.css +1 -1
  138. package/lib/components/okr-detail/components/header/index.css +7 -7
  139. package/lib/components/okr-detail/components/icon-text/index.css +1 -1
  140. package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.css +4 -4
  141. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/index.css +7 -7
  142. package/lib/components/okr-detail/components/okr-tree/tree-node/index.css +1 -1
  143. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.css +2 -2
  144. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +3 -1
  145. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +1 -1
  146. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.css +3 -3
  147. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +3 -1
  148. package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.css +1 -1
  149. package/lib/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.css +1 -1
  150. package/lib/components/okr-detail/components/score/index.css +1 -1
  151. package/lib/components/okr-detail/detail-footer/index.js +3 -1
  152. package/lib/components/okr-detail/detail-header/actions.js +3 -3
  153. package/lib/components/okr-detail/detail-header/index.js +3 -1
  154. package/lib/components/okr-detail/e-list/search-form/index.css +2 -2
  155. package/lib/components/okr-detail/index.js +6 -2
  156. package/lib/components/okr-detail/okr-list/empty/index.css +2 -2
  157. package/lib/components/okr-detail/okr-list/index.css +4 -4
  158. package/lib/components/okr-detail/request-apis.js +3 -1
  159. package/lib/components/okr-detail/schedule/components/detail-title/index.css +1 -1
  160. package/lib/components/okr-detail/schedule/components/kr-progress/index.css +2 -2
  161. package/lib/components/okr-detail/schedule/components/o-progress/index.css +7 -7
  162. package/lib/components/okr-detail/schedule/components/o-progress/index.js +6 -2
  163. package/lib/components/okr-detail/schedule/components/sub-o-progress/index.css +1 -1
  164. package/lib/components/okr-detail/schedule/components/title/index.css +1 -1
  165. package/lib/components/okr-detail/schedule/util.js +3 -1
  166. package/lib/components/okr-excel/setting.js +6 -4
  167. package/lib/components/okr-filter-drawer/filter-form.js +3 -1
  168. package/lib/components/okr-flow/child-node/index.css +2 -2
  169. package/lib/components/okr-flow/empty/index.css +1 -1
  170. package/lib/components/okr-flow/open-data/index.js +3 -1
  171. package/lib/components/okr-flow/request-apis.js +4 -2
  172. package/lib/components/okr-flow/utils/config.js +7 -3
  173. package/lib/components/okr-guide/index.css +15 -17
  174. package/lib/components/okr-guide/index.js +3 -1
  175. package/lib/components/okr-progress/components/detail-title/index.css +1 -1
  176. package/lib/components/okr-progress/components/kr-progress/index.css +2 -2
  177. package/lib/components/okr-progress/components/o-progress/index.css +7 -7
  178. package/lib/components/okr-progress/components/o-progress/index.js +6 -2
  179. package/lib/components/okr-progress/components/sub-o-progress/index.css +1 -1
  180. package/lib/components/okr-progress/components/title/index.css +1 -1
  181. package/lib/components/okr-progress/util.js +3 -1
  182. package/lib/components/okr-progress-detail/index.css +1 -1
  183. package/lib/components/okr-progress-modal/index.css +2 -2
  184. package/lib/components/okr-progress-modal/request-apis.js +4 -2
  185. package/lib/components/okr-review/common.js +1 -1
  186. package/lib/components/okr-share/publishMblog.js +3 -1
  187. package/lib/components/okr-share/request-apis.js +4 -2
  188. package/lib/components/okrcase-library/index.css +1 -1
  189. package/lib/components/okrcase-library/index.js +3 -1
  190. package/lib/components/operation-records/index.js +56 -8
  191. package/lib/components/order-have-award/index.js +6 -2
  192. package/lib/components/part-notice/index.js +5 -1
  193. package/lib/components/password-input/index.css +1 -1
  194. package/lib/components/period-selector/helper/index.js +3 -1
  195. package/lib/components/photo-card/components/card/index.css +3 -3
  196. package/lib/components/photo-card/index.css +1 -1
  197. package/lib/components/point-demo/index.js +9 -7
  198. package/lib/components/point-demo/point-demo.js +5 -3
  199. package/lib/components/promise-confirm/index.js +3 -2
  200. package/lib/components/search-dropdown/index.css +1 -1
  201. package/lib/components/select-layer/index.css +1 -1
  202. package/lib/components/select-tags/index.js +5 -3
  203. package/lib/components/status-time/index.css +1 -1
  204. package/lib/components/stop-taking-modal/index.js +3 -1
  205. package/lib/components/superset-charts/utils/axios.js +4 -2
  206. package/lib/components/survey-model/index.js +7 -7
  207. package/lib/components/survey-model/instance.js +4 -2
  208. package/lib/components/switch/index.css +1 -1
  209. package/lib/components/tabs/index.css +1 -1
  210. package/lib/components/task-relation-modal/helper.js +1 -1
  211. package/lib/components/task-relation-modal/okr-relation/relation-task-model/search-form.js +2 -2
  212. package/lib/components/task-relation-modal/okr-relation/request-api.js +3 -1
  213. package/lib/components/task-relation-modal/okr-relation/tree/task-tree/index.js +3 -1
  214. package/lib/components/task-relation-modal/request-api.js +3 -1
  215. package/lib/components/task-relation-modal/search/search-dropdown/index.css +1 -1
  216. package/lib/components/task-relation-modal/tree/category-tree/index.css +3 -3
  217. package/lib/components/task-relation-modal/tree/okr-tree/index.css +2 -2
  218. package/lib/components/task-relation-modal/tree/okr-tree/index.js +3 -1
  219. package/lib/components/task-relation-modal/tree/okr-tree/search-form.js +2 -2
  220. package/lib/components/task-relation-modal/tree/work-list/search-form.js +2 -2
  221. package/lib/components/task-relation-modal/tree/work-tree/index.css +2 -2
  222. package/lib/components/task-relation-modal/tree/work-tree/search-form.js +2 -2
  223. package/lib/components/task-relation-modal/tree-node/category-node/index.css +1 -1
  224. package/lib/components/task-relation-modal/tree-node/kr-node/index.css +1 -1
  225. package/lib/components/task-relation-modal/tree-node/milestone-node/index.css +1 -1
  226. package/lib/components/task-relation-modal/tree-node/work-node/index.js +3 -1
  227. package/lib/components/task-tree/task-item-node/index.css +5 -5
  228. package/lib/components/textarea/index.js +4 -2
  229. package/lib/components/tooltip/index.css +1 -1
  230. package/lib/components/upload/index.js +4 -2
  231. package/lib/components/upvote/request-apis.js +4 -2
  232. package/lib/components/user-selector/empty/group.js +4 -2
  233. package/lib/components/user-selector/request-apis.js +4 -2
  234. package/lib/components/version-change-modal/index.css +2 -2
  235. package/lib/components/version-change-modal/index.js +6 -2
  236. package/lib/components/video-modal/index.js +3 -1
  237. package/lib/components/weekly-report/card.js +9 -9
  238. package/lib/components/word-cloud/request-apis.js +4 -2
  239. package/lib/index.js +8 -0
  240. package/lib/pages/aha2021/index.js +9 -9
  241. package/lib/pages/appointment-demo/drop-down-box/index.css +1 -1
  242. package/lib/pages/appointment-demo/input/index.css +1 -1
  243. package/lib/pages/group-management/components/input-form/index.css +1 -1
  244. package/lib/pages/group-management/components/openData/index.js +9 -3
  245. package/lib/pages/group-management/groupInterface.js +10 -4
  246. package/lib/pages/group-management/page-view/importGroupStaff/index.js +5 -3
  247. package/lib/pages/group-management/page-view/index.css +1 -1
  248. package/lib/pages/like-ranking/index.js +3 -1
  249. package/lib/pages/new-okr-list/header/index.js +10 -4
  250. package/lib/pages/new-okr-list/index.js +2 -41
  251. package/lib/pages/okr-map/export-modules/okr-map/header/index.css +3 -3
  252. package/lib/pages/okr-map/export-modules/okr-map/index.css +1 -1
  253. package/lib/pages/okr-map/export-modules/share-okr-page/header/index.css +2 -2
  254. package/lib/pages/okr-map/export-modules/share-okr-page/index.css +1 -1
  255. package/lib/pages/okr-map/hooks/useStorage.js +3 -1
  256. package/lib/pages/okr-map/level2-search/index.css +1 -1
  257. package/lib/pages/okr-map/no-okr/index.css +1 -1
  258. package/lib/pages/okr-map/number-select/index.css +1 -1
  259. package/lib/pages/okr-map/open-data/index.js +3 -1
  260. package/lib/pages/okr-map/request-apis.js +4 -2
  261. package/lib/pages/okr-map/share-dialog/index.css +3 -3
  262. package/lib/pages/okr-map/unsupport-ie/index.css +1 -1
  263. package/lib/pages/okr-map/utils.js +10 -7
  264. package/lib/pages/personal-info/components/base-info/index.css +1 -1
  265. package/lib/pages/personal-info/components/person-photo/index.css +1 -1
  266. package/lib/utils/auth.js +22 -14
  267. package/lib/utils/bs-global.js +21 -8
  268. package/lib/utils/helpers.js +15 -5
  269. package/lib/utils/open-data.js +14 -6
  270. package/lib/utils/platform.js +15 -5
  271. package/lib/utils/request-v1.js +9 -3
  272. package/lib/utils/request.js +3 -3
  273. package/package.json +2 -3
@@ -11,6 +11,8 @@ var _request = require("../../utils/request");
11
11
 
12
12
  var _helper = require("./export-modules/okr-menus/depart-menus/helper");
13
13
 
14
+ var _window$BSGlobal$tena, _window$BSGlobal$logi;
15
+
14
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
17
 
16
18
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
@@ -25,8 +27,8 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
25
27
 
26
28
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
27
29
 
28
- var tenantId = window.BSGlobal && window.BSGlobal.tenantInfo.Id || 0;
29
- var userId = window.BSGlobal && window.BSGlobal.loginUserInfo.Id || 0;
30
+ var tenantId = window.BSGlobal && ((_window$BSGlobal$tena = window.BSGlobal.tenantInfo) === null || _window$BSGlobal$tena === void 0 ? void 0 : _window$BSGlobal$tena.Id) || 0;
31
+ var userId = window.BSGlobal && ((_window$BSGlobal$logi = window.BSGlobal.loginUserInfo) === null || _window$BSGlobal$logi === void 0 ? void 0 : _window$BSGlobal$logi.Id) || 0;
30
32
 
31
33
  var requestDomain = function requestDomain() {
32
34
  if (!window.location.hostname.match(/dev/)) return "";
@@ -9,7 +9,7 @@
9
9
  line-height: 38px;
10
10
  margin-bottom: 32px;
11
11
  font-weight: 500;
12
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
12
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
13
13
  }
14
14
 
15
15
  .app-center__app-list {
@@ -94,6 +94,10 @@
94
94
  background-image: url("./images/survey.svg");
95
95
  }
96
96
 
97
+ .app-center__app-item-icon--research {
98
+ background-image: url("./images/research.png");
99
+ }
100
+
97
101
  .app-center__app-item-desc {
98
102
  margin-top: 3px;
99
103
  margin-left: 44px;
@@ -105,7 +109,7 @@
105
109
  font-size: 16px;
106
110
  color: #141c28;
107
111
  line-height: 26px;
108
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
112
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
109
113
  display: flex;
110
114
  flex-direction: row;
111
115
  align-items: center;
@@ -135,7 +139,7 @@
135
139
 
136
140
  .app-center__app-item-sub-title {
137
141
  font-size: 14px;
138
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
142
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
139
143
  color: #89919f;
140
144
  line-height: 22px;
141
145
  margin-top: 4px;
@@ -193,6 +197,10 @@
193
197
  background-color: rgba(38, 216, 240, 0.1);
194
198
  }
195
199
 
200
+ .app-center__app-item--research:hover {
201
+ background-color: rgba(246, 189, 22, 0.16);
202
+ }
203
+
196
204
  .app-center__app-guide .titaui-pc__guide-tip__popup-triangle {
197
205
  left: 18%;
198
206
  top: -5px;
@@ -35,6 +35,8 @@ var _quickEntrance = _interopRequireDefault(require("../../../quick-entrance"));
35
35
 
36
36
  var _guideTip = _interopRequireDefault(require("../../../guide-tip"));
37
37
 
38
+ var _getLoginUserInfo, _getTenantInfo;
39
+
38
40
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
39
41
 
40
42
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -62,8 +64,8 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
62
64
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
63
65
 
64
66
  var precls = 'app-center';
65
- var userId = (0, _helpers.getLoginUserInfo)().Id;
66
- var isPerformance = (0, _helpers.getTenantInfo)().tenantType == 2;
67
+ var userId = (_getLoginUserInfo = (0, _helpers.getLoginUserInfo)()) === null || _getLoginUserInfo === void 0 ? void 0 : _getLoginUserInfo.Id;
68
+ var isPerformance = ((_getTenantInfo = (0, _helpers.getTenantInfo)()) === null || _getTenantInfo === void 0 ? void 0 : _getTenantInfo.tenantType) == 2;
67
69
  var noshowChangeVersion = (0, _platform.isFeishu)(true) && isPerformance;
68
70
 
69
71
  var AppCenter = function AppCenter(props) {
@@ -161,7 +163,9 @@ var AppCenter = function AppCenter(props) {
161
163
  };
162
164
 
163
165
  var getBookDemoVersion = function getBookDemoVersion() {
164
- var menuVersion = window.BSGlobal.tenantAuthentication.MenuVersion;
166
+ var _window$BSGlobal$tena2;
167
+
168
+ var menuVersion = (_window$BSGlobal$tena2 = window.BSGlobal.tenantAuthentication) === null || _window$BSGlobal$tena2 === void 0 ? void 0 : _window$BSGlobal$tena2.MenuVersion;
165
169
 
166
170
  if (menuVersion === _interface.ETrialVersion.OKR) {
167
171
  return _bookDemo["default"].DemoType.TryOKR;
@@ -254,13 +258,17 @@ var AppCenter = function AppCenter(props) {
254
258
  setSettingGuideVisible = _useState10[1];
255
259
 
256
260
  (0, _react.useEffect)(function () {
261
+ var _getLoginUserInfo2;
262
+
257
263
  if (noshowChangeVersion) return;
258
- var cacheIsKonw = localStorage.getItem("AppCenterSettingGuide_".concat((0, _helpers.getLoginUserInfo)().Id));
264
+ var cacheIsKonw = localStorage.getItem("AppCenterSettingGuide_".concat((_getLoginUserInfo2 = (0, _helpers.getLoginUserInfo)()) === null || _getLoginUserInfo2 === void 0 ? void 0 : _getLoginUserInfo2.Id));
259
265
  !cacheIsKonw && setSettingGuideVisible(true);
260
266
  }, []);
261
267
 
262
268
  var handleSettingGuideClose = function handleSettingGuideClose() {
263
- localStorage.setItem("AppCenterSettingGuide_".concat((0, _helpers.getLoginUserInfo)().Id), (0, _helpers.getLoginUserInfo)().Id);
269
+ var _getLoginUserInfo3, _getLoginUserInfo4;
270
+
271
+ localStorage.setItem("AppCenterSettingGuide_".concat((_getLoginUserInfo3 = (0, _helpers.getLoginUserInfo)()) === null || _getLoginUserInfo3 === void 0 ? void 0 : _getLoginUserInfo3.Id), (_getLoginUserInfo4 = (0, _helpers.getLoginUserInfo)()) === null || _getLoginUserInfo4 === void 0 ? void 0 : _getLoginUserInfo4.Id);
264
272
  setSettingGuideVisible(false);
265
273
  };
266
274
 
@@ -1,5 +1,5 @@
1
1
  .titaui-nav-top-menu {
2
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
2
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
3
3
  font-size: 16px;
4
4
  color: #ffffff;
5
5
  line-height: 54px;
@@ -7,7 +7,7 @@
7
7
  border-radius: 0px 0px 24px 24px;
8
8
  word-break: keep-all;
9
9
  white-space: nowrap;
10
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
10
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
11
11
  }
12
12
 
13
13
  .titaui-nav-top--position {
@@ -59,7 +59,7 @@ var _platform = require("../../utils/platform");
59
59
 
60
60
  require("./index.css");
61
61
 
62
- var _getBSGlobal, _getBSGlobal2;
62
+ var _getBSGlobal, _getTenantInfo, _getBSGlobal2;
63
63
 
64
64
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
65
65
 
@@ -83,7 +83,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
83
83
 
84
84
  var Role = new _auth.MyRole();
85
85
  var isTry = ((_getBSGlobal = (0, _bsGlobal.getBSGlobal)('tenantAuthentication')) === null || _getBSGlobal === void 0 ? void 0 : _getBSGlobal.Version) === 1;
86
- var isPerformance = (0, _bsGlobal.getTenantInfo)().tenantType == 2;
86
+ var isPerformance = ((_getTenantInfo = (0, _bsGlobal.getTenantInfo)()) === null || _getTenantInfo === void 0 ? void 0 : _getTenantInfo.tenantType) == 2;
87
87
  var noshowChangeVersion = (0, _platform.isFeishu)(true) && isPerformance;
88
88
  var staffCount = (_getBSGlobal2 = (0, _bsGlobal.getBSGlobal)('tenantInfo')) === null || _getBSGlobal2 === void 0 ? void 0 : _getBSGlobal2.StaffCount;
89
89
  var Logo = (0, _utils.getLogo)();
@@ -94,7 +94,7 @@ var hasOKRApp = newNavigation.find(function (item) {
94
94
  var preCls = 'titaui-nav-top';
95
95
 
96
96
  var NavTop = function NavTop() {
97
- var _classNames4;
97
+ var _getTenantInfo2, _getTenantInfo3, _classNames4;
98
98
 
99
99
  var isUseNewMenu = window.BSGlobal.isUseNewMenu;
100
100
 
@@ -164,10 +164,10 @@ var NavTop = function NavTop() {
164
164
  setInviteAuth = _useState24[1];
165
165
 
166
166
  var ua = navigator.userAgent.toLowerCase();
167
- var showWxInvite = (0, _bsGlobal.getTenantInfo)().mainCorpId && ua.indexOf('micromessenger') !== -1;
168
- var showMangeAdd = !(0, _bsGlobal.getTenantInfo)().mainCorpId && ua.indexOf('micromessenger') !== -1 && isTry && Role.isSuperManager; // const canShowInvite = getTenantInfo().mainCorpId || Role.isSuperManager
167
+ var showWxInvite = ((_getTenantInfo2 = (0, _bsGlobal.getTenantInfo)()) === null || _getTenantInfo2 === void 0 ? void 0 : _getTenantInfo2.mainCorpId) && ua.indexOf('micromessenger') !== -1;
168
+ var showMangeAdd = !((_getTenantInfo3 = (0, _bsGlobal.getTenantInfo)()) !== null && _getTenantInfo3 !== void 0 && _getTenantInfo3.mainCorpId) && ua.indexOf('micromessenger') !== -1 && isTry && Role.isSuperManager; // const canShowInvite = getTenantInfo()?.mainCorpId || Role.isSuperManager
169
169
  // const showWxInvite =
170
- // getTenantInfo().Source === 860 &&
170
+ // getTenantInfo()?.Source === 860 &&
171
171
  // ua.indexOf('micromessenger') !== -1 &&
172
172
  // isTry && canShowInvite
173
173
 
@@ -284,8 +284,10 @@ var NavTop = function NavTop() {
284
284
  };
285
285
  }, [menu]);
286
286
  (0, _react.useEffect)(function () {
287
+ var _window$BSGlobal$logi;
288
+
287
289
  if (noshowChangeVersion) return;
288
- var cacheIsKonw = localStorage.getItem("NewAppCenterGuide_".concat(window.BSGlobal.loginUserInfo.Id));
290
+ var cacheIsKonw = localStorage.getItem("NewAppCenterGuide_".concat((_window$BSGlobal$logi = window.BSGlobal.loginUserInfo) === null || _window$BSGlobal$logi === void 0 ? void 0 : _window$BSGlobal$logi.Id));
289
291
 
290
292
  if (cacheIsKonw) {
291
293
  setSummaryGuideVisible(false);
@@ -313,8 +315,10 @@ var NavTop = function NavTop() {
313
315
  };
314
316
 
315
317
  var handleCloseSummaryGuide = function handleCloseSummaryGuide() {
318
+ var _BSGlobal$loginUserIn;
319
+
316
320
  setSummaryGuideVisible(false);
317
- var loginUserId = BSGlobal.loginUserInfo.Id;
321
+ var loginUserId = (_BSGlobal$loginUserIn = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn === void 0 ? void 0 : _BSGlobal$loginUserIn.Id;
318
322
  var cacheIsKonw = localStorage.getItem("NewAppCenterGuide_".concat(loginUserId));
319
323
 
320
324
  if (!cacheIsKonw) {
@@ -323,8 +327,10 @@ var NavTop = function NavTop() {
323
327
  };
324
328
 
325
329
  var handleCloseVersionGuide = function handleCloseVersionGuide() {
330
+ var _BSGlobal$loginUserIn2;
331
+
326
332
  setVersionGuideVisible(false);
327
- var loginUserId = BSGlobal.loginUserInfo.Id;
333
+ var loginUserId = (_BSGlobal$loginUserIn2 = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn2 === void 0 ? void 0 : _BSGlobal$loginUserIn2.Id;
328
334
  var cacheIsKonw = localStorage.getItem("VersionGuide_".concat(loginUserId));
329
335
 
330
336
  if (!cacheIsKonw) {
@@ -347,7 +353,9 @@ var NavTop = function NavTop() {
347
353
  };
348
354
 
349
355
  var getBookDemoVersion = function getBookDemoVersion() {
350
- var menuVersion = window.BSGlobal.tenantAuthentication.MenuVersion;
356
+ var _window$BSGlobal$tena;
357
+
358
+ var menuVersion = (_window$BSGlobal$tena = window.BSGlobal.tenantAuthentication) === null || _window$BSGlobal$tena === void 0 ? void 0 : _window$BSGlobal$tena.MenuVersion;
351
359
 
352
360
  if (menuVersion === _interface.ETrialVersion.OKR) {
353
361
  return _bookDemo["default"].DemoType.TryOKR;
@@ -361,10 +369,12 @@ var NavTop = function NavTop() {
361
369
  };
362
370
 
363
371
  var asyncOpenBookDemoFun = function asyncOpenBookDemoFun() {
372
+ var _window$BSGlobal$logi2;
373
+
364
374
  setTimeout(function () {
365
375
  setBookDemoVisible(true);
366
376
  }, 1000 * 30);
367
- var cacheIsKonw = localStorage.getItem("VersionGuide_".concat(window.BSGlobal.loginUserInfo.Id));
377
+ var cacheIsKonw = localStorage.getItem("VersionGuide_".concat((_window$BSGlobal$logi2 = window.BSGlobal.loginUserInfo) === null || _window$BSGlobal$logi2 === void 0 ? void 0 : _window$BSGlobal$logi2.Id));
368
378
 
369
379
  if (cacheIsKonw) {
370
380
  setVersionGuideVisible(false);
@@ -9,13 +9,14 @@ var _axios = _interopRequireDefault(require("axios"));
9
9
 
10
10
  var _request = require("../../utils/request");
11
11
 
12
+ var _window$BSGlobal$tena, _window$BSGlobal$logi;
13
+
12
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
15
 
14
- /* eslint-disable default-case */
15
16
  // @ts-ignore
16
- var tenantId = window.BSGlobal && window.BSGlobal.tenantInfo.Id || 0; // @ts-ignore
17
+ var tenantId = window.BSGlobal && ((_window$BSGlobal$tena = window.BSGlobal.tenantInfo) === null || _window$BSGlobal$tena === void 0 ? void 0 : _window$BSGlobal$tena.Id) || 0; // @ts-ignore
17
18
 
18
- var userId = window.BSGlobal && window.BSGlobal.loginUserInfo.Id || 0;
19
+ var userId = window.BSGlobal && ((_window$BSGlobal$logi = window.BSGlobal.loginUserInfo) === null || _window$BSGlobal$logi === void 0 ? void 0 : _window$BSGlobal$logi.Id) || 0;
19
20
 
20
21
  var requestDomain = function requestDomain() {
21
22
  if (!window.location.hostname.match(/dev/)) return "";
@@ -83,8 +84,8 @@ var getMessages = function getMessages() {
83
84
  }, function (error) {
84
85
  var _error$response;
85
86
 
86
- if (error.response) {
87
- switch (error.response.status) {
87
+ if (error !== null && error !== void 0 && error.response) {
88
+ switch (error === null || error === void 0 ? void 0 : error.response.status) {
88
89
  case 401:
89
90
  window.location.reload();
90
91
  }
@@ -488,7 +488,7 @@ exports.getMenus = getMenus;
488
488
  var getLogo = function getLogo() {
489
489
  // 232637ab8a674427a1d6489329035d86_n 是老logo的路径,没法判断是否用户自定义过,所以只能这么硬核
490
490
  var tenantInfo = (0, _bsGlobal.getTenantInfo)();
491
- return tenantInfo.isNewIndex && /232637ab8a674427a1d6489329035d86_n/g.test(tenantInfo.Logo) || !tenantInfo.Logo ? _logoWhite["default"] : tenantInfo.Logo;
491
+ return tenantInfo !== null && tenantInfo !== void 0 && tenantInfo.isNewIndex && /232637ab8a674427a1d6489329035d86_n/g.test(tenantInfo === null || tenantInfo === void 0 ? void 0 : tenantInfo.Logo) || !(tenantInfo !== null && tenantInfo !== void 0 && tenantInfo.Logo) ? _logoWhite["default"] : tenantInfo === null || tenantInfo === void 0 ? void 0 : tenantInfo.Logo;
492
492
  };
493
493
 
494
494
  exports.getLogo = getLogo;
@@ -14,7 +14,7 @@
14
14
  font-weight: 600;
15
15
  color: #141c28;
16
16
  line-height: 22px;
17
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
17
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
18
18
  padding-left: 10px;
19
19
  }
20
20
 
@@ -140,7 +140,6 @@ var BaseInfo = function BaseInfo(_ref) {
140
140
  var oldGeneralRoleTypeRef = (0, _react.useRef)(generalRoleType);
141
141
  var loginUser = (0, _bsGlobal.getUserInfo)();
142
142
  var setting = (0, _bsGlobal.getOkrAdvancedSetting)().KRSetting;
143
- console.log(setting.TargetFollowers);
144
143
  (0, _react.useEffect)(function () {
145
144
  setOriginalDesc(okrInfo.description);
146
145
  }, [okrInfo]);
@@ -270,7 +269,7 @@ var BaseInfo = function BaseInfo(_ref) {
270
269
  (0, _requestApis.addUserRelation)(okrInfo.workId, type === 'participant' ? 2 : 3, reqData).then(function (resp) {
271
270
  if (resp.Code === 1) {
272
271
  if (data.userId === loginUser.Id) {
273
- setGeneralRoleType(type === 'participant' ? 2 : 3);
272
+ setGeneralRoleType(type === "participant" ? 2 : 3);
274
273
  } else {
275
274
  setGeneralRoleType(generalRoleType);
276
275
  }
@@ -387,11 +386,8 @@ var BaseInfo = function BaseInfo(_ref) {
387
386
  }, [generalPrincipalUser, okrInfo]); // 判断是否有权限和是否上面可编辑
388
387
 
389
388
  (0, _react.useEffect)(function () {
390
- var _okrInfo$authority, _okrInfo$aiteUsers;
391
-
392
- var canEditParticipantAndFollowers = canEditAllInfo || okrInfo.isParticipant || ((_okrInfo$authority = okrInfo.authority) === null || _okrInfo$authority === void 0 ? void 0 : _okrInfo$authority.roleRelation) && okrInfo.authority.roleRelation.roleType === 2 || !!((_okrInfo$aiteUsers = okrInfo.aiteUsers) !== null && _okrInfo$aiteUsers !== void 0 && _okrInfo$aiteUsers.find(function (item) {
393
- return (0, _bsGlobal.getUserInfo)().Id == item;
394
- }));
389
+ var inParticipant = (0, _util.findUser)(participant, loginUser.Id);
390
+ var canEditParticipantAndFollowers = canEditAllInfo || inParticipant;
395
391
  setCanEditPerson(!!canEditParticipantAndFollowers);
396
392
  }, [participant, canEditAllInfo]);
397
393
  (0, _react.useEffect)(function () {
@@ -414,14 +410,14 @@ var BaseInfo = function BaseInfo(_ref) {
414
410
  }
415
411
  } else if (generalRoleType === 3) {
416
412
  var follower = {
417
- name: loginUser.Name,
418
- id: loginUser.Id,
419
- email: loginUser.Email,
413
+ name: loginUser === null || loginUser === void 0 ? void 0 : loginUser.Name,
414
+ id: loginUser === null || loginUser === void 0 ? void 0 : loginUser.Id,
415
+ email: loginUser === null || loginUser === void 0 ? void 0 : loginUser.Email,
420
416
  avatar: {
421
- small: loginUser.UserAvatar.Small,
422
- medium: loginUser.UserAvatar.Medium,
423
- hasAvatar: loginUser.UserAvatar.HasAvatar,
424
- color: loginUser.UserAvatar.Color
417
+ small: loginUser === null || loginUser === void 0 ? void 0 : loginUser.UserAvatar.Small,
418
+ medium: loginUser === null || loginUser === void 0 ? void 0 : loginUser.UserAvatar.Medium,
419
+ hasAvatar: loginUser === null || loginUser === void 0 ? void 0 : loginUser.UserAvatar.HasAvatar,
420
+ color: loginUser === null || loginUser === void 0 ? void 0 : loginUser.UserAvatar.Color
425
421
  }
426
422
  };
427
423
  setFollowers([].concat(_toConsumableArray(followers), [follower]));
@@ -472,7 +468,7 @@ var BaseInfo = function BaseInfo(_ref) {
472
468
  canEdit: canEditPerson,
473
469
  onAddUser: handleAddUser,
474
470
  onDelUser: handleDelParticipantUser
475
- }))), setting.TargetFollowers && /*#__PURE__*/_react["default"].createElement("div", {
471
+ }))), (setting === null || setting === void 0 ? void 0 : setting.TargetFollowers) && /*#__PURE__*/_react["default"].createElement("div", {
476
472
  className: "base-info__person-block"
477
473
  }, !canEditFocusPerson && !canEditAllInfo && followers.length === 0 ? null : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("span", {
478
474
  className: "base-info__person-block-title"
@@ -1,5 +1,5 @@
1
1
  .base-info-other-infos__classify {
2
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
2
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
3
3
  margin-top: 12px;
4
4
  display: inline-block;
5
5
  box-sizing: border-box;
@@ -8,7 +8,7 @@
8
8
  align-items: center;
9
9
  box-sizing: border-box;
10
10
  cursor: pointer;
11
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
11
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
12
12
  transition: border 0.2s ease;
13
13
  background: #ffffff;
14
14
  }
@@ -41,7 +41,7 @@
41
41
  }
42
42
 
43
43
  .base-info-cycle-wrapper {
44
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
44
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
45
45
  display: inline-block;
46
46
  box-sizing: border-box;
47
47
  width: 50%;
@@ -39,7 +39,7 @@
39
39
  }
40
40
 
41
41
  .base-info-type-wrapper {
42
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
42
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
43
43
  display: inline-block;
44
44
  box-sizing: border-box;
45
45
  width: 50%;
@@ -1,5 +1,5 @@
1
1
  .base-info-other-infos__principal {
2
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
2
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
3
3
  margin-top: 12px;
4
4
  display: inline-block;
5
5
  box-sizing: border-box;
@@ -1,5 +1,5 @@
1
1
  .base-info-other-infos__visibility-wrapper {
2
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
2
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
3
3
  margin-top: 12px;
4
4
  display: inline-block;
5
5
  box-sizing: border-box;
@@ -43,7 +43,7 @@
43
43
  display: inline-block;
44
44
  height: 20px;
45
45
  font-size: 14px;
46
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
46
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
47
47
  font-weight: 400;
48
48
  color: #2879ff;
49
49
  line-height: 20px;
@@ -52,7 +52,7 @@
52
52
  border: none;
53
53
  width: 100%;
54
54
  height: 100%;
55
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
55
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
56
56
  color: #3f4755;
57
57
  font-size: 14px;
58
58
  line-height: 22px;
@@ -28,7 +28,7 @@
28
28
  color: #141c28;
29
29
  font-size: 20px;
30
30
  line-height: 24px;
31
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
31
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
32
32
  vertical-align: middle;
33
33
  word-break: break-all;
34
34
  font-weight: 600;
@@ -66,7 +66,7 @@
66
66
  line-height: 24px;
67
67
  border-radius: 9px;
68
68
  font-size: 12px;
69
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
69
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
70
70
  background-color: #f7f8fa;
71
71
  color: #a4acb9;
72
72
  display: inline-flex;
@@ -84,7 +84,7 @@
84
84
  }
85
85
 
86
86
  .okr-drawer-header__action-progress-diff {
87
- font-size: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
87
+ font-size: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
88
88
  font-size: 12px;
89
89
  margin-left: 8px;
90
90
  }
@@ -116,7 +116,7 @@
116
116
  border: none;
117
117
  width: 100%;
118
118
  height: 100%;
119
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
119
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
120
120
  color: #141c28;
121
121
  font-size: 20px;
122
122
  line-height: 24px;
@@ -167,7 +167,7 @@
167
167
  border-radius: 15px;
168
168
  transform: translateY(-100%);
169
169
  transition: all 0.3s ease;
170
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
170
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
171
171
  display: inline-block;
172
172
  cursor: pointer;
173
173
  }
@@ -216,7 +216,7 @@
216
216
  opacity: 0;
217
217
  transform: translateY(-100%);
218
218
  transition: all 0.3s ease;
219
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
219
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
220
220
  color: #f05e5e;
221
221
  visibility: hidden;
222
222
  position: absolute;
@@ -243,7 +243,7 @@
243
243
  line-height: 22px;
244
244
  border-radius: 8px;
245
245
  transition: all 0.3s ease;
246
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
246
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
247
247
  color: #3f4755;
248
248
  cursor: pointer;
249
249
  }
@@ -5,7 +5,7 @@
5
5
  word-break: break-all;
6
6
  white-space: nowrap;
7
7
  vertical-align: middle;
8
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
8
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
9
9
  color: #89919f;
10
10
  font-size: 12px;
11
11
  line-height: 18px;
@@ -21,7 +21,7 @@
21
21
  display: inline-block;
22
22
  height: 18px;
23
23
  font-size: 12px;
24
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
24
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
25
25
  color: #2879ff;
26
26
  line-height: 18px;
27
27
  }
@@ -31,7 +31,7 @@
31
31
  margin-left: 4px;
32
32
  height: 18px;
33
33
  font-size: 12px;
34
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
34
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
35
35
  color: #89919f;
36
36
  line-height: 18px;
37
37
  width: 100%;
@@ -48,7 +48,7 @@
48
48
  .tita-okrdt-tree__e-kr-node-actions-create {
49
49
  height: 18px;
50
50
  font-size: 12px;
51
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
51
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
52
52
  color: #2879ff;
53
53
  line-height: 18px;
54
54
  cursor: pointer;
@@ -67,7 +67,7 @@
67
67
  .tita-okrdt-tree__e-kr-node-actions-connect {
68
68
  height: 18px;
69
69
  font-size: 12px;
70
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
70
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
71
71
  color: #2879ff;
72
72
  line-height: 18px;
73
73
  cursor: pointer;
@@ -20,7 +20,7 @@
20
20
  .tita-okrdt-tree__e-task-node-title {
21
21
  height: 22px;
22
22
  font-size: 14px;
23
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
23
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
24
24
  color: #3f4755;
25
25
  line-height: 22px;
26
26
  overflow: hidden;
@@ -79,7 +79,7 @@
79
79
 
80
80
  .tita-okrdt-tree__e-task-node-actions-date {
81
81
  font-size: 12px;
82
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
82
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
83
83
  color: #89919f;
84
84
  line-height: 18px;
85
85
  display: inline-flex;
@@ -149,7 +149,7 @@
149
149
  .tita-okrdt-tree__e-project-node-title {
150
150
  display: inline-flex;
151
151
  font-size: 14px;
152
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
152
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
153
153
  color: #3f4755;
154
154
  line-height: 22px;
155
155
  overflow: hidden;
@@ -230,7 +230,7 @@
230
230
 
231
231
  .tita-okrdt-tree__e-project-node-actions-date {
232
232
  font-size: 12px;
233
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
233
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
234
234
  color: #89919f;
235
235
  line-height: 18px;
236
236
  display: inline-flex;
@@ -294,7 +294,7 @@
294
294
  .tita-okrdt-tree__e-task-level2-node-title {
295
295
  height: 22px;
296
296
  font-size: 14px;
297
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
297
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
298
298
  color: #3f4755;
299
299
  line-height: 22px;
300
300
  overflow: hidden;
@@ -352,7 +352,7 @@
352
352
 
353
353
  .tita-okrdt-tree__e-task-level2-node-actions-date {
354
354
  font-size: 12px;
355
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
355
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
356
356
  color: #89919f;
357
357
  line-height: 18px;
358
358
  display: inline-flex;
@@ -397,7 +397,7 @@
397
397
 
398
398
  .tita-okrdt-tree__e-empty-node {
399
399
  font-size: 12px;
400
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
400
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
401
401
  color: #a4acb9;
402
402
  line-height: 18px;
403
403
  padding-left: 12px;
@@ -10,7 +10,7 @@
10
10
  display: inline-block;
11
11
  height: 22px;
12
12
  font-size: 14px;
13
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
13
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
14
14
  font-weight: 600;
15
15
  color: #a4acb9;
16
16
  line-height: 22px;
@@ -85,7 +85,7 @@
85
85
  display: inline-block;
86
86
  height: 22px;
87
87
  font-size: 12px;
88
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
88
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
89
89
  color: #2879ff;
90
90
  line-height: 22px;
91
91
  overflow: hidden;
@@ -99,7 +99,7 @@
99
99
  line-height: 22px;
100
100
  color: #3f4755;
101
101
  display: inline-flex;
102
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
102
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
103
103
  vertical-align: top;
104
104
  white-space: break-spaces;
105
105
  }
@@ -103,6 +103,8 @@ function OkrRowColumn(_ref) {
103
103
  }
104
104
 
105
105
  function _default(props) {
106
+ var _getBSGlobal;
107
+
106
108
  var data = props.data,
107
109
  index = props.index,
108
110
  title = props.title,
@@ -166,7 +168,7 @@ function _default(props) {
166
168
  krNameData = _useState18[0],
167
169
  setKrNameData = _useState18[1];
168
170
 
169
- var _useState19 = (0, _react.useState)((0, _bsGlobal.getBSGlobal)('OkrAdvancedSetting').KRSetting.ShowKrConfidence),
171
+ var _useState19 = (0, _react.useState)((_getBSGlobal = (0, _bsGlobal.getBSGlobal)('OkrAdvancedSetting')) === null || _getBSGlobal === void 0 ? void 0 : _getBSGlobal.KRSetting.ShowKrConfidence),
170
172
  _useState20 = _slicedToArray(_useState19, 1),
171
173
  showHeart = _useState20[0]; // 高级功能: 关键成果信心指数
172
174