@titaui/pc 1.7.98 → 1.7.99
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/okr-detail/components/o-progress-update/index.js +1 -1
- package/lib/components/okr-progress/components/o-progress-update/index.js +1 -1
- package/lib/components/period-selector/common.js +1 -1
- package/lib/components/period-selector/components/selector/index.js +1 -1
- package/lib/components/period-selector/mockData.js +1 -1
- package/lib/components/task-relation-modal/tree/category-tree/index.js +1 -1
- package/lib/pages/personal-info/components/base-info/index.js +1 -1
- package/package.json +1 -1
- package/src/components/okr-detail/components/o-progress-update/index.tsx +1 -1
- package/src/components/okr-progress/components/o-progress-update/index.tsx +1 -1
- package/src/components/period-selector/common.ts +1 -1
- package/src/components/period-selector/components/selector/index.tsx +1 -1
- package/src/components/period-selector/mockData.ts +1 -1
- package/src/components/task-relation-modal/tree/category-tree/index.tsx +1 -1
- package/src/pages/personal-info/components/base-info/index.tsx +1 -1
|
@@ -84,7 +84,7 @@ var OProgressUpdate = function OProgressUpdate(props) {
|
|
|
84
84
|
data = _context.sent;
|
|
85
85
|
|
|
86
86
|
if (data.Code == 1) {
|
|
87
|
-
_toast["default"].Success(
|
|
87
|
+
_toast["default"].Success((0, _getLocale.getLocale)('Per_Ma_form_Updatesuc'));
|
|
88
88
|
|
|
89
89
|
refreshAll && refreshAll();
|
|
90
90
|
setVisible(false);
|
|
@@ -78,7 +78,7 @@ var OProgressUpdate = function OProgressUpdate(props) {
|
|
|
78
78
|
data = _context.sent;
|
|
79
79
|
|
|
80
80
|
if (data.Code == 1) {
|
|
81
|
-
_toast["default"].Success(
|
|
81
|
+
_toast["default"].Success((0, _getLocale.getLocale)('Per_Ma_form_Updatesuc'));
|
|
82
82
|
|
|
83
83
|
setVisible(false);
|
|
84
84
|
} else {
|
|
@@ -85,7 +85,7 @@ var formatPeriod = function formatPeriod(selected) {
|
|
|
85
85
|
|
|
86
86
|
switch ("".concat(selected.cycleType)) {
|
|
87
87
|
case "-1":
|
|
88
|
-
cycleDate = "".concat((0, _getLocale.getLocale)('
|
|
88
|
+
cycleDate = "".concat((0, _getLocale.getLocale)('OKR_MyO_Butt_AllStatee'));
|
|
89
89
|
break;
|
|
90
90
|
|
|
91
91
|
case "1":
|
|
@@ -207,7 +207,7 @@ function Selector(_ref2) {
|
|
|
207
207
|
return Number(item.title) == Number(selected.annualNum);
|
|
208
208
|
}));
|
|
209
209
|
var periodDatas = [showFullCycle && {
|
|
210
|
-
title: "".concat((0, _getLocale.getLocale)("
|
|
210
|
+
title: "".concat((0, _getLocale.getLocale)("OKR_MyO_Butt_AllStatee")),
|
|
211
211
|
order: ["-1"],
|
|
212
212
|
checked: false
|
|
213
213
|
}, showYear && {
|
|
@@ -9,7 +9,7 @@ var _getLocale = require("../../utils/getLocale");
|
|
|
9
9
|
|
|
10
10
|
var getMockPeriod = function getMockPeriod() {
|
|
11
11
|
return [{
|
|
12
|
-
title: (0, _getLocale.getLocale)("
|
|
12
|
+
title: (0, _getLocale.getLocale)("OKR_MyO_Butt_AllStatee"),
|
|
13
13
|
order: ["-1"],
|
|
14
14
|
checked: false
|
|
15
15
|
}, {
|
|
@@ -232,7 +232,7 @@ var CategoryTree = function CategoryTree() {
|
|
|
232
232
|
onChange: onQueryChangeHandler
|
|
233
233
|
}), treeNodes.length == 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
234
234
|
className: "".concat(precls, "__empty")
|
|
235
|
-
},
|
|
235
|
+
}, (0, _getLocale.getLocale)('OKR_MyO_Text_Noclassifica'), /*#__PURE__*/_react["default"].createElement("div", {
|
|
236
236
|
className: "".concat(precls, "__empty-btn"),
|
|
237
237
|
onClick: openLableSetting
|
|
238
238
|
}, (0, _getLocale.getLocale)('Tasks_Menu_Category'))), treeNodes.length > 0 && /*#__PURE__*/_react["default"].createElement(_react.Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -83,7 +83,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
83
83
|
data: userInfo
|
|
84
84
|
}).then(function (resp) {
|
|
85
85
|
if (resp.Code === 1) {
|
|
86
|
-
_toast["default"].Success(
|
|
86
|
+
_toast["default"].Success((0, _getLocale.getLocale)('Per_Ma_form_Updatesuc'), {
|
|
87
87
|
canClose: false
|
|
88
88
|
});
|
|
89
89
|
} else {
|
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@ export const formatPeriod = (selected: SelectedInterface) => {
|
|
|
74
74
|
const month = getMonth();
|
|
75
75
|
switch (`${selected.cycleType}`) {
|
|
76
76
|
case "-1":
|
|
77
|
-
cycleDate = `${getLocale('
|
|
77
|
+
cycleDate = `${getLocale('OKR_MyO_Butt_AllStatee')}`;
|
|
78
78
|
break;
|
|
79
79
|
case "1":
|
|
80
80
|
cycleDate = `${getLocale('OKR_MyO_Pop_Year')}`;
|
|
@@ -132,7 +132,7 @@ const CategoryTree = () => {
|
|
|
132
132
|
<SearchForm onChange={onQueryChangeHandler} />
|
|
133
133
|
{treeNodes.length == 0 && (
|
|
134
134
|
<div className={`${precls}__empty`}>
|
|
135
|
-
|
|
135
|
+
{getLocale('OKR_MyO_Text_Noclassifica')}
|
|
136
136
|
<div className={`${precls}__empty-btn`} onClick={openLableSetting}>
|
|
137
137
|
{getLocale('Tasks_Menu_Category')}
|
|
138
138
|
</div>
|
|
@@ -23,7 +23,7 @@ const BaseInfo: FC = () => {
|
|
|
23
23
|
} else {
|
|
24
24
|
saveUserInfo({ data: userInfo }).then((resp) => {
|
|
25
25
|
if (resp.Code === 1) {
|
|
26
|
-
Toast.Success(
|
|
26
|
+
Toast.Success(getLocale('Per_Ma_form_Updatesuc'), { canClose: false });
|
|
27
27
|
} else {
|
|
28
28
|
Toast.Error(resp.Message, { canClose: false });
|
|
29
29
|
}
|