@titaui/pc 1.12.98 → 1.13.1
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.
|
@@ -107,6 +107,13 @@ var summaryMenus = /*#__PURE__*/function () {
|
|
|
107
107
|
type: _index.GROUP_NAME_NODE,
|
|
108
108
|
href: "",
|
|
109
109
|
isShow: isShowManage
|
|
110
|
+
}, {
|
|
111
|
+
icon: 'yibiao',
|
|
112
|
+
label: _i18n.locale.menu_summary_dashboard,
|
|
113
|
+
key: PAGE_SUMMARY_DASHBOARD,
|
|
114
|
+
type: _index.MENU_ITEM_NOE,
|
|
115
|
+
href: '#/summary/dashboard',
|
|
116
|
+
isShow: props.isShowDashboard
|
|
110
117
|
}, {
|
|
111
118
|
icon: "my-setup",
|
|
112
119
|
label: _i18n.locale.menu_summary_role,
|
|
@@ -115,13 +122,6 @@ var summaryMenus = /*#__PURE__*/function () {
|
|
|
115
122
|
href: "#/enterprise/manage?reactRouterName=daily",
|
|
116
123
|
isShow: isShowManage,
|
|
117
124
|
openBlank: true
|
|
118
|
-
}, {
|
|
119
|
-
icon: 'yibiao',
|
|
120
|
-
label: _i18n.locale.menu_summary_dashboard,
|
|
121
|
-
key: PAGE_SUMMARY_DASHBOARD,
|
|
122
|
-
type: _index.MENU_ITEM_NOE,
|
|
123
|
-
href: '#/summary/dashboard',
|
|
124
|
-
isShow: props.isShowDashboard
|
|
125
125
|
}];
|
|
126
126
|
}
|
|
127
127
|
|
|
@@ -39,34 +39,38 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
39
39
|
|
|
40
40
|
var prefix = "okr-detail-delete-confirm";
|
|
41
41
|
var Radios = _form["default"].Fields.Radios;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
},
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
42
|
+
|
|
43
|
+
var radios = function radios() {
|
|
44
|
+
return [{
|
|
45
|
+
label: /*#__PURE__*/_react["default"].createElement("span", {
|
|
46
|
+
className: "".concat(prefix, "__option-text")
|
|
47
|
+
}, (0, _getLocale.getLocale)("OKR_MyO_Text_OdeletionNTask")),
|
|
48
|
+
value: 0
|
|
49
|
+
}, {
|
|
50
|
+
label: /*#__PURE__*/_react["default"].createElement("span", {
|
|
51
|
+
className: "".concat(prefix, "__option-text")
|
|
52
|
+
}, (0, _getLocale.getLocale)("OKR_MyO_Text_OdeletionTask"), /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
|
|
53
|
+
overlay: (0, _getLocale.getLocale)("Pro_detail_Tasksapproval"),
|
|
54
|
+
placement: "top",
|
|
55
|
+
zIndex: 15000
|
|
56
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
57
|
+
className: "".concat(prefix, "__icon tu-icon-wiki")
|
|
58
|
+
}))),
|
|
59
|
+
value: 1
|
|
60
|
+
}, {
|
|
61
|
+
label: /*#__PURE__*/_react["default"].createElement("span", {
|
|
62
|
+
className: "".concat(prefix, "__option-text")
|
|
63
|
+
}, (0, _getLocale.getLocale)("Pro_detail_Attheametime"), /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
|
|
64
|
+
overlay: (0, _getLocale.getLocale)("Pro_detail_Tasksapproval"),
|
|
65
|
+
placement: "top",
|
|
66
|
+
zIndex: 15000
|
|
67
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
68
|
+
className: "".concat(prefix, "__icon tu-icon-wiki")
|
|
69
|
+
}))),
|
|
70
|
+
value: 2
|
|
71
|
+
}];
|
|
72
|
+
};
|
|
73
|
+
|
|
70
74
|
var OkrDeletePop = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
71
75
|
var onCancel = _ref.onCancel,
|
|
72
76
|
onConfirm = _ref.onConfirm,
|
|
@@ -132,7 +136,7 @@ var OkrDeletePop = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
132
136
|
}, showApprovalCmp ? (0, _getLocale.getLocale)("OKR_MyO_Deleteoapproval") : (0, _getLocale.getLocale)("OKR_MyO_Determinedeletiono")), /*#__PURE__*/_react["default"].createElement("span", {
|
|
133
137
|
type: "content"
|
|
134
138
|
}, !showApprovalCmp && (0, _getLocale.getLocale)("OKR_MyO_Text_Odeletion"), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(Radios, {
|
|
135
|
-
radios: radios,
|
|
139
|
+
radios: radios(),
|
|
136
140
|
value: 0,
|
|
137
141
|
onChange: handleChangeDeleteRadios
|
|
138
142
|
}))), /*#__PURE__*/_react["default"].createElement(_dialogConfirm["default"].CancelButton, {
|