fmui-base 2.2.4 → 2.2.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/process_info/processInfo.js +23 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -462,7 +462,7 @@ var PageHome = function (_React$Component) {
|
|
|
462
462
|
selectProcessCode: '', //选中的子流程
|
|
463
463
|
subProcessType: '', //子流程类型 0串行 1并行
|
|
464
464
|
urgencyList: [], //紧急程度列表
|
|
465
|
-
urgency: '' }, _defineProperty(_param, 'urgent', ''), _defineProperty(_param, 'backInitiatorEndFlow', '0'), _param);
|
|
465
|
+
urgency: '' }, _defineProperty(_param, 'urgent', ''), _defineProperty(_param, 'backInitiatorEndFlow', '0'), _defineProperty(_param, 'oauthWindowURL', ''), _param);
|
|
466
466
|
FlowCommon = require('pages/flow_common/' + module).default ? require('pages/flow_common/' + module).default : require('pages/flow_common/' + module);
|
|
467
467
|
|
|
468
468
|
//处理特有参数
|
|
@@ -1188,6 +1188,11 @@ var PageHome = function (_React$Component) {
|
|
|
1188
1188
|
var commentCasign = "0";
|
|
1189
1189
|
//是否是产品CA 1是 0否
|
|
1190
1190
|
var caIsPrd = "";
|
|
1191
|
+
var oauthWindowURL = "";
|
|
1192
|
+
if (content.oauthWindowURL && content.oauthWindowURL != null && content.oauthWindowURL != 'null' && typeof content.oauthWindowURL != 'undefined' && content.oauthWindowURL != '') {
|
|
1193
|
+
oauthWindowURL = content.oauthWindowURL;
|
|
1194
|
+
t.openCaPage(oauthWindowURL);
|
|
1195
|
+
}
|
|
1191
1196
|
var commentBackAlert = [];
|
|
1192
1197
|
if (content.commentCasign == '1') {
|
|
1193
1198
|
commentCasign = '1';
|
|
@@ -1422,7 +1427,8 @@ var PageHome = function (_React$Component) {
|
|
|
1422
1427
|
subProcessType: subProcessType,
|
|
1423
1428
|
urgencyList: urgencyList,
|
|
1424
1429
|
urgentSelectList: urgentSelectList,
|
|
1425
|
-
backInitiatorEndFlow: backInitiatorEndFlow
|
|
1430
|
+
backInitiatorEndFlow: backInitiatorEndFlow,
|
|
1431
|
+
oauthWindowURL: oauthWindowURL
|
|
1426
1432
|
}, function () {
|
|
1427
1433
|
t.refs["selectMember_circulate"].initSelectData();
|
|
1428
1434
|
t.refs["selectMember_circulate1"].initSelectData();
|
|
@@ -7387,6 +7393,21 @@ var PageHome = function (_React$Component) {
|
|
|
7387
7393
|
}
|
|
7388
7394
|
});
|
|
7389
7395
|
}
|
|
7396
|
+
|
|
7397
|
+
//打开深圳CA授权页面
|
|
7398
|
+
|
|
7399
|
+
}, {
|
|
7400
|
+
key: 'openCaPage',
|
|
7401
|
+
value: function openCaPage(oauthWindowURL) {
|
|
7402
|
+
setTimeout(function () {
|
|
7403
|
+
console.log('oauthWindowURL', oauthWindowURL);
|
|
7404
|
+
if (oauthWindowURL && oauthWindowURL != null && oauthWindowURL != 'null' && typeof oauthWindowURL != 'undefined' && oauthWindowURL != '') {
|
|
7405
|
+
localStorage.setItem('oauthWindowURL', oauthWindowURL);
|
|
7406
|
+
console.log(getLoginUserInfo().contextPageUrl + '/mobile/shenzhengCA.html');
|
|
7407
|
+
window.open(getLoginUserInfo().contextPageUrl + '/mobile/shenzhengCA.html');
|
|
7408
|
+
}
|
|
7409
|
+
}, 100);
|
|
7410
|
+
}
|
|
7390
7411
|
}, {
|
|
7391
7412
|
key: 'render',
|
|
7392
7413
|
value: function render() {
|