fmui-base 2.2.3 → 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 +2 -0
- package/lib/msg_list/msgList.js +9 -10
- package/lib/process_info/processInfo.js +23 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/msg_list/msgList.js
CHANGED
|
@@ -1070,28 +1070,27 @@ var PageHome = function (_React$Component2) {
|
|
|
1070
1070
|
props.id + ' ' + props.name
|
|
1071
1071
|
);
|
|
1072
1072
|
};
|
|
1073
|
+
// let undoDiv = <div> 待办{this.state.titleCount.undo == 0 ? '' : <span style={{ color: 'red' }}>({this.state.titleCount.undo})</span>}</div>;
|
|
1074
|
+
// let unreadDiv = <div> 待阅{this.state.titleCount.unread == 0 ? '' : <span style={{ color: 'red' }}>({this.state.titleCount.unread})</span>}</div>;
|
|
1075
|
+
|
|
1073
1076
|
var undoDiv = _react2.default.createElement(
|
|
1074
1077
|
'div',
|
|
1075
|
-
|
|
1078
|
+
{ className: 't-badge' },
|
|
1076
1079
|
' \u5F85\u529E',
|
|
1077
1080
|
this.state.titleCount.undo == 0 ? '' : _react2.default.createElement(
|
|
1078
1081
|
'span',
|
|
1079
|
-
{
|
|
1080
|
-
|
|
1081
|
-
this.state.titleCount.undo,
|
|
1082
|
-
')'
|
|
1082
|
+
{ className: 'badge-inner' },
|
|
1083
|
+
this.state.titleCount.undo
|
|
1083
1084
|
)
|
|
1084
1085
|
);
|
|
1085
1086
|
var unreadDiv = _react2.default.createElement(
|
|
1086
1087
|
'div',
|
|
1087
|
-
|
|
1088
|
+
{ className: 't-badge' },
|
|
1088
1089
|
' \u5F85\u9605',
|
|
1089
1090
|
this.state.titleCount.unread == 0 ? '' : _react2.default.createElement(
|
|
1090
1091
|
'span',
|
|
1091
|
-
{
|
|
1092
|
-
|
|
1093
|
-
this.state.titleCount.unread,
|
|
1094
|
-
')'
|
|
1092
|
+
{ className: 'badge-inner' },
|
|
1093
|
+
this.state.titleCount.unread
|
|
1095
1094
|
)
|
|
1096
1095
|
);
|
|
1097
1096
|
return _react2.default.createElement(
|
|
@@ -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() {
|