@titaui/pc 1.9.18 → 1.9.22
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/change-okr-modal/Item.js +24 -27
- package/lib/components/create-okr-modal/fields/index.css +1 -1
- package/lib/components/dialog-confirm/index.css +8 -3
- package/lib/components/dialog-confirm/index.js +17 -15
- package/lib/components/drawer/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.css +2 -4
- package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.css +2 -4
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.css +2 -4
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.css +2 -4
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.css +2 -4
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +1 -3
- package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/index.css +2 -4
- package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/index.css +2 -4
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.css +2 -4
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.css +2 -4
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.css +2 -4
- package/lib/components/dynamic/dynamic-item/dynamic-replay/index.css +2 -4
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.css +2 -4
- package/lib/components/dynamic/dynamic-item/dynamic-reward/index.css +2 -3
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.css +2 -4
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.css +2 -4
- package/lib/components/dynamic/dynamic-topping/index.css +1 -1
- package/lib/components/grid-layout/okr-align/index.js +1 -1
- package/lib/components/grid-layout/okr-progress/index.js +1 -1
- package/lib/components/menus/components/menu-tree/index.css +2 -2
- package/lib/components/menus/export-modules/okr-menus/depart-menus/index.css +1 -1
- package/lib/components/okr-detail/base-info/base-info.js +14 -13
- package/lib/components/okr-detail/base-info/o-desc/index.css +1 -1
- package/lib/components/okr-detail/components/header/index.css +4 -0
- package/lib/components/okr-detail/components/header/index.js +7 -3
- package/lib/components/okr-detail/components/header/o-score.js +163 -0
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +1 -1
- 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 +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +5 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/kr-push-score.js +10 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/style.js +6 -6
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.css +1 -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/detail-footer/index.css +1 -1
- package/lib/components/okr-detail/e-list/search-form/fields/index.css +1 -0
- package/lib/components/okr-detail/okr-list/index.css +2 -2
- package/lib/components/okr-detail/request-apis.js +11 -2
- package/lib/components/okr-progress-modal/helper.js +2 -2
- package/lib/components/okr-progress-modal/index.css +2 -2
- package/lib/components/okrcase-library/index.css +1 -1
- package/lib/components/pagination/select.css +1 -1
- package/lib/components/search-dropdown/index.css +1 -1
- package/lib/components/switch/index.css +1 -1
- package/lib/components/tabs/index.css +1 -1
- package/lib/components/tita-chart/charts/pie.js +3 -1
- package/lib/components/tooltip/tooltip-text/index.js +6 -5
- package/lib/components/user-selector/export-modules/duties-selector/index.js +69 -10
- package/lib/components/user-selector/request-apis.js +11 -2
- package/lib/components/version-change-modal/index.css +1 -1
- package/lib/components/weekly-report/index.css +1 -1
- package/lib/components-v1/confirm/index.js +1 -1
- package/lib/components-v1/dropDownSelector/styles/index.js +1 -1
- package/lib/pages/appointment-demo/index.css +1 -1
- package/lib/pages/group-management/page-view/importGroupStaff/index.css +2 -2
- package/lib/pages/okr-map/export-modules/okr-map/header/index.css +1 -1
- package/lib/pages/okr-map/export-modules/share-okr-page/header/index.css +1 -1
- package/lib/pages/personal-info/components/base-info/index.js +8 -6
- package/lib/pages/personal-info/components/edit-base-info/index.js +26 -22
- package/lib/utils/i18n-front-translate.js +18 -0
- package/package.json +1 -1
- package/src/components/change-okr-modal/Item.tsx +9 -3
- package/src/components/create-okr-modal/fields/index.scss +1 -1
- package/src/components/dialog-confirm/index.js +95 -58
- package/src/components/dialog-confirm/index.scss +16 -12
- package/src/components/drawer/index.scss +1 -1
- package/src/components/dynamic/dynamic-item/dynamic-align/index.scss +2 -4
- package/src/components/dynamic/dynamic-item/dynamic-announcement/index.scss +2 -4
- package/src/components/dynamic/dynamic-item/dynamic-assessment/index.scss +2 -4
- package/src/components/dynamic/dynamic-item/dynamic-create-o/index.scss +2 -4
- package/src/components/dynamic/dynamic-item/dynamic-kr/index.scss +2 -4
- package/src/components/dynamic/dynamic-item/dynamic-milestone/index.scss +1 -3
- package/src/components/dynamic/dynamic-item/dynamic-okrs-communication/index.scss +2 -4
- package/src/components/dynamic/dynamic-item/dynamic-plan-communication/index.scss +2 -4
- package/src/components/dynamic/dynamic-item/dynamic-progress/index.scss +2 -4
- package/src/components/dynamic/dynamic-item/dynamic-project/index.scss +2 -4
- package/src/components/dynamic/dynamic-item/dynamic-relative/index.scss +2 -4
- package/src/components/dynamic/dynamic-item/dynamic-replay/index.scss +2 -4
- package/src/components/dynamic/dynamic-item/dynamic-report/index.scss +2 -4
- package/src/components/dynamic/dynamic-item/dynamic-reward/index.scss +2 -3
- package/src/components/dynamic/dynamic-item/dynamic-share/index.scss +2 -4
- package/src/components/dynamic/dynamic-item/dynamic-task/index.scss +2 -4
- package/src/components/dynamic/dynamic-topping/index.scss +1 -1
- package/src/components/form/form-fields/input/index.tsx +1 -1
- package/src/components/form/form-fields/textarea/index.tsx +2 -1
- package/src/components/grid-layout/okr-align/index.tsx +1 -1
- package/src/components/grid-layout/okr-progress/index.tsx +1 -1
- package/src/components/menus/components/menu-tree/index.scss +2 -2
- package/src/components/menus/export-modules/okr-menus/depart-menus/index.scss +1 -1
- package/src/components/okr-detail/base-info/base-info.tsx +39 -27
- package/src/components/okr-detail/base-info/o-desc/index.scss +1 -1
- package/src/components/okr-detail/components/header/index.js +4 -3
- package/src/components/okr-detail/components/header/index.scss +5 -0
- package/src/components/okr-detail/components/header/o-score.tsx +115 -0
- package/src/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +1 -1
- package/src/components/okr-detail/components/okr-tree/tree-node/index.scss +1 -1
- package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/index.scss +1 -1
- package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.tsx +2 -2
- package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/kr-push-score.tsx +3 -3
- package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/style.js +2 -6
- package/src/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.scss +1 -1
- package/src/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.scss +1 -1
- package/src/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.scss +1 -1
- package/src/components/okr-detail/detail-footer/index.scss +1 -1
- package/src/components/okr-detail/e-list/search-form/fields/index.scss +1 -0
- package/src/components/okr-detail/okr-list/index.scss +1 -1
- package/src/components/okr-detail/request-apis.ts +7 -0
- package/src/components/okr-progress-modal/helper.js +2 -2
- package/src/components/okr-progress-modal/index.scss +2 -2
- package/src/components/okrcase-library/index.scss +1 -1
- package/src/components/pagination/select.scss +1 -1
- package/src/components/search-dropdown/index.scss +1 -1
- package/src/components/switch/index.scss +1 -1
- package/src/components/tabs/index.scss +1 -1
- package/src/components/tita-chart/charts/pie.tsx +2 -1
- package/src/components/tooltip/tooltip-text/index.tsx +8 -6
- package/src/components/user-selector/export-modules/duties-selector/index.tsx +78 -18
- package/src/components/user-selector/request-apis.js +7 -0
- package/src/components/version-change-modal/index.scss +1 -1
- package/src/components/weekly-report/index.scss +1 -1
- package/src/components-v1/confirm/index.tsx +0 -1
- package/src/components-v1/dropDownSelector/styles/index.tsx +1 -1
- package/src/pages/appointment-demo/index.scss +1 -1
- package/src/pages/group-management/page-view/importGroupStaff/index.scss +2 -2
- package/src/pages/okr-map/export-modules/okr-map/header/index.scss +1 -1
- package/src/pages/okr-map/export-modules/share-okr-page/header/index.scss +1 -1
- package/src/pages/personal-info/components/base-info/index.tsx +42 -21
- package/src/pages/personal-info/components/edit-base-info/index.tsx +151 -141
- package/src/utils/i18n-front-translate.ts +8 -0
|
@@ -1,85 +1,122 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import classNames from
|
|
3
|
-
import Dialog from
|
|
1
|
+
import React from "react";
|
|
2
|
+
import classNames from "classnames";
|
|
3
|
+
import Dialog from "rc-dialog";
|
|
4
4
|
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import "rc-dialog/assets/index.css";
|
|
6
|
+
import "./index.scss";
|
|
7
7
|
|
|
8
|
-
const preCls =
|
|
8
|
+
const preCls = "titaui-dialog-confirm";
|
|
9
9
|
|
|
10
|
-
export const CancelButton = props => {
|
|
10
|
+
export const CancelButton = (props) => {
|
|
11
11
|
const { onClick, children } = props;
|
|
12
|
-
return
|
|
13
|
-
<span
|
|
14
|
-
|
|
15
|
-
}
|
|
12
|
+
return (
|
|
13
|
+
<span
|
|
14
|
+
key="cancel"
|
|
15
|
+
className={classNames(`${preCls}__btn-cancel`, `${preCls}__btn`)}
|
|
16
|
+
onClick={onClick}
|
|
17
|
+
>
|
|
18
|
+
<span className={classNames(`${preCls}__btn-cancel-text`)}>
|
|
19
|
+
{children}
|
|
20
|
+
</span>
|
|
21
|
+
</span>
|
|
22
|
+
);
|
|
23
|
+
};
|
|
16
24
|
|
|
17
|
-
export const SureButton = props => {
|
|
25
|
+
export const SureButton = (props) => {
|
|
18
26
|
const { onClick, children } = props;
|
|
19
|
-
return
|
|
20
|
-
<span
|
|
21
|
-
|
|
22
|
-
}
|
|
27
|
+
return (
|
|
28
|
+
<span
|
|
29
|
+
key="sure"
|
|
30
|
+
className={classNames(`${preCls}__btn-sure`, `${preCls}__btn`)}
|
|
31
|
+
onClick={onClick}
|
|
32
|
+
>
|
|
33
|
+
<span className={classNames(`${preCls}__btn-sure-text`)}>{children}</span>
|
|
34
|
+
</span>
|
|
35
|
+
);
|
|
36
|
+
};
|
|
23
37
|
|
|
24
|
-
export const WarningButton = props => {
|
|
38
|
+
export const WarningButton = (props) => {
|
|
25
39
|
const { onClick, children } = props;
|
|
26
|
-
return
|
|
27
|
-
<span
|
|
28
|
-
|
|
29
|
-
}
|
|
40
|
+
return (
|
|
41
|
+
<span
|
|
42
|
+
key="warning"
|
|
43
|
+
className={classNames(`${preCls}__btn-warning`, `${preCls}__btn`)}
|
|
44
|
+
onClick={onClick}
|
|
45
|
+
>
|
|
46
|
+
<span className={classNames(`${preCls}__btn-warning-text`)}>
|
|
47
|
+
{children}
|
|
48
|
+
</span>
|
|
49
|
+
</span>
|
|
50
|
+
);
|
|
51
|
+
};
|
|
30
52
|
|
|
31
|
-
const DialogConfirm = props => {
|
|
32
|
-
const { children, visible, type, className="", ...restProps } = props;
|
|
53
|
+
const DialogConfirm = (props) => {
|
|
54
|
+
const { children, visible, type, className = "", ...restProps } = props;
|
|
33
55
|
|
|
34
56
|
let footer = [];
|
|
35
57
|
let titleInstance;
|
|
36
58
|
let contentInstance;
|
|
37
59
|
|
|
38
|
-
React.Children.forEach(children, child => {
|
|
39
|
-
if (child.props.type ==
|
|
40
|
-
if (child.props.type ==
|
|
41
|
-
if (child.props.type ==
|
|
60
|
+
React.Children.forEach(children, (child) => {
|
|
61
|
+
if (child.props.type == "button") footer.push(child);
|
|
62
|
+
if (child.props.type == "title") titleInstance = child;
|
|
63
|
+
if (child.props.type == "content") contentInstance = child;
|
|
42
64
|
});
|
|
43
65
|
|
|
44
|
-
const getConfirmIcon = type => {
|
|
66
|
+
const getConfirmIcon = (type) => {
|
|
45
67
|
switch (type) {
|
|
46
|
-
case
|
|
47
|
-
return
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
case
|
|
51
|
-
return
|
|
52
|
-
|
|
68
|
+
case "warning":
|
|
69
|
+
return (
|
|
70
|
+
<span className="tu-icon-tishi" style={{ "color": "#FFBC00" }} />
|
|
71
|
+
);
|
|
72
|
+
case "success":
|
|
73
|
+
return (
|
|
74
|
+
<span className="tu-icon-check" style={{ "color": "#5AD8A6" }} />
|
|
75
|
+
);
|
|
76
|
+
case "error":
|
|
77
|
+
return (
|
|
78
|
+
<span className="tu-icon-cross" style={{ "color": "#F05E5E" }} />
|
|
79
|
+
);
|
|
80
|
+
case "confirm":
|
|
53
81
|
return <span className="tu-icon-tishi" />;
|
|
54
|
-
case
|
|
82
|
+
case "info":
|
|
55
83
|
return <span className="tu-icon-warning" />;
|
|
56
|
-
default:
|
|
84
|
+
default:
|
|
85
|
+
return;
|
|
57
86
|
}
|
|
58
|
-
}
|
|
87
|
+
};
|
|
59
88
|
|
|
60
|
-
return
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
<
|
|
72
|
-
{
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
89
|
+
return (
|
|
90
|
+
<Dialog
|
|
91
|
+
className={classNames(preCls, `${preCls}--no-bottom-line`, className)}
|
|
92
|
+
visible={visible}
|
|
93
|
+
closeIcon={<span />}
|
|
94
|
+
animation="slide-fade"
|
|
95
|
+
maskAnimation="fade"
|
|
96
|
+
footer={footer}
|
|
97
|
+
maskClosable={false}
|
|
98
|
+
{...restProps}
|
|
99
|
+
>
|
|
100
|
+
<div className={classNames(`${preCls}__body`)}>
|
|
101
|
+
<div className={classNames(`${preCls}__body-title`)}>
|
|
102
|
+
<span className={classNames(`${preCls}__body-title-icon`)}>
|
|
103
|
+
{getConfirmIcon(type)}
|
|
104
|
+
</span>
|
|
105
|
+
<div className={classNames(`${preCls}__body-title-text`)}>
|
|
106
|
+
{titleInstance}
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
<div className={classNames(`${preCls}__body-content`)}>
|
|
110
|
+
{contentInstance}
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
</Dialog>
|
|
114
|
+
);
|
|
115
|
+
};
|
|
79
116
|
|
|
80
117
|
DialogConfirm.Confirm = DialogConfirm;
|
|
81
118
|
DialogConfirm.CancelButton = CancelButton;
|
|
82
119
|
DialogConfirm.SureButton = SureButton;
|
|
83
120
|
DialogConfirm.WarningButton = WarningButton;
|
|
84
121
|
|
|
85
|
-
export default DialogConfirm;
|
|
122
|
+
export default DialogConfirm;
|
|
@@ -96,19 +96,22 @@ $font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica,
|
|
|
96
96
|
|
|
97
97
|
&__body {
|
|
98
98
|
position: relative;
|
|
99
|
-
&-icon {
|
|
100
|
-
display: inline-block;
|
|
101
|
-
font-size: 14px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
99
|
&-title {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
100
|
+
display: flex;
|
|
101
|
+
&-icon {
|
|
102
|
+
display: inline-block;
|
|
103
|
+
font-size: 14px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&-text {
|
|
107
|
+
font-size: 16px;
|
|
108
|
+
font-family: $font-family;
|
|
109
|
+
font-weight: 600;
|
|
110
|
+
color: #141c28;
|
|
111
|
+
line-height: 24px;
|
|
112
|
+
display: inline-block;
|
|
113
|
+
margin-left: 6px;
|
|
114
|
+
}
|
|
112
115
|
}
|
|
113
116
|
|
|
114
117
|
&-content {
|
|
@@ -120,6 +123,7 @@ $font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica,
|
|
|
120
123
|
color: #6f7886;
|
|
121
124
|
line-height: 22px;
|
|
122
125
|
padding-left: 20px;
|
|
126
|
+
margin-left: 6px;
|
|
123
127
|
}
|
|
124
128
|
}
|
|
125
129
|
}
|
|
@@ -68,12 +68,10 @@
|
|
|
68
68
|
display: inline-flex;
|
|
69
69
|
align-items: center;
|
|
70
70
|
justify-content: center;
|
|
71
|
-
padding: 0
|
|
71
|
+
padding: 0 6px;
|
|
72
72
|
height: 18px;
|
|
73
73
|
min-width: 40px;
|
|
74
|
-
|
|
75
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
76
|
-
border-radius: 14px 10px 10px 4px;
|
|
74
|
+
border-radius: 10px 10px 10px 2px;
|
|
77
75
|
font-size: 12px;
|
|
78
76
|
color: #ffffff;
|
|
79
77
|
line-height: 18px;
|
|
@@ -35,12 +35,10 @@
|
|
|
35
35
|
display: inline-flex;
|
|
36
36
|
align-items: center;
|
|
37
37
|
justify-content: center;
|
|
38
|
-
padding: 0
|
|
38
|
+
padding: 0 6px;
|
|
39
39
|
height: 18px;
|
|
40
40
|
min-width: 40px;
|
|
41
|
-
|
|
42
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
43
|
-
border-radius: 14px 10px 10px 4px;
|
|
41
|
+
border-radius: 10px 10px 10px 2px;
|
|
44
42
|
font-size: 12px;
|
|
45
43
|
color: #ffffff;
|
|
46
44
|
line-height: 18px;
|
|
@@ -30,12 +30,10 @@
|
|
|
30
30
|
display: inline-flex;
|
|
31
31
|
align-items: center;
|
|
32
32
|
justify-content: center;
|
|
33
|
-
padding: 0
|
|
33
|
+
padding: 0 6px;
|
|
34
34
|
height: 18px;
|
|
35
35
|
min-width: 40px;
|
|
36
|
-
|
|
37
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
38
|
-
border-radius: 14px 10px 10px 4px;
|
|
36
|
+
border-radius: 10px 10px 10px 2px;
|
|
39
37
|
font-size: 12px;
|
|
40
38
|
color: #ffffff;
|
|
41
39
|
line-height: 18px;
|
|
@@ -70,12 +70,10 @@
|
|
|
70
70
|
display: inline-flex;
|
|
71
71
|
align-items: center;
|
|
72
72
|
justify-content: center;
|
|
73
|
-
padding: 0
|
|
73
|
+
padding: 0 6px;
|
|
74
74
|
height: 18px;
|
|
75
75
|
min-width: 40px;
|
|
76
|
-
|
|
77
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
78
|
-
border-radius: 14px 10px 10px 4px;
|
|
76
|
+
border-radius: 10px 10px 10px 2px;
|
|
79
77
|
font-size: 12px;
|
|
80
78
|
color: #ffffff;
|
|
81
79
|
line-height: 18px;
|
|
@@ -46,12 +46,10 @@
|
|
|
46
46
|
display: inline-flex;
|
|
47
47
|
align-items: center;
|
|
48
48
|
justify-content: center;
|
|
49
|
-
padding: 0
|
|
49
|
+
padding: 0 6px;
|
|
50
50
|
height: 18px;
|
|
51
51
|
min-width: 40px;
|
|
52
|
-
|
|
53
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
54
|
-
border-radius: 14px 10px 10px 4px;
|
|
52
|
+
border-radius: 10px 10px 10px 2px;
|
|
55
53
|
font-size: 12px;
|
|
56
54
|
color: #ffffff;
|
|
57
55
|
line-height: 18px;
|
|
@@ -93,9 +93,7 @@
|
|
|
93
93
|
padding: 0 6px;
|
|
94
94
|
height: 18px;
|
|
95
95
|
min-width: 40px;
|
|
96
|
-
|
|
97
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
98
|
-
border-radius: 14px 10px 10px 4px;
|
|
96
|
+
border-radius: 10px 10px 10px 2px;
|
|
99
97
|
font-size: 12px;
|
|
100
98
|
color: #ffffff;
|
|
101
99
|
line-height: 18px;
|
|
@@ -64,12 +64,10 @@
|
|
|
64
64
|
display: inline-flex;
|
|
65
65
|
align-items: center;
|
|
66
66
|
justify-content: center;
|
|
67
|
-
padding: 0
|
|
67
|
+
padding: 0 6px;
|
|
68
68
|
height: 18px;
|
|
69
69
|
min-width: 40px;
|
|
70
|
-
|
|
71
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
72
|
-
border-radius: 14px 10px 10px 4px;
|
|
70
|
+
border-radius: 10px 10px 10px 2px;
|
|
73
71
|
font-size: 12px;
|
|
74
72
|
color: #ffffff;
|
|
75
73
|
line-height: 18px;
|
|
@@ -64,12 +64,10 @@
|
|
|
64
64
|
display: inline-flex;
|
|
65
65
|
align-items: center;
|
|
66
66
|
justify-content: center;
|
|
67
|
-
padding: 0
|
|
67
|
+
padding: 0 6px;
|
|
68
68
|
height: 18px;
|
|
69
69
|
min-width: 40px;
|
|
70
|
-
|
|
71
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
72
|
-
border-radius: 14px 10px 10px 4px;
|
|
70
|
+
border-radius: 10px 10px 10px 2px;
|
|
73
71
|
font-size: 12px;
|
|
74
72
|
color: #ffffff;
|
|
75
73
|
line-height: 18px;
|
|
@@ -71,12 +71,10 @@
|
|
|
71
71
|
display: inline-flex;
|
|
72
72
|
align-items: center;
|
|
73
73
|
justify-content: center;
|
|
74
|
-
padding: 0
|
|
74
|
+
padding: 0 6px;
|
|
75
75
|
height: 18px;
|
|
76
76
|
min-width: 40px;
|
|
77
|
-
|
|
78
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
79
|
-
border-radius: 14px 10px 10px 4px;
|
|
77
|
+
border-radius: 10px 10px 10px 2px;
|
|
80
78
|
font-size: 12px;
|
|
81
79
|
color: #ffffff;
|
|
82
80
|
line-height: 18px;
|
|
@@ -76,12 +76,10 @@
|
|
|
76
76
|
display: inline-flex;
|
|
77
77
|
align-items: center;
|
|
78
78
|
justify-content: center;
|
|
79
|
-
padding: 0
|
|
79
|
+
padding: 0 6px;
|
|
80
80
|
height: 18px;
|
|
81
81
|
min-width: 40px;
|
|
82
|
-
|
|
83
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
84
|
-
border-radius: 14px 10px 10px 4px;
|
|
82
|
+
border-radius: 10px 10px 10px 2px;
|
|
85
83
|
font-size: 12px;
|
|
86
84
|
color: #ffffff;
|
|
87
85
|
line-height: 18px;
|
|
@@ -67,12 +67,10 @@
|
|
|
67
67
|
display: inline-flex;
|
|
68
68
|
align-items: center;
|
|
69
69
|
justify-content: center;
|
|
70
|
-
padding: 0
|
|
70
|
+
padding: 0 6px;
|
|
71
71
|
height: 18px;
|
|
72
72
|
min-width: 40px;
|
|
73
|
-
|
|
74
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
75
|
-
border-radius: 14px 10px 10px 4px;
|
|
73
|
+
border-radius: 10px 10px 10px 2px;
|
|
76
74
|
font-size: 12px;
|
|
77
75
|
color: #ffffff;
|
|
78
76
|
line-height: 18px;
|
|
@@ -112,12 +112,10 @@
|
|
|
112
112
|
display: inline-flex;
|
|
113
113
|
align-items: center;
|
|
114
114
|
justify-content: center;
|
|
115
|
-
padding: 0
|
|
115
|
+
padding: 0 6px;
|
|
116
116
|
height: 18px;
|
|
117
117
|
min-width: 40px;
|
|
118
|
-
|
|
119
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
120
|
-
border-radius: 14px 10px 10px 4px;
|
|
118
|
+
border-radius: 10px 10px 10px 2px;
|
|
121
119
|
font-size: 12px;
|
|
122
120
|
color: #ffffff;
|
|
123
121
|
line-height: 18px;
|
|
@@ -117,12 +117,10 @@
|
|
|
117
117
|
display: inline-flex;
|
|
118
118
|
align-items: center;
|
|
119
119
|
justify-content: center;
|
|
120
|
-
padding: 0
|
|
120
|
+
padding: 0 6px;
|
|
121
121
|
height: 18px;
|
|
122
122
|
min-width: 40px;
|
|
123
|
-
|
|
124
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
125
|
-
border-radius: 14px 10px 10px 4px;
|
|
123
|
+
border-radius: 10px 10px 10px 2px;
|
|
126
124
|
font-size: 12px;
|
|
127
125
|
color: #ffffff;
|
|
128
126
|
line-height: 18px;
|
|
@@ -57,9 +57,8 @@
|
|
|
57
57
|
width: 40px;
|
|
58
58
|
height: 18px;
|
|
59
59
|
min-width: 40px;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
border-radius: 14px 10px 10px 4px;
|
|
60
|
+
border-radius: 10px 10px 10px 2px;
|
|
61
|
+
padding: 0 6px;
|
|
63
62
|
font-size: 12px;
|
|
64
63
|
color: #ffffff;
|
|
65
64
|
line-height: 18px;
|
|
@@ -32,12 +32,10 @@
|
|
|
32
32
|
display: inline-flex;
|
|
33
33
|
align-items: center;
|
|
34
34
|
justify-content: center;
|
|
35
|
-
padding: 0
|
|
35
|
+
padding: 0 6px;
|
|
36
36
|
height: 18px;
|
|
37
37
|
min-width: 40px;
|
|
38
|
-
|
|
39
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
40
|
-
border-radius: 14px 10px 10px 4px;
|
|
38
|
+
border-radius: 10px 10px 10px 2px;
|
|
41
39
|
font-size: 12px;
|
|
42
40
|
color: #ffffff;
|
|
43
41
|
line-height: 18px;
|
|
@@ -90,12 +90,10 @@
|
|
|
90
90
|
display: inline-flex;
|
|
91
91
|
align-items: center;
|
|
92
92
|
justify-content: center;
|
|
93
|
-
padding: 0
|
|
93
|
+
padding: 0 6px;
|
|
94
94
|
height: 18px;
|
|
95
95
|
min-width: 40px;
|
|
96
|
-
|
|
97
|
-
-webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
|
|
98
|
-
border-radius: 14px 10px 10px 4px;
|
|
96
|
+
border-radius: 10px 10px 10px 2px;
|
|
99
97
|
font-size: 12px;
|
|
100
98
|
color: #ffffff;
|
|
101
99
|
line-height: 18px;
|
|
@@ -67,7 +67,7 @@ export default function OKRAlignComponent() {
|
|
|
67
67
|
link: 'https://club.tita.com/18179.html'
|
|
68
68
|
}} />
|
|
69
69
|
: <CardFlexContent>
|
|
70
|
-
<TitaChart.LiquidBall PrePercentNum={0} name=
|
|
70
|
+
<TitaChart.LiquidBall PrePercentNum={0} name={getLocale('HP_Alignmentrate')} percentNum={alignPercent} />
|
|
71
71
|
<DataItem num={hadAlignOkrNum} numColor="#3F4755" label={getLocale('OKR_Db_Aligned')} handleDataClick={() => handleDataClick('hadAlign')} />
|
|
72
72
|
<DataItem num={hadNotAlignOkrNum} numColor="#3F4755" label={getLocale('OKR_Db_Unaligned')} handleDataClick={() => handleDataClick('hadNotAlign')} />
|
|
73
73
|
</CardFlexContent>
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
opacity: 0;
|
|
15
15
|
background: #e9f1ff;
|
|
16
16
|
border-radius: 12px;
|
|
17
|
-
font-weight:
|
|
17
|
+
font-weight: 600;
|
|
18
18
|
will-change: opacity;
|
|
19
19
|
animation: selectMenuOpacity 0.4s 1 forwards;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.titaui-menus-tree__menu-item-node-title {
|
|
23
23
|
color: #2879ff;
|
|
24
|
-
font-weight:
|
|
24
|
+
font-weight: 600;
|
|
25
25
|
}
|
|
26
26
|
.titaui-menus-tree__sub-menu-item-node-title{
|
|
27
27
|
color: #2879ff;
|