fmui-base 2.2.80 → 2.2.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/db/db.js +10 -0
- package/lib/db/variables.js +1 -0
- package/lib/form/form.js +1 -0
- package/lib/process_info/processInfo.js +17 -8
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/db/db.js
CHANGED
|
@@ -873,6 +873,16 @@ context.create('FlowModuleAPI', {
|
|
|
873
873
|
/* header:{'content-Type':'application/x-www-form-urlencoded'},*/
|
|
874
874
|
willFetch: function willFetch() {}
|
|
875
875
|
},
|
|
876
|
+
getSignature: {
|
|
877
|
+
mockUrl: 'query/getSignature.json',
|
|
878
|
+
url: _variables2.default.URLS.getSignature,
|
|
879
|
+
method: 'GET',
|
|
880
|
+
header: {
|
|
881
|
+
Authorization: 'Bearer ' + getLoginUserInfo().token
|
|
882
|
+
},
|
|
883
|
+
/* header:{'content-Type':'application/x-www-form-urlencoded'},*/
|
|
884
|
+
willFetch: function willFetch() {}
|
|
885
|
+
},
|
|
876
886
|
getAllModuleList: {
|
|
877
887
|
mockUrl: 'query/getAllModuleList.json',
|
|
878
888
|
url: _variables2.default.URLS.getAllModuleList,
|
package/lib/db/variables.js
CHANGED
|
@@ -97,6 +97,7 @@ exports.default = {
|
|
|
97
97
|
batchValidateForm: approveUrlPrefix + "batchValidateForm" + '?', //批量校验表单必填
|
|
98
98
|
completeTaskBatch: approveUrlPrefix + "completeTaskBatch" + '?', //批量办理
|
|
99
99
|
readCompleteTaskBatch: approveUrlPrefix + "readCompleteTaskBatch" + '?', //批量已阅
|
|
100
|
+
getSignature: approveUrlPrefix + "getSignature" + '?', //获取签章
|
|
100
101
|
getPersonalPhrase: approveUrlPrefix + "getPersonalPhrase" + '?', //获取常用语
|
|
101
102
|
savePersonalPhrase: approveUrlPrefix + "savePersonalPhrase" + '?', //保存常用语
|
|
102
103
|
deletePhrase: approveUrlPrefix + "delPersonalPhrase" + '?', //删除常用语
|
package/lib/form/form.js
CHANGED
|
@@ -2424,7 +2424,8 @@ var PageHome = function (_React$Component) {
|
|
|
2424
2424
|
module: _this2.state.module,
|
|
2425
2425
|
lock: _this2.state.lock,
|
|
2426
2426
|
reminderContent: _this2.state.reminderContent,
|
|
2427
|
-
processInstanceId: _this2.state.processInstanceId
|
|
2427
|
+
processInstanceId: _this2.state.processInstanceId,
|
|
2428
|
+
permissionCode: _this2.state.permissionCode
|
|
2428
2429
|
};
|
|
2429
2430
|
var dealActionName = "";
|
|
2430
2431
|
if (_this2.state.isStart == true) {
|
|
@@ -2642,7 +2643,7 @@ var PageHome = function (_React$Component) {
|
|
|
2642
2643
|
}
|
|
2643
2644
|
}
|
|
2644
2645
|
if (type3ParNum == 0) {
|
|
2645
|
-
item.type =
|
|
2646
|
+
// item.type =1;
|
|
2646
2647
|
}
|
|
2647
2648
|
}
|
|
2648
2649
|
|
|
@@ -3853,13 +3854,21 @@ var PageHome = function (_React$Component) {
|
|
|
3853
3854
|
if (checked) {
|
|
3854
3855
|
var personValue = nextActivityList[i].personValue;
|
|
3855
3856
|
var isEnd = nextActivityList[i].end;
|
|
3856
|
-
|
|
3857
|
+
console.log("personValue:" + JSON.stringify(personValue));
|
|
3857
3858
|
if (personValue.length <= 0 && !isEnd) {
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3859
|
+
if (nextActivityList[i].type == 3) {
|
|
3860
|
+
_Toast2.default.show({
|
|
3861
|
+
type: 'error',
|
|
3862
|
+
content: '未找到办理人员,不允许提交'
|
|
3863
|
+
});
|
|
3864
|
+
return false;
|
|
3865
|
+
} else {
|
|
3866
|
+
_Toast2.default.show({
|
|
3867
|
+
type: 'error',
|
|
3868
|
+
content: '请选择审批人'
|
|
3869
|
+
});
|
|
3870
|
+
return false;
|
|
3871
|
+
}
|
|
3863
3872
|
}
|
|
3864
3873
|
var participantMode = nextActivityList[i].participantMode;
|
|
3865
3874
|
if (participantMode == 0) {
|