@titaui/pc 1.12.22-beta.10 → 1.12.22-beta.12
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/dynamic/components/comments-dialog/img/curEfforts.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/curGood.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/curGreat.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/efforts.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/good.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/great.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/index.css +33 -3
- package/lib/components/dynamic/components/comments-dialog/index.js +3 -1
- package/lib/components/menus/export-modules/summary-menus/menus.js +3 -2
- package/lib/components/picker/components/panels/week-panel/week-head.js +11 -2
- package/lib/components/textarea/index.css +2 -2
- package/lib/components/textarea/index.js +1 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
.rate_container .rate-points {
|
|
23
23
|
font-size: 16px;
|
|
24
24
|
font-weight: normal;
|
|
25
|
-
color: #
|
|
25
|
+
color: #3f4755;
|
|
26
26
|
line-height: 32px;
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.encourage_container .encourage {
|
|
36
|
-
background: #
|
|
36
|
+
background: #f0f4fa;
|
|
37
37
|
border-radius: 12px;
|
|
38
38
|
padding: 7px 12px;
|
|
39
39
|
display: flex;
|
|
@@ -43,6 +43,15 @@
|
|
|
43
43
|
cursor: pointer;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
.encourage_container .encourage .encourage-text {
|
|
47
|
+
color: #89919F;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.encourage_container .encourage img {
|
|
51
|
+
width: 20px;
|
|
52
|
+
height: 20px;
|
|
53
|
+
}
|
|
54
|
+
|
|
46
55
|
.encourage_container .curEnourageGreat {
|
|
47
56
|
background: rgba(246, 189, 22, 0.2);
|
|
48
57
|
}
|
|
@@ -70,6 +79,27 @@
|
|
|
70
79
|
.titleDesc {
|
|
71
80
|
font-size: 12px;
|
|
72
81
|
font-weight: normal;
|
|
73
|
-
color: #
|
|
82
|
+
color: #a4acb9;
|
|
74
83
|
line-height: 18px;
|
|
75
84
|
}
|
|
85
|
+
|
|
86
|
+
.remind-dialog-content .titaui-form .titaui-form-field {
|
|
87
|
+
margin-top: 20px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.remind-dialog-content .titaui-form .titaui-form-field:first-child {
|
|
91
|
+
margin-top: 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.remind-text .regulation-setting-item__label {
|
|
95
|
+
align-items: flex-start;
|
|
96
|
+
margin-top: 7px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.remind-dialog-content {
|
|
100
|
+
padding: 16px 26px 5px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.remind-dialog-content .titaui-textArea {
|
|
104
|
+
width: 398px;
|
|
105
|
+
}
|
|
@@ -71,7 +71,7 @@ var RemindDialog = function RemindDialog(props) {
|
|
|
71
71
|
encourageState = _useState6[0],
|
|
72
72
|
setEencourageState = _useState6[1];
|
|
73
73
|
|
|
74
|
-
var inputRef = (0, _react.useRef)();
|
|
74
|
+
var inputRef = (0, _react.useRef)(document.createElement('input'));
|
|
75
75
|
|
|
76
76
|
var _onChange = function onChange(e) {
|
|
77
77
|
setRemark(e);
|
|
@@ -161,6 +161,7 @@ var RemindDialog = function RemindDialog(props) {
|
|
|
161
161
|
onCancel: onCloseHandler,
|
|
162
162
|
onOk: handleSubmit,
|
|
163
163
|
noFooterLine: true,
|
|
164
|
+
destroyOnClose: true,
|
|
164
165
|
noHeadLine: true,
|
|
165
166
|
title: /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("p", null, (0, _getLocale.getLocale)("Rep_NewS_Evaluation")), /*#__PURE__*/_react["default"].createElement("span", {
|
|
166
167
|
className: "titleDesc"
|
|
@@ -181,6 +182,7 @@ var RemindDialog = function RemindDialog(props) {
|
|
|
181
182
|
encourageState: encourageState,
|
|
182
183
|
changeEncourage: changeEncourage
|
|
183
184
|
})), /*#__PURE__*/_react["default"].createElement(_regulationSettingItem["default"], {
|
|
185
|
+
className: "remind-text",
|
|
184
186
|
label: (0, _getLocale.getLocale)("Per_Ass_New_Appr_detail_Com")
|
|
185
187
|
}, /*#__PURE__*/_react["default"].createElement(_textarea["default"], {
|
|
186
188
|
maxLine: 4,
|
|
@@ -47,9 +47,10 @@ var _getUserInfo = (0, _bsGlobal.getUserInfo)(),
|
|
|
47
47
|
IsBoss = _getUserInfo.IsBoss,
|
|
48
48
|
IsRoot = _getUserInfo.IsRoot,
|
|
49
49
|
Role = _getUserInfo.Role,
|
|
50
|
-
IsPlanDailyManager = _getUserInfo.IsPlanDailyManager
|
|
50
|
+
IsPlanDailyManager = _getUserInfo.IsPlanDailyManager,
|
|
51
|
+
HasSub = _getUserInfo.HasSub;
|
|
51
52
|
|
|
52
|
-
var isShowManage = IsPlanDailyManager || IsBoss || IsRoot && Role !== 4 || IsLeader;
|
|
53
|
+
var isShowManage = IsPlanDailyManager || IsBoss || HasSub || IsRoot && Role !== 4 || IsLeader;
|
|
53
54
|
|
|
54
55
|
var summaryMenus = /*#__PURE__*/function () {
|
|
55
56
|
function summaryMenus(props) {
|
|
@@ -26,8 +26,17 @@ function DatePanelHead(props) {
|
|
|
26
26
|
onPrev = props.onPrev,
|
|
27
27
|
onNext = props.onNext,
|
|
28
28
|
onPanelChange = props.onPanelChange;
|
|
29
|
-
var yearText
|
|
30
|
-
var monthText
|
|
29
|
+
var yearText;
|
|
30
|
+
var monthText;
|
|
31
|
+
|
|
32
|
+
if (typeof viewDate === 'string') {
|
|
33
|
+
yearText = (0, _moment["default"])(viewDate.split('~')[0]).year();
|
|
34
|
+
monthText = (0, _utils2.getWeek)(new Date(viewDate.split('~')[0]))[1];
|
|
35
|
+
} else {
|
|
36
|
+
yearText = (0, _moment["default"])(viewDate).year();
|
|
37
|
+
monthText = (0, _utils2.getWeek)(new Date(viewDate))[1];
|
|
38
|
+
}
|
|
39
|
+
|
|
31
40
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
32
41
|
className: (0, _classnames["default"])(_utils.PickerHeadClass)
|
|
33
42
|
}, !_getLocale.isEn && /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -91,12 +91,12 @@
|
|
|
91
91
|
|
|
92
92
|
.area-error {
|
|
93
93
|
border: 1px solid #f05e5e !important;
|
|
94
|
-
box-shadow: 0px 0px 6px 0px rgba(240, 94, 94, 0.3);
|
|
94
|
+
box-shadow: inset 0px 0px 6px 0px rgba(240, 94, 94, 0.3);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.area-focus {
|
|
98
98
|
border: 1px solid #2879ff !important;
|
|
99
|
-
box-shadow: 0px 0px 6px 0px rgba(40, 121, 255, 0.3);
|
|
99
|
+
box-shadow: inset 0px 0px 6px 0px rgba(40, 121, 255, 0.3);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.area-normal {
|
|
@@ -74,7 +74,7 @@ var Textarea = function Textarea(p) {
|
|
|
74
74
|
var selfInputRef = (0, _react.useRef)();
|
|
75
75
|
var realInputRef = inputRef || selfInputRef;
|
|
76
76
|
var isControlled = ("value" in p);
|
|
77
|
-
var realValue = isControlled ? value : selfValue;
|
|
77
|
+
var realValue = isControlled ? value || '' : selfValue || '';
|
|
78
78
|
|
|
79
79
|
var _useState5 = (0, _react.useState)(false),
|
|
80
80
|
_useState6 = _slicedToArray(_useState5, 2),
|