fmui-base 2.3.75 → 2.3.76
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/README.md +1 -0
- package/lib/form/form.less +33 -0
- package/lib/process_info/processInfo.js +10 -2
- package/lib/select_input/selectInput.less +8 -3
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/form/form.less
CHANGED
|
@@ -81,6 +81,39 @@
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
// 多选 CheckboxField list / SelectLayer:长选项换行显示全(覆盖 SaltUI nowrap/ellipsis)
|
|
85
|
+
.t-checkbox-field,
|
|
86
|
+
.t-checkbox-field-row,
|
|
87
|
+
.t-select-layer {
|
|
88
|
+
.t-checkbox-field-content,
|
|
89
|
+
.item-content {
|
|
90
|
+
flex: 1;
|
|
91
|
+
min-width: 0;
|
|
92
|
+
max-width: 100%;
|
|
93
|
+
white-space: normal !important;
|
|
94
|
+
word-break: break-word !important;
|
|
95
|
+
overflow-wrap: break-word !important;
|
|
96
|
+
word-wrap: break-word !important;
|
|
97
|
+
overflow: visible !important;
|
|
98
|
+
text-overflow: clip !important;
|
|
99
|
+
-webkit-line-clamp: unset !important;
|
|
100
|
+
line-clamp: unset !important;
|
|
101
|
+
line-height: 1.5;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.t-checkbox-field-row,
|
|
105
|
+
.select-layer-item {
|
|
106
|
+
align-items: flex-start;
|
|
107
|
+
min-height: auto;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.t-checkbox-field-icon-wrapper {
|
|
111
|
+
align-items: flex-start;
|
|
112
|
+
flex-shrink: 0;
|
|
113
|
+
padding-top: 2px;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
84
117
|
.form-radio-field-wrap {
|
|
85
118
|
// popup 弹层选项列表:对齐 CheckboxField SelectLayer 的行高、间距与字体
|
|
86
119
|
&.t-radio-field.is-group {
|
|
@@ -841,6 +841,8 @@ var PageHome = function (_React$Component) {
|
|
|
841
841
|
taskId: taskId,
|
|
842
842
|
processInstanceId: processInstanceId,
|
|
843
843
|
type: listType,
|
|
844
|
+
// 撤回可编辑批示意见:匹配当前办理人时必须带 userId(与 comment.userId/createdBy 比对)
|
|
845
|
+
userId: t.state.userId,
|
|
844
846
|
//startUserId:startUserId,
|
|
845
847
|
module: this.state.module,
|
|
846
848
|
isSub: isSub
|
|
@@ -1523,11 +1525,16 @@ var PageHome = function (_React$Component) {
|
|
|
1523
1525
|
}
|
|
1524
1526
|
// 抢占加签/转交自动返回后,被加签人意见与加签人待办共用同一 taskId。
|
|
1525
1527
|
// 必须同时校验办理人,否则会把他人意见回填进当前编辑框并挤出历史列表。
|
|
1528
|
+
// 撤回 enableEditRecallComment:后端会把原意见 taskId 绑到新待办,此处回填到编辑框(与 PC active=1 对齐)。
|
|
1526
1529
|
var commentOwnerId = commentList[_i].userId || commentList[_i].createdBy || '';
|
|
1527
|
-
|
|
1530
|
+
var currentUserId = param.userId || t.state.userId || '';
|
|
1531
|
+
if (commentField == commentList[_i].field && commentList[_i].taskId == param.taskId && commentOwnerId && currentUserId && commentOwnerId == currentUserId) {
|
|
1528
1532
|
newspyj = commentList[_i];
|
|
1529
1533
|
commentId = commentList[_i].id;
|
|
1530
|
-
|
|
1534
|
+
// 接口字段为 fullMessage,content 可能为空
|
|
1535
|
+
var recallCommentText = commentList[_i].fullMessage != null && commentList[_i].fullMessage !== '' ? commentList[_i].fullMessage : commentList[_i].content || '';
|
|
1536
|
+
defaultValue = recallCommentText;
|
|
1537
|
+
newspyj.content = recallCommentText;
|
|
1531
1538
|
continue;
|
|
1532
1539
|
}
|
|
1533
1540
|
if (commentItem.field != 'default' && commentItem.commenttype != 'back') {
|
|
@@ -5874,6 +5881,7 @@ var PageHome = function (_React$Component) {
|
|
|
5874
5881
|
taskId: t.state.taskId,
|
|
5875
5882
|
processInstanceId: t.state.processInstanceId,
|
|
5876
5883
|
type: t.state.listType,
|
|
5884
|
+
userId: t.state.userId,
|
|
5877
5885
|
module: t.state.module,
|
|
5878
5886
|
isSub: isSub
|
|
5879
5887
|
};
|
|
@@ -4,15 +4,16 @@
|
|
|
4
4
|
box-sizing: border-box;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
/* 与 PC 一致:图标 + 选项文案 +
|
|
7
|
+
/* 与 PC 一致:图标 + 选项文案 + 填空;长选项文案换行显示全 */
|
|
8
8
|
.dd-select-input-option {
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: row;
|
|
11
|
-
flex-wrap:
|
|
11
|
+
flex-wrap: wrap;
|
|
12
12
|
align-items: flex-start;
|
|
13
13
|
margin: 8px 12px 8px 0;
|
|
14
14
|
cursor: pointer;
|
|
15
15
|
min-width: 0;
|
|
16
|
+
width: 100%;
|
|
16
17
|
box-sizing: border-box;
|
|
17
18
|
}
|
|
18
19
|
|
|
@@ -73,11 +74,15 @@
|
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
.dd-select-input-option-text {
|
|
76
|
-
flex:
|
|
77
|
+
flex: 1 1 auto;
|
|
77
78
|
margin-right: 8px;
|
|
78
79
|
margin-top: 4px;
|
|
79
80
|
min-width: 32px;
|
|
81
|
+
max-width: 100%;
|
|
80
82
|
line-height: 1.47;
|
|
83
|
+
white-space: normal;
|
|
84
|
+
word-break: break-word;
|
|
85
|
+
overflow-wrap: anywhere;
|
|
81
86
|
}
|
|
82
87
|
|
|
83
88
|
/* 紧挨选项文案,占满剩余宽度;长 placeholder 在框内换行 */
|