fmui-base 2.0.4 → 2.0.5
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.js +5 -4
- package/lib/process_info/processInfo.js +12 -11
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/form/form.js
CHANGED
|
@@ -1040,14 +1040,15 @@ var PageHome = function (_React$Component) {
|
|
|
1040
1040
|
if (form.popuserMap.chooseScope == 5) {
|
|
1041
1041
|
itemParam.queryLimit = form.popuserMap.chooseScope;
|
|
1042
1042
|
itemParam.limitData = getLoginUserInfo().orgId;
|
|
1043
|
-
} else if (form.popuserMap.chooseScope == "4") {
|
|
1044
|
-
//查上级
|
|
1045
|
-
itemParam.queryLimit = "3";
|
|
1046
|
-
itemParam.limitData = form.popuserMap.chooseScopeVal;
|
|
1047
1043
|
} else if (form.popuserMap.chooseScope == "all") {} else {
|
|
1048
1044
|
itemParam.queryLimit = 5;
|
|
1049
1045
|
itemParam.limitData = form.popuserMap.chooseScope;
|
|
1050
1046
|
}
|
|
1047
|
+
// else if(form.popuserMap.chooseScope == "4"){//查上级
|
|
1048
|
+
// itemParam.queryLimit = "3";
|
|
1049
|
+
// itemParam.limitData = form.popuserMap.chooseScopeVal;
|
|
1050
|
+
// }
|
|
1051
|
+
|
|
1051
1052
|
}
|
|
1052
1053
|
scopeTable = form.popuserMap.scopeTable;
|
|
1053
1054
|
} else {
|
|
@@ -422,13 +422,10 @@ var PageHome = function (_React$Component) {
|
|
|
422
422
|
preCaFields: "", //上一个办理节点ca验签字段
|
|
423
423
|
formRelaField: "", //流程关联字段
|
|
424
424
|
commentBackAlert: [], //退回批示意见弹出
|
|
425
|
-
showCommentBackAlert: true //显示退回批示意见弹出
|
|
425
|
+
showCommentBackAlert: true, //显示退回批示意见弹出
|
|
426
|
+
endSelect: false
|
|
426
427
|
};
|
|
427
|
-
|
|
428
|
-
FlowCommon = require('pages/flow_common/' + module).default ? require('pages/flow_common/' + module).default : require('pages/flow_common/' + module);
|
|
429
|
-
} catch (error) {
|
|
430
|
-
alert("流程缺少扩展js," + error);
|
|
431
|
-
}
|
|
428
|
+
FlowCommon = require('pages/flow_common/' + module).default ? require('pages/flow_common/' + module).default : require('pages/flow_common/' + module);
|
|
432
429
|
|
|
433
430
|
//处理特有参数
|
|
434
431
|
if (typeof FlowCommon.dealwithCommonParam === "function") {
|
|
@@ -2126,10 +2123,11 @@ var PageHome = function (_React$Component) {
|
|
|
2126
2123
|
//后继活动
|
|
2127
2124
|
var urgentSelectList = [];
|
|
2128
2125
|
var urgentList = [];
|
|
2126
|
+
var endSelect = false;
|
|
2129
2127
|
if (nextList.length == 1 && nextList[0]['end']) {
|
|
2130
2128
|
//结束
|
|
2131
2129
|
//urgentHidden = true;
|
|
2132
|
-
|
|
2130
|
+
endSelect = true;
|
|
2133
2131
|
var endItem = nextList[0];
|
|
2134
2132
|
var checkedItem = {};
|
|
2135
2133
|
checkedItem.value = endItem.id;
|
|
@@ -2428,7 +2426,8 @@ var PageHome = function (_React$Component) {
|
|
|
2428
2426
|
urgentList: urgentList,
|
|
2429
2427
|
urgentHidden: urgentHidden,
|
|
2430
2428
|
isEnd: isEnd,
|
|
2431
|
-
nextActivityName: nextActivityName
|
|
2429
|
+
nextActivityName: nextActivityName,
|
|
2430
|
+
endSelect: endSelect
|
|
2432
2431
|
}, function () {
|
|
2433
2432
|
for (var i = 0; i < nextActivityList.length; i++) {
|
|
2434
2433
|
if (nextActivityList[i].personValue.length > 0 || nextActivityList[i].commonUsedData.length > 0) {
|
|
@@ -6018,11 +6017,13 @@ var PageHome = function (_React$Component) {
|
|
|
6018
6017
|
var isRadio = item.isRadio;
|
|
6019
6018
|
if (item.end && !checked) {
|
|
6020
6019
|
this.setState({
|
|
6021
|
-
urgentHidden: true
|
|
6020
|
+
urgentHidden: true,
|
|
6021
|
+
endSelect: false
|
|
6022
6022
|
});
|
|
6023
6023
|
} else {
|
|
6024
6024
|
this.setState({
|
|
6025
|
-
urgentHidden: false
|
|
6025
|
+
urgentHidden: false,
|
|
6026
|
+
endSelect: true
|
|
6026
6027
|
});
|
|
6027
6028
|
}
|
|
6028
6029
|
var maxOutgoing = item.maxOutgoing; //1代表是排他单选,0代表多选
|
|
@@ -6789,7 +6790,7 @@ var PageHome = function (_React$Component) {
|
|
|
6789
6790
|
}.bind(this)),
|
|
6790
6791
|
_react2.default.createElement(_CheckboxField2.default, {
|
|
6791
6792
|
data: this.state.shortMessageList,
|
|
6792
|
-
className: this.state.nextActivityList.length == 0 ? 't-DN' : '',
|
|
6793
|
+
className: this.state.nextActivityList.length == 0 || this.state.endSelect ? 't-DN' : '',
|
|
6793
6794
|
mode: 'list',
|
|
6794
6795
|
onChange: this.changeSendShortMessage.bind(this),
|
|
6795
6796
|
required: false }),
|