fmui-base 2.2.4 → 2.2.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/db/db.js +6 -6
- package/lib/form/form.js +1 -0
- package/lib/process_info/processInfo.js +23 -2
- package/lib/process_list/processList.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/db/db.js
CHANGED
|
@@ -1146,7 +1146,7 @@ context.create('reactGrid', {
|
|
|
1146
1146
|
willFetch: function willFetch() {
|
|
1147
1147
|
_Toast2.default.show({
|
|
1148
1148
|
content: _react2.default.createElement(_loading2.default, null),
|
|
1149
|
-
hasMask:
|
|
1149
|
+
hasMask: false,
|
|
1150
1150
|
duration: 800
|
|
1151
1151
|
});
|
|
1152
1152
|
}
|
|
@@ -1162,7 +1162,7 @@ context.create('reactGrid', {
|
|
|
1162
1162
|
willFetch: function willFetch() {
|
|
1163
1163
|
_Toast2.default.show({
|
|
1164
1164
|
content: _react2.default.createElement(_loading2.default, null),
|
|
1165
|
-
hasMask:
|
|
1165
|
+
hasMask: false,
|
|
1166
1166
|
duration: 800
|
|
1167
1167
|
});
|
|
1168
1168
|
}
|
|
@@ -1177,7 +1177,7 @@ context.create('reactGrid', {
|
|
|
1177
1177
|
willFetch: function willFetch() {
|
|
1178
1178
|
_Toast2.default.show({
|
|
1179
1179
|
content: _react2.default.createElement(_loading2.default, null),
|
|
1180
|
-
hasMask:
|
|
1180
|
+
hasMask: false,
|
|
1181
1181
|
duration: 800
|
|
1182
1182
|
});
|
|
1183
1183
|
}
|
|
@@ -1192,7 +1192,7 @@ context.create('reactGrid', {
|
|
|
1192
1192
|
willFetch: function willFetch() {
|
|
1193
1193
|
_Toast2.default.show({
|
|
1194
1194
|
content: _react2.default.createElement(_loading2.default, null),
|
|
1195
|
-
hasMask:
|
|
1195
|
+
hasMask: false,
|
|
1196
1196
|
duration: 800
|
|
1197
1197
|
});
|
|
1198
1198
|
}
|
|
@@ -1216,7 +1216,7 @@ context.create('reactGrid', {
|
|
|
1216
1216
|
willFetch: function willFetch() {
|
|
1217
1217
|
_Toast2.default.show({
|
|
1218
1218
|
content: _react2.default.createElement(_loading2.default, null),
|
|
1219
|
-
hasMask:
|
|
1219
|
+
hasMask: false,
|
|
1220
1220
|
duration: 800
|
|
1221
1221
|
});
|
|
1222
1222
|
}
|
|
@@ -1233,7 +1233,7 @@ context.create('portal', {
|
|
|
1233
1233
|
willFetch: function willFetch() {
|
|
1234
1234
|
_Toast2.default.show({
|
|
1235
1235
|
content: _react2.default.createElement(_loading2.default, null),
|
|
1236
|
-
hasMask:
|
|
1236
|
+
hasMask: false,
|
|
1237
1237
|
duration: 800
|
|
1238
1238
|
});
|
|
1239
1239
|
}
|
package/lib/form/form.js
CHANGED
|
@@ -1528,6 +1528,7 @@ var PageHome = function (_React$Component) {
|
|
|
1528
1528
|
// itemParam: itemParam
|
|
1529
1529
|
// });
|
|
1530
1530
|
// },1000)
|
|
1531
|
+
console.log("param===" + JSON.stringify(param));
|
|
1531
1532
|
_db2.default.FlowApproval.verifySign(param).then(function (content) {
|
|
1532
1533
|
var result = content.verifySignRes;
|
|
1533
1534
|
if (result == 'success') {
|
|
@@ -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() {
|
|
@@ -1284,7 +1284,7 @@ var PageHome = function (_React$Component2) {
|
|
|
1284
1284
|
{ title: undoDiv },
|
|
1285
1285
|
_react2.default.createElement(
|
|
1286
1286
|
HBox,
|
|
1287
|
-
{ vAlign: 'center', className: 't-BCf' },
|
|
1287
|
+
{ vAlign: 'center', className: 't-BCf t-MT10' },
|
|
1288
1288
|
_react2.default.createElement(
|
|
1289
1289
|
Box,
|
|
1290
1290
|
{ flex: 1 },
|
|
@@ -1334,7 +1334,7 @@ var PageHome = function (_React$Component2) {
|
|
|
1334
1334
|
{ title: unreadDiv },
|
|
1335
1335
|
_react2.default.createElement(
|
|
1336
1336
|
HBox,
|
|
1337
|
-
{ vAlign: 'center', className: 't-BCf' },
|
|
1337
|
+
{ vAlign: 'center', className: 't-BCf t-MT10' },
|
|
1338
1338
|
_react2.default.createElement(
|
|
1339
1339
|
Box,
|
|
1340
1340
|
{ flex: 1 },
|
|
@@ -1384,7 +1384,7 @@ var PageHome = function (_React$Component2) {
|
|
|
1384
1384
|
{ title: "已办" + (this.state.titleCount.done == 0 ? '' : '(' + this.state.titleCount.done + ')') },
|
|
1385
1385
|
_react2.default.createElement(
|
|
1386
1386
|
HBox,
|
|
1387
|
-
{ vAlign: 'center', className: 't-BCf' },
|
|
1387
|
+
{ vAlign: 'center', className: 't-BCf t-MT10' },
|
|
1388
1388
|
_react2.default.createElement(
|
|
1389
1389
|
Box,
|
|
1390
1390
|
{ flex: 1 },
|
|
@@ -1429,7 +1429,7 @@ var PageHome = function (_React$Component2) {
|
|
|
1429
1429
|
{ title: "已阅" + (this.state.titleCount.read == 0 ? '' : '(' + this.state.titleCount.read + ')') },
|
|
1430
1430
|
_react2.default.createElement(
|
|
1431
1431
|
HBox,
|
|
1432
|
-
{ vAlign: 'center', className: 't-BCf' },
|
|
1432
|
+
{ vAlign: 'center', className: 't-BCf t-MT10' },
|
|
1433
1433
|
_react2.default.createElement(
|
|
1434
1434
|
Box,
|
|
1435
1435
|
{ flex: 1 },
|
|
@@ -1474,7 +1474,7 @@ var PageHome = function (_React$Component2) {
|
|
|
1474
1474
|
{ title: "我的" + (this.state.titleCount.myself == 0 ? '' : '(' + this.state.titleCount.myself + ')') },
|
|
1475
1475
|
_react2.default.createElement(
|
|
1476
1476
|
HBox,
|
|
1477
|
-
{ vAlign: 'center', className: 't-BCf' },
|
|
1477
|
+
{ vAlign: 'center', className: 't-BCf t-MT10' },
|
|
1478
1478
|
_react2.default.createElement(
|
|
1479
1479
|
Box,
|
|
1480
1480
|
{ flex: 1 },
|