@titaui/pc 1.16.42 → 1.16.43-beta.2
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/communication/index.js +98 -54
- package/lib/components/dynamic/dynamic-item/components/work-progress/constant.js +30 -0
- package/lib/components/dynamic/dynamic-item/components/work-progress/context.js +22 -0
- package/lib/components/dynamic/dynamic-item/components/work-progress/index.css +394 -0
- package/lib/components/dynamic/dynamic-item/components/work-progress/index.js +137 -0
- package/lib/components/dynamic/dynamic-item/components/work-progress/interface.js +22 -0
- package/lib/components/dynamic/dynamic-item/components/work-progress/mile-stone.js +71 -0
- package/lib/components/dynamic/dynamic-item/components/work-progress/render-row.js +84 -0
- package/lib/components/dynamic/dynamic-item/components/work-progress/request-api.js +35 -0
- package/lib/components/dynamic/dynamic-item/components/work-progress/utils.js +163 -0
- package/lib/components/dynamic/dynamic-item/components/work-progress/work-task.js +74 -0
- package/lib/components/dynamic/dynamic-item/components/work-progress/work.js +61 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/constant.js +1 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.js +10 -0
- package/lib/components/mblog/components/MblogContent.js +2 -0
- package/lib/components/mblog/index.js +3 -1
- package/lib/utils/editor.js +7 -4
- package/package.json +1 -1
|
@@ -228,18 +228,62 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
|
|
|
228
228
|
isShowAllCommunicationRecord ? _this.getFeedInfo(feedId, communicationTrackTotal) : _this.getFeedInfo(feedId, commentCount);
|
|
229
229
|
};
|
|
230
230
|
|
|
231
|
-
_this.
|
|
231
|
+
_this.customSubmitCallback = function (res) {
|
|
232
|
+
var _this$state3 = _this.state,
|
|
233
|
+
communicationTrackList = _this$state3.communicationTrackList,
|
|
234
|
+
isShowAllCommunicationRecord = _this$state3.isShowAllCommunicationRecord,
|
|
235
|
+
communicationTrackTotal = _this$state3.communicationTrackTotal;
|
|
232
236
|
var _this$props4 = _this.props,
|
|
233
237
|
feedId = _this$props4.feedId,
|
|
234
|
-
commentCount = _this$props4.commentCount
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
isShowReplyToUser
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
238
|
+
commentCount = _this$props4.commentCount;
|
|
239
|
+
|
|
240
|
+
if (res.Code === 1) {
|
|
241
|
+
_this.setState({
|
|
242
|
+
submitStatus: 1,
|
|
243
|
+
isShowReplyToUser: false,
|
|
244
|
+
isShowDefaultInput: true
|
|
245
|
+
});
|
|
246
|
+
|
|
247
|
+
if (!feedId) {
|
|
248
|
+
_this.setState({
|
|
249
|
+
communicationTrackList: [].concat(_toConsumableArray(communicationTrackList), [res.Data])
|
|
250
|
+
});
|
|
251
|
+
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
if (isShowAllCommunicationRecord) _this.getFeedInfo(feedId, communicationTrackTotal + 1);else _this.getFeedInfo(feedId, commentCount);
|
|
256
|
+
} else {
|
|
257
|
+
_this.setState({
|
|
258
|
+
submitStatus: 0
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
_this.handlerReply = function (submitType, sentData) {
|
|
264
|
+
var _this$state4 = _this.state,
|
|
265
|
+
isShowReplyToUser = _this$state4.isShowReplyToUser,
|
|
266
|
+
replyUserCommentId = _this$state4.replyUserCommentId,
|
|
267
|
+
communicationTrackTotal = _this$state4.communicationTrackTotal,
|
|
268
|
+
isShowAllCommunicationRecord = _this$state4.isShowAllCommunicationRecord;
|
|
269
|
+
var _this$props5 = _this.props,
|
|
270
|
+
feedId = _this$props5.feedId,
|
|
271
|
+
commentCount = _this$props5.commentCount,
|
|
272
|
+
commentType = _this$props5.commentType,
|
|
273
|
+
okrFeedParams = _this$props5.okrFeedParams,
|
|
274
|
+
onReplyChange = _this$props5.onReplyChange,
|
|
275
|
+
customSubmitHandlerSync = _this$props5.customSubmitHandlerSync,
|
|
276
|
+
customSubmitHandler = _this$props5.customSubmitHandler;
|
|
277
|
+
|
|
278
|
+
if (submitType === 'submit' && customSubmitHandlerSync) {
|
|
279
|
+
customSubmitHandlerSync(sentData).then(_this.customSubmitCallback);
|
|
280
|
+
return;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
if (submitType === 'submit' && customSubmitHandler) {
|
|
284
|
+
customSubmitHandler(sentData, _this.customSubmitCallback);
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
243
287
|
|
|
244
288
|
if (submitType === 'submit') {
|
|
245
289
|
// 发送
|
|
@@ -333,11 +377,11 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
|
|
|
333
377
|
_createClass(Communication, [{
|
|
334
378
|
key: "componentDidMount",
|
|
335
379
|
value: function componentDidMount() {
|
|
336
|
-
var _this$
|
|
337
|
-
feedId = _this$
|
|
338
|
-
commentCount = _this$
|
|
339
|
-
commentType = _this$
|
|
340
|
-
usePropsComment = _this$
|
|
380
|
+
var _this$props6 = this.props,
|
|
381
|
+
feedId = _this$props6.feedId,
|
|
382
|
+
commentCount = _this$props6.commentCount,
|
|
383
|
+
commentType = _this$props6.commentType,
|
|
384
|
+
usePropsComment = _this$props6.usePropsComment;
|
|
341
385
|
|
|
342
386
|
if ((feedId || commentType === 2) && !usePropsComment) {
|
|
343
387
|
this.getFeedInfo(feedId, commentCount);
|
|
@@ -347,9 +391,9 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
|
|
|
347
391
|
key: "componentDidUpdate",
|
|
348
392
|
value: function componentDidUpdate(prevProps, prevState) {
|
|
349
393
|
if (prevProps.feedId !== this.props.feedId || prevProps.okrFeedParams !== this.props.okrFeedParams || prevProps.usePropsComment !== this.props.usePropsComment) {
|
|
350
|
-
var _this$
|
|
351
|
-
feedId = _this$
|
|
352
|
-
commentCount = _this$
|
|
394
|
+
var _this$props7 = this.props,
|
|
395
|
+
feedId = _this$props7.feedId,
|
|
396
|
+
commentCount = _this$props7.commentCount;
|
|
353
397
|
this.getFeedInfo(feedId, commentCount);
|
|
354
398
|
}
|
|
355
399
|
}
|
|
@@ -365,42 +409,42 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
|
|
|
365
409
|
value: function render() {
|
|
366
410
|
var _this2 = this;
|
|
367
411
|
|
|
368
|
-
var _this$
|
|
369
|
-
communicationTrackList = _this$
|
|
370
|
-
communicationTrackTotal = _this$
|
|
371
|
-
isShowAllCommunicationRecord = _this$
|
|
372
|
-
replyUser = _this$
|
|
373
|
-
replyUserId = _this$
|
|
374
|
-
isShowReplyToUser = _this$
|
|
375
|
-
submitStatus = _this$
|
|
376
|
-
isShowPraiseRecordPop = _this$
|
|
377
|
-
praiseObjId = _this$
|
|
378
|
-
isShowDefaultInput = _this$
|
|
379
|
-
needAutoFocus = _this$
|
|
380
|
-
var _this$
|
|
381
|
-
feedId = _this$
|
|
382
|
-
className = _this$
|
|
383
|
-
isShowSendSms = _this$
|
|
384
|
-
confirmPopAlign = _this$
|
|
385
|
-
setTextareaRef = _this$
|
|
386
|
-
userSelectorPopAlign = _this$
|
|
387
|
-
emotionsSelectorPopAlign = _this$
|
|
388
|
-
showAtAll = _this$
|
|
389
|
-
atAllTipText = _this$
|
|
390
|
-
atAllValue = _this$
|
|
391
|
-
atAllText = _this$
|
|
392
|
-
commentCount = _this$
|
|
393
|
-
useCustomMblog = _this$
|
|
394
|
-
_this$
|
|
395
|
-
submitText = _this$
|
|
396
|
-
_this$
|
|
397
|
-
highLightKeyWord = _this$
|
|
398
|
-
_this$
|
|
399
|
-
autoFocus = _this$
|
|
400
|
-
_this$
|
|
401
|
-
showUser = _this$
|
|
402
|
-
_this$
|
|
403
|
-
attachemntCanSubmit = _this$
|
|
412
|
+
var _this$state5 = this.state,
|
|
413
|
+
communicationTrackList = _this$state5.communicationTrackList,
|
|
414
|
+
communicationTrackTotal = _this$state5.communicationTrackTotal,
|
|
415
|
+
isShowAllCommunicationRecord = _this$state5.isShowAllCommunicationRecord,
|
|
416
|
+
replyUser = _this$state5.replyUser,
|
|
417
|
+
replyUserId = _this$state5.replyUserId,
|
|
418
|
+
isShowReplyToUser = _this$state5.isShowReplyToUser,
|
|
419
|
+
submitStatus = _this$state5.submitStatus,
|
|
420
|
+
isShowPraiseRecordPop = _this$state5.isShowPraiseRecordPop,
|
|
421
|
+
praiseObjId = _this$state5.praiseObjId,
|
|
422
|
+
isShowDefaultInput = _this$state5.isShowDefaultInput,
|
|
423
|
+
needAutoFocus = _this$state5.needAutoFocus;
|
|
424
|
+
var _this$props8 = this.props,
|
|
425
|
+
feedId = _this$props8.feedId,
|
|
426
|
+
className = _this$props8.className,
|
|
427
|
+
isShowSendSms = _this$props8.isShowSendSms,
|
|
428
|
+
confirmPopAlign = _this$props8.confirmPopAlign,
|
|
429
|
+
setTextareaRef = _this$props8.setTextareaRef,
|
|
430
|
+
userSelectorPopAlign = _this$props8.userSelectorPopAlign,
|
|
431
|
+
emotionsSelectorPopAlign = _this$props8.emotionsSelectorPopAlign,
|
|
432
|
+
showAtAll = _this$props8.showAtAll,
|
|
433
|
+
atAllTipText = _this$props8.atAllTipText,
|
|
434
|
+
atAllValue = _this$props8.atAllValue,
|
|
435
|
+
atAllText = _this$props8.atAllText,
|
|
436
|
+
commentCount = _this$props8.commentCount,
|
|
437
|
+
useCustomMblog = _this$props8.useCustomMblog,
|
|
438
|
+
_this$props8$submitTe = _this$props8.submitText,
|
|
439
|
+
submitText = _this$props8$submitTe === void 0 ? (0, _getLocale.getLocale)('Mod_Reply') : _this$props8$submitTe,
|
|
440
|
+
_this$props8$highLigh = _this$props8.highLightKeyWord,
|
|
441
|
+
highLightKeyWord = _this$props8$highLigh === void 0 ? '' : _this$props8$highLigh,
|
|
442
|
+
_this$props8$autoFocu = _this$props8.autoFocus,
|
|
443
|
+
autoFocus = _this$props8$autoFocu === void 0 ? false : _this$props8$autoFocu,
|
|
444
|
+
_this$props8$showUser = _this$props8.showUser,
|
|
445
|
+
showUser = _this$props8$showUser === void 0 ? false : _this$props8$showUser,
|
|
446
|
+
_this$props8$attachem = _this$props8.attachemntCanSubmit,
|
|
447
|
+
attachemntCanSubmit = _this$props8$attachem === void 0 ? true : _this$props8$attachem;
|
|
404
448
|
var user = (0, _bsGlobal.getUserInfo)();
|
|
405
449
|
return /*#__PURE__*/_react["default"].createElement(_style.CommunicationWrapper, {
|
|
406
450
|
className: "communcation-wrapper ".concat(className)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.EStatusStatus2ClassType = exports.EObjType = void 0;
|
|
7
|
+
var EObjType;
|
|
8
|
+
exports.EObjType = EObjType;
|
|
9
|
+
|
|
10
|
+
(function (EObjType) {
|
|
11
|
+
EObjType[EObjType["Project"] = 4] = "Project";
|
|
12
|
+
EObjType[EObjType["Task"] = 7] = "Task";
|
|
13
|
+
EObjType[EObjType["O"] = 62] = "O";
|
|
14
|
+
EObjType[EObjType["Kr"] = 65] = "Kr";
|
|
15
|
+
EObjType[EObjType["Assess"] = 23] = "Assess";
|
|
16
|
+
EObjType[EObjType["MileStone"] = 27] = "MileStone";
|
|
17
|
+
EObjType[EObjType["KanBan"] = 66] = "KanBan";
|
|
18
|
+
EObjType[EObjType["Report"] = 8] = "Report";
|
|
19
|
+
})(EObjType || (exports.EObjType = EObjType = {}));
|
|
20
|
+
|
|
21
|
+
var EStatusStatus2ClassType = {
|
|
22
|
+
2: "tu-icon-finished",
|
|
23
|
+
1: "tu-icon-running",
|
|
24
|
+
4: "tu-icon-canceled",
|
|
25
|
+
3: "tu-icon-deferred",
|
|
26
|
+
6: "tu-icon-paused",
|
|
27
|
+
0: "tu-icon-notstart",
|
|
28
|
+
5: "tu-icon-jiantou-right"
|
|
29
|
+
};
|
|
30
|
+
exports.EStatusStatus2ClassType = EStatusStatus2ClassType;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.WorkContext = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var WorkContext = /*#__PURE__*/_react["default"].createContext({
|
|
13
|
+
setLoading: function setLoading() {},
|
|
14
|
+
setIsSaveSuccess: function setIsSaveSuccess() {},
|
|
15
|
+
handleResp: function handleResp() {},
|
|
16
|
+
feedId: '',
|
|
17
|
+
moduleId: '',
|
|
18
|
+
editable: false,
|
|
19
|
+
getWorkData: function getWorkData() {}
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
exports.WorkContext = WorkContext;
|
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
.tita-summary-work-progress:hover .tita-summary-work-progress__title-arrow {
|
|
2
|
+
opacity: 1;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.tita-summary-work-progress__title {
|
|
6
|
+
position: relative;
|
|
7
|
+
font-size: 18px;
|
|
8
|
+
font-weight: 600;
|
|
9
|
+
color: #141c28;
|
|
10
|
+
line-height: 26px;
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
align-items: center;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.tita-summary-work-progress__title-arrow {
|
|
17
|
+
opacity: 0;
|
|
18
|
+
transition: all 0.3s;
|
|
19
|
+
position: absolute;
|
|
20
|
+
left: -28px;
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
width: 24px;
|
|
25
|
+
height: 24px;
|
|
26
|
+
border-radius: 8px;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.tita-summary-work-progress__title-arrow--show {
|
|
31
|
+
opacity: 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.tita-summary-work-progress__title-arrow:hover {
|
|
35
|
+
background: #F0F4FA;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.tita-summary-work-progress__title-arrow-icon {
|
|
39
|
+
font-size: 16px;
|
|
40
|
+
transform: scale(0.5);
|
|
41
|
+
transition: all 0.3s;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.tita-summary-work-progress__title-arrow-icon--rotate {
|
|
45
|
+
transform: rotate(-90deg) scale(0.5);
|
|
46
|
+
transition: all 0.3s;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.tita-summary-work-progress__title-update {
|
|
50
|
+
font-size: 14px;
|
|
51
|
+
font-weight: 400;
|
|
52
|
+
color: #2879ff;
|
|
53
|
+
line-height: 22px;
|
|
54
|
+
display: inline-flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.tita-summary-work-progress__title-update-icon {
|
|
59
|
+
margin-right: 4px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.tita-summary-work-progress__title-update:hover {
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
opacity: 0.8;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.tita-summary-work-progress__table {
|
|
68
|
+
border: 1px solid #dfe3ea;
|
|
69
|
+
border-radius: 12px;
|
|
70
|
+
margin-top: 12px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.tita-summary-work-progress__table--hide {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.tita-summary-work-progress__table-td--editable:hover {
|
|
78
|
+
border: 1px solid #2879ff;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.tita-summary-work-progress__table-obj {
|
|
82
|
+
padding: 8px 4px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.tita-summary-work-progress__table-row-title {
|
|
86
|
+
font-size: 14px;
|
|
87
|
+
color: #141c28;
|
|
88
|
+
padding: 8px 0;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.tita-summary-work-progress__table-row-title-remain {
|
|
92
|
+
background: rgba(240, 94, 94, 0.16);
|
|
93
|
+
border-radius: 12px;
|
|
94
|
+
padding: 0 8px;
|
|
95
|
+
height: 20px;
|
|
96
|
+
display: inline-flex;
|
|
97
|
+
align-items: center;
|
|
98
|
+
font-size: 12px;
|
|
99
|
+
color: #3f4755;
|
|
100
|
+
line-height: 18px;
|
|
101
|
+
margin-left: 4px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.tita-summary-work-progress__table-row-title-worktime {
|
|
105
|
+
margin-left: 4px;
|
|
106
|
+
display: inline-flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
height: 20px;
|
|
109
|
+
padding: 0 8px;
|
|
110
|
+
border-radius: 12px;
|
|
111
|
+
background: rgba(240, 163, 38, 0.16);
|
|
112
|
+
font-size: 12px;
|
|
113
|
+
color: #3f4755;
|
|
114
|
+
line-height: 18px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.tita-summary-work-progress__table-row-title-icon {
|
|
118
|
+
margin-right: 4px;
|
|
119
|
+
vertical-align: middle;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.tita-summary-work-progress__table-row-title-text {
|
|
123
|
+
font-size: 14px;
|
|
124
|
+
font-weight: 600;
|
|
125
|
+
color: #141c28;
|
|
126
|
+
line-height: 22px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.tita-summary-work-progress__table-row-title-text:hover {
|
|
130
|
+
cursor: pointer;
|
|
131
|
+
color: #2879ff;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.tita-summary-work-progress__table table {
|
|
135
|
+
width: 100%;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.tita-summary-work-progress__table table thead {
|
|
139
|
+
width: 100%;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.tita-summary-work-progress__table table tbody {
|
|
143
|
+
width: 100%;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.tita-summary-work-progress__table table tbody tr {
|
|
147
|
+
position: relative;
|
|
148
|
+
border-bottom: 1px solid #dfe3ea;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.tita-summary-work-progress__table table tbody tr:hover {
|
|
152
|
+
background: rgba(240, 244, 250, 0.6);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.tita-summary-work-progress__table table tbody tr:hover .tita-summary-task-progress__table-row-del {
|
|
156
|
+
display: flex;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.tita-summary-work-progress__table table tbody tr:last-child {
|
|
160
|
+
border-bottom: unset;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.tita-summary-work-progress__table table tbody tr td {
|
|
164
|
+
box-sizing: border-box;
|
|
165
|
+
padding: 0 12px;
|
|
166
|
+
border-left: 1px solid #dfe3ea;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.tita-summary-work-progress__table table tbody tr td:first-child {
|
|
170
|
+
overflow: hidden;
|
|
171
|
+
width: 282px;
|
|
172
|
+
max-width: 282px;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.tita-summary-work-progress__table table tbody tr td:first-child {
|
|
176
|
+
border-left: unset;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.tita-summary-work-progress__table table tbody tr td:nth-child(2) {
|
|
180
|
+
padding: 0;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.tita-summary-work-progress__table-title {
|
|
184
|
+
height: 40px;
|
|
185
|
+
background: #f0f4fa;
|
|
186
|
+
font-size: 13px;
|
|
187
|
+
color: #89919f;
|
|
188
|
+
line-height: 18px;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.tita-summary-work-progress__table-title td {
|
|
192
|
+
text-align: center;
|
|
193
|
+
padding: 0 12px;
|
|
194
|
+
box-sizing: border-box;
|
|
195
|
+
border-right: 1px solid #dfe3ea;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.tita-summary-work-progress__table-title td:last-child {
|
|
199
|
+
border-right: none;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.tita-summary-work-progress__table-title-okrs {
|
|
203
|
+
overflow: hidden;
|
|
204
|
+
border-top-left-radius: 12px;
|
|
205
|
+
width: 282px;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.tita-summary-work-progress__table-title-progress {
|
|
209
|
+
width: 102px;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.tita-summary-work-progress__table-title-progress-desc {
|
|
213
|
+
overflow: hidden;
|
|
214
|
+
border-top-right-radius: 12px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.tita-summary-work-progress__table-title-progress-desc-icon {
|
|
218
|
+
font-size: 14px;
|
|
219
|
+
margin-left: 4px;
|
|
220
|
+
vertical-align: text-top;
|
|
221
|
+
color: #BFC7D5;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.tita-summary-work-progress__table-row-del {
|
|
225
|
+
width: 32px;
|
|
226
|
+
height: 32px;
|
|
227
|
+
background: #ffffff;
|
|
228
|
+
box-shadow: 0px 4px 8px 0px rgba(127, 145, 180, 0.2);
|
|
229
|
+
border-radius: 50%;
|
|
230
|
+
display: none;
|
|
231
|
+
align-items: center;
|
|
232
|
+
justify-content: center;
|
|
233
|
+
position: absolute;
|
|
234
|
+
right: -15px;
|
|
235
|
+
top: 50%;
|
|
236
|
+
transform: translateY(-50%);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.tita-summary-work-progress__table-row-del-icon {
|
|
240
|
+
color: #141c28;
|
|
241
|
+
font-size: 16px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.tita-summary-work-progress__table-row-del-icon:hover {
|
|
245
|
+
cursor: pointer;
|
|
246
|
+
color: #f05e5e;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.tita-summary-work-progress__statistic {
|
|
250
|
+
display: flex;
|
|
251
|
+
margin-top: 12px;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.tita-summary-work-progress__statistic--hide {
|
|
255
|
+
display: none;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.tita-summary-work-progress__statistic-item {
|
|
259
|
+
max-width: 320px;
|
|
260
|
+
flex: 1;
|
|
261
|
+
height: 48px;
|
|
262
|
+
border-radius: 12px;
|
|
263
|
+
display: flex;
|
|
264
|
+
align-items: center;
|
|
265
|
+
justify-content: space-between;
|
|
266
|
+
margin-right: 10px;
|
|
267
|
+
padding: 0 16px;
|
|
268
|
+
font-size: 14px;
|
|
269
|
+
font-weight: 600;
|
|
270
|
+
color: #141c28;
|
|
271
|
+
line-height: 22px;
|
|
272
|
+
position: relative;
|
|
273
|
+
overflow: hidden;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.tita-summary-work-progress__statistic-item:last-child {
|
|
277
|
+
margin-right: 0;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.tita-summary-work-progress__statistic-item--finished {
|
|
281
|
+
background: rgba(0, 214, 133, 0.1);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.tita-summary-work-progress__statistic-item--finished-text {
|
|
285
|
+
color: #00d685;
|
|
286
|
+
font-size: 16px;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.tita-summary-work-progress__statistic-item--finished-active {
|
|
290
|
+
background: rgba(0, 214, 133, 0.3);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.tita-summary-work-progress__statistic-item--finished-active::before {
|
|
294
|
+
content: "";
|
|
295
|
+
position: absolute;
|
|
296
|
+
top: 0;
|
|
297
|
+
left: 0;
|
|
298
|
+
width: 4px;
|
|
299
|
+
height: 48px;
|
|
300
|
+
background: rgba(0, 214, 133, 0.3);
|
|
301
|
+
border-radius: 12px 0 0 12px;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.tita-summary-work-progress__statistic-item--processing {
|
|
305
|
+
background: rgba(40, 121, 255, 0.1);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.tita-summary-work-progress__statistic-item--processing-text {
|
|
309
|
+
color: #2879ff;
|
|
310
|
+
font-size: 16px;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.tita-summary-work-progress__statistic-item--processing-active {
|
|
314
|
+
background: rgba(40, 121, 255, 0.3);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.tita-summary-work-progress__statistic-item--processing-active::before {
|
|
318
|
+
content: "";
|
|
319
|
+
position: absolute;
|
|
320
|
+
top: 0;
|
|
321
|
+
left: 0;
|
|
322
|
+
width: 4px;
|
|
323
|
+
height: 48px;
|
|
324
|
+
background: rgba(40, 121, 255, 0.3);
|
|
325
|
+
border-radius: 12px 0 0 12px;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.tita-summary-work-progress__statistic-item--overdue {
|
|
329
|
+
background: rgba(240, 94, 94, 0.1);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.tita-summary-work-progress__statistic-item--overdue-text {
|
|
333
|
+
color: #f05e5e;
|
|
334
|
+
font-size: 16px;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.tita-summary-work-progress__statistic-item--overdue-active {
|
|
338
|
+
background: rgba(240, 94, 94, 0.3);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.tita-summary-work-progress__statistic-item--overdue-active::before {
|
|
342
|
+
content: "";
|
|
343
|
+
position: absolute;
|
|
344
|
+
top: 0;
|
|
345
|
+
left: 0;
|
|
346
|
+
width: 4px;
|
|
347
|
+
height: 48px;
|
|
348
|
+
background: rgba(240, 94, 94, 0.3);
|
|
349
|
+
border-radius: 12px 0 0 12px;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.tita-summary-work-progress__import {
|
|
353
|
+
margin-top: 10px;
|
|
354
|
+
width: 60px;
|
|
355
|
+
height: 60px;
|
|
356
|
+
border-radius: 8px;
|
|
357
|
+
border: 1px solid #e9ecf0;
|
|
358
|
+
display: flex;
|
|
359
|
+
align-items: center;
|
|
360
|
+
justify-content: center;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.tita-summary-work-progress__import-icon {
|
|
364
|
+
font-size: 24px;
|
|
365
|
+
color: #bfc7d5;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.tita-summary-work-progress__import:hover {
|
|
369
|
+
cursor: pointer;
|
|
370
|
+
border: 1px solid #2879ff;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.tita-summary-work-progress__import:hover .tu-icon-add1 {
|
|
374
|
+
color: #2879ff;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.tita-summary-work-progress__schedule-td {
|
|
378
|
+
position: relative;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.tita-summary-work-progress__schedule-td:hover {
|
|
382
|
+
border: 1px solid #2879FF;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.tita-summary-work-progress__schedule-td--border {
|
|
386
|
+
border: 1px solid #2879FF !important;
|
|
387
|
+
border-left: 2px solid #2879ff;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
@media screen and (min-width: 1366px) {
|
|
391
|
+
.tita-summary-task-progress__statistic-item {
|
|
392
|
+
max-width: 350px;
|
|
393
|
+
}
|
|
394
|
+
}
|