@titaui/pc 1.7.100 → 1.7.101
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/grid-layout/near-visitors/index.js +4 -2
- package/lib/components/grid-layout/okr-align/index.js +4 -4
- package/lib/components/grid-layout/okr-progress/index.js +6 -6
- package/lib/components/grid-layout/okr-target/index.js +2 -2
- package/lib/components/grid-layout/over-view/index.js +1 -1
- package/lib/components/grid-layout/personal-info/index.js +5 -3
- package/lib/components/grid-layout/sub-employee-okr/index.js +1 -1
- package/lib/components/grid-layout/week-task/index.js +4 -4
- package/lib/components/grid-layout/words-cloud/index.js +5 -3
- package/lib/components/grid-page/personal-info/index.js +5 -3
- package/lib/components/img-viewer/index.js +1 -1
- package/lib/components/mblog/style.js +4 -4
- package/lib/components/okr-detail/base-info/base-info.js +4 -3
- package/lib/components/okr-detail/base-info/o-desc/index.js +2 -8
- package/lib/components/point-demo/constant.js +1 -3
- package/lib/components/point-demo/drop-down-box/index.js +1 -3
- package/lib/components/point-demo/index.js +8 -10
- package/lib/components/publish-dynamic-modal/publish-dynamic-modal.css +1 -1
- package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +2 -1
- package/lib/components/user-selector/category-selector-panel/depart-tree.js +3 -0
- package/lib/components/user-selector/export-modules/field-tree-selector/index.css +1 -1
- package/lib/components/user-selector/export-modules/field-tree-selector/index.js +2 -0
- package/lib/components/word-cloud/index.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/CommonList.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentList.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/SubsList.js +1 -1
- package/lib/components-v1/userSelector/components/SingleMode.js +1 -1
- package/lib/pages/home/components/data-list/index.js +2 -2
- package/lib/pages/home/components/data-list/nav-selector/index.js +2 -2
- package/lib/pages/home/components/data-list/table/columns/index.js +1 -1
- package/lib/pages/home/components/guide/index.js +14 -12
- package/lib/pages/home/components/header/index.js +3 -1
- package/lib/pages/home-page-data-list/index.js +2 -2
- package/package.json +1 -1
- package/src/components/grid-layout/near-visitors/index.tsx +3 -2
- package/src/components/grid-layout/okr-align/index.tsx +4 -4
- package/src/components/grid-layout/okr-progress/index.tsx +6 -6
- package/src/components/grid-layout/okr-target/index.tsx +2 -2
- package/src/components/grid-layout/over-view/index.tsx +1 -1
- package/src/components/grid-layout/personal-info/index.tsx +4 -3
- package/src/components/grid-layout/sub-employee-okr/index.tsx +1 -1
- package/src/components/grid-layout/week-task/index.tsx +3 -3
- package/src/components/grid-layout/words-cloud/index.tsx +4 -3
- package/src/components/grid-page/personal-info/index.tsx +4 -3
- package/src/components/img-viewer/index.tsx +1 -1
- package/src/components/mblog/style.ts +5 -5
- package/src/components/okr-detail/base-info/base-info.tsx +2 -4
- package/src/components/okr-detail/base-info/o-desc/index.tsx +0 -7
- package/src/components/point-demo/constant.ts +1 -3
- package/src/components/point-demo/drop-down-box/index.js +1 -2
- package/src/components/point-demo/index.js +8 -9
- package/src/components/publish-dynamic-modal/publish-dynamic-modal.scss +1 -1
- package/src/components/publish-dynamic-modal/publish-dynamic-modal.tsx +1 -0
- package/src/components/user-selector/category-selector-panel/depart-tree.tsx +3 -2
- package/src/components/user-selector/export-modules/field-tree-selector/index.scss +1 -1
- package/src/components/user-selector/export-modules/field-tree-selector/index.tsx +3 -0
- package/src/components/word-cloud/index.js +1 -1
- package/src/components-v1/userSelector/components/MultiMode/CommonList.tsx +1 -1
- package/src/components-v1/userSelector/components/MultiMode/DepartmentList.tsx +1 -1
- package/src/components-v1/userSelector/components/MultiMode/SubsList.tsx +1 -1
- package/src/components-v1/userSelector/components/SingleMode.tsx +1 -1
- package/src/pages/home/components/data-list/index.tsx +2 -2
- package/src/pages/home/components/data-list/nav-selector/index.tsx +2 -2
- package/src/pages/home/components/data-list/table/columns/index.tsx +1 -1
- package/src/pages/home/components/guide/index.tsx +13 -12
- package/src/pages/home/components/header/index.tsx +2 -1
- package/src/pages/home-page-data-list/index.tsx +2 -2
|
@@ -121,7 +121,7 @@ export default class SingleMode extends PureComponent<Props,State> {
|
|
|
121
121
|
!users.length && !pending ?
|
|
122
122
|
<EmptyWrapper>
|
|
123
123
|
<img src={require('../assets/emptyImg.png')} width="100px"/>
|
|
124
|
-
<ListEmptyText
|
|
124
|
+
<ListEmptyText>{getLocale('Mod_ThereNothing')}...</ListEmptyText>
|
|
125
125
|
</EmptyWrapper>:
|
|
126
126
|
<SingleList>
|
|
127
127
|
{
|
|
@@ -25,8 +25,8 @@ const HomePageDataList = () => {
|
|
|
25
25
|
typeMap.set('all', getLocale('Mod_all'))
|
|
26
26
|
typeMap.set('hadNotAlign', getLocale('OKR_Db_Unaligned'))
|
|
27
27
|
typeMap.set('hadAlign', getLocale('OKR_Db_Aligned'))
|
|
28
|
-
typeMap.set('hadNotUpdate', '
|
|
29
|
-
typeMap.set('hadUpdate', '
|
|
28
|
+
typeMap.set('hadNotUpdate', getLocale('HP_Notupdated'))
|
|
29
|
+
typeMap.set('hadUpdate', getLocale('HP_Updated'))
|
|
30
30
|
typeMap.set('normalOkr', getLocale('OKR_MyO_Pop_Upd_Notrack'))
|
|
31
31
|
typeMap.set('riskOkr', getLocale('OKR_MyO_Pop_Upd_Atrisk'))
|
|
32
32
|
typeMap.set('dalyOkr', getLocale('OKR_MyO_Pop_Upd_Postoned'))
|
|
@@ -102,8 +102,8 @@ const HomeNavSelector = (props: Props) => {
|
|
|
102
102
|
source === 'update' &&
|
|
103
103
|
<SearchDropdown value={type} onChange={setType} >
|
|
104
104
|
<SearchDropdown.Option value="all">{getLocale('Mod_all')}</SearchDropdown.Option>
|
|
105
|
-
<SearchDropdown.Option value='hadNotUpdate'
|
|
106
|
-
<SearchDropdown.Option value='hadUpdate'
|
|
105
|
+
<SearchDropdown.Option value='hadNotUpdate'>{getLocale('HP_Notupdated')}</SearchDropdown.Option>
|
|
106
|
+
<SearchDropdown.Option value='hadUpdate'>{getLocale('HP_Updated')}</SearchDropdown.Option>
|
|
107
107
|
</SearchDropdown>
|
|
108
108
|
}
|
|
109
109
|
{
|
|
@@ -64,7 +64,7 @@ export const okrUpdateColumns = [{
|
|
|
64
64
|
width: '7%',
|
|
65
65
|
render: (data) =>
|
|
66
66
|
<LinkColumn onClick={data.behave}>
|
|
67
|
-
{data.typeName === '
|
|
67
|
+
{data.typeName === getLocale('HP_Updated') ? getLocale('Mod_Checkdetails') : getLocale('OKR_OKRW_Gotoupdate')}
|
|
68
68
|
</LinkColumn >
|
|
69
69
|
}]
|
|
70
70
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { getUserInfo } from "../../../../utils/bs-global";
|
|
2
2
|
import React, { ReactElement, useState, useEffect } from "react";
|
|
3
3
|
import Queue from "rc-queue-anim";
|
|
4
|
-
import "
|
|
4
|
+
import { getLocale } from "../../../../utils/getLocale";
|
|
5
5
|
import HomeGuideStepItem from "./stepItem";
|
|
6
|
+
import "./index.scss";
|
|
6
7
|
|
|
7
8
|
interface Props {}
|
|
8
9
|
|
|
@@ -28,7 +29,7 @@ function HomePageGuide({}: Props): ReactElement {
|
|
|
28
29
|
onClick={() => setVisible(true)}
|
|
29
30
|
>
|
|
30
31
|
<i className="tu-icon-T-zhinan" />
|
|
31
|
-
|
|
32
|
+
{getLocale('HP_HowTita')}
|
|
32
33
|
</div>
|
|
33
34
|
)}
|
|
34
35
|
{visible && (
|
|
@@ -40,30 +41,30 @@ function HomePageGuide({}: Props): ReactElement {
|
|
|
40
41
|
/>
|
|
41
42
|
<div className={prefixCls + "__guide-steps"}>
|
|
42
43
|
<div className={prefixCls + "__guide-title"}>
|
|
43
|
-
|
|
44
|
+
{getLocale('HP_FourstepsTita')}
|
|
44
45
|
</div>
|
|
45
46
|
<HomeGuideStepItem
|
|
46
|
-
title=
|
|
47
|
+
title={getLocale('HP_DevelopOKR')}
|
|
47
48
|
step={1}
|
|
48
|
-
linkName=
|
|
49
|
+
linkName={getLocale('HP_Tut_developOKRs')}
|
|
49
50
|
href="https://club.tita.com/18150.html"
|
|
50
51
|
/>
|
|
51
52
|
<HomeGuideStepItem
|
|
52
|
-
title=
|
|
53
|
+
title={getLocale('HP_AlignmentOKR')}
|
|
53
54
|
step={2}
|
|
54
|
-
linkName=
|
|
55
|
+
linkName={getLocale('HP_TutalignmentOKR')}
|
|
55
56
|
href="https://club.tita.com/18150.html"
|
|
56
57
|
/>
|
|
57
58
|
<HomeGuideStepItem
|
|
58
|
-
title=
|
|
59
|
+
title={getLocale('HP_Taskachievement')}
|
|
59
60
|
step={3}
|
|
60
|
-
linkName=
|
|
61
|
+
linkName={getLocale('HP_TuttasksonTita')}
|
|
61
62
|
href="https://club.tita.com/18165.html"
|
|
62
63
|
/>
|
|
63
64
|
<HomeGuideStepItem
|
|
64
|
-
title=
|
|
65
|
+
title={getLocale('HP_UpdateProgress')}
|
|
65
66
|
step={4}
|
|
66
|
-
linkName=
|
|
67
|
+
linkName={getLocale('HP_TutOKRonTita')}
|
|
67
68
|
href="https://club.tita.com/18179.html"
|
|
68
69
|
isFinalStep
|
|
69
70
|
/>
|
|
@@ -74,7 +75,7 @@ function HomePageGuide({}: Props): ReactElement {
|
|
|
74
75
|
target="_blank"
|
|
75
76
|
>
|
|
76
77
|
<i className="tu-icon-shoushi" />
|
|
77
|
-
|
|
78
|
+
{getLocale('HP_Morecourses')}
|
|
78
79
|
</a>
|
|
79
80
|
</div>
|
|
80
81
|
</div>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ReactElement } from 'react'
|
|
2
2
|
import Tabs,{ TabPane } from '../../../../components/tabs'
|
|
3
|
+
import { getLocale } from '../../../../utils/getLocale'
|
|
3
4
|
import "./index.scss"
|
|
4
5
|
|
|
5
6
|
interface Props {
|
|
@@ -10,7 +11,7 @@ function Header({}: Props): ReactElement {
|
|
|
10
11
|
return (
|
|
11
12
|
<div className="tita-tab-header">
|
|
12
13
|
<Tabs size={"big"}>
|
|
13
|
-
<TabPane tab=
|
|
14
|
+
<TabPane tab={getLocale('HP_My')} tabKey="my"></TabPane>
|
|
14
15
|
</Tabs>
|
|
15
16
|
</div>
|
|
16
17
|
)
|
|
@@ -28,8 +28,8 @@ const HomePageDataList = () => {
|
|
|
28
28
|
typeMap.set('all', getLocale('Mod_all'));
|
|
29
29
|
typeMap.set('hadNotAlign', getLocale('OKR_Db_Unaligned'));
|
|
30
30
|
typeMap.set('hadAlign', getLocale('OKR_Db_Aligned'));
|
|
31
|
-
typeMap.set('hadNotUpdate', '
|
|
32
|
-
typeMap.set('hadUpdate', '
|
|
31
|
+
typeMap.set('hadNotUpdate', getLocale('HP_Notupdated'));
|
|
32
|
+
typeMap.set('hadUpdate', getLocale('HP_Updated'));
|
|
33
33
|
typeMap.set('normalOkr', getLocale('OKR_MyO_Pop_Upd_Notrack'));
|
|
34
34
|
typeMap.set('riskOkr', getLocale('OKR_MyO_Pop_Upd_Atrisk'));
|
|
35
35
|
typeMap.set('dalyOkr', getLocale('OKR_MyO_Pop_Upd_Postoned'));
|