fmui-base 2.1.4 → 2.1.6
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 +29 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -248,7 +248,7 @@ var PageHome = function (_React$Component) {
|
|
|
248
248
|
}
|
|
249
249
|
var backTypeList = [{
|
|
250
250
|
value: "1",
|
|
251
|
-
checked:
|
|
251
|
+
checked: true,
|
|
252
252
|
content: '允许提交至退回活动',
|
|
253
253
|
disable: false
|
|
254
254
|
}];
|
|
@@ -2638,6 +2638,12 @@ var PageHome = function (_React$Component) {
|
|
|
2638
2638
|
if (canBackType == '') {
|
|
2639
2639
|
canBackType = '2';
|
|
2640
2640
|
}
|
|
2641
|
+
if (canBackType.indexOf('3') >= 0) {
|
|
2642
|
+
var backTypeList = t.state.backTypeList;
|
|
2643
|
+
t.setState({
|
|
2644
|
+
backTypeSelectList: backTypeList
|
|
2645
|
+
});
|
|
2646
|
+
}
|
|
2641
2647
|
if (selectBackActivity.value == null) {
|
|
2642
2648
|
//没有点击过驳回
|
|
2643
2649
|
_db2.default.FlowModuleAPI.getCanBackActivity({
|
|
@@ -2939,6 +2945,16 @@ var PageHome = function (_React$Component) {
|
|
|
2939
2945
|
});
|
|
2940
2946
|
});
|
|
2941
2947
|
} else {
|
|
2948
|
+
//项目开发模块统一扩展
|
|
2949
|
+
var mobileModuleExt;
|
|
2950
|
+
try {
|
|
2951
|
+
if (t.state.module) {
|
|
2952
|
+
mobileModuleExt = typeof eval(t.state.module + "_mobileExt") !== 'undefined' ? eval(t.state.module + "_mobileExt") : null;
|
|
2953
|
+
}
|
|
2954
|
+
} catch (e) {}
|
|
2955
|
+
// alert("exception: "+e.message);
|
|
2956
|
+
|
|
2957
|
+
|
|
2942
2958
|
//项目开发扩展
|
|
2943
2959
|
var mobileExt;
|
|
2944
2960
|
try {
|
|
@@ -2960,6 +2976,18 @@ var PageHome = function (_React$Component) {
|
|
|
2960
2976
|
content: msg
|
|
2961
2977
|
});
|
|
2962
2978
|
});
|
|
2979
|
+
} else if (typeof mobileModuleExt !== 'undefined' && typeof mobileModuleExt[operate] === "function") {
|
|
2980
|
+
mobileModuleExt[operate](t.state, function (msg) {
|
|
2981
|
+
_Toast2.default.show({
|
|
2982
|
+
type: 'success',
|
|
2983
|
+
content: msg
|
|
2984
|
+
});
|
|
2985
|
+
}, function (msg) {
|
|
2986
|
+
_Toast2.default.show({
|
|
2987
|
+
type: 'error',
|
|
2988
|
+
content: msg
|
|
2989
|
+
});
|
|
2990
|
+
});
|
|
2963
2991
|
}
|
|
2964
2992
|
}
|
|
2965
2993
|
}
|