@titaui/pc 1.6.15 → 1.6.16
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/index.js +1 -1
- package/lib/components/button/index.js +1 -1
- package/lib/components/change-okr/styledComponents.js +1 -1
- package/lib/components/communication/style.js +1 -1
- package/lib/components/create-okr/constant.js +1 -1
- package/lib/components/create-okr/createSuccessCmp.js +6 -2
- package/lib/components/create-okr/fields/index.js +1 -1
- package/lib/components/create-okr/index.js +16 -1
- package/lib/components/create-okr/request-api.js +1 -1
- package/lib/components/create-okr/style.js +1 -1
- package/lib/components/create-okr/utils/helper.js +1 -1
- package/lib/components/delete-confirm-pop/style.js +1 -1
- package/lib/components/dialog/index.css +1 -0
- package/lib/components/dropdown-layer/index.js +1 -1
- package/lib/components/dynamic/constant.js +1 -1
- package/lib/components/dynamic/dynamic-like-ranking/index.css +1 -1
- package/lib/components/dynamic/dynamic-liking/index.css +1 -1
- package/lib/components/dynamic/dynamic-list/index.js +7 -1
- package/lib/components/dynamic/dynamic-topping/index.css +1 -1
- package/lib/components/dynamic/dynamic-topping/request-api.js +1 -1
- package/lib/components/dynamic/dynamic.js +3 -3
- package/lib/components/dynamic/export-module/index.js +1 -1
- package/lib/components/dynamic/index.js +1 -1
- package/lib/components/dynamic/request-api.js +1 -1
- package/lib/components/dynamic/util.js +1 -1
- package/lib/components/eReport/eReportLists/style.js +1 -1
- package/lib/components/eReport/eReportShare/style.js +1 -1
- package/lib/components/eReport/eReportShare/toast/style.js +1 -1
- package/lib/components/edit-kr-wight/style/index.js +1 -1
- package/lib/components/emotionsSelector/style.js +1 -1
- package/lib/components/file-list/index.js +1 -1
- package/lib/components/form/index.js +1 -1
- package/lib/components/grid-page/commen-components/index.js +4 -4
- package/lib/components/grid-page/commen-components/scroll-tips.js +1 -1
- package/lib/components/grid-page/util/network.js +1 -1
- package/lib/components/help-card/index.css +4 -4
- package/lib/components/mblog/common/index.js +3 -3
- package/lib/components/mblog/style.js +1 -1
- package/lib/components/menus/components/flip-menu-card/index.css +0 -1
- package/lib/components/menus/components/flip-menu-card/index.js +26 -16
- package/lib/components/menus/components/menu-tree/images/appraisal-menu/KH-help.svg +10 -0
- package/lib/components/menus/components/menu-tree/images/appraisal-menu/mypingjia.svg +10 -0
- package/lib/components/menus/components/menu-tree/images/okr-menu/cases.svg +9 -0
- package/lib/components/menus/components/menu-tree/images/okr-menu/{rw-zx.svg → panel.svg} +0 -0
- package/lib/components/menus/components/menu-tree/index.js +1 -1
- package/lib/components/menus/components/menu-tree/tree-node/avatar/index.css +0 -1
- package/lib/components/menus/components/menu-tree/tree-node/company-all-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/compony-node/index.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/depart-node/index.js +1 -0
- package/lib/components/menus/components/menu-tree/tree-node/follower-node/index.css +0 -1
- package/lib/components/menus/components/menu-tree/tree-node/follower-node/index.js +3 -1
- package/lib/components/menus/components/menu-tree/tree-node/group-name-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/index.css +56 -15
- package/lib/components/menus/components/menu-tree/tree-node/loading-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/menu-item-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/menu-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/no-follower-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/user-concern-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/user-node/index.css +0 -1
- package/lib/components/menus/components/menu-tree/tree-node/user-node/index.js +3 -0
- package/lib/components/menus/export-modules/appraisal-menus/datas.js +13 -1
- package/lib/components/menus/export-modules/okr-menus/datas.js +7 -2
- package/lib/components/menus/export-modules/okr-menus/index.css +2 -0
- package/lib/components/menus/export-modules/subordinate-menus/index.js +10 -3
- package/lib/components/menus/index.js +1 -1
- package/lib/components/menus/request-apis.js +1 -1
- package/lib/components/nav-top/components/menu/index.css +1 -0
- package/lib/components/nav-top/components/user-message/components/empty/index.js +1 -1
- package/lib/components/nav-top/components/user-message/components/inform/index.css +1 -0
- package/lib/components/nav-top/components/user-message/components/inform/index.js +14 -107
- package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +133 -0
- package/lib/components/nav-top/components/user-message/components/remind/index.css +1 -0
- package/lib/components/nav-top/components/user-message/components/remind/index.js +8 -48
- package/lib/components/nav-top/components/user-message/components/remind/remind-item.js +71 -0
- package/lib/components/nav-top/components/user-message/components/reply/index.css +1 -0
- package/lib/components/nav-top/components/user-message/components/reply/index.js +14 -57
- package/lib/components/nav-top/components/user-message/components/reply/reply-item.js +75 -0
- package/lib/components/nav-top/components/user-message/components/tab-title/index.js +8 -3
- package/lib/components/nav-top/components/user-message/components/todos/index.css +1 -0
- package/lib/components/nav-top/components/user-message/components/todos/index.js +15 -73
- package/lib/components/nav-top/components/user-message/components/todos/todo-item.js +70 -0
- package/lib/components/nav-top/components/user-message/constant.js +2 -29
- package/lib/components/nav-top/components/user-message/index.css +5 -5
- package/lib/components/nav-top/components/user-message/index.js +24 -16
- package/lib/components/nav-top/components/user-message/msg/index.css +5 -30
- package/lib/components/nav-top/components/user-message/msg/index.js +20 -2
- package/lib/components/nav-top/components/user-message/utils.js +22 -5
- package/lib/components/nav-top/components/user-own-menu/index.css +2 -1
- package/lib/components/nav-top/components/user-own-menu/index.js +2 -3
- package/lib/components/nav-top/components/user-own-menu/utils.js +6 -20
- package/lib/components/nav-top/constant.js +2 -10
- package/lib/components/nav-top/index.css +55 -0
- package/lib/components/nav-top/index.js +3 -2
- package/lib/components/nav-top/request.apis.js +5 -7
- package/lib/components/okr-detail/auth.js +1 -1
- package/lib/components/okr-detail/base-info/util.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/constant.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/style.js +1 -1
- package/lib/components/okr-detail/context.js +1 -1
- package/lib/components/okr-detail/detail-header/actions.js +2 -2
- package/lib/components/okr-detail/detail-header/delete-confirm/style.js +1 -1
- package/lib/components/okr-detail/detail-header/enums.js +1 -1
- package/lib/components/okr-detail/e-list/constant.js +1 -1
- package/lib/components/okr-detail/e-list/util.js +1 -1
- package/lib/components/okr-detail/okr-list/create-kr-item/style.js +1 -1
- package/lib/components/okr-detail/okr-list/drag-order-kr.js +1 -1
- package/lib/components/okr-detail/okr-list/index.js +2 -1
- package/lib/components/okr-detail/request-apis.js +1 -1
- package/lib/components/okr-detail/schedule/util.js +1 -1
- package/lib/components/okr-filter-drawer/filter-form.js +64 -38
- package/lib/components/okr-filter-drawer/index.js +14 -2
- package/lib/components/okr-flow/index.js +1 -1
- package/lib/components/okr-flow/mini-map/utils.js +1 -1
- package/lib/components/okr-flow/open-data/index.js +1 -1
- package/lib/components/okr-flow/request-apis.js +1 -1
- package/lib/components/okr-flow/utils/config.js +1 -1
- package/lib/components/okr-flow/utils/index.js +1 -1
- package/lib/components/okr-flow/utils/tree-handler.js +1 -1
- package/lib/components/okr-progress/request-apis.js +1 -1
- package/lib/components/okr-progress/util.js +1 -1
- package/lib/components/okr-progress-detail/utils.js +1 -1
- package/lib/components/okr-progress-modal/helper.js +1 -1
- package/lib/components/okr-progress-modal/style.js +1 -1
- package/lib/components/okr-progress-modal/textarea/style.js +1 -1
- package/lib/components/okr-review/ReviewPop/components/ReviewBody/style.js +1 -1
- package/lib/components/okr-review/ReviewPop/style.js +1 -1
- package/lib/components/okr-review/components/ReviewItem/style.js +1 -1
- package/lib/components/okr-review/components/confirm-pop/style.js +1 -1
- package/lib/components/okr-review/style.js +1 -1
- package/lib/components/okr-share/common-painter/utils.js +1 -1
- package/lib/components/okr-share/pink-card/images.js +1 -1
- package/lib/components/okr-share/request-apis.js +1 -1
- package/lib/components/okrcase-library/index.css +1 -1
- package/lib/components/okrcase-library/index.js +6 -1
- package/lib/components/okrcase-library/new-ui.css +52 -0
- package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +1 -1
- package/lib/components/okrcase-library/server/network.js +1 -1
- package/lib/components/open-data-painter/index.js +1 -1
- package/lib/components/operation-records/style.js +1 -1
- package/lib/components/period-selector/common.js +2 -2
- package/lib/components/period-selector/components/button/style.js +1 -1
- package/lib/components/period-selector/components/selector/style.js +1 -1
- package/lib/components/period-selector/helper/index.js +1 -1
- package/lib/components/period-selector/mockData.js +1 -1
- package/lib/components/period-selector/style.js +1 -1
- package/lib/components/photo-card/components/card/index.css +11 -1
- package/lib/components/photo-card/components/card/index.js +68 -105
- package/lib/components/photo-card/index.css +3 -2
- package/lib/components/photo-card/index.js +48 -8
- package/lib/components/pop-down-notification/components/SuccessRender.js +1 -1
- package/lib/components/pop-down-notification/style/index.js +1 -1
- package/lib/components/praise-record/style.js +1 -1
- package/lib/components/progress/index.js +1 -1
- package/lib/components/publish-dynamic-modal/requist-api.js +1 -1
- package/lib/components/radio/radio.js +1 -1
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/task-relation/helper.js +1 -1
- package/lib/components/task-relation/request-api.js +1 -1
- package/lib/components/tita-chart/index.js +4 -4
- package/lib/components/tita-chart/util/index.js +12 -12
- package/lib/components/tita-chart/util/utils.js +1 -1
- package/lib/components/tooltip/index.js +1 -1
- package/lib/components/tree/index.js +1 -1
- package/lib/components/upload/style.js +1 -1
- package/lib/components/upload/util.js +1 -1
- package/lib/components/upvote/request-apis.js +1 -1
- package/lib/components/user-selector/index.js +1 -1
- package/lib/components/user-selector/request-apis.js +1 -1
- package/lib/components/user-selector/utils.js +1 -1
- package/lib/components/version-change-modal/request-api.js +1 -1
- package/lib/components/viewer/index.js +1 -1
- package/lib/components-v1/avatar/styles.js +1 -1
- package/lib/components-v1/buttonv2/style/style.js +1 -1
- package/lib/components-v1/input/Input.js +1 -1
- package/lib/components-v1/input/InputNumber.js +1 -1
- package/lib/components-v1/input/style/index.js +1 -1
- package/lib/components-v1/popConfirm/style.js +1 -1
- package/lib/components-v1/tabs/style.js +1 -1
- package/lib/components-v1/textarea/style.js +1 -1
- package/lib/components-v1/userSelector/UserSelectorPop.js +1 -1
- package/lib/components-v1/userSelector/style.js +1 -1
- package/lib/index.js +1 -1
- package/lib/pages/aha2021/index.css +16 -0
- package/lib/pages/group-management/components/PopDownNotification/components/SuccessRender.js +1 -1
- package/lib/pages/group-management/components/PopDownNotification/style/index.js +1 -1
- package/lib/pages/group-management/components/openData/index.js +1 -1
- package/lib/pages/group-management/groupInterface.js +10 -10
- package/lib/pages/home-page/components/data-list/table/columns/index.js +1 -1
- package/lib/pages/new-okr-list/header/comments.js +104 -0
- package/lib/pages/new-okr-list/header/depart-title.js +43 -3
- package/lib/pages/new-okr-list/header/filter.js +50 -13
- package/lib/pages/new-okr-list/header/index.css +87 -0
- package/lib/pages/new-okr-list/header/index.js +62 -23
- package/lib/pages/new-okr-list/header/relation-title.js +28 -0
- package/lib/pages/new-okr-list/header/user-title.js +10 -3
- package/lib/pages/new-okr-list/index.js +110 -29
- package/lib/pages/new-okr-list/interface.js +5 -0
- package/lib/pages/new-okr-list/keyword-search/index.css +2 -2
- package/lib/pages/new-okr-list/keyword-search/index.js +11 -5
- package/lib/pages/new-okr-list/list/index.js +0 -1
- package/lib/pages/new-okr-list/request-api.js +104 -3
- package/lib/pages/new-okr-list/theme.css +4 -0
- package/lib/pages/okr-map/hooks/useStorage.js +1 -1
- package/lib/pages/okr-map/open-data/index.js +1 -1
- package/lib/pages/okr-map/request-apis.js +1 -1
- package/lib/pages/okr-map/utils.js +2 -1
- package/lib/utils/auth.js +1 -1
- package/lib/utils/bs-global.js +1 -1
- package/lib/utils/format-time.js +1 -1
- package/lib/utils/helpers.js +1 -1
- package/lib/utils/local-storage.js +40 -0
- package/lib/utils/mblog.js +1 -1
- package/lib/utils/open-data.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/request-v1.js +2 -2
- package/lib/utils/request.js +1 -1
- package/lib/utils/roundWeight.js +2 -2
- package/lib/utils/tools.js +4 -3
- package/package.json +2 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="240px" height="240px" viewBox="0 0 240 240" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>mypingjia</title>
|
|
4
|
+
<g id="mypingjia" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="编组" transform="translate(143.461201, 153.925667) rotate(-315.000000) translate(-143.461201, -153.925667) translate(59.961201, 40.925667)">
|
|
6
|
+
<path d="M50.6820795,0.878679656 C68.325306,0.69074376 82.781759,14.8478592 82.9717178,32.5286618 L82.9717178,32.5286618 L83.5649712,183.702684 C83.5857215,189.03634 81.4743199,194.156928 77.700787,197.924177 L77.700787,197.924177 L54.3761067,221.210018 C48.1358777,227.439856 38.03158,227.434171 31.798357,221.197315 L31.798357,221.197315 L6.41326808,195.797431 C2.64917057,192.03114 0.543921901,186.916866 0.564971157,181.590568 L0.564971157,181.590568 L1.15713556,32.910529 C1.22669943,15.439821 15.3014514,1.26122504 32.7611121,1.07337733 L32.7611121,1.07337733 Z M65.7878426,61.98171 L17.0158148,61.98083 L16.5388385,181.654246 C16.5349293,182.643415 16.8976981,183.596021 17.5522916,184.330162 L17.7084978,184.495618 L43.0935867,209.895502 L66.418267,186.609661 C67.1729736,185.856211 67.5952539,184.832094 67.5911039,183.765363 L67.5911039,183.765363 L67.1137754,61.8723368 C66.6824969,61.9442745 66.2395415,61.98171 65.7878426,61.98171 Z M164.543723,99.9436508 C167.667917,103.067845 167.667917,108.133165 164.543723,111.257359 L120.703102,155.09798 C117.578908,158.222174 112.513588,158.222174 109.389394,155.09798 C106.265199,151.973785 106.265199,146.908466 109.389394,143.784271 L153.230014,99.9436508 C156.354208,96.8194565 161.419528,96.8194565 164.543723,99.9436508 Z M141.916306,77.3162338 C145.0405,80.4404281 145.0405,85.505748 141.916306,88.6299423 L116.460461,114.085786 C113.336267,117.209981 108.270947,117.209981 105.146753,114.085786 C102.022559,110.961592 102.022559,105.896272 105.146753,102.772078 L130.602597,77.3162338 C133.726791,74.1920395 138.792111,74.1920395 141.916306,77.3162338 Z M51.1682024,16.8615608 L50.8538316,16.8618764 L32.9328642,17.0556307 C24.2030338,17.1495545 17.1656578,24.2388525 17.1308759,32.9742065 L17.1308759,32.9742065 L17.0788148,45.98083 L65.7878426,45.98171 C66.2179157,45.98171 66.6400626,46.0156468 67.0517512,46.0809885 L66.9985274,32.6732209 C66.9036713,23.8464662 59.6754448,16.7679084 50.8538316,16.8618764 Z" id="形状结合" fill="#141C28" fill-rule="nonzero"></path>
|
|
7
|
+
<path d="M42.2020561,138.2193 C46.6203341,138.2193 50.2020561,141.801022 50.2020561,146.2193 L50.2020561,182.2193 C50.2020561,186.637578 46.6203341,190.2193 42.2020561,190.2193 C37.7837781,190.2193 34.2020561,186.637578 34.2020561,182.2193 L34.2020561,146.2193 C34.2020561,141.801022 37.7837781,138.2193 42.2020561,138.2193 Z" id="矩形" fill="#2879FF" transform="translate(42.202056, 164.219300) rotate(-180.000000) translate(-42.202056, -164.219300) "></path>
|
|
8
|
+
</g>
|
|
9
|
+
</g>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="240px" height="240px" viewBox="0 0 240 240" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>ditu</title>
|
|
4
|
+
<g id="ditu" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<rect id="矩形" stroke="#141C28" stroke-width="16" x="138" y="28" width="74" height="74" rx="32"></rect>
|
|
6
|
+
<rect id="矩形" stroke="#141C28" stroke-width="16" x="28" y="138" width="184" height="74" rx="32"></rect>
|
|
7
|
+
<rect id="矩形" stroke="#2879FF" stroke-width="16" x="28" y="28" width="74" height="74" rx="32"></rect>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
|
File without changes
|
|
@@ -37,7 +37,8 @@ var _default = function _default(props) {
|
|
|
37
37
|
|
|
38
38
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
39
39
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__company-all-node")),
|
|
40
|
-
onClick: onExpandHander
|
|
40
|
+
onClick: onExpandHander,
|
|
41
|
+
title: ""
|
|
41
42
|
}, data.icon && /*#__PURE__*/_react["default"].createElement("span", {
|
|
42
43
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__company-all-node-icon"), data.icon)
|
|
43
44
|
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
@@ -33,7 +33,8 @@ var ComponyNode = function ComponyNode() {
|
|
|
33
33
|
|
|
34
34
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
35
35
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__compony-node"), 'noselect'),
|
|
36
|
-
onClick: gotoDepartTree
|
|
36
|
+
onClick: gotoDepartTree,
|
|
37
|
+
title: ""
|
|
37
38
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
38
39
|
className: "tu-icon-OKR-gongsi-m"
|
|
39
40
|
}), /*#__PURE__*/_react["default"].createElement("span", null, "\u516C\u53F8\u5168\u90E8"));
|
|
@@ -53,6 +53,7 @@ var DepartNode = function DepartNode(props) {
|
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
56
|
+
title: "",
|
|
56
57
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__depart-node"), 'noselect'),
|
|
57
58
|
style: {
|
|
58
59
|
paddingLeft: 12 + level * 10
|
|
@@ -35,11 +35,13 @@ var _default = function _default(props) {
|
|
|
35
35
|
var _useContext = (0, _react.useContext)(_context.OkrMenusContext),
|
|
36
36
|
onRemoveConcerner = _useContext.onRemoveConcerner;
|
|
37
37
|
|
|
38
|
-
var onCancelFollowHandler = function onCancelFollowHandler() {
|
|
38
|
+
var onCancelFollowHandler = function onCancelFollowHandler(e) {
|
|
39
|
+
e.stopPropagation();
|
|
39
40
|
onRemoveConcerner(user);
|
|
40
41
|
};
|
|
41
42
|
|
|
42
43
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
44
|
+
title: "",
|
|
43
45
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__follower-node")),
|
|
44
46
|
style: {
|
|
45
47
|
'paddingLeft': 12 + level * 10
|
|
@@ -17,7 +17,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
17
17
|
|
|
18
18
|
var _default = function _default(props) {
|
|
19
19
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
20
|
-
className: (0, _classnames["default"])("".concat(_precls["default"], "__group-name-node"))
|
|
20
|
+
className: (0, _classnames["default"])("".concat(_precls["default"], "__group-name-node")),
|
|
21
|
+
title: ""
|
|
21
22
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
22
23
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__group-name-node-title"), 'noselect')
|
|
23
24
|
}, props.title));
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
.titaui-menus-tree__group-name-node-title {
|
|
12
12
|
font-size: 12px;
|
|
13
|
-
font-family: AlibabaPuHuiTi-Regular, AlibabaPuHuiTi;
|
|
14
13
|
font-weight: 400;
|
|
15
14
|
color: #89919f;
|
|
16
15
|
line-height: 18px;
|
|
@@ -40,7 +39,6 @@
|
|
|
40
39
|
font-size: 14px;
|
|
41
40
|
color: #3f4755;
|
|
42
41
|
line-height: 22px;
|
|
43
|
-
font-family: Resource-Han-Rounded-CN-Normal, Resource-Han-Rounded-CN;
|
|
44
42
|
font-weight: 400;
|
|
45
43
|
}
|
|
46
44
|
|
|
@@ -54,6 +52,14 @@
|
|
|
54
52
|
vertical-align: middle;
|
|
55
53
|
}
|
|
56
54
|
|
|
55
|
+
.titaui-menus-tree__menu-item-node-icon.KH-help {
|
|
56
|
+
background-image: url("../images/appraisal-menu/KH-help.svg");
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.titaui-menus-tree__menu-item-node-icon.mypingjia {
|
|
60
|
+
background-image: url("../images/appraisal-menu/mypingjia.svg");
|
|
61
|
+
}
|
|
62
|
+
|
|
57
63
|
.titaui-menus-tree__menu-item-node-icon.okr {
|
|
58
64
|
background-image: url("../images/okr-menu/okr.svg");
|
|
59
65
|
}
|
|
@@ -102,8 +108,12 @@
|
|
|
102
108
|
background-image: url("../images/yibiao.svg");
|
|
103
109
|
}
|
|
104
110
|
|
|
105
|
-
.titaui-menus-tree__menu-item-node-icon.
|
|
106
|
-
background-image: url("../images/okr-menu/
|
|
111
|
+
.titaui-menus-tree__menu-item-node-icon.cases {
|
|
112
|
+
background-image: url("../images/okr-menu/cases.svg");
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.titaui-menus-tree__menu-item-node-icon.panel {
|
|
116
|
+
background-image: url("../images/okr-menu/panel.svg");
|
|
107
117
|
}
|
|
108
118
|
|
|
109
119
|
.titaui-menus-tree__menu-node {
|
|
@@ -121,7 +131,6 @@
|
|
|
121
131
|
font-size: 14px;
|
|
122
132
|
color: #3f4755;
|
|
123
133
|
line-height: 22px;
|
|
124
|
-
font-family: Resource-Han-Rounded-CN-Medium, Resource-Han-Rounded-CN;
|
|
125
134
|
font-weight: 500;
|
|
126
135
|
}
|
|
127
136
|
|
|
@@ -135,6 +144,14 @@
|
|
|
135
144
|
vertical-align: middle;
|
|
136
145
|
}
|
|
137
146
|
|
|
147
|
+
.titaui-menus-tree__menu-node-icon.KH-help {
|
|
148
|
+
background-image: url("../images/appraisal-menu/KH-help.svg");
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.titaui-menus-tree__menu-node-icon.mypingjia {
|
|
152
|
+
background-image: url("../images/appraisal-menu/mypingjia.svg");
|
|
153
|
+
}
|
|
154
|
+
|
|
138
155
|
.titaui-menus-tree__menu-node-icon.okr {
|
|
139
156
|
background-image: url("../images/okr-menu/okr.svg");
|
|
140
157
|
}
|
|
@@ -183,8 +200,12 @@
|
|
|
183
200
|
background-image: url("../images/yibiao.svg");
|
|
184
201
|
}
|
|
185
202
|
|
|
186
|
-
.titaui-menus-tree__menu-node-icon.
|
|
187
|
-
background-image: url("../images/okr-menu/
|
|
203
|
+
.titaui-menus-tree__menu-node-icon.cases {
|
|
204
|
+
background-image: url("../images/okr-menu/cases.svg");
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.titaui-menus-tree__menu-node-icon.panel {
|
|
208
|
+
background-image: url("../images/okr-menu/panel.svg");
|
|
188
209
|
}
|
|
189
210
|
|
|
190
211
|
.titaui-menus-tree__no-follower-node {
|
|
@@ -216,7 +237,6 @@
|
|
|
216
237
|
font-size: 14px;
|
|
217
238
|
color: #3f4755;
|
|
218
239
|
line-height: 22px;
|
|
219
|
-
font-family: Resource-Han-Rounded-CN-Normal, Resource-Han-Rounded-CN;
|
|
220
240
|
font-weight: 400;
|
|
221
241
|
}
|
|
222
242
|
|
|
@@ -247,7 +267,6 @@
|
|
|
247
267
|
font-size: 14px;
|
|
248
268
|
color: #3f4755;
|
|
249
269
|
line-height: 22px;
|
|
250
|
-
font-family: Resource-Han-Rounded-CN-Normal, Resource-Han-Rounded-CN;
|
|
251
270
|
font-weight: 400;
|
|
252
271
|
}
|
|
253
272
|
|
|
@@ -273,7 +292,6 @@
|
|
|
273
292
|
font-size: 14px;
|
|
274
293
|
color: #3f4755;
|
|
275
294
|
line-height: 22px;
|
|
276
|
-
font-family: Resource-Han-Rounded-CN-Medium, Resource-Han-Rounded-CN;
|
|
277
295
|
font-weight: 500;
|
|
278
296
|
}
|
|
279
297
|
|
|
@@ -287,6 +305,14 @@
|
|
|
287
305
|
vertical-align: middle;
|
|
288
306
|
}
|
|
289
307
|
|
|
308
|
+
.titaui-menus-tree__company-all-node-icon.KH-help {
|
|
309
|
+
background-image: url("../images/appraisal-menu/KH-help.svg");
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.titaui-menus-tree__company-all-node-icon.mypingjia {
|
|
313
|
+
background-image: url("../images/appraisal-menu/mypingjia.svg");
|
|
314
|
+
}
|
|
315
|
+
|
|
290
316
|
.titaui-menus-tree__company-all-node-icon.okr {
|
|
291
317
|
background-image: url("../images/okr-menu/okr.svg");
|
|
292
318
|
}
|
|
@@ -335,8 +361,12 @@
|
|
|
335
361
|
background-image: url("../images/yibiao.svg");
|
|
336
362
|
}
|
|
337
363
|
|
|
338
|
-
.titaui-menus-tree__company-all-node-icon.
|
|
339
|
-
background-image: url("../images/okr-menu/
|
|
364
|
+
.titaui-menus-tree__company-all-node-icon.cases {
|
|
365
|
+
background-image: url("../images/okr-menu/cases.svg");
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.titaui-menus-tree__company-all-node-icon.panel {
|
|
369
|
+
background-image: url("../images/okr-menu/panel.svg");
|
|
340
370
|
}
|
|
341
371
|
|
|
342
372
|
.titaui-menus-tree__user-concern-node {
|
|
@@ -355,7 +385,6 @@
|
|
|
355
385
|
font-size: 14px;
|
|
356
386
|
color: #3f4755;
|
|
357
387
|
line-height: 22px;
|
|
358
|
-
font-family: Resource-Han-Rounded-CN-Medium, Resource-Han-Rounded-CN;
|
|
359
388
|
font-weight: 500;
|
|
360
389
|
}
|
|
361
390
|
|
|
@@ -369,6 +398,14 @@
|
|
|
369
398
|
vertical-align: middle;
|
|
370
399
|
}
|
|
371
400
|
|
|
401
|
+
.titaui-menus-tree__user-concern-node-icon.KH-help {
|
|
402
|
+
background-image: url("../images/appraisal-menu/KH-help.svg");
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.titaui-menus-tree__user-concern-node-icon.mypingjia {
|
|
406
|
+
background-image: url("../images/appraisal-menu/mypingjia.svg");
|
|
407
|
+
}
|
|
408
|
+
|
|
372
409
|
.titaui-menus-tree__user-concern-node-icon.okr {
|
|
373
410
|
background-image: url("../images/okr-menu/okr.svg");
|
|
374
411
|
}
|
|
@@ -417,8 +454,12 @@
|
|
|
417
454
|
background-image: url("../images/yibiao.svg");
|
|
418
455
|
}
|
|
419
456
|
|
|
420
|
-
.titaui-menus-tree__user-concern-node-icon.
|
|
421
|
-
background-image: url("../images/okr-menu/
|
|
457
|
+
.titaui-menus-tree__user-concern-node-icon.cases {
|
|
458
|
+
background-image: url("../images/okr-menu/cases.svg");
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.titaui-menus-tree__user-concern-node-icon.panel {
|
|
462
|
+
background-image: url("../images/okr-menu/panel.svg");
|
|
422
463
|
}
|
|
423
464
|
|
|
424
465
|
.titaui-menus-tree__user-concern-node-add {
|
|
@@ -17,7 +17,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
17
17
|
|
|
18
18
|
var _default = function _default() {
|
|
19
19
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
20
|
-
className: (0, _classnames["default"])("".concat(_precls["default"], "__loading-node"))
|
|
20
|
+
className: (0, _classnames["default"])("".concat(_precls["default"], "__loading-node")),
|
|
21
|
+
title: ""
|
|
21
22
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
22
23
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__loading-node-icon"))
|
|
23
24
|
}));
|
|
@@ -27,7 +27,8 @@ var _default = function _default(props) {
|
|
|
27
27
|
|
|
28
28
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
29
29
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__menu-item-node")),
|
|
30
|
-
onClick: onNodeClickHandler
|
|
30
|
+
onClick: onNodeClickHandler,
|
|
31
|
+
title: ""
|
|
31
32
|
}, level > 0 && /*#__PURE__*/_react["default"].createElement("span", {
|
|
32
33
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__menu-item-node-indent"))
|
|
33
34
|
}), data.icon && /*#__PURE__*/_react["default"].createElement("span", {
|
|
@@ -25,7 +25,8 @@ var _default = function _default(props) {
|
|
|
25
25
|
|
|
26
26
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
27
27
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__menu-node")),
|
|
28
|
-
onClick: onExpandHander
|
|
28
|
+
onClick: onExpandHander,
|
|
29
|
+
title: ""
|
|
29
30
|
}, data.icon && /*#__PURE__*/_react["default"].createElement("span", {
|
|
30
31
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__menu-node-icon"), data.icon)
|
|
31
32
|
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
@@ -17,7 +17,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
17
17
|
|
|
18
18
|
var _default = function _default() {
|
|
19
19
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
20
|
-
className: (0, _classnames["default"])("".concat(_precls["default"], "__no-follower-node"))
|
|
20
|
+
className: (0, _classnames["default"])("".concat(_precls["default"], "__no-follower-node")),
|
|
21
|
+
title: ""
|
|
21
22
|
}, /*#__PURE__*/_react["default"].createElement("span", null, "\u6682\u65E0\u5173\u6CE8\u7684\u4EBA"));
|
|
22
23
|
};
|
|
23
24
|
|
|
@@ -64,7 +64,8 @@ var _default = function _default(props) {
|
|
|
64
64
|
|
|
65
65
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
66
66
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__user-concern-node")),
|
|
67
|
-
onClick: onExpandHander
|
|
67
|
+
onClick: onExpandHander,
|
|
68
|
+
title: ""
|
|
68
69
|
}, data.icon && /*#__PURE__*/_react["default"].createElement("span", {
|
|
69
70
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__user-concern-node-icon"), data.icon)
|
|
70
71
|
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
@@ -40,6 +40,8 @@ var _default = function _default(props) {
|
|
|
40
40
|
flipGoNext = _useContext.flipGoNext;
|
|
41
41
|
|
|
42
42
|
var openSubordinate = function openSubordinate(e) {
|
|
43
|
+
e.stopPropagation();
|
|
44
|
+
|
|
43
45
|
if (isFlip) {
|
|
44
46
|
flipGoNext({
|
|
45
47
|
'type': 'subordinate',
|
|
@@ -53,6 +55,7 @@ var _default = function _default(props) {
|
|
|
53
55
|
};
|
|
54
56
|
|
|
55
57
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
58
|
+
title: "",
|
|
56
59
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__user-node")),
|
|
57
60
|
style: {
|
|
58
61
|
'paddingLeft': 12 + level * 10
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports["default"] =
|
|
6
|
+
exports.defaultRefObject = exports["default"] = void 0;
|
|
7
7
|
|
|
8
8
|
var _bsGlobal = require("../../../../utils/bs-global");
|
|
9
9
|
|
|
@@ -41,6 +41,12 @@ var AppraisalMenus = /*#__PURE__*/function () {
|
|
|
41
41
|
'key': 'my-appraisal',
|
|
42
42
|
'href': '#/performance?reactRouterName=self',
|
|
43
43
|
'isShow': true
|
|
44
|
+
}, {
|
|
45
|
+
'icon': 'mypingjia',
|
|
46
|
+
'label': '我评价的',
|
|
47
|
+
'key': 'evaluate-appraisal',
|
|
48
|
+
'href': '#/performance?reactRouterName=evaluated',
|
|
49
|
+
'isShow': HasSub
|
|
44
50
|
}, {
|
|
45
51
|
'icon': 'caidan-xiashu',
|
|
46
52
|
'label': '下属绩效',
|
|
@@ -84,6 +90,12 @@ var AppraisalMenus = /*#__PURE__*/function () {
|
|
|
84
90
|
'key': 'score-appraisal',
|
|
85
91
|
'href': '#/performance?reactRouterName=setting',
|
|
86
92
|
'isShow': IsAssessManager
|
|
93
|
+
}, {
|
|
94
|
+
'icon': 'KH-help',
|
|
95
|
+
'label': '评分帮助',
|
|
96
|
+
'key': 'help-appraisal',
|
|
97
|
+
'href': '#/performance?reactRouterName=help',
|
|
98
|
+
'isShow': IsAssessManager
|
|
87
99
|
}, {
|
|
88
100
|
'icon': '',
|
|
89
101
|
'label': '考核统计',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports["default"] =
|
|
6
|
+
exports.defaultRefObject = exports["default"] = void 0;
|
|
7
7
|
|
|
8
8
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
9
9
|
|
|
@@ -105,7 +105,12 @@ var okrMenus = /*#__PURE__*/function () {
|
|
|
105
105
|
'key': 'panzi',
|
|
106
106
|
'href': '#/okr/chart?iTalentFrameType=iframe&iTalentFrame=%2F%2Fwww.tita.gift%2Fmenuroute%3FmenuId%3D44269%26roleId%3D'
|
|
107
107
|
}, {
|
|
108
|
-
'icon': '
|
|
108
|
+
'icon': 'panel',
|
|
109
|
+
'label': 'OKR 工作法',
|
|
110
|
+
'key': 'panel',
|
|
111
|
+
'href': '#/okr/manage'
|
|
112
|
+
}, {
|
|
113
|
+
'icon': 'cases',
|
|
109
114
|
'label': 'OKR 案例库',
|
|
110
115
|
'key': 'cases',
|
|
111
116
|
'href': '#/okr/cases'
|
|
@@ -9,6 +9,8 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
12
|
+
var _reactRouter = require("react-router");
|
|
13
|
+
|
|
12
14
|
var _menuTree = _interopRequireDefault(require("../../components/menu-tree"));
|
|
13
15
|
|
|
14
16
|
var _requestApis = require("../../request-apis");
|
|
@@ -36,7 +38,8 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
36
38
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
37
39
|
|
|
38
40
|
var SubOrdinateMenus = function SubOrdinateMenus(props) {
|
|
39
|
-
var toUserId = props.toUserId
|
|
41
|
+
var toUserId = props.toUserId,
|
|
42
|
+
history = props.history;
|
|
40
43
|
var loadedNode = (0, _react.useRef)([]);
|
|
41
44
|
|
|
42
45
|
var _useState = (0, _react.useState)(false),
|
|
@@ -94,7 +97,10 @@ var SubOrdinateMenus = function SubOrdinateMenus(props) {
|
|
|
94
97
|
|
|
95
98
|
var onSelectHandler = function onSelectHandler(_id, _ref) {
|
|
96
99
|
var node = _ref.node;
|
|
97
|
-
|
|
100
|
+
history.push({
|
|
101
|
+
pathname: "/okr/manage?toUserId=".concat(node.id)
|
|
102
|
+
});
|
|
103
|
+
history.go(); // location.href=`#/okr/manage?toUserId=${node.id}`
|
|
98
104
|
};
|
|
99
105
|
|
|
100
106
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, !loading && /*#__PURE__*/_react["default"].createElement(_menuTree["default"], {
|
|
@@ -105,5 +111,6 @@ var SubOrdinateMenus = function SubOrdinateMenus(props) {
|
|
|
105
111
|
}));
|
|
106
112
|
};
|
|
107
113
|
|
|
108
|
-
var _default = SubOrdinateMenus;
|
|
114
|
+
var _default = (0, _reactRouter.withRouter)(SubOrdinateMenus);
|
|
115
|
+
|
|
109
116
|
exports["default"] = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.removeFollower = exports.getSubordinates = exports.getFollowerList = exports.getDepsAndUsers = exports.addFollower = void 0;
|
|
7
7
|
|
|
8
8
|
var _request = require("../../utils/request");
|
|
9
9
|
|
|
@@ -26,7 +26,7 @@ var Empty = function Empty() {
|
|
|
26
26
|
className: (0, _classnames["default"])("".concat(preCls, "__empty-text"))
|
|
27
27
|
}, "\u6682\u65F6\u6CA1\u6709\u9700\u8981\u5904\u7406\u7684\u6D88\u606F\u54E6\uFF5E"), /*#__PURE__*/_react["default"].createElement("a", {
|
|
28
28
|
target: "_blank",
|
|
29
|
-
href: "".concat(_constant.apiServer, "/u/").concat(_constant.userId, "/Home#more
|
|
29
|
+
href: "".concat(_constant.apiServer, "/u/").concat(_constant.userId, "/Home#more/messages?messageType=2&isRead=1")
|
|
30
30
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
31
31
|
className: (0, _classnames["default"])("".concat(preCls, "__empty-all"))
|
|
32
32
|
}, "\u67E5\u770B\u5168\u90E8\u6D88\u606F")));
|