@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
|
@@ -7,8 +7,10 @@ exports.topDynamic = exports.setSummaryAlreadyRead = exports.deleteDynamic = exp
|
|
|
7
7
|
|
|
8
8
|
var _request = require("../../utils/request");
|
|
9
9
|
|
|
10
|
+
var _BSGlobal$loginUserIn;
|
|
11
|
+
|
|
10
12
|
// @ts-ignore
|
|
11
|
-
var userId = BSGlobal && BSGlobal.loginUserInfo.Id || 0;
|
|
13
|
+
var userId = BSGlobal && ((_BSGlobal$loginUserIn = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn === void 0 ? void 0 : _BSGlobal$loginUserIn.Id) || 0;
|
|
12
14
|
|
|
13
15
|
var topDynamic = function topDynamic(_ref) {
|
|
14
16
|
var feedId = _ref.feedId;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
.tita-okrdt-tree__e-task-node-title {
|
|
19
19
|
height: 22px;
|
|
20
20
|
font-size: 14px;
|
|
21
|
-
font-family:
|
|
21
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
22
22
|
color: #3f4755;
|
|
23
23
|
line-height: 22px;
|
|
24
24
|
overflow: hidden;
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
.tita-okrdt-tree__e-project-node-title {
|
|
89
89
|
display: inline-block;
|
|
90
90
|
font-size: 14px;
|
|
91
|
-
font-family:
|
|
91
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
92
92
|
color: #3f4755;
|
|
93
93
|
line-height: 22px;
|
|
94
94
|
overflow: hidden;
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
.tita-okrdt-tree__e-task-level2-node-title {
|
|
150
150
|
height: 22px;
|
|
151
151
|
font-size: 14px;
|
|
152
|
-
font-family:
|
|
152
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
153
153
|
color: #3f4755;
|
|
154
154
|
line-height: 22px;
|
|
155
155
|
overflow: hidden;
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
|
|
194
194
|
.tita-okrdt-tree__e-empty-node {
|
|
195
195
|
font-size: 12px;
|
|
196
|
-
font-family:
|
|
196
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
197
197
|
color: #f6bd16;
|
|
198
198
|
line-height: 18px;
|
|
199
199
|
padding-left: 12px;
|
|
@@ -45,7 +45,7 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
|
|
|
45
45
|
|
|
46
46
|
var EmptyDiv = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 95%;\n height: 114px;\n margin: 50px 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n border: 1px solid #C5C5C5;\n border-radius: 2px;\n border-style: dashed;\n"])));
|
|
47
47
|
|
|
48
|
-
var Text = _styledComponents["default"].span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-family:
|
|
48
|
+
var Text = _styledComponents["default"].span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 20px;\n color: #C5C5C5;\n margin-bottom: 5px;\n"])));
|
|
49
49
|
|
|
50
50
|
var ReadMoreDiv = _styledComponents["default"].div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin-top: 5px;\n display: flex;\n flex-direction: row;\n align-items: center;\n font-size: 12px;\n &>*{\n color: #005999;\n transition: color .2s linear;\n cursor: pointer;\n }\n &>*:hover{\n color: #1687d9;\n }\n"])));
|
|
51
51
|
|
|
@@ -17,7 +17,7 @@ var ListTopDivStyle = _styledComponents["default"].div(_templateObject || (_temp
|
|
|
17
17
|
|
|
18
18
|
exports.ListTopDivStyle = ListTopDivStyle;
|
|
19
19
|
|
|
20
|
-
var ListTopLabelStyle = _styledComponents["default"].span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\nheight: 20px;\nposition: absolute;\ntop: 0;\nfont-family:
|
|
20
|
+
var ListTopLabelStyle = _styledComponents["default"].span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\nheight: 20px;\nposition: absolute;\ntop: 0;\nfont-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;\nfont-size: 14px;\ncolor: #A4ACB9;\ncursor: default;\n"])));
|
|
21
21
|
|
|
22
22
|
exports.ListTopLabelStyle = ListTopLabelStyle;
|
|
23
23
|
|
|
@@ -29,7 +29,7 @@ var TimePickStyle = _styledComponents["default"].span(_templateObject4 || (_temp
|
|
|
29
29
|
|
|
30
30
|
exports.TimePickStyle = TimePickStyle;
|
|
31
31
|
|
|
32
|
-
var TimePickTextStyle = _styledComponents["default"].span(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\nfont-family:
|
|
32
|
+
var TimePickTextStyle = _styledComponents["default"].span(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\nfont-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;\nfont-size: 14px;\ncolor: #A4ACB9;\nmargin-left: 5.9px;\ncursor: pointer;\n"])));
|
|
33
33
|
|
|
34
34
|
exports.TimePickTextStyle = TimePickTextStyle;
|
|
35
35
|
|
|
@@ -53,12 +53,14 @@ var EReportShare = /*#__PURE__*/function (_PureComponent) {
|
|
|
53
53
|
var _super = _createSuper(EReportShare);
|
|
54
54
|
|
|
55
55
|
function EReportShare(props) {
|
|
56
|
+
var _BSGlobal$loginUserIn, _BSGlobal$loginUserIn2, _BSGlobal$loginUserIn3;
|
|
57
|
+
|
|
56
58
|
var _this;
|
|
57
59
|
|
|
58
60
|
_classCallCheck(this, EReportShare);
|
|
59
61
|
|
|
60
62
|
_this = _super.call(this, props);
|
|
61
|
-
_this.isManager = BSGlobal.loginUserInfo.IsRoot || BSGlobal.loginUserInfo.IsBoss || BSGlobal.loginUserInfo.IsOkrManager;
|
|
63
|
+
_this.isManager = ((_BSGlobal$loginUserIn = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn === void 0 ? void 0 : _BSGlobal$loginUserIn.IsRoot) || ((_BSGlobal$loginUserIn2 = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn2 === void 0 ? void 0 : _BSGlobal$loginUserIn2.IsBoss) || ((_BSGlobal$loginUserIn3 = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn3 === void 0 ? void 0 : _BSGlobal$loginUserIn3.IsOkrManager);
|
|
62
64
|
|
|
63
65
|
_this.handlerContentSubmit = function (submitType, sentData) {
|
|
64
66
|
var _this$props = _this.props,
|
|
@@ -21,15 +21,15 @@ var KrListItem = _styledComponents["default"].div(_templateObject2 || (_template
|
|
|
21
21
|
|
|
22
22
|
exports.KrListItem = KrListItem;
|
|
23
23
|
|
|
24
|
-
var KrCounter = _styledComponents["default"].div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n line-height: normal;\n width: 24px;\n .kr-counter {\n font-family:
|
|
24
|
+
var KrCounter = _styledComponents["default"].div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n line-height: normal;\n width: 24px;\n .kr-counter {\n font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;\n font-size: 13px;\n color: #2879ff;\n opacity: 1;\n }\n"])));
|
|
25
25
|
|
|
26
26
|
exports.KrCounter = KrCounter;
|
|
27
27
|
|
|
28
|
-
var KrTitle = _styledComponents["default"].div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-left: 8px;\n margin-right: 40px;\n width: 266px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-family:
|
|
28
|
+
var KrTitle = _styledComponents["default"].div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-left: 8px;\n margin-right: 40px;\n width: 266px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;\n font-size: 14px;\n color: #33383d;\n"])));
|
|
29
29
|
|
|
30
30
|
exports.KrTitle = KrTitle;
|
|
31
31
|
|
|
32
|
-
var FormItemLabel = _styledComponents["default"].div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-family:
|
|
32
|
+
var FormItemLabel = _styledComponents["default"].div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;\n font-size: 14px;\n color: #83898f;\n margin-right: 10px;\n white-space: nowrap;\n"])));
|
|
33
33
|
|
|
34
34
|
exports.FormItemLabel = FormItemLabel;
|
|
35
35
|
|
|
@@ -38,7 +38,7 @@ var FormItemWrapper = _styledComponents["default"].div(_templateObject6 || (_tem
|
|
|
38
38
|
exports.FormItemWrapper = FormItemWrapper;
|
|
39
39
|
|
|
40
40
|
var ItemLabel = _styledComponents["default"].label.attrs(function () {// console.log(props);
|
|
41
|
-
})(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n text-align: right;\n display: inline-block;\n min-width: 60px;\n position: relative;\n right: 5px;\n bottom: 2px;\n font-size: 13px;\n color: #83898f;\n opacity: 0.7;\n &::before {\n font-family:
|
|
41
|
+
})(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n text-align: right;\n display: inline-block;\n min-width: 60px;\n position: relative;\n right: 5px;\n bottom: 2px;\n font-size: 13px;\n color: #83898f;\n opacity: 0.7;\n &::before {\n font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;\n content: '*';\n font-size: 12px;\n position: absolute;\n top: 50%;\n left: 45%;\n transform: translate(-50%, -50%);\n color: ", ";\n }\n"])), function (props) {
|
|
42
42
|
return props.required ? "#cc2929" : "transparent";
|
|
43
43
|
});
|
|
44
44
|
|
|
@@ -48,7 +48,7 @@ var ItemWrapper = _styledComponents["default"].div(_templateObject8 || (_templat
|
|
|
48
48
|
|
|
49
49
|
exports.ItemWrapper = ItemWrapper;
|
|
50
50
|
|
|
51
|
-
var InvalidTextContainer = _styledComponents["default"].div(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);\n position: absolute;\n left: 0;\n right:0;\n pointer-events: none;\n white-space: nowrap;\n font-family:
|
|
51
|
+
var InvalidTextContainer = _styledComponents["default"].div(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);\n position: absolute;\n left: 0;\n right:0;\n pointer-events: none;\n white-space: nowrap;\n font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;\n font-size: 12px;\n color: #cc2929;\n letter-spacing: 0;\n"])));
|
|
52
52
|
|
|
53
53
|
exports.InvalidTextContainer = InvalidTextContainer;
|
|
54
54
|
|
|
@@ -21,7 +21,7 @@ var EmotionBox = _styledComponents["default"].div(_templateObject2 || (_template
|
|
|
21
21
|
|
|
22
22
|
exports.EmotionBox = EmotionBox;
|
|
23
23
|
|
|
24
|
-
var EmotionContent = _styledComponents["default"].div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding: 15px;\n font-size: 12px;\n line-height: 1em;\n font-family:
|
|
24
|
+
var EmotionContent = _styledComponents["default"].div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding: 15px;\n font-size: 12px;\n line-height: 1em;\n font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;\n color: #555;\n position: relative;\n"])));
|
|
25
25
|
|
|
26
26
|
exports.EmotionContent = EmotionContent;
|
|
27
27
|
|
|
@@ -17,7 +17,7 @@ var ListTopDivStyle = _styledComponents["default"].div(_templateObject || (_temp
|
|
|
17
17
|
|
|
18
18
|
exports.ListTopDivStyle = ListTopDivStyle;
|
|
19
19
|
|
|
20
|
-
var ListTopLabelStyle = _styledComponents["default"].span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\nheight: 20px;\nposition: absolute;\ntop: 0;\nfont-family:
|
|
20
|
+
var ListTopLabelStyle = _styledComponents["default"].span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\nheight: 20px;\nposition: absolute;\ntop: 0;\nfont-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;\nfont-size: 14px;\ncolor: #A4ACB9;\ncursor: default;\n"])));
|
|
21
21
|
|
|
22
22
|
exports.ListTopLabelStyle = ListTopLabelStyle;
|
|
23
23
|
|
|
@@ -29,7 +29,7 @@ var TimePickStyle = _styledComponents["default"].span(_templateObject4 || (_temp
|
|
|
29
29
|
|
|
30
30
|
exports.TimePickStyle = TimePickStyle;
|
|
31
31
|
|
|
32
|
-
var TimePickTextStyle = _styledComponents["default"].span(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\nfont-family:
|
|
32
|
+
var TimePickTextStyle = _styledComponents["default"].span(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\nfont-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;\nfont-size: 14px;\ncolor: #A4ACB9;\nmargin-left: 5.9px;\ncursor: pointer;\n"])));
|
|
33
33
|
|
|
34
34
|
exports.TimePickTextStyle = TimePickTextStyle;
|
|
35
35
|
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
row-gap: 12px;
|
|
5
|
-
font-family:
|
|
5
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
6
6
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
height: 22px;
|
|
3
3
|
font-size: 14px;
|
|
4
4
|
margin-bottom: 5px;
|
|
5
|
-
font-family:
|
|
5
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
6
6
|
font-weight: 400;
|
|
7
7
|
line-height: 22px;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
height: 22px;
|
|
3
3
|
font-size: 14px;
|
|
4
4
|
margin-bottom: 5px;
|
|
5
|
-
font-family:
|
|
5
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
6
6
|
font-weight: 400;
|
|
7
7
|
line-height: 22px;
|
|
8
8
|
}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
font-size: 14px;
|
|
41
41
|
font-weight: 400;
|
|
42
42
|
color: #3f4755;
|
|
43
|
-
font-family:
|
|
43
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
position: relative;
|
|
46
46
|
}
|
|
@@ -75,9 +75,9 @@ var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
75
75
|
});
|
|
76
76
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
77
77
|
className: (0, _classnames["default"])(precls, "".concat(precls, "--").concat(direction))
|
|
78
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
79
|
-
className: "".concat(precls, "__label")
|
|
80
78
|
}, label.length > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
79
|
+
className: "".concat(precls, "__label")
|
|
80
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
81
81
|
className: "".concat(precls, "__label-text")
|
|
82
82
|
}, label), require && /*#__PURE__*/_react["default"].createElement("span", {
|
|
83
83
|
className: (0, _classnames["default"])("".concat(precls, "__label-require"))
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
height: 22px;
|
|
3
3
|
font-size: 14px;
|
|
4
4
|
margin-bottom: 5px;
|
|
5
|
-
font-family:
|
|
5
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
6
6
|
font-weight: 400;
|
|
7
7
|
line-height: 22px;
|
|
8
8
|
}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
line-height: 22px;
|
|
41
41
|
width: calc(100% - 36px);
|
|
42
42
|
font-size: 14px;
|
|
43
|
-
font-family:
|
|
43
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
44
44
|
font-weight: 400;
|
|
45
45
|
color: #3f4755;
|
|
46
46
|
cursor: pointer;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
height: 22px;
|
|
17
17
|
font-size: 14px;
|
|
18
18
|
margin-bottom: 5px;
|
|
19
|
-
font-family:
|
|
19
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
20
20
|
font-weight: 400;
|
|
21
21
|
line-height: 22px;
|
|
22
22
|
}
|
|
@@ -49,6 +49,10 @@
|
|
|
49
49
|
color: #3f475594;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
.form-field-input__border:hover {
|
|
53
|
+
border: 1px solid #2879ff !important;
|
|
54
|
+
}
|
|
55
|
+
|
|
52
56
|
.form-field-input__border--error {
|
|
53
57
|
box-shadow: inset 0px 0px 4px 0px rgba(240, 94, 94, 0.3);
|
|
54
58
|
border: 1px solid #f05e5e;
|
|
@@ -64,7 +68,7 @@
|
|
|
64
68
|
padding: 0;
|
|
65
69
|
width: calc(100% - 12px);
|
|
66
70
|
font-size: 14px;
|
|
67
|
-
font-family:
|
|
71
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
68
72
|
font-weight: 400;
|
|
69
73
|
color: #3f4755;
|
|
70
74
|
height: 22px;
|
|
@@ -112,6 +112,7 @@ var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
112
112
|
if (errors.length) {
|
|
113
113
|
setHasError(true);
|
|
114
114
|
setTip(errors[0].tip);
|
|
115
|
+
setHasActive(false);
|
|
115
116
|
inputRef.current.focus();
|
|
116
117
|
} else {
|
|
117
118
|
setHasError(false);
|
|
@@ -154,7 +155,10 @@ var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
154
155
|
onBlur && onBlur(value);
|
|
155
156
|
setHasActive(false);
|
|
156
157
|
|
|
157
|
-
var errors = _verifing();
|
|
158
|
+
var errors = _verifing(); // if(onBlur) {
|
|
159
|
+
// onBlur()
|
|
160
|
+
// }
|
|
161
|
+
|
|
158
162
|
|
|
159
163
|
if (errors.length) {
|
|
160
164
|
setHasError(true);
|
|
@@ -184,15 +188,13 @@ var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
184
188
|
|
|
185
189
|
var errors = _verifing();
|
|
186
190
|
|
|
187
|
-
setHasActive(false);
|
|
188
|
-
|
|
189
191
|
if (errors.length) {
|
|
190
|
-
setHasError(true);
|
|
191
|
-
setTip(errors[0].tip);
|
|
192
|
+
// setHasError(true);
|
|
193
|
+
// setTip(errors[0].tip);
|
|
192
194
|
onCheckSuccess && onCheckSuccess(false);
|
|
193
195
|
} else {
|
|
194
|
-
setHasError(false);
|
|
195
|
-
setTip('');
|
|
196
|
+
// setHasError(false);
|
|
197
|
+
// setTip('');
|
|
196
198
|
onCheckSuccess && onCheckSuccess(true);
|
|
197
199
|
}
|
|
198
200
|
};
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
height: 22px;
|
|
17
17
|
font-size: 14px;
|
|
18
18
|
margin-bottom: 5px;
|
|
19
|
-
font-family:
|
|
19
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
20
20
|
font-weight: 400;
|
|
21
21
|
line-height: 22px;
|
|
22
22
|
}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
padding: 0;
|
|
65
65
|
width: calc(100% - 102px);
|
|
66
66
|
font-size: 14px;
|
|
67
|
-
font-family:
|
|
67
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
68
68
|
font-weight: 400;
|
|
69
69
|
color: #3f4755;
|
|
70
70
|
height: 22px;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
height: 22px;
|
|
17
17
|
font-size: 14px;
|
|
18
18
|
margin-bottom: 5px;
|
|
19
|
-
font-family:
|
|
19
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
20
20
|
font-weight: 400;
|
|
21
21
|
line-height: 22px;
|
|
22
22
|
}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
padding: 0;
|
|
58
58
|
width: calc(100% - 20px);
|
|
59
59
|
font-size: 14px;
|
|
60
|
-
font-family:
|
|
60
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
61
61
|
font-weight: 400;
|
|
62
62
|
color: #3f4755;
|
|
63
63
|
height: 22px;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
height: 22px;
|
|
17
17
|
font-size: 14px;
|
|
18
18
|
margin-bottom: 5px;
|
|
19
|
-
font-family:
|
|
19
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
20
20
|
font-weight: 400;
|
|
21
21
|
line-height: 22px;
|
|
22
22
|
}
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
padding: 0;
|
|
53
53
|
width: 100%;
|
|
54
54
|
font-size: 14px;
|
|
55
|
-
font-family:
|
|
55
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
56
56
|
font-weight: 400;
|
|
57
57
|
color: #3f4755;
|
|
58
58
|
height: 100px;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
height: 22px;
|
|
3
3
|
font-size: 14px;
|
|
4
4
|
margin-bottom: 5px;
|
|
5
|
-
font-family:
|
|
5
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
6
6
|
font-weight: 400;
|
|
7
7
|
line-height: 22px;
|
|
8
8
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
line-height: 22px;
|
|
39
39
|
width: calc(100% - 36px);
|
|
40
40
|
font-size: 14px;
|
|
41
|
-
font-family:
|
|
41
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
42
42
|
font-weight: 400;
|
|
43
43
|
color: #3f4755;
|
|
44
44
|
cursor: pointer;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
height: 100%;
|
|
5
5
|
width: 100%;
|
|
6
6
|
background-color: #fff;
|
|
7
|
-
font-family:
|
|
7
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
8
8
|
box-shadow: 0px 2px 12px 0px rgba(127, 145, 180, 0.15);
|
|
9
9
|
border-radius: 8px;
|
|
10
10
|
overflow: hidden;
|
|
@@ -108,16 +108,16 @@ function PersonalInfoComponent() {
|
|
|
108
108
|
for (var item in loginUserInfo) {
|
|
109
109
|
switch (item) {
|
|
110
110
|
case "IsBoss":
|
|
111
|
-
loginUserInfo.IsBoss && userRoleList.push("boss");
|
|
111
|
+
(loginUserInfo === null || loginUserInfo === void 0 ? void 0 : loginUserInfo.IsBoss) && userRoleList.push("boss");
|
|
112
112
|
break;
|
|
113
113
|
|
|
114
114
|
case "Role":
|
|
115
|
-
loginUserInfo.Role === 2 && userRoleList.push("super");
|
|
116
|
-
loginUserInfo.Role === 4 && userRoleList.push("userManager");
|
|
115
|
+
(loginUserInfo === null || loginUserInfo === void 0 ? void 0 : loginUserInfo.Role) === 2 && userRoleList.push("super");
|
|
116
|
+
(loginUserInfo === null || loginUserInfo === void 0 ? void 0 : loginUserInfo.Role) === 4 && userRoleList.push("userManager");
|
|
117
117
|
break;
|
|
118
118
|
|
|
119
119
|
case "IsTitaFeedSystemManager":
|
|
120
|
-
loginUserInfo.IsTitaFeedSystemManager && userRoleList.push("assistant");
|
|
120
|
+
(loginUserInfo === null || loginUserInfo === void 0 ? void 0 : loginUserInfo.IsTitaFeedSystemManager) && userRoleList.push("assistant");
|
|
121
121
|
break;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -63,8 +63,10 @@ function SubOKRComponents() {
|
|
|
63
63
|
setIsLeader = _useState8[1];
|
|
64
64
|
|
|
65
65
|
(0, _react.useEffect)(function () {
|
|
66
|
+
var _BSGlobal$loginUserIn;
|
|
67
|
+
|
|
66
68
|
// @ts-ignore
|
|
67
|
-
if (BSGlobal && BSGlobal.loginUserInfo.IsLeader) {
|
|
69
|
+
if (BSGlobal && (_BSGlobal$loginUserIn = BSGlobal.loginUserInfo) !== null && _BSGlobal$loginUserIn !== void 0 && _BSGlobal$loginUserIn.IsLeader) {
|
|
68
70
|
setIsLeader(true);
|
|
69
71
|
setIsSubTab(true);
|
|
70
72
|
}
|
|
@@ -11,6 +11,8 @@ var _axios = _interopRequireDefault(require("axios"));
|
|
|
11
11
|
|
|
12
12
|
var _requestV = require("../../../utils/request-v1");
|
|
13
13
|
|
|
14
|
+
var _BSGlobal$tenantInfo, _BSGlobal$loginUserIn;
|
|
15
|
+
|
|
14
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
17
|
|
|
16
18
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
@@ -20,9 +22,9 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
|
|
|
20
22
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
21
23
|
|
|
22
24
|
// @ts-ignore
|
|
23
|
-
var tenantId = BSGlobal && BSGlobal.tenantInfo.Id || 0; // @ts-ignore
|
|
25
|
+
var tenantId = BSGlobal && ((_BSGlobal$tenantInfo = BSGlobal.tenantInfo) === null || _BSGlobal$tenantInfo === void 0 ? void 0 : _BSGlobal$tenantInfo.Id) || 0; // @ts-ignore
|
|
24
26
|
|
|
25
|
-
var userId = BSGlobal && BSGlobal.loginUserInfo.Id || 0; // 对象转 queryParams
|
|
27
|
+
var userId = BSGlobal && ((_BSGlobal$loginUserIn = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn === void 0 ? void 0 : _BSGlobal$loginUserIn.Id) || 0; // 对象转 queryParams
|
|
26
28
|
|
|
27
29
|
var queryParams = function queryParams() {
|
|
28
30
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -108,16 +108,16 @@ function PersonalInfoComponent() {
|
|
|
108
108
|
for (var item in loginUserInfo) {
|
|
109
109
|
switch (item) {
|
|
110
110
|
case "IsBoss":
|
|
111
|
-
loginUserInfo.IsBoss && userRoleList.push("boss");
|
|
111
|
+
(loginUserInfo === null || loginUserInfo === void 0 ? void 0 : loginUserInfo.IsBoss) && userRoleList.push("boss");
|
|
112
112
|
break;
|
|
113
113
|
|
|
114
114
|
case "Role":
|
|
115
|
-
loginUserInfo.Role === 2 && userRoleList.push("super");
|
|
116
|
-
loginUserInfo.Role === 4 && userRoleList.push("userManager");
|
|
115
|
+
(loginUserInfo === null || loginUserInfo === void 0 ? void 0 : loginUserInfo.Role) === 2 && userRoleList.push("super");
|
|
116
|
+
(loginUserInfo === null || loginUserInfo === void 0 ? void 0 : loginUserInfo.Role) === 4 && userRoleList.push("userManager");
|
|
117
117
|
break;
|
|
118
118
|
|
|
119
119
|
case "IsTitaFeedSystemManager":
|
|
120
|
-
loginUserInfo.IsTitaFeedSystemManager && userRoleList.push("assistant");
|
|
120
|
+
(loginUserInfo === null || loginUserInfo === void 0 ? void 0 : loginUserInfo.IsTitaFeedSystemManager) && userRoleList.push("assistant");
|
|
121
121
|
break;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -19,7 +19,7 @@ var _getLocale = require("../../utils/getLocale");
|
|
|
19
19
|
|
|
20
20
|
require("./index.css");
|
|
21
21
|
|
|
22
|
-
var _excluded = ["type", "width", "time", "children", "popupPlacement", "classnames", "content", "onClickClose", "buttonTitle", "visible"];
|
|
22
|
+
var _excluded = ["type", "width", "time", "children", "popupPlacement", "classnames", "content", "onClickClose", "buttonTitle", "visible", "isShowPopup"];
|
|
23
23
|
|
|
24
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
25
|
|
|
@@ -55,6 +55,8 @@ var GuideTip = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
55
55
|
buttonTitle = _props$buttonTitle === void 0 ? (0, _getLocale.getLocale)('TopMenu_button_InvitColleagues') : _props$buttonTitle,
|
|
56
56
|
_props$visible = props.visible,
|
|
57
57
|
visible = _props$visible === void 0 ? false : _props$visible,
|
|
58
|
+
_props$isShowPopup = props.isShowPopup,
|
|
59
|
+
isShowPopup = _props$isShowPopup === void 0 ? true : _props$isShowPopup,
|
|
58
60
|
restProps = _objectWithoutProperties(props, _excluded);
|
|
59
61
|
|
|
60
62
|
var popupRef = (0, _react.useRef)({
|
|
@@ -104,6 +106,7 @@ var GuideTip = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
104
106
|
}, time);
|
|
105
107
|
}
|
|
106
108
|
}, []);
|
|
109
|
+
if (!isShowPopup) return children;
|
|
107
110
|
return /*#__PURE__*/_react["default"].createElement(_popup["default"], _extends({
|
|
108
111
|
ref: popupRef,
|
|
109
112
|
action: ['focus'],
|
|
@@ -112,7 +112,9 @@ var HelpCard = function HelpCard(_ref) {
|
|
|
112
112
|
var kefuUrl = isTrial ? "https://wpa1.qq.com/vZYKN3kT?_type=wpa&qidian=true" : "https://wpa1.qq.com/o6X4XD1n?_type=wpa&qidian=true";
|
|
113
113
|
|
|
114
114
|
var getBookDemoVersion = function getBookDemoVersion() {
|
|
115
|
-
var
|
|
115
|
+
var _window$BSGlobal$tena;
|
|
116
|
+
|
|
117
|
+
var menuVersion = (_window$BSGlobal$tena = window.BSGlobal.tenantAuthentication) === null || _window$BSGlobal$tena === void 0 ? void 0 : _window$BSGlobal$tena.MenuVersion;
|
|
116
118
|
|
|
117
119
|
if (menuVersion === _interface.ETrialVersion.OKR) {
|
|
118
120
|
return _bookDemo["default"].DemoType.TryOKR;
|
|
@@ -9,10 +9,12 @@ var _axios = _interopRequireDefault(require("axios"));
|
|
|
9
9
|
|
|
10
10
|
var _bsGlobal = require("../../utils/bs-global");
|
|
11
11
|
|
|
12
|
+
var _BSGlobal$tenantInfo, _BSGlobal$loginUserIn;
|
|
13
|
+
|
|
12
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
15
|
|
|
14
|
-
var tenantId = BSGlobal && BSGlobal.tenantInfo.Id || 0;
|
|
15
|
-
var userId = BSGlobal && BSGlobal.loginUserInfo.Id || 0;
|
|
16
|
+
var tenantId = BSGlobal && ((_BSGlobal$tenantInfo = BSGlobal.tenantInfo) === null || _BSGlobal$tenantInfo === void 0 ? void 0 : _BSGlobal$tenantInfo.Id) || 0;
|
|
17
|
+
var userId = BSGlobal && ((_BSGlobal$loginUserIn = BSGlobal.loginUserInfo) === null || _BSGlobal$loginUserIn === void 0 ? void 0 : _BSGlobal$loginUserIn.Id) || 0;
|
|
16
18
|
|
|
17
19
|
var requestDomain = function requestDomain() {
|
|
18
20
|
if (!window.location.hostname.match(/dev/)) return "";
|
|
@@ -48,6 +48,8 @@ var handleLogout = function handleLogout() {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
function HrHeader() {
|
|
51
|
+
var _getTenantInfo, _getLoginUserInfo;
|
|
52
|
+
|
|
51
53
|
var _useState = (0, _react.useState)([]),
|
|
52
54
|
_useState2 = _slicedToArray(_useState, 2),
|
|
53
55
|
menus = _useState2[0],
|
|
@@ -73,7 +75,7 @@ function HrHeader() {
|
|
|
73
75
|
className: preCls
|
|
74
76
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
75
77
|
className: "".concat(preCls, "__title")
|
|
76
|
-
}, (0, _helpers.getTenantInfo)().Name), /*#__PURE__*/_react["default"].createElement("div", {
|
|
78
|
+
}, (_getTenantInfo = (0, _helpers.getTenantInfo)()) === null || _getTenantInfo === void 0 ? void 0 : _getTenantInfo.Name), /*#__PURE__*/_react["default"].createElement("div", {
|
|
77
79
|
className: "".concat(preCls, "__menu-list")
|
|
78
80
|
}, menus.slice(0, 5).map(function (menu) {
|
|
79
81
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -117,7 +119,7 @@ function HrHeader() {
|
|
|
117
119
|
}, "\u9000\u51FA"))
|
|
118
120
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
119
121
|
className: "".concat(preCls, "__user")
|
|
120
|
-
}, (0, _helpers.getLoginUserInfo)().Name, /*#__PURE__*/_react["default"].createElement("img", {
|
|
122
|
+
}, (_getLoginUserInfo = (0, _helpers.getLoginUserInfo)()) === null || _getLoginUserInfo === void 0 ? void 0 : _getLoginUserInfo.Name, /*#__PURE__*/_react["default"].createElement("img", {
|
|
121
123
|
src: _arrow["default"],
|
|
122
124
|
style: {
|
|
123
125
|
transform: "rotate(".concat(isShowUserMenu ? 180 : 0, "deg)")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.titaui-img-viewer {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
|
|
3
3
|
user-select: none;
|
|
4
4
|
position: absolute;
|
|
5
5
|
top: 0;
|
|
@@ -32,7 +32,7 @@ var isOpenWorkManage = (0, _bsGlobal.getAppHead)('112'); // 开通项目
|
|
|
32
32
|
|
|
33
33
|
exports.isOpenWorkManage = isOpenWorkManage;
|
|
34
34
|
var TaskAdvancedSetting = (0, _bsGlobal.getBSGlobal)('TaskAdvancedSetting');
|
|
35
|
-
var isOpenLabel = TaskAdvancedSetting.TaskPlanSetting.TaskLabel; // 开启分类
|
|
35
|
+
var isOpenLabel = TaskAdvancedSetting === null || TaskAdvancedSetting === void 0 ? void 0 : TaskAdvancedSetting.TaskPlanSetting.TaskLabel; // 开启分类
|
|
36
36
|
|
|
37
37
|
exports.isOpenLabel = isOpenLabel;
|
|
38
38
|
var lableTypeMap = {
|