fmui-base 2.2.38 → 2.2.40
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 +35 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1638,7 +1638,7 @@ var PageHome = function (_React$Component) {
|
|
|
1638
1638
|
for (var b = 0; b < buttonArray.length; b++) {
|
|
1639
1639
|
var buttonCode = buttonArray[b];
|
|
1640
1640
|
//PAGE_SAVE保存按钮只有当新建时才有,HELP_ADDLOTS加签只有在会签和串签才有,RADOM_FINISH随机流程完成按钮去掉
|
|
1641
|
-
if (buttonCode == 'OTHER_RELATION' || buttonCode == 'FLOW_REVOKE' || buttonCode == 'RADOM_FINISH' || buttonCode == 'FLOW_CANCEL' || buttonCode == 'FLOW_RECOVER' || buttonCode == 'PAGE_PRINT' || buttonCode == 'PAGE_URGE' || buttonCode == 'PAGE_REDSET' || buttonCode == 'PAGE_FEEDBACK' || buttonCode == 'RECORD' || buttonCode == 'HELP_ADDLOTS' &&
|
|
1641
|
+
if (buttonCode == 'OTHER_RELATION' || buttonCode == 'FLOW_REVOKE' || buttonCode == 'RADOM_FINISH' || buttonCode == 'FLOW_CANCEL' || buttonCode == 'FLOW_RECOVER' || buttonCode == 'PAGE_PRINT' || buttonCode == 'PAGE_URGE' || buttonCode == 'PAGE_REDSET' || buttonCode == 'PAGE_FEEDBACK' || buttonCode == 'RECORD' || buttonCode == 'HELP_ADDLOTS' && participantMode == '0') {
|
|
1642
1642
|
continue;
|
|
1643
1643
|
} else {
|
|
1644
1644
|
if (isStart == true && permissionCode == 'start' || isDraft == '1') {
|
|
@@ -2145,11 +2145,11 @@ var PageHome = function (_React$Component) {
|
|
|
2145
2145
|
if (documentId) {
|
|
2146
2146
|
this.scrollToAnchor(documentId);
|
|
2147
2147
|
}
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
});
|
|
2152
|
-
return false;
|
|
2148
|
+
// Toast.show({
|
|
2149
|
+
// type: 'error',
|
|
2150
|
+
// content: '意见不能为空!',
|
|
2151
|
+
// });
|
|
2152
|
+
// return false;
|
|
2153
2153
|
}
|
|
2154
2154
|
}
|
|
2155
2155
|
}
|
|
@@ -2476,7 +2476,7 @@ var PageHome = function (_React$Component) {
|
|
|
2476
2476
|
return 0;
|
|
2477
2477
|
}
|
|
2478
2478
|
});
|
|
2479
|
-
if (nextList.length == 1 && nextList[0]['end']) {
|
|
2479
|
+
if (nextList.length == 1 && nextList[0]['end'] && !hasCirculate) {
|
|
2480
2480
|
//下一个后继活动是结束
|
|
2481
2481
|
isEnd = true;
|
|
2482
2482
|
|
|
@@ -3043,7 +3043,8 @@ var PageHome = function (_React$Component) {
|
|
|
3043
3043
|
t.setState({
|
|
3044
3044
|
pageStatus: '1',
|
|
3045
3045
|
backShortMessage: '0',
|
|
3046
|
-
operate: operate
|
|
3046
|
+
operate: operate,
|
|
3047
|
+
addSignComment: ''
|
|
3047
3048
|
}, function () {
|
|
3048
3049
|
$(window).scrollTop(0);
|
|
3049
3050
|
});
|
|
@@ -5660,7 +5661,8 @@ var PageHome = function (_React$Component) {
|
|
|
5660
5661
|
formId: t.state.formId,
|
|
5661
5662
|
processInstanceId: t.state.processInstanceId,
|
|
5662
5663
|
shortMessage: shortMessage,
|
|
5663
|
-
automaticReturn: addlotsAutomaticReturn
|
|
5664
|
+
automaticReturn: addlotsAutomaticReturn,
|
|
5665
|
+
addSignComment: t.state.addSignComment
|
|
5664
5666
|
}).then(function (content) {
|
|
5665
5667
|
_Toast2.default.show({
|
|
5666
5668
|
type: 'success',
|
|
@@ -6898,6 +6900,22 @@ var PageHome = function (_React$Component) {
|
|
|
6898
6900
|
backReasonText: newValue
|
|
6899
6901
|
});
|
|
6900
6902
|
}
|
|
6903
|
+
}, {
|
|
6904
|
+
key: 'changeAddSignComment',
|
|
6905
|
+
value: function changeAddSignComment(newValue) {
|
|
6906
|
+
var regRule = /(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/g;
|
|
6907
|
+
if (newValue.match(regRule)) {
|
|
6908
|
+
_Toast2.default.show({
|
|
6909
|
+
type: 'error',
|
|
6910
|
+
content: '请输入非表情字符'
|
|
6911
|
+
});
|
|
6912
|
+
return false;
|
|
6913
|
+
}
|
|
6914
|
+
|
|
6915
|
+
this.setState({
|
|
6916
|
+
addSignComment: newValue
|
|
6917
|
+
});
|
|
6918
|
+
}
|
|
6901
6919
|
}, {
|
|
6902
6920
|
key: 'handleChangePic',
|
|
6903
6921
|
value: function handleChangePic(value) {
|
|
@@ -8229,6 +8247,14 @@ var PageHome = function (_React$Component) {
|
|
|
8229
8247
|
),
|
|
8230
8248
|
_react2.default.createElement(_Switch2.default, { on: this.state.addlotsAutomaticReturn, onChange: this.handleAddlotsAutomaticReturnChange.bind(this) })
|
|
8231
8249
|
),
|
|
8250
|
+
_react2.default.createElement(_TextareaField2.default, {
|
|
8251
|
+
readOnly: false,
|
|
8252
|
+
label: '加签意见',
|
|
8253
|
+
required: false,
|
|
8254
|
+
minRows: 5, maxRows: 10,
|
|
8255
|
+
placeholder: '请输入加签意见',
|
|
8256
|
+
value: this.state.addSignComment,
|
|
8257
|
+
onChange: this.changeAddSignComment.bind(this) }),
|
|
8232
8258
|
_react2.default.createElement(_CheckboxField2.default, {
|
|
8233
8259
|
data: this.state.shortMessageList,
|
|
8234
8260
|
className: '',
|