@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.
- package/lib/components/avatar/name-avatar/index.css +1 -1
- package/lib/components/avatar/text-avatar/index.css +1 -1
- package/lib/components/book-demo/components/pc/components/content/index.js +8 -6
- package/lib/components/book-demo/components/pc/index.js +22 -18
- package/lib/components/book-demo/constant.js +115 -0
- package/lib/components/book-demo/interface.js +1 -0
- package/lib/components/change-okr-modal/Filter.js +3 -1
- package/lib/components/change-okr-modal/Item.js +3 -1
- package/lib/components/common-share/publishMblog.js +3 -1
- package/lib/components/common-share/request-apis.js +4 -2
- package/lib/components/communication/style.js +1 -1
- package/lib/components/confidence/index.css +4 -4
- package/lib/components/create-okr-modal/fields/index.css +6 -6
- package/lib/components/create-okr-modal/fields/okr-classify.js +3 -1
- package/lib/components/create-okr-modal/fields/okr-new-user-selector.js +4 -1
- package/lib/components/create-okr-modal/fields/okr-type.js +3 -1
- package/lib/components/create-okr-modal/index.css +6 -6
- package/lib/components/create-okr-modal/index.js +3 -1
- package/lib/components/create-okr-modal/kr-items/index.css +3 -3
- package/lib/components/create-okr-modal/request-api.js +4 -2
- package/lib/components/create-okr-modal/utils/helper.js +3 -1
- package/lib/components/dialog/index.css +2 -2
- package/lib/components/dialog-confirm/index.css +5 -5
- package/lib/components/dialog-confirm/index.js +3 -1
- package/lib/components/dynamic/components/comments-dialog/api.js +4 -2
- package/lib/components/dynamic/dynamic-item/components/okr-progress/index.js +11 -6
- package/lib/components/dynamic/dynamic-item/components/schedule/index.css +8 -0
- package/lib/components/dynamic/dynamic-item/components/schedule/index.js +34 -7
- package/lib/components/dynamic/dynamic-item/components/summary-header/index.js +0 -1
- package/lib/components/dynamic/dynamic-item/components/table-row-okr/utils.js +2 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/index.js +3 -2
- package/lib/components/dynamic/dynamic-item/components/task-progress/render-row.js +8 -2
- package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/dynamic-footer.js +4 -2
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-discovery/dynamic-footer.js +4 -2
- package/lib/components/dynamic/dynamic-item/dynamic-interview-share/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-learning/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-reply/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-reward/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/index.css +2 -2
- package/lib/components/dynamic/dynamic-item/index.js +4 -2
- package/lib/components/dynamic/dynamic-list/index.css +1 -1
- package/lib/components/dynamic/request-api.js +3 -1
- package/lib/components/e-priority/index.css +4 -4
- package/lib/components/eReport/eReportListEmpty.js +1 -1
- package/lib/components/eReport/eReportLists/style.js +2 -2
- package/lib/components/eReport/eReportShare/index.js +3 -1
- package/lib/components/edit-kr-wight/style/index.js +5 -5
- package/lib/components/emotions-selector/style.js +1 -1
- package/lib/components/ereport-list/style.js +2 -2
- package/lib/components/file-list/index.css +1 -1
- package/lib/components/form/form-fields/cycle/index.css +1 -1
- package/lib/components/form/form-fields/department/index.css +2 -2
- package/lib/components/form/form-fields/dropdown/index.js +2 -2
- package/lib/components/form/form-fields/duties/index.css +2 -2
- package/lib/components/form/form-fields/input/index.css +6 -2
- package/lib/components/form/form-fields/input/index.js +9 -7
- package/lib/components/form/form-fields/input-verification-code/index.css +2 -2
- package/lib/components/form/form-fields/password/index.css +2 -2
- package/lib/components/form/form-fields/textarea/index.css +2 -2
- package/lib/components/form/form-fields/user/index.css +2 -2
- package/lib/components/grid-layout/commen-components/index.css +1 -1
- package/lib/components/grid-layout/personal-info/index.js +4 -4
- package/lib/components/grid-layout/sub-employee-okr/index.js +3 -1
- package/lib/components/grid-layout/util/network.js +4 -2
- package/lib/components/grid-page/personal-info/index.js +4 -4
- package/lib/components/guide-tip/index.js +4 -1
- package/lib/components/help-card/index.js +3 -1
- package/lib/components/help-card/request-api.js +4 -2
- package/lib/components/hr-header/index.js +4 -2
- package/lib/components/img-viewer/index.css +1 -1
- package/lib/components/import-modal/helper.js +1 -1
- package/lib/components/import-modal/request-api.js +6 -2
- package/lib/components/import-modal/search/search-dropdown/index.css +1 -1
- package/lib/components/import-modal/tree/okr-tree/search-form.js +2 -2
- package/lib/components/import-modal/tree/task-work-tree/index.js +3 -1
- package/lib/components/import-modal/tree-node/kr-node/index.css +1 -1
- package/lib/components/import-modal/tree-node/milestone-node/index.css +1 -1
- package/lib/components/import-modal/tree-node/work-node/index.js +3 -1
- package/lib/components/magnet/index.js +5 -0
- package/lib/components/mblog/index.js +3 -1
- package/lib/components/menus/components/menu-card/index.js +3 -1
- package/lib/components/menus/export-modules/appraisal-menus/menus.js +7 -5
- package/lib/components/menus/export-modules/okr-menus/menus.js +3 -1
- package/lib/components/menus/export-modules/okr-menus/subordinate-menus/index.js +3 -1
- package/lib/components/menus/export-modules/research-menu/index.css +9 -0
- package/lib/components/menus/export-modules/research-menu/index.js +120 -0
- package/lib/components/menus/export-modules/research-menu/menu-highlight.js +44 -0
- package/lib/components/menus/export-modules/research-menu/menus.js +78 -0
- package/lib/components/menus/export-modules/research-menu/research-front-menus.js +158 -0
- package/lib/components/menus/export-modules/skynet-dashboard-menu/index.css +9 -0
- package/lib/components/menus/export-modules/skynet-dashboard-menu/index.js +120 -0
- package/lib/components/menus/export-modules/skynet-dashboard-menu/menu-highlight.js +52 -0
- package/lib/components/menus/export-modules/skynet-dashboard-menu/menus.js +80 -0
- package/lib/components/menus/export-modules/skynet-dashboard-menu/request-api.js +5 -0
- package/lib/components/menus/export-modules/skynet-dashboard-menu/survey-front-menus.js +178 -0
- package/lib/components/menus/export-modules/summary-menus/menu-highlight.js +8 -0
- package/lib/components/menus/export-modules/summary-menus/menus.js +13 -2
- package/lib/components/menus/export-modules/summary-menus/request-api.js +8 -2
- package/lib/components/menus/export-modules/summary-menus/subordinate-menus/index.js +3 -1
- package/lib/components/menus/export-modules/summary-menus/summary-front-menus.js +30 -8
- package/lib/components/menus/i18n.js +1 -0
- package/lib/components/menus/index.js +12 -0
- package/lib/components/menus/request-apis.js +4 -2
- package/lib/components/nav-top/components/app-center/images/research.png +0 -0
- package/lib/components/nav-top/components/app-center/index.css +11 -3
- package/lib/components/nav-top/components/app-center/index.js +13 -5
- package/lib/components/nav-top/components/menu/index.css +1 -1
- package/lib/components/nav-top/index.css +1 -1
- package/lib/components/nav-top/index.js +21 -11
- package/lib/components/nav-top/request.apis.js +6 -5
- package/lib/components/nav-top/utils.js +1 -1
- package/lib/components/okr-detail/base-info/base-info.css +1 -1
- package/lib/components/okr-detail/base-info/base-info.js +11 -15
- package/lib/components/okr-detail/base-info/other-infos/classify/index.css +1 -1
- package/lib/components/okr-detail/base-info/other-infos/date-cycle/index.css +2 -2
- package/lib/components/okr-detail/base-info/other-infos/okr-type/index.css +1 -1
- package/lib/components/okr-detail/base-info/other-infos/principal/index.css +1 -1
- package/lib/components/okr-detail/base-info/other-infos/visibility/index.css +1 -1
- package/lib/components/okr-detail/components/ao-nice/index.css +1 -1
- package/lib/components/okr-detail/components/editable-input/index.css +1 -1
- package/lib/components/okr-detail/components/header/index.css +7 -7
- package/lib/components/okr-detail/components/icon-text/index.css +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.css +4 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/index.css +7 -7
- package/lib/components/okr-detail/components/okr-tree/tree-node/index.css +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.css +2 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +3 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.css +3 -3
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +3 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.css +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.css +1 -1
- package/lib/components/okr-detail/components/score/index.css +1 -1
- package/lib/components/okr-detail/detail-footer/index.js +3 -1
- package/lib/components/okr-detail/detail-header/actions.js +3 -3
- package/lib/components/okr-detail/detail-header/index.js +3 -1
- package/lib/components/okr-detail/e-list/search-form/index.css +2 -2
- package/lib/components/okr-detail/index.js +6 -2
- package/lib/components/okr-detail/okr-list/empty/index.css +2 -2
- package/lib/components/okr-detail/okr-list/index.css +4 -4
- package/lib/components/okr-detail/request-apis.js +3 -1
- package/lib/components/okr-detail/schedule/components/detail-title/index.css +1 -1
- package/lib/components/okr-detail/schedule/components/kr-progress/index.css +2 -2
- package/lib/components/okr-detail/schedule/components/o-progress/index.css +7 -7
- package/lib/components/okr-detail/schedule/components/o-progress/index.js +6 -2
- package/lib/components/okr-detail/schedule/components/sub-o-progress/index.css +1 -1
- package/lib/components/okr-detail/schedule/components/title/index.css +1 -1
- package/lib/components/okr-detail/schedule/util.js +3 -1
- package/lib/components/okr-excel/setting.js +6 -4
- package/lib/components/okr-filter-drawer/filter-form.js +3 -1
- package/lib/components/okr-flow/child-node/index.css +2 -2
- package/lib/components/okr-flow/empty/index.css +1 -1
- package/lib/components/okr-flow/open-data/index.js +3 -1
- package/lib/components/okr-flow/request-apis.js +4 -2
- package/lib/components/okr-flow/utils/config.js +7 -3
- package/lib/components/okr-guide/index.css +15 -17
- package/lib/components/okr-guide/index.js +3 -1
- package/lib/components/okr-progress/components/detail-title/index.css +1 -1
- package/lib/components/okr-progress/components/kr-progress/index.css +2 -2
- package/lib/components/okr-progress/components/o-progress/index.css +7 -7
- package/lib/components/okr-progress/components/o-progress/index.js +6 -2
- package/lib/components/okr-progress/components/sub-o-progress/index.css +1 -1
- package/lib/components/okr-progress/components/title/index.css +1 -1
- package/lib/components/okr-progress/util.js +3 -1
- package/lib/components/okr-progress-detail/index.css +1 -1
- package/lib/components/okr-progress-modal/index.css +2 -2
- package/lib/components/okr-progress-modal/request-apis.js +4 -2
- package/lib/components/okr-review/common.js +1 -1
- package/lib/components/okr-share/publishMblog.js +3 -1
- package/lib/components/okr-share/request-apis.js +4 -2
- package/lib/components/okrcase-library/index.css +1 -1
- package/lib/components/okrcase-library/index.js +3 -1
- package/lib/components/operation-records/index.js +56 -8
- package/lib/components/order-have-award/index.js +6 -2
- package/lib/components/part-notice/index.js +5 -1
- package/lib/components/password-input/index.css +1 -1
- package/lib/components/period-selector/helper/index.js +3 -1
- package/lib/components/photo-card/components/card/index.css +3 -3
- package/lib/components/photo-card/index.css +1 -1
- package/lib/components/point-demo/index.js +9 -7
- package/lib/components/point-demo/point-demo.js +5 -3
- package/lib/components/promise-confirm/index.js +3 -2
- package/lib/components/search-dropdown/index.css +1 -1
- package/lib/components/select-layer/index.css +1 -1
- package/lib/components/select-tags/index.js +5 -3
- package/lib/components/status-time/index.css +1 -1
- package/lib/components/stop-taking-modal/index.js +3 -1
- package/lib/components/superset-charts/utils/axios.js +4 -2
- package/lib/components/survey-model/index.js +7 -7
- package/lib/components/survey-model/instance.js +4 -2
- package/lib/components/switch/index.css +1 -1
- package/lib/components/tabs/index.css +1 -1
- package/lib/components/task-relation-modal/helper.js +1 -1
- package/lib/components/task-relation-modal/okr-relation/relation-task-model/search-form.js +2 -2
- package/lib/components/task-relation-modal/okr-relation/request-api.js +3 -1
- package/lib/components/task-relation-modal/okr-relation/tree/task-tree/index.js +3 -1
- package/lib/components/task-relation-modal/request-api.js +3 -1
- package/lib/components/task-relation-modal/search/search-dropdown/index.css +1 -1
- package/lib/components/task-relation-modal/tree/category-tree/index.css +3 -3
- package/lib/components/task-relation-modal/tree/okr-tree/index.css +2 -2
- package/lib/components/task-relation-modal/tree/okr-tree/index.js +3 -1
- package/lib/components/task-relation-modal/tree/okr-tree/search-form.js +2 -2
- package/lib/components/task-relation-modal/tree/work-list/search-form.js +2 -2
- package/lib/components/task-relation-modal/tree/work-tree/index.css +2 -2
- package/lib/components/task-relation-modal/tree/work-tree/search-form.js +2 -2
- package/lib/components/task-relation-modal/tree-node/category-node/index.css +1 -1
- package/lib/components/task-relation-modal/tree-node/kr-node/index.css +1 -1
- package/lib/components/task-relation-modal/tree-node/milestone-node/index.css +1 -1
- package/lib/components/task-relation-modal/tree-node/work-node/index.js +3 -1
- package/lib/components/task-tree/task-item-node/index.css +5 -5
- package/lib/components/textarea/index.js +4 -2
- package/lib/components/tooltip/index.css +1 -1
- package/lib/components/upload/index.js +4 -2
- package/lib/components/upvote/request-apis.js +4 -2
- package/lib/components/user-selector/empty/group.js +4 -2
- package/lib/components/user-selector/request-apis.js +4 -2
- package/lib/components/version-change-modal/index.css +2 -2
- package/lib/components/version-change-modal/index.js +6 -2
- package/lib/components/video-modal/index.js +3 -1
- package/lib/components/weekly-report/card.js +9 -9
- package/lib/components/word-cloud/request-apis.js +4 -2
- package/lib/index.js +8 -0
- package/lib/pages/aha2021/index.js +9 -9
- package/lib/pages/appointment-demo/drop-down-box/index.css +1 -1
- package/lib/pages/appointment-demo/input/index.css +1 -1
- package/lib/pages/group-management/components/input-form/index.css +1 -1
- package/lib/pages/group-management/components/openData/index.js +9 -3
- package/lib/pages/group-management/groupInterface.js +10 -4
- package/lib/pages/group-management/page-view/importGroupStaff/index.js +5 -3
- package/lib/pages/group-management/page-view/index.css +1 -1
- package/lib/pages/like-ranking/index.js +3 -1
- package/lib/pages/new-okr-list/header/index.js +10 -4
- package/lib/pages/new-okr-list/index.js +2 -41
- package/lib/pages/okr-map/export-modules/okr-map/header/index.css +3 -3
- package/lib/pages/okr-map/export-modules/okr-map/index.css +1 -1
- package/lib/pages/okr-map/export-modules/share-okr-page/header/index.css +2 -2
- package/lib/pages/okr-map/export-modules/share-okr-page/index.css +1 -1
- package/lib/pages/okr-map/hooks/useStorage.js +3 -1
- package/lib/pages/okr-map/level2-search/index.css +1 -1
- package/lib/pages/okr-map/no-okr/index.css +1 -1
- package/lib/pages/okr-map/number-select/index.css +1 -1
- package/lib/pages/okr-map/open-data/index.js +3 -1
- package/lib/pages/okr-map/request-apis.js +4 -2
- package/lib/pages/okr-map/share-dialog/index.css +3 -3
- package/lib/pages/okr-map/unsupport-ie/index.css +1 -1
- package/lib/pages/okr-map/utils.js +10 -7
- package/lib/pages/personal-info/components/base-info/index.css +1 -1
- package/lib/pages/personal-info/components/person-photo/index.css +1 -1
- package/lib/utils/auth.js +22 -14
- package/lib/utils/bs-global.js +21 -8
- package/lib/utils/helpers.js +15 -5
- package/lib/utils/open-data.js +14 -6
- package/lib/utils/platform.js +15 -5
- package/lib/utils/request-v1.js +9 -3
- package/lib/utils/request.js +3 -3
- 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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
-
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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 ?
|
|
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
|
-
|
|
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
|
|
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 =
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
-
|
|
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) {
|