fmui-base 2.2.44 → 2.2.46
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/variables.js +3 -2
- package/lib/process_info/processInfo.js +5 -4
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/db/variables.js
CHANGED
|
@@ -5,7 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
// 这里放置全局的变量
|
|
7
7
|
// const isDev = process.env.NODE_ENV == "development";
|
|
8
|
-
|
|
8
|
+
// const isDev = process.env.envType == "api" ;
|
|
9
|
+
var isDev = false;
|
|
9
10
|
// const isDev = process.env.envType == "mock" ;
|
|
10
11
|
var context = document.getElementById('context').value;
|
|
11
12
|
var token = document.getElementById('token').value;
|
|
@@ -31,7 +32,7 @@ exports.default = {
|
|
|
31
32
|
URLS: {
|
|
32
33
|
userInfo: urlPrefix + 'currenUserInfo', // 获取个人信息
|
|
33
34
|
transaction: {
|
|
34
|
-
undo:
|
|
35
|
+
undo: urlPrefix + 'queryProcessPage?type=0',
|
|
35
36
|
// undo: urlPrefix_a + 'getTransactionList_Undo.json',
|
|
36
37
|
unread: urlPrefix + 'queryProcessPage?type=1',
|
|
37
38
|
done: urlPrefix + 'queryProcessPage?type=2',
|
|
@@ -1219,7 +1219,7 @@ var PageHome = function (_React$Component) {
|
|
|
1219
1219
|
var oauthWindowURL = "";
|
|
1220
1220
|
if (content.oauthWindowURL && content.oauthWindowURL != null && content.oauthWindowURL != 'null' && typeof content.oauthWindowURL != 'undefined' && content.oauthWindowURL != '') {
|
|
1221
1221
|
oauthWindowURL = content.oauthWindowURL;
|
|
1222
|
-
t.openCaPage(oauthWindowURL);
|
|
1222
|
+
t.openCaPage(oauthWindowURL, content.caFirm);
|
|
1223
1223
|
}
|
|
1224
1224
|
var isCaUser = "0";
|
|
1225
1225
|
if (content.isCaUser && content.isCaUser != null && content.isCaUser != 'null' && typeof content.isCaUser != 'undefined' && content.isCaUser != '') {
|
|
@@ -2566,6 +2566,7 @@ var PageHome = function (_React$Component) {
|
|
|
2566
2566
|
// urgentSelectList = urgentList;
|
|
2567
2567
|
}
|
|
2568
2568
|
//}
|
|
2569
|
+
isEnd = true;
|
|
2569
2570
|
} else {
|
|
2570
2571
|
var show = true;
|
|
2571
2572
|
var isRadio = maxOutgoing == 1;
|
|
@@ -7629,12 +7630,12 @@ var PageHome = function (_React$Component) {
|
|
|
7629
7630
|
|
|
7630
7631
|
}, {
|
|
7631
7632
|
key: 'openCaPage',
|
|
7632
|
-
value: function openCaPage(oauthWindowURL) {
|
|
7633
|
+
value: function openCaPage(oauthWindowURL, caFirm) {
|
|
7633
7634
|
setTimeout(function () {
|
|
7634
7635
|
console.log('oauthWindowURL', oauthWindowURL);
|
|
7635
|
-
if (oauthWindowURL && oauthWindowURL != null && oauthWindowURL != 'null' && typeof oauthWindowURL != 'undefined' && oauthWindowURL != '') {
|
|
7636
|
+
if (oauthWindowURL && oauthWindowURL != null && oauthWindowURL != 'null' && typeof oauthWindowURL != 'undefined' && oauthWindowURL != '' && caFirm && caFirm != null && caFirm != 'null' && typeof caFirm != 'undefined' && caFirm != '') {
|
|
7636
7637
|
localStorage.setItem('oauthWindowURL', oauthWindowURL);
|
|
7637
|
-
localStorage.setItem('caFirm',
|
|
7638
|
+
localStorage.setItem('caFirm', caFirm);
|
|
7638
7639
|
// console.log(getLoginUserInfo().contextPageUrl+'/mobile/shenzhengCA.html');
|
|
7639
7640
|
// window.open(getLoginUserInfo().contextPageUrl+'/mobile/shenzhengCA.html');
|
|
7640
7641
|
location.href = getLoginUserInfo().contextPageUrl + '/mobile/shenzhengCA.html';
|