@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
@@ -17,7 +17,7 @@
17
17
 
18
18
  .kr-progress__container .kr-progress__order {
19
19
  font-size: 12px;
20
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
20
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
21
21
  color: #2879FF;
22
22
  line-height: 18px;
23
23
  margin-right: 4px;
@@ -29,7 +29,7 @@
29
29
 
30
30
  .kr-progress__container .kr-progress__title-text {
31
31
  font-size: 13px;
32
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
32
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
33
33
  color: #89919F;
34
34
  line-height: 20px;
35
35
  margin-left: 4px;
@@ -30,7 +30,7 @@
30
30
  .o-progress__shrink {
31
31
  user-select: none;
32
32
  font-size: 13px;
33
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
33
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
34
34
  line-height: 18px;
35
35
  display: flex;
36
36
  justify-content: center;
@@ -50,7 +50,7 @@
50
50
  .o-progress__header {
51
51
  display: flex;
52
52
  justify-content: space-between;
53
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
53
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
54
54
  }
55
55
 
56
56
  .o-progress__header .o-progress__func-btns {
@@ -59,7 +59,7 @@
59
59
  font-size: 13px;
60
60
  color: #2879FF;
61
61
  line-height: 18px;
62
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
62
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
63
63
  margin-right: 16px;
64
64
  margin-bottom: 10px;
65
65
  }
@@ -78,7 +78,7 @@
78
78
  }
79
79
 
80
80
  .o-progress__textarea-wrapper {
81
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
81
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
82
82
  margin: 16px 32px 20px 32px;
83
83
  display: flex;
84
84
  border-radius: 3px;
@@ -112,7 +112,7 @@
112
112
  }
113
113
 
114
114
  .o-progress__textarea-wrapper--error {
115
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
115
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
116
116
  border-color: #F76964;
117
117
  margin-bottom: 0;
118
118
  }
@@ -126,7 +126,7 @@
126
126
  }
127
127
 
128
128
  .o-progress__error-text {
129
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
129
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
130
130
  color: #F76964;
131
131
  font-size: 12px;
132
132
  line-height: 18px;
@@ -139,7 +139,7 @@
139
139
  flex-direction: column;
140
140
  align-items: center;
141
141
  padding-top: 117px;
142
- 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;
143
143
  font-size: 14px;
144
144
  padding-bottom: 24px;
145
145
  }
@@ -174,9 +174,11 @@ var OProgress = function OProgress(_ref) {
174
174
  };
175
175
 
176
176
  var handleRemind = (0, _react.useCallback)(function () {
177
+ var _BSGlobal$loginUserIn;
178
+
177
179
  // @ts-ignore
178
180
  (0, _requestApis.remindAction)({
179
- toUserId: BSGlobal.loginUserInfo.Id,
181
+ toUserId: (_BSGlobal$loginUserIn = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn === void 0 ? void 0 : _BSGlobal$loginUserIn.Id,
180
182
  work_id: okrInfo.workId,
181
183
  type: 2
182
184
  }).then(function (resp) {
@@ -199,9 +201,11 @@ var OProgress = function OProgress(_ref) {
199
201
  }, [okrInfo]);
200
202
  var handleRemindClick = (0, _react.useCallback)(function () {
201
203
  if (isPrincipalUser) {
204
+ var _BSGlobal$loginUserIn2;
205
+
202
206
  // @ts-ignore 提醒上级查看
203
207
  (0, _requestApis.remindAction)({
204
- toUserId: BSGlobal.loginUserInfo.Id,
208
+ toUserId: (_BSGlobal$loginUserIn2 = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn2 === void 0 ? void 0 : _BSGlobal$loginUserIn2.Id,
205
209
  work_id: okrInfo.workId
206
210
  }).then(function (resp) {
207
211
  if (resp.Code === 1) {
@@ -17,7 +17,7 @@
17
17
 
18
18
  .sub-o-progress__container .sub-o-progress__title-text {
19
19
  font-size: 14px;
20
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
20
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
21
21
  color: #89919F;
22
22
  line-height: 18px;
23
23
  margin-left: 4px;
@@ -1,6 +1,6 @@
1
1
  .schedule-title-wrapper {
2
2
  font-size: 14px;
3
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
3
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
4
4
  font-weight: 600;
5
5
  color: #141C28;
6
6
  line-height: 22px;
@@ -9,7 +9,9 @@ var _getLocale = require("../../utils/getLocale");
9
9
 
10
10
  // @ts-nocheck
11
11
  var isPrincipal = function isPrincipal(principalUser) {
12
- return window.BSGlobal.loginUserInfo.Id === principalUser.userId;
12
+ var _window$BSGlobal$logi;
13
+
14
+ return ((_window$BSGlobal$logi = window.BSGlobal.loginUserInfo) === null || _window$BSGlobal$logi === void 0 ? void 0 : _window$BSGlobal$logi.Id) === principalUser.userId;
13
15
  };
14
16
 
15
17
  exports.isPrincipal = isPrincipal;
@@ -1,5 +1,5 @@
1
1
  .okr-progress-item-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
  }
4
4
 
5
5
  .okr-progress-item-wrapper .okr-progress-item-content__header {
@@ -74,7 +74,7 @@
74
74
  }
75
75
 
76
76
  .auto-update__recommand-tip {
77
- font-family: PingFangSC-Regular, PingFang SC;
77
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
78
78
  font-size: 13px;
79
79
  color: #a4acb9;
80
80
  margin-left: 10px;
@@ -161,7 +161,7 @@
161
161
  right: 0;
162
162
  bottom: 0;
163
163
  color: #2879ff;
164
- font-family: PingFangSC-Regular, PingFang SC;
164
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
165
165
  cursor: pointer;
166
166
  }
167
167
 
@@ -7,10 +7,12 @@ exports.getORecommandProgress = exports.getKrRecommandProgress = void 0;
7
7
 
8
8
  var _axios = _interopRequireDefault(require("axios"));
9
9
 
10
+ var _BSGlobal$tenantInfo, _BSGlobal$loginUserIn;
11
+
10
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
13
 
12
- var tenantId = BSGlobal && BSGlobal.tenantInfo.Id || 0;
13
- var userId = BSGlobal && BSGlobal.loginUserInfo.Id || 0;
14
+ var tenantId = BSGlobal && ((_BSGlobal$tenantInfo = BSGlobal.tenantInfo) === null || _BSGlobal$tenantInfo === void 0 ? void 0 : _BSGlobal$tenantInfo.Id) || 0;
15
+ var userId = BSGlobal && ((_BSGlobal$loginUserIn = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn === void 0 ? void 0 : _BSGlobal$loginUserIn.Id) || 0;
14
16
 
15
17
  var requestDomain = function requestDomain() {
16
18
  if (!window.location.hostname.match(/dev/)) return "";
@@ -7,7 +7,7 @@ exports.taskStatusIcon = exports.isHavePermission = void 0;
7
7
 
8
8
  var _bsGlobal = require("../../utils/bs-global");
9
9
 
10
- var userInfo = (0, _bsGlobal.getBSGlobal)("loginUserInfo");
10
+ var userInfo = (0, _bsGlobal.getBSGlobal)("loginUserInfo") || {};
11
11
  var isHavePermission = userInfo.IsRoot && userInfo.Role != 4 || userInfo.IsBoss || userInfo.IsOkrManager;
12
12
  exports.isHavePermission = isHavePermission;
13
13
  var taskStatusIcon = {
@@ -23,6 +23,8 @@ var _bsGlobal = require("../../utils/bs-global");
23
23
 
24
24
  var _getLocale = require("../../utils/getLocale");
25
25
 
26
+ var _getBSGlobal;
27
+
26
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
29
 
28
30
  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); }
@@ -53,7 +55,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
53
55
 
54
56
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
55
57
 
56
- var loginUserId = (0, _bsGlobal.getBSGlobal)("loginUserInfo").Id;
58
+ var loginUserId = (_getBSGlobal = (0, _bsGlobal.getBSGlobal)("loginUserInfo")) === null || _getBSGlobal === void 0 ? void 0 : _getBSGlobal.Id;
57
59
 
58
60
  function PublishMblog(_ref) {
59
61
  var base64 = _ref.base64,
@@ -7,10 +7,12 @@ exports.uploadBase64 = exports.getImageBase64ByUrl = exports.getBase64DownloadUr
7
7
 
8
8
  var _axios = _interopRequireDefault(require("axios"));
9
9
 
10
+ var _BSGlobal$tenantInfo, _BSGlobal$loginUserIn;
11
+
10
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
13
 
12
- var tenantId = BSGlobal && BSGlobal.tenantInfo.Id || 0;
13
- var userId = BSGlobal && BSGlobal.loginUserInfo.Id || 0;
14
+ var tenantId = BSGlobal && ((_BSGlobal$tenantInfo = BSGlobal.tenantInfo) === null || _BSGlobal$tenantInfo === void 0 ? void 0 : _BSGlobal$tenantInfo.Id) || 0;
15
+ var userId = BSGlobal && ((_BSGlobal$loginUserIn = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn === void 0 ? void 0 : _BSGlobal$loginUserIn.Id) || 0;
14
16
 
15
17
  var requestDomain = function requestDomain() {
16
18
  if (!window.location.hostname.match(/dev/)) return "";
@@ -7,7 +7,7 @@
7
7
  overflow: hidden;
8
8
  background-color: #f7f9fb;
9
9
  position: relative;
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
  .okr-cases-library div,
@@ -27,6 +27,8 @@ require("./index.css");
27
27
 
28
28
  require("./new-ui.css");
29
29
 
30
+ var _BSGlobal$tenantInfo;
31
+
30
32
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
31
33
 
32
34
  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); }
@@ -54,7 +56,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
54
56
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
55
57
 
56
58
  // @ts-ignore
57
- var prefix = BSGlobal.tenantInfo.isNewIndex ? "titaui-okr-cases-library" : "okr-cases-library";
59
+ var prefix = (_BSGlobal$tenantInfo = BSGlobal.tenantInfo) !== null && _BSGlobal$tenantInfo !== void 0 && _BSGlobal$tenantInfo.isNewIndex ? "titaui-okr-cases-library" : "okr-cases-library";
58
60
 
59
61
  function OKRCases(props) {
60
62
  var onApplyTpl = props.onApplyTpl,
@@ -5,7 +5,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports["default"] = void 0;
8
+ exports.getOperation = exports["default"] = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
@@ -21,6 +21,8 @@ var _style = require("./style");
21
21
 
22
22
  var _getLocale = require("../../utils/getLocale");
23
23
 
24
+ var _request = require("@titaui/request");
25
+
24
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
27
 
26
28
  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); }
@@ -47,6 +49,12 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
47
49
 
48
50
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
49
51
 
52
+ var getOperation = function getOperation(data) {
53
+ return (0, _request.rpost)("v1")("summaryTemplate/operations", data);
54
+ };
55
+
56
+ exports.getOperation = getOperation;
57
+
50
58
  var OperationRecord = /*#__PURE__*/function (_PureComponent) {
51
59
  _inherits(OperationRecord, _PureComponent);
52
60
 
@@ -86,6 +94,26 @@ var OperationRecord = /*#__PURE__*/function (_PureComponent) {
86
94
  });
87
95
  };
88
96
 
97
+ _this.getOperationInfo = function (feedId, commentCount) {
98
+ var params = {
99
+ TemplateFeedId: feedId,
100
+ commentCount: commentCount
101
+ };
102
+ getOperation(params).then(function (res) {
103
+ if (res.Code === 1) {
104
+ var data = res.Data;
105
+ console.log('data', data);
106
+
107
+ var newOperationTrackList = _this.formatCommentsDate(data.comments ? data.comments : []);
108
+
109
+ _this.setState({
110
+ operationTrackList: newOperationTrackList,
111
+ operationTrackTotal: data.total
112
+ });
113
+ }
114
+ });
115
+ };
116
+
89
117
  _this.formatCommentsDate = function (comments) {
90
118
  var thisYear = (0, _moment["default"])().year(); // 获取当前年份
91
119
 
@@ -132,13 +160,20 @@ var OperationRecord = /*#__PURE__*/function (_PureComponent) {
132
160
  _this.handlerSwitchShowRecord = function () {
133
161
  var _this$props = _this.props,
134
162
  feedId = _this$props.feedId,
135
- commentCount = _this$props.commentCount; // 默认展示条数
163
+ commentCount = _this$props.commentCount,
164
+ isSummaryTemplate = _this$props.isSummaryTemplate; // 默认展示条数
136
165
 
137
166
  var operationTrackTotal = _this.state.operationTrackTotal; // 记录总数
138
167
 
139
168
  var isShowAllOperationRecord = _this.state.isShowAllOperationRecord;
140
- isShowAllOperationRecord = !isShowAllOperationRecord;
141
- isShowAllOperationRecord ? _this.getFeedInfo(feedId, operationTrackTotal) : _this.getFeedInfo(feedId, commentCount);
169
+ isShowAllOperationRecord = !isShowAllOperationRecord; // isShowAllOperationRecord ? this.getFeedInfo(feedId, operationTrackTotal) : this.getFeedInfo(feedId, commentCount);
170
+ // isShowAllOperationRecord ? this.getOperationInfo(feedId, operationTrackTotal) : this.getOperationInfo(feedId, commentCount);
171
+
172
+ if (isSummaryTemplate) {
173
+ isShowAllOperationRecord ? _this.getOperationInfo(feedId, operationTrackTotal) : _this.getOperationInfo(feedId, commentCount);
174
+ } else {
175
+ isShowAllOperationRecord ? _this.getFeedInfo(feedId, operationTrackTotal) : _this.getFeedInfo(feedId, commentCount);
176
+ }
142
177
 
143
178
  _this.setState({
144
179
  isShowAllOperationRecord: isShowAllOperationRecord
@@ -158,10 +193,17 @@ var OperationRecord = /*#__PURE__*/function (_PureComponent) {
158
193
  value: function componentDidMount() {
159
194
  var _this$props2 = this.props,
160
195
  feedId = _this$props2.feedId,
161
- commentCount = _this$props2.commentCount;
196
+ commentCount = _this$props2.commentCount,
197
+ isSummaryTemplate = _this$props2.isSummaryTemplate;
162
198
 
163
199
  if (feedId) {
164
- this.getFeedInfo(feedId, commentCount);
200
+ // this.getFeedInfo(feedId, commentCount);
201
+ // this.getOperationInfo(feedId, commentCount);
202
+ if (isSummaryTemplate) {
203
+ this.getOperationInfo(feedId, commentCount);
204
+ } else {
205
+ this.getFeedInfo(feedId, commentCount);
206
+ }
165
207
  }
166
208
  }
167
209
  }, {
@@ -170,8 +212,14 @@ var OperationRecord = /*#__PURE__*/function (_PureComponent) {
170
212
  if (prevProps.feedId != this.props.feedId) {
171
213
  var _this$props3 = this.props,
172
214
  feedId = _this$props3.feedId,
173
- commentCount = _this$props3.commentCount;
174
- this.getFeedInfo(feedId, commentCount);
215
+ commentCount = _this$props3.commentCount,
216
+ isSummaryTemplate = _this$props3.isSummaryTemplate;
217
+
218
+ if (isSummaryTemplate) {
219
+ this.getOperationInfo(feedId, commentCount);
220
+ } else {
221
+ this.getFeedInfo(feedId, commentCount);
222
+ }
175
223
  }
176
224
  }
177
225
  /**
@@ -27,6 +27,8 @@ var _award = _interopRequireDefault(require("./img/award.png"));
27
27
 
28
28
  require("./index.css");
29
29
 
30
+ var _getTenantInfo;
31
+
30
32
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
31
33
 
32
34
  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); }
@@ -46,14 +48,16 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
46
48
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
47
49
 
48
50
  var preCls = 'order-have-award';
49
- var isPerformance = (0, _helpers.getTenantInfo)().tenantType == 2;
51
+ var isPerformance = ((_getTenantInfo = (0, _helpers.getTenantInfo)()) === null || _getTenantInfo === void 0 ? void 0 : _getTenantInfo.tenantType) == 2;
50
52
  var noshowChangeVersion = (0, _platform.isFeishu)(true) && isPerformance;
51
53
 
52
54
  var OrderAward = function OrderAward() {
53
55
  var bookDemoRef = (0, _react.useRef)();
54
56
 
55
57
  var getBookDemoVersion = function getBookDemoVersion() {
56
- var menuVersion = window.BSGlobal.tenantAuthentication.MenuVersion;
58
+ var _window$BSGlobal$tena;
59
+
60
+ var menuVersion = (_window$BSGlobal$tena = window.BSGlobal.tenantAuthentication) === null || _window$BSGlobal$tena === void 0 ? void 0 : _window$BSGlobal$tena.MenuVersion;
57
61
 
58
62
  if (menuVersion === _interface.ETrialVersion.OKR) {
59
63
  return _bookDemo["default"].DemoType.TryOKR;
@@ -13,8 +13,12 @@ var _localStorage = require("../../utils/local-storage");
13
13
 
14
14
  var _notAllowData = require("./not-allow-data");
15
15
 
16
+ var _bsGlobal = require("../../utils/bs-global");
17
+
16
18
  require("./index.css");
17
19
 
20
+ var _getTenantInfo;
21
+
18
22
  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); }
19
23
 
20
24
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -33,7 +37,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
33
37
 
34
38
  var preCls = "part-notice";
35
39
  var storage = new _localStorage.LocalStorage();
36
- var tenantId = window.BSGlobal.tenantInfo.Id;
40
+ var tenantId = (_getTenantInfo = (0, _bsGlobal.getTenantInfo)()) === null || _getTenantInfo === void 0 ? void 0 : _getTenantInfo.Id;
37
41
 
38
42
  var PartNotice = function PartNotice(_ref) {
39
43
  var storageName = _ref.storageName,
@@ -1,7 +1,7 @@
1
1
  .tita-ui-admin-input {
2
2
  display: flex;
3
3
  align-items: center;
4
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
4
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
5
5
  }
6
6
 
7
7
  .tita-ui-admin-input__input {
@@ -55,8 +55,10 @@ function getUserInfo() {
55
55
 
56
56
 
57
57
  function getApiUrl(url) {
58
+ var _getTenantInfo;
59
+
58
60
  var uid = getUserInfo().Id;
59
- var tid = getTenantInfo().Id;
61
+ var tid = (_getTenantInfo = getTenantInfo()) === null || _getTenantInfo === void 0 ? void 0 : _getTenantInfo.Id;
60
62
  var apiServer = getBSGlobal("apiPath");
61
63
  return "".concat(apiServer, "/api/v1/").concat(tid, "/").concat(uid, "/").concat(url);
62
64
  }
@@ -9,7 +9,7 @@
9
9
  background: #ffffff;
10
10
  box-shadow: 0px 4px 24px 0px rgba(127, 145, 180, 0.15);
11
11
  border-radius: 24px;
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
  .titaui-photo-card__background {
@@ -166,7 +166,7 @@
166
166
  .titaui-photo-card__attention-btn-img--show {
167
167
  display: block;
168
168
  font-size: 14px;
169
- font-family: PingFangSC-Regular, PingFang SC;
169
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
170
170
  font-weight: 400;
171
171
  color: #6f7886;
172
172
  line-height: 20px;
@@ -174,7 +174,7 @@
174
174
 
175
175
  .titaui-photo-card__attention-btn-title {
176
176
  font-size: 14px;
177
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
177
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
178
178
  font-weight: 400;
179
179
  color: #f05e5e;
180
180
  line-height: 20px;
@@ -4,7 +4,7 @@
4
4
  height: 36px;
5
5
  align-items: center;
6
6
  cursor: pointer;
7
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
7
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
8
8
  }
9
9
 
10
10
  .titaui-photo-card-img .titaui-pc-avator-container {
@@ -53,20 +53,22 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
53
53
  var isMobile = document.body.clientWidth < 768;
54
54
 
55
55
  function _default(props) {
56
+ var _getTenantInfo, _BSGlobal$loginUserIn, _BSGlobal$tenantInfo, _BSGlobal$tenantInfo2, _BSGlobal$loginUserIn2, _BSGlobal$loginUserIn3, _BSGlobal$tenantInfo3;
57
+
56
58
  var _props$visible = props.visible,
57
59
  visible = _props$visible === void 0 ? true : _props$visible,
58
60
  setVisible = props.setVisible,
59
61
  _props$localKey = props.localKey,
60
62
  localKey = _props$localKey === void 0 ? "issubmitted" : _props$localKey;
61
- var isPerformance = (0, _helpers.getTenantInfo)().tenantType == 2; // console.log(isMobile)
63
+ var isPerformance = ((_getTenantInfo = (0, _helpers.getTenantInfo)()) === null || _getTenantInfo === void 0 ? void 0 : _getTenantInfo.tenantType) == 2; // console.log(isMobile)
62
64
  // console.log(document.body.clientWidth<800)
63
65
 
64
- var uname = BSGlobal.loginUserInfo.Name;
65
- var uid = BSGlobal.tenantInfo.Id;
66
- var source = BSGlobal.tenantInfo.Source;
67
- var lname = BSGlobal.loginUserInfo.Name;
68
- var lmobile = BSGlobal.loginUserInfo.Mobile;
69
- var lcompany = BSGlobal.tenantInfo.Name;
66
+ var uname = (_BSGlobal$loginUserIn = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn === void 0 ? void 0 : _BSGlobal$loginUserIn.Name;
67
+ var uid = (_BSGlobal$tenantInfo = BSGlobal.tenantInfo) === null || _BSGlobal$tenantInfo === void 0 ? void 0 : _BSGlobal$tenantInfo.Id;
68
+ var source = (_BSGlobal$tenantInfo2 = BSGlobal.tenantInfo) === null || _BSGlobal$tenantInfo2 === void 0 ? void 0 : _BSGlobal$tenantInfo2.Source;
69
+ var lname = (_BSGlobal$loginUserIn2 = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn2 === void 0 ? void 0 : _BSGlobal$loginUserIn2.Name;
70
+ var lmobile = (_BSGlobal$loginUserIn3 = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn3 === void 0 ? void 0 : _BSGlobal$loginUserIn3.Mobile;
71
+ var lcompany = (_BSGlobal$tenantInfo3 = BSGlobal.tenantInfo) === null || _BSGlobal$tenantInfo3 === void 0 ? void 0 : _BSGlobal$tenantInfo3.Name;
70
72
 
71
73
  var _useState = (0, _react.useState)(lname),
72
74
  _useState2 = _slicedToArray(_useState, 2),
@@ -34,6 +34,8 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
34
34
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
35
35
 
36
36
  function _default(props) {
37
+ var _BSGlobal$tenantAuthe, _BSGlobal$loginUserIn, _BSGlobal$tenantInfo;
38
+
37
39
  if ((0, _openData.isWxTrial)()) return /*#__PURE__*/_react["default"].createElement("div", null);
38
40
 
39
41
  var _useState = (0, _react.useState)(false),
@@ -42,9 +44,9 @@ function _default(props) {
42
44
  setVisible = _useState2[1]; // 判断了一天后86400000毫秒之后再次弹窗
43
45
 
44
46
 
45
- var version = BSGlobal.tenantAuthentication.Version;
46
- var role = BSGlobal.loginUserInfo.Role;
47
- var source = BSGlobal.tenantInfo.Source;
47
+ var version = (_BSGlobal$tenantAuthe = BSGlobal.tenantAuthentication) === null || _BSGlobal$tenantAuthe === void 0 ? void 0 : _BSGlobal$tenantAuthe.Version;
48
+ var role = (_BSGlobal$loginUserIn = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn === void 0 ? void 0 : _BSGlobal$loginUserIn.Role;
49
+ var source = (_BSGlobal$tenantInfo = BSGlobal.tenantInfo) === null || _BSGlobal$tenantInfo === void 0 ? void 0 : _BSGlobal$tenantInfo.Source;
48
50
  var newdate = new Date().getTime();
49
51
  var isSubmitted = localStorage.getItem("isSubmitted");
50
52
  var time = Number(localStorage.getItem("pointDemoTime"));
@@ -60,13 +60,14 @@ var PromiseConfirm = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
60
60
  reject: function reject() {}
61
61
  });
62
62
 
63
- var handleCancelBtnClick = function handleCancelBtnClick() {
63
+ var handleCancelBtnClick = function handleCancelBtnClick(e) {
64
+ e.stopPropagation();
64
65
  onCancel();
65
66
  dialogPromise.current.reject();
66
67
  setVisible(false);
67
68
  };
68
69
 
69
- var handleConfirmBtnClick = function handleConfirmBtnClick() {
70
+ var handleConfirmBtnClick = function handleConfirmBtnClick(e) {
70
71
  if (onConfirm) {
71
72
  onConfirm();
72
73
  }
@@ -1,5 +1,5 @@
1
1
  .titaui-select {
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
  display: inline-block;
4
4
  width: 100%;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  .base-info-select-layout__layer {
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
  }
4
4
 
5
5
  .base-info-select-layout__layer .base-info-select-layout__layer-container {
@@ -19,7 +19,7 @@ var _getLocale = require("../../utils/getLocale");
19
19
 
20
20
  require("./index.css");
21
21
 
22
- var _excluded = ["selected", "controlValue", "data", "onChange", "style", "mode", "className", "placeholder", "name", "noBorder"];
22
+ var _excluded = ["selected", "controlValue", "data", "onChange", "style", "mode", "className", "placeholder", "name", "noBorder", "dropdownClassName"];
23
23
 
24
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
25
 
@@ -67,6 +67,7 @@ var SelectTags = function SelectTags(_ref) {
67
67
  placeholder = _ref$placeholder === void 0 ? "".concat((0, _getLocale.getLocale)("Mod_Pleaseselect")) : _ref$placeholder,
68
68
  name = _ref.name,
69
69
  noBorder = _ref.noBorder,
70
+ dropdownClassName = _ref.dropdownClassName,
70
71
  restProps = _objectWithoutProperties(_ref, _excluded);
71
72
 
72
73
  var _useState = (0, _react.useState)(selected),
@@ -88,7 +89,7 @@ var SelectTags = function SelectTags(_ref) {
88
89
  className: preCls
89
90
  }, /*#__PURE__*/_react["default"].createElement(_rcSelect["default"], _extends({
90
91
  className: (0, _classnames["default"])(className, _defineProperty({}, "".concat(preCls, "-noborder"), noBorder)),
91
- dropdownClassName: (0, _classnames["default"])("titaui-dropDown", _defineProperty({}, "".concat(preCls, "-hasSelectItem"), mode === "multiple")),
92
+ dropdownClassName: (0, _classnames["default"])(dropdownClassName, "titaui-dropDown", _defineProperty({}, "".concat(preCls, "-hasSelectItem"), mode === "multiple")),
92
93
  value: value,
93
94
  style: style,
94
95
  mode: mode,
@@ -109,7 +110,8 @@ var SelectTags = function SelectTags(_ref) {
109
110
  }, restProps), data.map(function (item, key) {
110
111
  return /*#__PURE__*/_react["default"].createElement(_rcSelect.Option, {
111
112
  key: key,
112
- value: item.value
113
+ value: item.value,
114
+ disabled: item === null || item === void 0 ? void 0 : item.disabled
113
115
  }, item.label);
114
116
  })));
115
117
  };
@@ -1,6 +1,6 @@
1
1
  .okr-detail__status-time {
2
2
  font-size: 12px;
3
- font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
3
+ font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
4
4
  line-height: 18px;
5
5
  }
6
6
 
@@ -38,7 +38,9 @@ var storage = new _localStorage.LocalStorage();
38
38
 
39
39
  function StopTakingModel() {
40
40
  var _useState = (0, _react.useState)(function () {
41
- if ((0, _bsGlobal.getTenantInfo)().Source === 964) return false;
41
+ var _getTenantInfo;
42
+
43
+ if (((_getTenantInfo = (0, _bsGlobal.getTenantInfo)()) === null || _getTenantInfo === void 0 ? void 0 : _getTenantInfo.Source) === 964) return false;
42
44
  var stopTaking = storage.getItem("stopTaking");
43
45
 
44
46
  if (stopTaking !== null && stopTaking !== void 0 && stopTaking.date) {