@titaui/pc 1.9.39 → 1.9.40
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/communication/ConvertUserName.js +10 -16
- package/lib/components/communication/index.css +11 -0
- package/lib/components/create-okr-modal/img/check-right.svg +1 -16
- package/lib/components/create-okr-modal/img/check-wrong.svg +1 -29
- package/lib/components/dialog/index.css +2 -2
- package/lib/components/keyword-search/index.js +3 -1
- package/lib/components/okr-detail/components/header/o-score.js +5 -1
- package/lib/components/okr-detail/detail-header/index.js +1 -1
- package/lib/components/toast/index.js +3 -2
- package/lib/pages/aha2021/index.js +1 -1
- package/lib/pages/like-ranking/index.js +4 -3
- package/lib/pages/okr-map/share-dialog/index.js +1 -1
- package/package.json +1 -1
- package/src/components/communication/ConvertUserName.tsx +23 -26
- package/src/components/communication/index.scss +10 -0
- package/src/components/create-okr-modal/img/check-right.svg +1 -16
- package/src/components/create-okr-modal/img/check-wrong.svg +1 -29
- package/src/components/dialog/index.scss +2 -2
- package/src/components/keyword-search/index.tsx +1 -1
- package/src/components/okr-detail/components/header/o-score.tsx +2 -0
- package/src/components/okr-detail/detail-header/index.tsx +1 -1
- package/src/components/toast/index.tsx +1 -0
- package/src/pages/aha2021/index.tsx +1 -1
- package/src/pages/like-ranking/index.tsx +4 -4
- package/src/pages/okr-map/share-dialog/index.js +1 -1
|
@@ -7,22 +7,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports["default"] = void 0;
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
|
|
14
14
|
var _openData = require("../../utils/open-data");
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var _templateObject;
|
|
19
|
-
|
|
20
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
16
|
+
require("./index.css");
|
|
21
17
|
|
|
22
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
19
|
|
|
24
20
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
21
|
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
+
|
|
26
24
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
27
25
|
|
|
28
26
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
@@ -43,10 +41,6 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
43
41
|
|
|
44
42
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
45
43
|
|
|
46
|
-
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
47
|
-
|
|
48
|
-
var UserLink = _styledComponents["default"].a(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: 14px;\n font-weight: 600;\n color: #3F4755;\n line-height: 22px;\n\n &:hover {\n color: #2879ff;\n }\n"])));
|
|
49
|
-
|
|
50
44
|
var ConvertUserName = /*#__PURE__*/function (_PureComponent) {
|
|
51
45
|
_inherits(ConvertUserName, _PureComponent);
|
|
52
46
|
|
|
@@ -67,11 +61,11 @@ var ConvertUserName = /*#__PURE__*/function (_PureComponent) {
|
|
|
67
61
|
className = _this$props.className;
|
|
68
62
|
|
|
69
63
|
if (userId) {
|
|
70
|
-
|
|
71
|
-
return /*#__PURE__*/_react["default"].createElement(
|
|
72
|
-
className: className,
|
|
73
|
-
target: "_blank"
|
|
74
|
-
|
|
64
|
+
// const iframeBoxUrl = `${getBSGlobal('apiPath')}/u/${getUserInfo().Id}/Home#`;
|
|
65
|
+
return /*#__PURE__*/_react["default"].createElement("a", {
|
|
66
|
+
className: (0, _classnames["default"])(className, "titaui-communication__communication-content__user-link"),
|
|
67
|
+
target: "_blank" // href={`${iframeBoxUrl}${encodeURIComponent("widget/italent?iTalentFrameType=iframe&iTalentFrame=&iTalentFrame=" + encodeURIComponent(getBSGlobal('titaHost') + "/" + getUserInfo().Id + "/PageBuilderForEdit#/view?to_user_id=" + userId))}`}
|
|
68
|
+
|
|
75
69
|
}, /*#__PURE__*/_react["default"].createElement("span", null, /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
76
70
|
name: userName,
|
|
77
71
|
id: userId
|
|
@@ -26,6 +26,17 @@
|
|
|
26
26
|
vertical-align: text-bottom;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
.titaui-communication__communication-content__user-link {
|
|
30
|
+
font-size: 14px;
|
|
31
|
+
font-weight: 600;
|
|
32
|
+
color: #3F4755;
|
|
33
|
+
line-height: 22px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.titaui-communication__communication-content__user-link:hover {
|
|
37
|
+
color: #2879ff;
|
|
38
|
+
}
|
|
39
|
+
|
|
29
40
|
.titaui-communication__communication-content a {
|
|
30
41
|
color: #2879ff;
|
|
31
42
|
}
|
|
@@ -1,16 +1 @@
|
|
|
1
|
-
|
|
2
|
-
<svg width="10px" height="10px" viewBox="0 0 10 10" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<title>对号</title>
|
|
4
|
-
<g id="创建OKR" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
-
<g id="目标实时校验" transform="translate(-1015.000000, -384.000000)" fill-rule="nonzero">
|
|
6
|
-
<g id="单行" transform="translate(976.000000, 129.000000)">
|
|
7
|
-
<g id="编组-12" transform="translate(23.000000, 225.000000)">
|
|
8
|
-
<g id="对号" transform="translate(16.000000, 30.000000)">
|
|
9
|
-
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="10" height="10"></rect>
|
|
10
|
-
<path d="M0.633865976,4.59654663 L3.04772746,6.45071008 C3.04772746,6.45071008 3.18087497,6.51691307 3.34730936,6.45071008 L9.29070556,1.51474948 C9.29070556,1.51474948 10.1376717,1.33516988 9.98056404,2.22923006 C9.40729003,2.80858618 3.56375447,8.40433792 3.56375447,8.40433792 C3.56375447,8.40433792 3.18087497,8.6195776 2.8145585,8.40433792 C2.44856365,8.04006157 0.00173690497,5.37467163 0.00173690497,5.37467163 C0.00173690497,5.37467163 -0.0653192697,4.72911252 0.633865976,4.59654663 Z" id="路径" fill="#5AD8A6"></path>
|
|
11
|
-
</g>
|
|
12
|
-
</g>
|
|
13
|
-
</g>
|
|
14
|
-
</g>
|
|
15
|
-
</g>
|
|
16
|
-
</svg>
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="M4.634 8.597l2.414 1.854s.133.066.3 0l5.943-4.936s.847-.18.69.714c-.574.58-6.417 6.175-6.417 6.175s-.383.216-.75 0c-.365-.364-2.812-3.03-2.812-3.03s-.067-.645.632-.777z" fill="#5AD8A6" fill-rule="nonzero"/></svg>
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<title>不建议</title>
|
|
4
|
-
<defs>
|
|
5
|
-
<circle id="path-1" cx="8" cy="8" r="4"></circle>
|
|
6
|
-
<filter x="-78.1%" y="-78.1%" width="256.2%" height="256.2%" filterUnits="objectBoundingBox" id="filter-2">
|
|
7
|
-
<feMorphology radius="0.25" operator="dilate" in="SourceAlpha" result="shadowSpreadOuter1"></feMorphology>
|
|
8
|
-
<feOffset dx="0" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"></feOffset>
|
|
9
|
-
<feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
|
|
10
|
-
<feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"></feComposite>
|
|
11
|
-
<feColorMatrix values="0 0 0 0 0.964705882 0 0 0 0 0.741176471 0 0 0 0 0.0862745098 0 0 0 1 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
|
|
12
|
-
</filter>
|
|
13
|
-
</defs>
|
|
14
|
-
<g id="创建OKR" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
15
|
-
<g id="激活-关键成果" transform="translate(-1011.000000, -466.000000)">
|
|
16
|
-
<g id="单行" transform="translate(976.000000, 129.000000)">
|
|
17
|
-
<g id="编组-12" transform="translate(23.000000, 267.000000)">
|
|
18
|
-
<g id="不建议" transform="translate(13.000000, 71.000000)">
|
|
19
|
-
<circle id="椭圆形" fill="#F6BD16" opacity="0.08" cx="8" cy="8" r="8"></circle>
|
|
20
|
-
<g id="椭圆形">
|
|
21
|
-
<use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
|
|
22
|
-
<use stroke="#FFFFFF" stroke-width="0.5" fill="#F6BD16" fill-rule="evenodd" xlink:href="#path-1"></use>
|
|
23
|
-
</g>
|
|
24
|
-
</g>
|
|
25
|
-
</g>
|
|
26
|
-
</g>
|
|
27
|
-
</g>
|
|
28
|
-
</g>
|
|
29
|
-
</svg>
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="M9 8.317l3.246-3.246a.242.242 0 0 1 .342 0l.341.341a.242.242 0 0 1 0 .342L9.683 9l3.246 3.246a.242.242 0 0 1 0 .342l-.341.341a.242.242 0 0 1-.342 0L9 9.683 5.754 12.93a.242.242 0 0 1-.342 0l-.341-.341a.242.242 0 0 1 0-.342L8.317 9 5.07 5.754a.242.242 0 0 1 0-.342l.341-.341a.242.242 0 0 1 .342 0L9 8.317z" fill="#F05E5E" fill-rule="nonzero"/></svg>
|
|
@@ -88,7 +88,9 @@ var KeywordSearch = function KeywordSearch(props) {
|
|
|
88
88
|
|
|
89
89
|
setKeyword('');
|
|
90
90
|
inputRef === null || inputRef === void 0 ? void 0 : (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.focus();
|
|
91
|
-
|
|
91
|
+
onSearch && onSearch({
|
|
92
|
+
keyWords: ''
|
|
93
|
+
});
|
|
92
94
|
};
|
|
93
95
|
|
|
94
96
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -142,8 +142,12 @@ var OScore = function OScore(props) {
|
|
|
142
142
|
onClose: handleCancel,
|
|
143
143
|
onOk: handleOk,
|
|
144
144
|
onCancel: handleCancel,
|
|
145
|
+
getContainer: function getContainer() {
|
|
146
|
+
return document.body;
|
|
147
|
+
},
|
|
145
148
|
noHeadLine: true,
|
|
146
|
-
noFooterLine: true
|
|
149
|
+
noFooterLine: true,
|
|
150
|
+
zIndex: 1310
|
|
147
151
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
148
152
|
ref: formContainerRef,
|
|
149
153
|
className: "".concat(preCls, "__form")
|
|
@@ -195,7 +195,7 @@ function OkrDetailHeader(_ref) {
|
|
|
195
195
|
switch (_context3.prev = _context3.next) {
|
|
196
196
|
case 0:
|
|
197
197
|
_context3.next = 2;
|
|
198
|
-
return (0, _confirm["default"])(follow ? (0, _getLocale.getLocale)('OKR_MyO_Err_Focuson') : (0, _getLocale.getLocale)('OKR_MyO_Err_Unfollow'), follow ?
|
|
198
|
+
return (0, _confirm["default"])(follow ? (0, _getLocale.getLocale)('OKR_MyO_Err_Focuson') : (0, _getLocale.getLocale)('OKR_MyO_Err_Unfollow'), follow ? (0, _getLocale.getLocale)('OKR_MyO_Err_Payatten') : (0, _getLocale.getLocale)('OKR_MyO_Err_Progress'));
|
|
199
199
|
|
|
200
200
|
case 2:
|
|
201
201
|
res = _context3.sent;
|
|
@@ -45,8 +45,9 @@ function _getInstance() {
|
|
|
45
45
|
'style': {
|
|
46
46
|
'top': '36px',
|
|
47
47
|
'left': '50%',
|
|
48
|
-
'position': 'absolute'
|
|
49
|
-
|
|
48
|
+
'position': 'absolute',
|
|
49
|
+
// 'transform': 'translate(-50%, 0)'
|
|
50
|
+
'borderRadius': 12
|
|
50
51
|
},
|
|
51
52
|
'maxCount': 1,
|
|
52
53
|
'className': 'document-mouse-event-ignore',
|
|
@@ -62,7 +62,7 @@ var ContentTemplate = function ContentTemplate(props) {
|
|
|
62
62
|
|
|
63
63
|
var PageLayout = function PageLayout(props) {
|
|
64
64
|
var children = props.children;
|
|
65
|
-
var isTrial = window.BSGlobal.tenantAuthentication.Version
|
|
65
|
+
var isTrial = window.BSGlobal.tenantAuthentication.Version == 1 && (0, _platform.isOfficialSite)();
|
|
66
66
|
var isTencentHr = window.BSGlobal.tenantInfo.Source == 964;
|
|
67
67
|
|
|
68
68
|
var onClickKefu = function onClickKefu() {
|
|
@@ -212,9 +212,10 @@ var LikeRanking = function LikeRanking() {
|
|
|
212
212
|
};
|
|
213
213
|
|
|
214
214
|
var handleLinkToPraiseRaking = function handleLinkToPraiseRaking() {
|
|
215
|
-
window.history.go(-1)
|
|
216
|
-
|
|
217
|
-
|
|
215
|
+
// window.history.go(-1)
|
|
216
|
+
var href = window.location.href;
|
|
217
|
+
var url = "".concat(href.split("#")[0], "#dynamic");
|
|
218
|
+
window.open(url, "self");
|
|
218
219
|
};
|
|
219
220
|
|
|
220
221
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -21,7 +21,7 @@ var _requestApis = require("../request-apis");
|
|
|
21
21
|
|
|
22
22
|
var _getLocale = require("../../../utils/getLocale");
|
|
23
23
|
|
|
24
|
-
var _toast = _interopRequireDefault(require("
|
|
24
|
+
var _toast = _interopRequireDefault(require("../../../components/toast"));
|
|
25
25
|
|
|
26
26
|
require("./index.css");
|
|
27
27
|
|
package/package.json
CHANGED
|
@@ -1,36 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { OpenUserName } from
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import classNames from "classnames";
|
|
2
|
+
import React, { PureComponent } from "react";
|
|
3
|
+
import { OpenUserName } from "../../utils/open-data";
|
|
4
|
+
import "./index.scss";
|
|
6
5
|
interface Props {
|
|
7
|
-
className?: string
|
|
8
|
-
userName: string
|
|
9
|
-
userId?: number
|
|
6
|
+
className?: string;
|
|
7
|
+
userName: string;
|
|
8
|
+
userId?: number;
|
|
10
9
|
}
|
|
11
10
|
|
|
12
|
-
const UserLink = styled.a`
|
|
13
|
-
font-size: 14px;
|
|
14
|
-
font-weight: 600;
|
|
15
|
-
color: #3F4755;
|
|
16
|
-
line-height: 22px;
|
|
17
|
-
|
|
18
|
-
&:hover {
|
|
19
|
-
color: #2879ff;
|
|
20
|
-
}
|
|
21
|
-
`
|
|
22
|
-
|
|
23
11
|
export default class ConvertUserName extends PureComponent<Props> {
|
|
24
12
|
render() {
|
|
25
|
-
const { userName, userId, className } = this.props
|
|
13
|
+
const { userName, userId, className } = this.props;
|
|
26
14
|
if (userId) {
|
|
27
|
-
const iframeBoxUrl = `${getBSGlobal('apiPath')}/u/${getUserInfo().Id}/Home#`;
|
|
15
|
+
// const iframeBoxUrl = `${getBSGlobal('apiPath')}/u/${getUserInfo().Id}/Home#`;
|
|
28
16
|
return (
|
|
29
|
-
<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
17
|
+
<a
|
|
18
|
+
className={classNames(
|
|
19
|
+
className,
|
|
20
|
+
"titaui-communication__communication-content__user-link"
|
|
21
|
+
)}
|
|
22
|
+
target="_blank"
|
|
23
|
+
// href={`${iframeBoxUrl}${encodeURIComponent("widget/italent?iTalentFrameType=iframe&iTalentFrame=&iTalentFrame=" + encodeURIComponent(getBSGlobal('titaHost') + "/" + getUserInfo().Id + "/PageBuilderForEdit#/view?to_user_id=" + userId))}`}
|
|
24
|
+
>
|
|
25
|
+
<span>
|
|
26
|
+
<OpenUserName name={userName} id={userId} />
|
|
27
|
+
</span>
|
|
28
|
+
</a>
|
|
29
|
+
);
|
|
33
30
|
}
|
|
34
|
-
return <span className={className}>{userName}</span
|
|
31
|
+
return <span className={className}>{userName}</span>;
|
|
35
32
|
}
|
|
36
33
|
}
|
|
@@ -1,16 +1 @@
|
|
|
1
|
-
|
|
2
|
-
<svg width="10px" height="10px" viewBox="0 0 10 10" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<title>对号</title>
|
|
4
|
-
<g id="创建OKR" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
-
<g id="目标实时校验" transform="translate(-1015.000000, -384.000000)" fill-rule="nonzero">
|
|
6
|
-
<g id="单行" transform="translate(976.000000, 129.000000)">
|
|
7
|
-
<g id="编组-12" transform="translate(23.000000, 225.000000)">
|
|
8
|
-
<g id="对号" transform="translate(16.000000, 30.000000)">
|
|
9
|
-
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="10" height="10"></rect>
|
|
10
|
-
<path d="M0.633865976,4.59654663 L3.04772746,6.45071008 C3.04772746,6.45071008 3.18087497,6.51691307 3.34730936,6.45071008 L9.29070556,1.51474948 C9.29070556,1.51474948 10.1376717,1.33516988 9.98056404,2.22923006 C9.40729003,2.80858618 3.56375447,8.40433792 3.56375447,8.40433792 C3.56375447,8.40433792 3.18087497,8.6195776 2.8145585,8.40433792 C2.44856365,8.04006157 0.00173690497,5.37467163 0.00173690497,5.37467163 C0.00173690497,5.37467163 -0.0653192697,4.72911252 0.633865976,4.59654663 Z" id="路径" fill="#5AD8A6"></path>
|
|
11
|
-
</g>
|
|
12
|
-
</g>
|
|
13
|
-
</g>
|
|
14
|
-
</g>
|
|
15
|
-
</g>
|
|
16
|
-
</svg>
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="M4.634 8.597l2.414 1.854s.133.066.3 0l5.943-4.936s.847-.18.69.714c-.574.58-6.417 6.175-6.417 6.175s-.383.216-.75 0c-.365-.364-2.812-3.03-2.812-3.03s-.067-.645.632-.777z" fill="#5AD8A6" fill-rule="nonzero"/></svg>
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<title>不建议</title>
|
|
4
|
-
<defs>
|
|
5
|
-
<circle id="path-1" cx="8" cy="8" r="4"></circle>
|
|
6
|
-
<filter x="-78.1%" y="-78.1%" width="256.2%" height="256.2%" filterUnits="objectBoundingBox" id="filter-2">
|
|
7
|
-
<feMorphology radius="0.25" operator="dilate" in="SourceAlpha" result="shadowSpreadOuter1"></feMorphology>
|
|
8
|
-
<feOffset dx="0" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"></feOffset>
|
|
9
|
-
<feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
|
|
10
|
-
<feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"></feComposite>
|
|
11
|
-
<feColorMatrix values="0 0 0 0 0.964705882 0 0 0 0 0.741176471 0 0 0 0 0.0862745098 0 0 0 1 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
|
|
12
|
-
</filter>
|
|
13
|
-
</defs>
|
|
14
|
-
<g id="创建OKR" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
15
|
-
<g id="激活-关键成果" transform="translate(-1011.000000, -466.000000)">
|
|
16
|
-
<g id="单行" transform="translate(976.000000, 129.000000)">
|
|
17
|
-
<g id="编组-12" transform="translate(23.000000, 267.000000)">
|
|
18
|
-
<g id="不建议" transform="translate(13.000000, 71.000000)">
|
|
19
|
-
<circle id="椭圆形" fill="#F6BD16" opacity="0.08" cx="8" cy="8" r="8"></circle>
|
|
20
|
-
<g id="椭圆形">
|
|
21
|
-
<use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
|
|
22
|
-
<use stroke="#FFFFFF" stroke-width="0.5" fill="#F6BD16" fill-rule="evenodd" xlink:href="#path-1"></use>
|
|
23
|
-
</g>
|
|
24
|
-
</g>
|
|
25
|
-
</g>
|
|
26
|
-
</g>
|
|
27
|
-
</g>
|
|
28
|
-
</g>
|
|
29
|
-
</svg>
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="M9 8.317l3.246-3.246a.242.242 0 0 1 .342 0l.341.341a.242.242 0 0 1 0 .342L9.683 9l3.246 3.246a.242.242 0 0 1 0 .342l-.341.341a.242.242 0 0 1-.342 0L9 9.683 5.754 12.93a.242.242 0 0 1-.342 0l-.341-.341a.242.242 0 0 1 0-.342L8.317 9 5.07 5.754a.242.242 0 0 1 0-.342l.341-.341a.242.242 0 0 1 .342 0L9 8.317z" fill="#F05E5E" fill-rule="nonzero"/></svg>
|
|
@@ -15,11 +15,11 @@ Microsoft YaHei;
|
|
|
15
15
|
display: flex;
|
|
16
16
|
justify-content: center;
|
|
17
17
|
align-items: center;
|
|
18
|
-
z-index: 1299
|
|
18
|
+
z-index: 1299;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.rc-dialog-mask {
|
|
22
|
-
z-index: 1299
|
|
22
|
+
z-index: 1299;
|
|
23
23
|
background: rgba(20, 28, 40, 0.7) !important;
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -41,7 +41,7 @@ const KeywordSearch = (props: IProps) => {;
|
|
|
41
41
|
const clearKeyword = (e) =>{
|
|
42
42
|
setKeyword('');
|
|
43
43
|
inputRef?.current?.focus();
|
|
44
|
-
|
|
44
|
+
onSearch && onSearch({keyWords: ''});
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
return <div className={classnames(precls, {[`${precls}--active`]: active})}>
|
|
@@ -91,8 +91,10 @@ const OScore = (props: IOScoreProps) => {
|
|
|
91
91
|
onClose={handleCancel}
|
|
92
92
|
onOk={handleOk}
|
|
93
93
|
onCancel={handleCancel}
|
|
94
|
+
getContainer={() => document.body}
|
|
94
95
|
noHeadLine
|
|
95
96
|
noFooterLine
|
|
97
|
+
zIndex={1310}
|
|
96
98
|
>
|
|
97
99
|
<div ref={formContainerRef} className={`${preCls}__form`}>
|
|
98
100
|
<Form
|
|
@@ -96,7 +96,7 @@ function OkrDetailHeader({ detailInfo }: Props): ReactElement {
|
|
|
96
96
|
const res = await openOkrHeaderConfirm(
|
|
97
97
|
follow ? getLocale('OKR_MyO_Err_Focuson') : getLocale('OKR_MyO_Err_Unfollow'),
|
|
98
98
|
follow
|
|
99
|
-
?
|
|
99
|
+
? getLocale('OKR_MyO_Err_Payatten')
|
|
100
100
|
: getLocale('OKR_MyO_Err_Progress')
|
|
101
101
|
);
|
|
102
102
|
if (res) {
|
|
@@ -41,7 +41,7 @@ const PageLayout = (props) => {
|
|
|
41
41
|
const { children } = props;
|
|
42
42
|
|
|
43
43
|
const isTrial =
|
|
44
|
-
window.BSGlobal.tenantAuthentication.Version
|
|
44
|
+
window.BSGlobal.tenantAuthentication.Version == 1 && isOfficialSite();
|
|
45
45
|
const isTencentHr = window.BSGlobal.tenantInfo.Source == 964;
|
|
46
46
|
|
|
47
47
|
const onClickKefu = () => {
|
|
@@ -144,10 +144,10 @@ const LikeRanking: FC = () => {
|
|
|
144
144
|
};
|
|
145
145
|
|
|
146
146
|
const handleLinkToPraiseRaking = () => {
|
|
147
|
-
window.history.go(-1)
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
147
|
+
// window.history.go(-1)
|
|
148
|
+
let href = window.location.href;
|
|
149
|
+
let url = `${href.split("#")[0]}#dynamic`;
|
|
150
|
+
window.open(url, "self");
|
|
151
151
|
};
|
|
152
152
|
|
|
153
153
|
return (
|
|
@@ -5,7 +5,7 @@ import Dialog from '../../../components/dialog';
|
|
|
5
5
|
import preCls from '../precls';
|
|
6
6
|
import { getShareUrl } from '../request-apis';
|
|
7
7
|
import { getLocale } from '../../../utils/getLocale';
|
|
8
|
-
import Toast from '
|
|
8
|
+
import Toast from '../../../components/toast';
|
|
9
9
|
|
|
10
10
|
import './index.scss';
|
|
11
11
|
|