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 CHANGED
@@ -3,6 +3,8 @@
3
3
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.2.46: 结束回调
7
+ - 2.2.45: 北京CA
6
8
  - 2.2.44: 多行文本不限制高度
7
9
  - 2.2.43: 抢占环节加签只允许单选
8
10
  - 2.2.42: 上海CA提提示时间设为3秒
@@ -5,7 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  // 这里放置全局的变量
7
7
  // const isDev = process.env.NODE_ENV == "development";
8
- var isDev = process.env.envType == "api";
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: isDev ? "/mock/query/queryProcessPage.json?type=0" : urlPrefix + 'queryProcessPage?type=0',
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', this.state.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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.2.44",
3
+ "version": "2.2.46",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",