fmui-base 2.3.80 → 2.3.82
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 +2 -0
- package/lib/process_info/processInfo.js +11 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1244,6 +1244,7 @@ var PageHome = function (_React$Component) {
|
|
|
1244
1244
|
|
|
1245
1245
|
// 办结状态弹窗:仅待办 type=0 或推送 isPush=1(推送待办 listType 仍为 0)
|
|
1246
1246
|
var showDoneStatusAlert = String(t.state.listType) === '0' || String(t.state.isPush) === '1';
|
|
1247
|
+
var pendingDoneView = false;
|
|
1247
1248
|
if (showDoneStatusAlert) {
|
|
1248
1249
|
if (content['buttons'] == '' && content['message']) {
|
|
1249
1250
|
var doneMsgMap = {
|
|
@@ -1259,6 +1260,7 @@ var PageHome = function (_React$Component) {
|
|
|
1259
1260
|
};
|
|
1260
1261
|
var doneAlert = doneMsgMap[content['message']];
|
|
1261
1262
|
if (doneAlert) {
|
|
1263
|
+
pendingDoneView = true;
|
|
1262
1264
|
t.setState({
|
|
1263
1265
|
status: '2'
|
|
1264
1266
|
});
|
|
@@ -1305,6 +1307,11 @@ var PageHome = function (_React$Component) {
|
|
|
1305
1307
|
if (!hasCommentField) {
|
|
1306
1308
|
hasCommentField = '0';
|
|
1307
1309
|
}
|
|
1310
|
+
// 已办结再打开:当前节点意见留在列表里展示,不进编辑框
|
|
1311
|
+
if (pendingDoneView) {
|
|
1312
|
+
commentField = '';
|
|
1313
|
+
hasCommentField = '0';
|
|
1314
|
+
}
|
|
1308
1315
|
|
|
1309
1316
|
var commentIsNull = content.commentIsNull;
|
|
1310
1317
|
if (!commentIsNull) {
|
|
@@ -1534,7 +1541,7 @@ var PageHome = function (_React$Component) {
|
|
|
1534
1541
|
// 撤回 enableEditRecallComment:后端会把原意见 taskId 绑到新待办,此处回填到编辑框(与 PC active=1 对齐)。
|
|
1535
1542
|
var commentOwnerId = commentList[_i].userId || commentList[_i].createdBy || '';
|
|
1536
1543
|
var currentUserId = param.userId || t.state.userId || '';
|
|
1537
|
-
if (commentField == commentList[_i].field && commentList[_i].taskId == param.taskId && commentOwnerId && currentUserId && commentOwnerId == currentUserId) {
|
|
1544
|
+
if (!pendingDoneView && commentField == commentList[_i].field && commentList[_i].taskId == param.taskId && commentOwnerId && currentUserId && commentOwnerId == currentUserId) {
|
|
1538
1545
|
newspyj = commentList[_i];
|
|
1539
1546
|
commentId = commentList[_i].id;
|
|
1540
1547
|
// 接口字段为 fullMessage,content 可能为空
|
|
@@ -1709,6 +1716,7 @@ var PageHome = function (_React$Component) {
|
|
|
1709
1716
|
formKey: formKey,
|
|
1710
1717
|
form: form,
|
|
1711
1718
|
hasCommentField: hasCommentField,
|
|
1719
|
+
commentField: commentField,
|
|
1712
1720
|
commentIsNull: commentIsNull,
|
|
1713
1721
|
commentIsNotNull: commentIsNotNull,
|
|
1714
1722
|
fileTitle: fileTitle,
|
|
@@ -8700,12 +8708,12 @@ var PageHome = function (_React$Component) {
|
|
|
8700
8708
|
if (item.end && !checked) {
|
|
8701
8709
|
this.setState({
|
|
8702
8710
|
urgentHidden: true,
|
|
8703
|
-
endSelect:
|
|
8711
|
+
endSelect: true
|
|
8704
8712
|
});
|
|
8705
8713
|
} else {
|
|
8706
8714
|
this.setState({
|
|
8707
8715
|
urgentHidden: false,
|
|
8708
|
-
endSelect:
|
|
8716
|
+
endSelect: false
|
|
8709
8717
|
});
|
|
8710
8718
|
}
|
|
8711
8719
|
var maxOutgoing = item.maxOutgoing; //1代表是排他单选,0代表多选
|