tplus-portaltouch 3.22.2 → 3.22.3
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/dist/components/dutyandsettle/dutysettlehistory.js +45 -66
 - package/dist/components/dutyandsettle/dutysettlehistory.js.map +1 -1
 - package/dist/pages/Portal/index.js +27 -58
 - package/dist/pages/Portal/index.js.map +1 -1
 - package/dist/pages/Portalbc/data.js +51 -22
 - package/dist/pages/Portalbc/data.js.map +1 -1
 - package/dist/pages/Portalbc/index.js +283 -223
 - package/dist/pages/Portalbc/index.js.map +1 -1
 - package/dist/pages/Portalbc/index.less +42 -1
 - package/dist/pages/Portalbc/verticalPortal.js +3 -1
 - package/dist/pages/Portalbc/verticalPortal.js.map +1 -1
 - package/dist/pages/dutyandsettle/offDuty.js +82 -97
 - package/dist/pages/dutyandsettle/offDuty.js.map +1 -1
 - package/dist/utils/networkCheck.js +8 -6
 - package/dist/utils/networkCheck.js.map +1 -1
 - package/package.json +1 -1
 
| 
         @@ -52,7 +52,7 @@ var _inherits3 = _interopRequireDefault(_inherits2); 
     | 
|
| 
       52 
52 
     | 
    
         
             
            var _class, _class2, _temp; /*
         
     | 
| 
       53 
53 
     | 
    
         
             
                                         * @Description:
         
     | 
| 
       54 
54 
     | 
    
         
             
                                         * @Date: 2019-08-13 08:42:18
         
     | 
| 
       55 
     | 
    
         
            -
                                         * @LastEditTime:  
     | 
| 
      
 55 
     | 
    
         
            +
                                         * @LastEditTime: 2021-10-27 11:15:33
         
     | 
| 
       56 
56 
     | 
    
         
             
                                         * @LastEditors: chenlongad
         
     | 
| 
       57 
57 
     | 
    
         
             
                                         * @modify:修改跳转到T+的查询方案方式
         
     | 
| 
       58 
58 
     | 
    
         
             
                                         */
         
     | 
| 
         @@ -137,51 +137,28 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       137 
137 
     | 
    
         
             
                _this.sunMiPresentationInit = function (result) {
         
     | 
| 
       138 
138 
     | 
    
         
             
                  //SunMi初始化参数设置。
         
     | 
| 
       139 
139 
     | 
    
         
             
                  //副屏幕交互。硬件改动20200428   需要在商米页面加载成功后才能发送 初始化命令
         
     | 
| 
       140 
     | 
    
         
            -
                  //  
     | 
| 
       141 
     | 
    
         
            -
                  var  
     | 
| 
       142 
     | 
    
         
            -
             
     | 
| 
       143 
     | 
    
         
            -
             
     | 
| 
       144 
     | 
    
         
            -
             
     | 
| 
       145 
     | 
    
         
            -
             
     | 
| 
       146 
     | 
    
         
            -
                       
     | 
| 
       147 
     | 
    
         
            -
             
     | 
| 
       148 
     | 
    
         
            -
             
     | 
| 
       149 
     | 
    
         
            -
             
     | 
| 
       150 
     | 
    
         
            -
             
     | 
| 
       151 
     | 
    
         
            -
             
     | 
| 
       152 
     | 
    
         
            -
                            _ref$store = _ref.store;
         
     | 
| 
       153 
     | 
    
         
            -
             
     | 
| 
       154 
     | 
    
         
            -
                        _ref$store = _ref$store === undefined ? {} : _ref$store;
         
     | 
| 
       155 
     | 
    
         
            -
                        var _ref$store$storeName = _ref$store.storeName,
         
     | 
| 
       156 
     | 
    
         
            -
                            storeName = _ref$store$storeName === undefined ? '' : _ref$store$storeName;
         
     | 
| 
       157 
     | 
    
         
            -
             
     | 
| 
       158 
     | 
    
         
            -
                        console.log(result);
         
     | 
| 
       159 
     | 
    
         
            -
             
     | 
| 
       160 
     | 
    
         
            -
                        var _enumController$getEn = _mutantsUtil.enumController.getEnumOj(),
         
     | 
| 
       161 
     | 
    
         
            -
                            RE_POSParamType = _enumController$getEn.RE_POSParamType;
         
     | 
| 
       162 
     | 
    
         
            -
             
     | 
| 
       163 
     | 
    
         
            -
                        var DUAL_SCREEN_SETTING = RE_POSParamType.DUAL_SCREEN_SETTING;
         
     | 
| 
       164 
     | 
    
         
            -
             
     | 
| 
       165 
     | 
    
         
            -
                        var filterResult = result && result.filter ? result.filter(function (settingItem) {
         
     | 
| 
       166 
     | 
    
         
            -
                          return settingItem.ParamType && (settingItem.ParamType.Id === DUAL_SCREEN_SETTING || settingItem.ParamType === DUAL_SCREEN_SETTING);
         
     | 
| 
       167 
     | 
    
         
            -
                        }) : [];
         
     | 
| 
       168 
     | 
    
         
            -
                        window.sunMi_PresentationManager && window.sunMi_PresentationManager.sharedPreferencesSet("setting_setData", filterResult).then(function () {
         
     | 
| 
       169 
     | 
    
         
            -
                          console.log("缓存数据成功");
         
     | 
| 
       170 
     | 
    
         
            -
                          window.sunMi_PresentationManager && window.sunMi_PresentationManager.sendMessageToSecondScreen({ step: 0, storeName: storeName });
         
     | 
| 
       171 
     | 
    
         
            -
                        });
         
     | 
| 
       172 
     | 
    
         
            -
                      }, 2000);
         
     | 
| 
       173 
     | 
    
         
            -
                    });
         
     | 
| 
       174 
     | 
    
         
            -
                  } else {
         
     | 
| 
       175 
     | 
    
         
            -
                    // 表示已经加载过页面只需要重置状态即可
         
     | 
| 
       176 
     | 
    
         
            -
                    var _ref2 = _mutantsMicrofx.localStore.get('user') || {},
         
     | 
| 
       177 
     | 
    
         
            -
                        _ref2$store = _ref2.store;
         
     | 
| 
      
 140 
     | 
    
         
            +
                  // 进行主副屏数据交互 初始化
         
     | 
| 
      
 141 
     | 
    
         
            +
                  var _ref = _mutantsMicrofx.localStore.get('user') || {},
         
     | 
| 
      
 142 
     | 
    
         
            +
                      _ref$store = _ref.store;
         
     | 
| 
      
 143 
     | 
    
         
            +
             
     | 
| 
      
 144 
     | 
    
         
            +
                  _ref$store = _ref$store === undefined ? {} : _ref$store;
         
     | 
| 
      
 145 
     | 
    
         
            +
                  var _ref$store$storeName = _ref$store.storeName,
         
     | 
| 
      
 146 
     | 
    
         
            +
                      storeName = _ref$store$storeName === undefined ? '' : _ref$store$storeName;
         
     | 
| 
      
 147 
     | 
    
         
            +
             
     | 
| 
      
 148 
     | 
    
         
            +
                  console.log(result);
         
     | 
| 
      
 149 
     | 
    
         
            +
             
     | 
| 
      
 150 
     | 
    
         
            +
                  var _enumController$getEn = _mutantsUtil.enumController.getEnumOj(),
         
     | 
| 
      
 151 
     | 
    
         
            +
                      RE_POSParamType = _enumController$getEn.RE_POSParamType;
         
     | 
| 
       178 
152 
     | 
    
         | 
| 
       179 
     | 
    
         
            -
             
     | 
| 
       180 
     | 
    
         
            -
                    var _ref2$store$storeName = _ref2$store.storeName,
         
     | 
| 
       181 
     | 
    
         
            -
                        storeName = _ref2$store$storeName === undefined ? '' : _ref2$store$storeName;
         
     | 
| 
      
 153 
     | 
    
         
            +
                  var DUAL_SCREEN_SETTING = RE_POSParamType.DUAL_SCREEN_SETTING;
         
     | 
| 
       182 
154 
     | 
    
         | 
| 
      
 155 
     | 
    
         
            +
                  var filterResult = result && result.filter ? result.filter(function (settingItem) {
         
     | 
| 
      
 156 
     | 
    
         
            +
                    return settingItem.ParamType === DUAL_SCREEN_SETTING;
         
     | 
| 
      
 157 
     | 
    
         
            +
                  }) : [];
         
     | 
| 
      
 158 
     | 
    
         
            +
                  window.sunMi_PresentationManager && window.sunMi_PresentationManager.sharedPreferencesSet("setting_setData", filterResult).then(function () {
         
     | 
| 
      
 159 
     | 
    
         
            +
                    console.log("缓存数据成功");
         
     | 
| 
       183 
160 
     | 
    
         
             
                    window.sunMi_PresentationManager && window.sunMi_PresentationManager.sendMessageToSecondScreen({ step: 0, storeName: storeName });
         
     | 
| 
       184 
     | 
    
         
            -
                  }
         
     | 
| 
      
 161 
     | 
    
         
            +
                  });
         
     | 
| 
       185 
162 
     | 
    
         
             
                };
         
     | 
| 
       186 
163 
     | 
    
         | 
| 
       187 
164 
     | 
    
         
             
                _this.getTcBasicInfoInit = function () {
         
     | 
| 
         @@ -210,11 +187,11 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       210 
187 
     | 
    
         | 
| 
       211 
188 
     | 
    
         
             
                  var loginInfo = user.options.get('loginInfo');
         
     | 
| 
       212 
189 
     | 
    
         | 
| 
       213 
     | 
    
         
            -
                  var  
     | 
| 
       214 
     | 
    
         
            -
                      UserCode =  
     | 
| 
       215 
     | 
    
         
            -
                      AccountNum =  
     | 
| 
       216 
     | 
    
         
            -
                      posCode =  
     | 
| 
       217 
     | 
    
         
            -
                      TplusStoreId =  
     | 
| 
      
 190 
     | 
    
         
            +
                  var _ref2 = loginInfo || {},
         
     | 
| 
      
 191 
     | 
    
         
            +
                      UserCode = _ref2.UserCode,
         
     | 
| 
      
 192 
     | 
    
         
            +
                      AccountNum = _ref2.AccountNum,
         
     | 
| 
      
 193 
     | 
    
         
            +
                      posCode = _ref2.posCode,
         
     | 
| 
      
 194 
     | 
    
         
            +
                      TplusStoreId = _ref2.TplusStoreId;
         
     | 
| 
       218 
195 
     | 
    
         | 
| 
       219 
196 
     | 
    
         
             
                  var uid = _this.tplusEncode(UserCode);
         
     | 
| 
       220 
197 
     | 
    
         
             
                  var pwd = _this.tplusEncode(user.options.get("password"));
         
     | 
| 
         @@ -266,13 +243,16 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       266 
243 
     | 
    
         
             
                    return vv.Name === Name;
         
     | 
| 
       267 
244 
     | 
    
         
             
                  });
         
     | 
| 
       268 
245 
     | 
    
         | 
| 
       269 
     | 
    
         
            -
                  var  
     | 
| 
       270 
     | 
    
         
            -
                      Visibility =  
     | 
| 
       271 
     | 
    
         
            -
                      HoldFunctionAuth =  
     | 
| 
       272 
     | 
    
         
            -
                      Title =  
     | 
| 
       273 
     | 
    
         
            -
                      MenuCode =  
     | 
| 
      
 246 
     | 
    
         
            +
                  var _ref3 = controllable || {},
         
     | 
| 
      
 247 
     | 
    
         
            +
                      Visibility = _ref3.Visibility,
         
     | 
| 
      
 248 
     | 
    
         
            +
                      HoldFunctionAuth = _ref3.HoldFunctionAuth,
         
     | 
| 
      
 249 
     | 
    
         
            +
                      Title = _ref3.Title,
         
     | 
| 
      
 250 
     | 
    
         
            +
                      MenuCode = _ref3.MenuCode;
         
     | 
| 
       274 
251 
     | 
    
         | 
| 
       275 
252 
     | 
    
         
             
                  var errorTip = void 0;
         
     | 
| 
      
 253 
     | 
    
         
            +
                  if (type == 'more') {
         
     | 
| 
      
 254 
     | 
    
         
            +
                    return _this.setState({ showMoreModal: true });
         
     | 
| 
      
 255 
     | 
    
         
            +
                  }
         
     | 
| 
       276 
256 
     | 
    
         
             
                  if (!Title) {
         
     | 
| 
       277 
257 
     | 
    
         
             
                    return _tplusComponentsTouch.ModalWraper.warning({
         
     | 
| 
       278 
258 
     | 
    
         
             
                      title: '提示',
         
     | 
| 
         @@ -342,19 +322,19 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       342 
322 
     | 
    
         
             
                };
         
     | 
| 
       343 
323 
     | 
    
         | 
| 
       344 
324 
     | 
    
         
             
                _this.toFramePage = function (params) {
         
     | 
| 
       345 
     | 
    
         
            -
                  var  
     | 
| 
       346 
     | 
    
         
            -
                      app =  
     | 
| 
       347 
     | 
    
         
            -
                      title =  
     | 
| 
       348 
     | 
    
         
            -
                      style =  
     | 
| 
       349 
     | 
    
         
            -
                      search =  
     | 
| 
       350 
     | 
    
         
            -
                      tmenuCode =  
     | 
| 
       351 
     | 
    
         
            -
                      MenuCode =  
     | 
| 
       352 
     | 
    
         
            -
                      isHsyLoadFinish =  
     | 
| 
      
 325 
     | 
    
         
            +
                  var _ref4 = params || {},
         
     | 
| 
      
 326 
     | 
    
         
            +
                      app = _ref4.app,
         
     | 
| 
      
 327 
     | 
    
         
            +
                      title = _ref4.title,
         
     | 
| 
      
 328 
     | 
    
         
            +
                      style = _ref4.style,
         
     | 
| 
      
 329 
     | 
    
         
            +
                      search = _ref4.search,
         
     | 
| 
      
 330 
     | 
    
         
            +
                      tmenuCode = _ref4.tmenuCode,
         
     | 
| 
      
 331 
     | 
    
         
            +
                      MenuCode = _ref4.MenuCode,
         
     | 
| 
      
 332 
     | 
    
         
            +
                      isHsyLoadFinish = _ref4.isHsyLoadFinish;
         
     | 
| 
       353 
333 
     | 
    
         | 
| 
       354 
334 
     | 
    
         
             
                  switch (app) {
         
     | 
| 
       355 
335 
     | 
    
         
             
                    case 'cc':
         
     | 
| 
       356 
336 
     | 
    
         
             
                      var sh = '';
         
     | 
| 
       357 
     | 
    
         
            -
                      if (!isHsyLoadFinish) {
         
     | 
| 
      
 337 
     | 
    
         
            +
                      if (!isHsyLoadFinish && !_this.isHorizontalSunMi) {
         
     | 
| 
       358 
338 
     | 
    
         
             
                        return _tplusComponentsTouch.Message.warn('正在加载资源中,请稍后。');
         
     | 
| 
       359 
339 
     | 
    
         
             
                      }
         
     | 
| 
       360 
340 
     | 
    
         
             
                      if (!search) {
         
     | 
| 
         @@ -408,8 +388,8 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       408 
388 
     | 
    
         
             
                };
         
     | 
| 
       409 
389 
     | 
    
         | 
| 
       410 
390 
     | 
    
         
             
                _this.toTplusPage = function () {
         
     | 
| 
       411 
     | 
    
         
            -
                  var  
     | 
| 
       412 
     | 
    
         
            -
                    var ret,  
     | 
| 
      
 391 
     | 
    
         
            +
                  var _ref5 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(tmenuCode, search) {
         
     | 
| 
      
 392 
     | 
    
         
            +
                    var ret, _ref6, ossjumpUrl, postMessageUrl, dsearchPlanID, portalStore, menu, external_frame_tc, win, loadTcURL;
         
     | 
| 
       413 
393 
     | 
    
         | 
| 
       414 
394 
     | 
    
         
             
                    return _regenerator2.default.wrap(function _callee$(_context) {
         
     | 
| 
       415 
395 
     | 
    
         
             
                      while (1) {
         
     | 
| 
         @@ -425,7 +405,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       425 
405 
     | 
    
         
             
                            return _context.abrupt('return');
         
     | 
| 
       426 
406 
     | 
    
         | 
| 
       427 
407 
     | 
    
         
             
                          case 3:
         
     | 
| 
       428 
     | 
    
         
            -
                             
     | 
| 
      
 408 
     | 
    
         
            +
                            _ref6 = ret || {}, ossjumpUrl = _ref6.ossjumpUrl, postMessageUrl = _ref6.postMessageUrl;
         
     | 
| 
       429 
409 
     | 
    
         
             
                            dsearchPlanID = '';
         
     | 
| 
       430 
410 
     | 
    
         | 
| 
       431 
411 
     | 
    
         
             
                            if (!(search && search.id)) {
         
     | 
| 
         @@ -447,17 +427,26 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       447 
427 
     | 
    
         
             
                            if (dsearchPlanID) {
         
     | 
| 
       448 
428 
     | 
    
         
             
                              ossjumpUrl += '&searchPlanID=' + _this.tplusEncode(dsearchPlanID);
         
     | 
| 
       449 
429 
     | 
    
         
             
                            }
         
     | 
| 
       450 
     | 
    
         
            -
                            //对于专属云、云主机,如果配置的http,存在跨域问题,暂时解决不了,只能通过打开默认浏览器打开。
         
     | 
| 
       451 
430 
     | 
    
         | 
| 
      
 431 
     | 
    
         
            +
                            if (!_this.isHorizontalSunMi) {
         
     | 
| 
      
 432 
     | 
    
         
            +
                              _context.next = 17;
         
     | 
| 
      
 433 
     | 
    
         
            +
                              break;
         
     | 
| 
      
 434 
     | 
    
         
            +
                            }
         
     | 
| 
      
 435 
     | 
    
         
            +
             
     | 
| 
      
 436 
     | 
    
         
            +
                            window.android_CommonFun.openWebUrlByOutBrowser(ossjumpUrl);
         
     | 
| 
      
 437 
     | 
    
         
            +
                            _context.next = 25;
         
     | 
| 
      
 438 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 439 
     | 
    
         
            +
             
     | 
| 
      
 440 
     | 
    
         
            +
                          case 17:
         
     | 
| 
       452 
441 
     | 
    
         
             
                            if (!((postMessageUrl + '').indexOf('https') == -1 && (_this.new_retail_app == 'tc' || _this.new_retail_app == 'tczsy' || _this.new_retail_app == 'tcyzj'))) {
         
     | 
| 
       453 
     | 
    
         
            -
                              _context.next =  
     | 
| 
      
 442 
     | 
    
         
            +
                              _context.next = 20;
         
     | 
| 
       454 
443 
     | 
    
         
             
                              break;
         
     | 
| 
       455 
444 
     | 
    
         
             
                            }
         
     | 
| 
       456 
445 
     | 
    
         | 
| 
       457 
446 
     | 
    
         
             
                            _mutantsMicrofx.nativeMs.useDefaultBrowser(ossjumpUrl);
         
     | 
| 
       458 
447 
     | 
    
         
             
                            return _context.abrupt('return');
         
     | 
| 
       459 
448 
     | 
    
         | 
| 
       460 
     | 
    
         
            -
                          case  
     | 
| 
      
 449 
     | 
    
         
            +
                          case 20:
         
     | 
| 
       461 
450 
     | 
    
         
             
                            external_frame_tc = document.getElementById('external-frame-tc');
         
     | 
| 
       462 
451 
     | 
    
         
             
                            win = external_frame_tc.contentWindow;
         
     | 
| 
       463 
452 
     | 
    
         
             
                            loadTcURL = _this.state.loadTcURL;
         
     | 
| 
         @@ -476,7 +465,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       476 
465 
     | 
    
         
             
                              }
         
     | 
| 
       477 
466 
     | 
    
         
             
                            });
         
     | 
| 
       478 
467 
     | 
    
         | 
| 
       479 
     | 
    
         
            -
                          case  
     | 
| 
      
 468 
     | 
    
         
            +
                          case 25:
         
     | 
| 
       480 
469 
     | 
    
         
             
                          case 'end':
         
     | 
| 
       481 
470 
     | 
    
         
             
                            return _context.stop();
         
     | 
| 
       482 
471 
     | 
    
         
             
                        }
         
     | 
| 
         @@ -485,160 +474,177 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       485 
474 
     | 
    
         
             
                  }));
         
     | 
| 
       486 
475 
     | 
    
         | 
| 
       487 
476 
     | 
    
         
             
                  return function (_x2, _x3) {
         
     | 
| 
       488 
     | 
    
         
            -
                    return  
     | 
| 
      
 477 
     | 
    
         
            +
                    return _ref5.apply(this, arguments);
         
     | 
| 
       489 
478 
     | 
    
         
             
                  };
         
     | 
| 
       490 
479 
     | 
    
         
             
                }();
         
     | 
| 
       491 
480 
     | 
    
         | 
| 
       492 
     | 
    
         
            -
                _this.toHsyPage = function ( 
     | 
| 
       493 
     | 
    
         
            -
                  var  
     | 
| 
       494 
     | 
    
         
            -
             
     | 
| 
       495 
     | 
    
         
            -
             
     | 
| 
       496 
     | 
    
         
            -
             
     | 
| 
       497 
     | 
    
         
            -
                       
     | 
| 
       498 
     | 
    
         
            -
             
     | 
| 
       499 
     | 
    
         
            -
             
     | 
| 
       500 
     | 
    
         
            -
             
     | 
| 
       501 
     | 
    
         
            -
             
     | 
| 
       502 
     | 
    
         
            -
             
     | 
| 
       503 
     | 
    
         
            -
             
     | 
| 
       504 
     | 
    
         
            -
             
     | 
| 
       505 
     | 
    
         
            -
             
     | 
| 
       506 
     | 
    
         
            -
             
     | 
| 
       507 
     | 
    
         
            -
             
     | 
| 
       508 
     | 
    
         
            -
             
     | 
| 
       509 
     | 
    
         
            -
             
     | 
| 
       510 
     | 
    
         
            -
             
     | 
| 
       511 
     | 
    
         
            -
             
     | 
| 
       512 
     | 
    
         
            -
             
     | 
| 
       513 
     | 
    
         
            -
             
     | 
| 
       514 
     | 
    
         
            -
             
     | 
| 
       515 
     | 
    
         
            -
             
     | 
| 
       516 
     | 
    
         
            -
             
     | 
| 
       517 
     | 
    
         
            -
             
     | 
| 
       518 
     | 
    
         
            -
             
     | 
| 
       519 
     | 
    
         
            -
             
     | 
| 
       520 
     | 
    
         
            -
             
     | 
| 
       521 
     | 
    
         
            -
             
     | 
| 
       522 
     | 
    
         
            -
             
     | 
| 
       523 
     | 
    
         
            -
             
     | 
| 
       524 
     | 
    
         
            -
             
     | 
| 
       525 
     | 
    
         
            -
             
     | 
| 
       526 
     | 
    
         
            -
                  _ref8$store = _ref8$store === undefined ? {} : _ref8$store;
         
     | 
| 
       527 
     | 
    
         
            -
                  var _ref8$store$storeName = _ref8$store.storeName,
         
     | 
| 
       528 
     | 
    
         
            -
                      storeName = _ref8$store$storeName === undefined ? '' : _ref8$store$storeName;
         
     | 
| 
       529 
     | 
    
         
            -
             
     | 
| 
       530 
     | 
    
         
            -
                  switch (pageType) {
         
     | 
| 
       531 
     | 
    
         
            -
                    case 'voucher':
         
     | 
| 
       532 
     | 
    
         
            -
                      filter = {
         
     | 
| 
       533 
     | 
    
         
            -
                        defaultValue: {
         
     | 
| 
       534 
     | 
    
         
            -
                          storeId: {
         
     | 
| 
       535 
     | 
    
         
            -
                            id: IdStore,
         
     | 
| 
       536 
     | 
    
         
            -
                            storeName: storeName
         
     | 
| 
       537 
     | 
    
         
            -
                          },
         
     | 
| 
       538 
     | 
    
         
            -
                          warehouseId: {
         
     | 
| 
       539 
     | 
    
         
            -
                            id: IdWarehouse,
         
     | 
| 
       540 
     | 
    
         
            -
                            name: WarehouseName
         
     | 
| 
       541 
     | 
    
         
            -
                          }
         
     | 
| 
       542 
     | 
    
         
            -
                        }
         
     | 
| 
       543 
     | 
    
         
            -
                        //要货单特殊处理
         
     | 
| 
       544 
     | 
    
         
            -
                      };if (menu == 'require-goods-new') {
         
     | 
| 
       545 
     | 
    
         
            -
                        filter = {
         
     | 
| 
       546 
     | 
    
         
            -
                          defaultValue: {
         
     | 
| 
       547 
     | 
    
         
            -
                            storeId: {
         
     | 
| 
       548 
     | 
    
         
            -
                              id: IdStore,
         
     | 
| 
       549 
     | 
    
         
            -
                              storeName: storeName
         
     | 
| 
       550 
     | 
    
         
            -
                            },
         
     | 
| 
       551 
     | 
    
         
            -
                            requireWarehouseId: {
         
     | 
| 
       552 
     | 
    
         
            -
                              id: IdWarehouse,
         
     | 
| 
       553 
     | 
    
         
            -
                              name: WarehouseName
         
     | 
| 
       554 
     | 
    
         
            -
                            }
         
     | 
| 
       555 
     | 
    
         
            -
                          }
         
     | 
| 
       556 
     | 
    
         
            -
                        };
         
     | 
| 
       557 
     | 
    
         
            -
                      }
         
     | 
| 
       558 
     | 
    
         
            -
                      break;
         
     | 
| 
       559 
     | 
    
         
            -
                    case 'report':
         
     | 
| 
       560 
     | 
    
         
            -
                      filter = {
         
     | 
| 
       561 
     | 
    
         
            -
                        filterValue: {
         
     | 
| 
       562 
     | 
    
         
            -
                          storeId: {
         
     | 
| 
       563 
     | 
    
         
            -
                            value: {
         
     | 
| 
       564 
     | 
    
         
            -
                              id: IdStore,
         
     | 
| 
       565 
     | 
    
         
            -
                              storeName: storeName
         
     | 
| 
       566 
     | 
    
         
            -
                            }
         
     | 
| 
       567 
     | 
    
         
            -
                          },
         
     | 
| 
       568 
     | 
    
         
            -
                          warehouseId: {
         
     | 
| 
       569 
     | 
    
         
            -
                            value: [{
         
     | 
| 
       570 
     | 
    
         
            -
                              id: IdWarehouse,
         
     | 
| 
       571 
     | 
    
         
            -
                              name: WarehouseName
         
     | 
| 
       572 
     | 
    
         
            -
                            }]
         
     | 
| 
       573 
     | 
    
         
            -
                          }
         
     | 
| 
       574 
     | 
    
         
            -
                        }
         
     | 
| 
       575 
     | 
    
         
            -
                        // 收银统计表
         
     | 
| 
       576 
     | 
    
         
            -
                      };if (IsPerformanceDistribution && menu == 'retail-cash-report') {
         
     | 
| 
       577 
     | 
    
         
            -
                        filter = {
         
     | 
| 
       578 
     | 
    
         
            -
                          filterValue: {
         
     | 
| 
       579 
     | 
    
         
            -
                            deliveryStoreId: {
         
     | 
| 
       580 
     | 
    
         
            -
                              value: {
         
     | 
| 
       581 
     | 
    
         
            -
                                id: IdStore,
         
     | 
| 
       582 
     | 
    
         
            -
                                storeName: storeName
         
     | 
| 
      
 481 
     | 
    
         
            +
                _this.toHsyPage = function () {
         
     | 
| 
      
 482 
     | 
    
         
            +
                  var _ref7 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2(params) {
         
     | 
| 
      
 483 
     | 
    
         
            +
                    var content_only, bar_bg, bar_active_bg, menu, secondRouter, activePrompt, closePrompt, closeable, leavePrompt, lock, pageId, pageParams, path, tabId, tabLabel, pageType, _k, filter, IdWarehouse, WarehouseName, IsPerformanceDistribution, _ref8, _ref8$loginInfo, _ref8$loginInfo$IdSto, IdStore, _ref8$loginInfo$PosId, PosId, _ref8$store, _ref8$store$storeName, storeName, commonArgs, actionUrl, cc_url, CC_WEB_URL, external_frame, win;
         
     | 
| 
      
 484 
     | 
    
         
            +
             
     | 
| 
      
 485 
     | 
    
         
            +
                    return _regenerator2.default.wrap(function _callee2$(_context2) {
         
     | 
| 
      
 486 
     | 
    
         
            +
                      while (1) {
         
     | 
| 
      
 487 
     | 
    
         
            +
                        switch (_context2.prev = _context2.next) {
         
     | 
| 
      
 488 
     | 
    
         
            +
                          case 0:
         
     | 
| 
      
 489 
     | 
    
         
            +
                            content_only = params.content_only, bar_bg = params.bar_bg, bar_active_bg = params.bar_active_bg, menu = params.menu, secondRouter = params.secondRouter, activePrompt = params.activePrompt, closePrompt = params.closePrompt, closeable = params.closeable, leavePrompt = params.leavePrompt, lock = params.lock, pageId = params.pageId, pageParams = params.pageParams, path = params.path, tabId = params.tabId, tabLabel = params.tabLabel, pageType = params.pageType, _k = params._k;
         
     | 
| 
      
 490 
     | 
    
         
            +
                            filter = {};
         
     | 
| 
      
 491 
     | 
    
         
            +
                            //对仓库参数的处理
         
     | 
| 
      
 492 
     | 
    
         
            +
             
     | 
| 
      
 493 
     | 
    
         
            +
                            IdWarehouse = (0, _tplusPoslogin.PosInitData)('IdWarehouse') || '';
         
     | 
| 
      
 494 
     | 
    
         
            +
                            WarehouseName = (0, _tplusPoslogin.PosInitData)('WarehouseName') || '';
         
     | 
| 
      
 495 
     | 
    
         
            +
                            IsPerformanceDistribution = (0, _tplusPoslogin.PosInitData)('PerformanceDistribution') === 'SHIPPER_STORE' || false;
         
     | 
| 
      
 496 
     | 
    
         
            +
                            _ref8 = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('user') || {}, _ref8$loginInfo = _ref8.loginInfo, _ref8$loginInfo$IdSto = _ref8$loginInfo.IdStore, IdStore = _ref8$loginInfo$IdSto === undefined ? '' : _ref8$loginInfo$IdSto, _ref8$loginInfo$PosId = _ref8$loginInfo.PosId, PosId = _ref8$loginInfo$PosId === undefined ? '' : _ref8$loginInfo$PosId, _ref8$store = _ref8.store;
         
     | 
| 
      
 497 
     | 
    
         
            +
                            _ref8$store = _ref8$store === undefined ? {} : _ref8$store;
         
     | 
| 
      
 498 
     | 
    
         
            +
                            _ref8$store$storeName = _ref8$store.storeName, storeName = _ref8$store$storeName === undefined ? '' : _ref8$store$storeName;
         
     | 
| 
      
 499 
     | 
    
         
            +
                            _context2.t0 = pageType;
         
     | 
| 
      
 500 
     | 
    
         
            +
                            _context2.next = _context2.t0 === 'voucher' ? 11 : _context2.t0 === 'report' ? 14 : 18;
         
     | 
| 
      
 501 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 502 
     | 
    
         
            +
             
     | 
| 
      
 503 
     | 
    
         
            +
                          case 11:
         
     | 
| 
      
 504 
     | 
    
         
            +
                            filter = {
         
     | 
| 
      
 505 
     | 
    
         
            +
                              defaultValue: {
         
     | 
| 
      
 506 
     | 
    
         
            +
                                storeId: {
         
     | 
| 
      
 507 
     | 
    
         
            +
                                  id: IdStore,
         
     | 
| 
      
 508 
     | 
    
         
            +
                                  storeName: storeName
         
     | 
| 
      
 509 
     | 
    
         
            +
                                },
         
     | 
| 
      
 510 
     | 
    
         
            +
                                warehouseId: {
         
     | 
| 
      
 511 
     | 
    
         
            +
                                  id: IdWarehouse,
         
     | 
| 
      
 512 
     | 
    
         
            +
                                  name: WarehouseName
         
     | 
| 
      
 513 
     | 
    
         
            +
                                }
         
     | 
| 
       583 
514 
     | 
    
         
             
                              }
         
     | 
| 
       584 
     | 
    
         
            -
             
     | 
| 
       585 
     | 
    
         
            -
                             
     | 
| 
       586 
     | 
    
         
            -
                               
     | 
| 
       587 
     | 
    
         
            -
                                 
     | 
| 
       588 
     | 
    
         
            -
             
     | 
| 
       589 
     | 
    
         
            -
             
     | 
| 
      
 515 
     | 
    
         
            +
                              //要货单特殊处理
         
     | 
| 
      
 516 
     | 
    
         
            +
                            };if (menu == 'require-goods-new') {
         
     | 
| 
      
 517 
     | 
    
         
            +
                              filter = {
         
     | 
| 
      
 518 
     | 
    
         
            +
                                defaultValue: {
         
     | 
| 
      
 519 
     | 
    
         
            +
                                  storeId: {
         
     | 
| 
      
 520 
     | 
    
         
            +
                                    id: IdStore,
         
     | 
| 
      
 521 
     | 
    
         
            +
                                    storeName: storeName
         
     | 
| 
      
 522 
     | 
    
         
            +
                                  },
         
     | 
| 
      
 523 
     | 
    
         
            +
                                  requireWarehouseId: {
         
     | 
| 
      
 524 
     | 
    
         
            +
                                    id: IdWarehouse,
         
     | 
| 
      
 525 
     | 
    
         
            +
                                    name: WarehouseName
         
     | 
| 
      
 526 
     | 
    
         
            +
                                  }
         
     | 
| 
      
 527 
     | 
    
         
            +
                                }
         
     | 
| 
      
 528 
     | 
    
         
            +
                              };
         
     | 
| 
       590 
529 
     | 
    
         
             
                            }
         
     | 
| 
       591 
     | 
    
         
            -
             
     | 
| 
       592 
     | 
    
         
            -
             
     | 
| 
       593 
     | 
    
         
            -
             
     | 
| 
       594 
     | 
    
         
            -
             
     | 
| 
       595 
     | 
    
         
            -
             
     | 
| 
       596 
     | 
    
         
            -
             
     | 
| 
       597 
     | 
    
         
            -
             
     | 
| 
       598 
     | 
    
         
            -
             
     | 
| 
       599 
     | 
    
         
            -
             
     | 
| 
       600 
     | 
    
         
            -
             
     | 
| 
       601 
     | 
    
         
            -
                                 
     | 
| 
      
 530 
     | 
    
         
            +
                            return _context2.abrupt('break', 18);
         
     | 
| 
      
 531 
     | 
    
         
            +
             
     | 
| 
      
 532 
     | 
    
         
            +
                          case 14:
         
     | 
| 
      
 533 
     | 
    
         
            +
                            filter = {
         
     | 
| 
      
 534 
     | 
    
         
            +
                              filterValue: {
         
     | 
| 
      
 535 
     | 
    
         
            +
                                storeId: {
         
     | 
| 
      
 536 
     | 
    
         
            +
                                  value: {
         
     | 
| 
      
 537 
     | 
    
         
            +
                                    id: IdStore,
         
     | 
| 
      
 538 
     | 
    
         
            +
                                    storeName: storeName
         
     | 
| 
      
 539 
     | 
    
         
            +
                                  }
         
     | 
| 
      
 540 
     | 
    
         
            +
                                },
         
     | 
| 
      
 541 
     | 
    
         
            +
                                warehouseId: {
         
     | 
| 
      
 542 
     | 
    
         
            +
                                  value: [{
         
     | 
| 
      
 543 
     | 
    
         
            +
                                    id: IdWarehouse,
         
     | 
| 
      
 544 
     | 
    
         
            +
                                    name: WarehouseName
         
     | 
| 
      
 545 
     | 
    
         
            +
                                  }]
         
     | 
| 
      
 546 
     | 
    
         
            +
                                }
         
     | 
| 
       602 
547 
     | 
    
         
             
                              }
         
     | 
| 
       603 
     | 
    
         
            -
             
     | 
| 
       604 
     | 
    
         
            -
                             
     | 
| 
       605 
     | 
    
         
            -
                               
     | 
| 
       606 
     | 
    
         
            -
                                 
     | 
| 
       607 
     | 
    
         
            -
             
     | 
| 
       608 
     | 
    
         
            -
             
     | 
| 
      
 548 
     | 
    
         
            +
                              // 收银统计表
         
     | 
| 
      
 549 
     | 
    
         
            +
                            };if (IsPerformanceDistribution && menu == 'retail-cash-report') {
         
     | 
| 
      
 550 
     | 
    
         
            +
                              filter = {
         
     | 
| 
      
 551 
     | 
    
         
            +
                                filterValue: {
         
     | 
| 
      
 552 
     | 
    
         
            +
                                  deliveryStoreId: {
         
     | 
| 
      
 553 
     | 
    
         
            +
                                    value: {
         
     | 
| 
      
 554 
     | 
    
         
            +
                                      id: IdStore,
         
     | 
| 
      
 555 
     | 
    
         
            +
                                      storeName: storeName
         
     | 
| 
      
 556 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 557 
     | 
    
         
            +
                                  },
         
     | 
| 
      
 558 
     | 
    
         
            +
                                  warehouseId: {
         
     | 
| 
      
 559 
     | 
    
         
            +
                                    value: [{
         
     | 
| 
      
 560 
     | 
    
         
            +
                                      id: IdWarehouse,
         
     | 
| 
      
 561 
     | 
    
         
            +
                                      name: WarehouseName
         
     | 
| 
      
 562 
     | 
    
         
            +
                                    }]
         
     | 
| 
      
 563 
     | 
    
         
            +
                                  }
         
     | 
| 
      
 564 
     | 
    
         
            +
                                }
         
     | 
| 
      
 565 
     | 
    
         
            +
                              };
         
     | 
| 
      
 566 
     | 
    
         
            +
                            }
         
     | 
| 
      
 567 
     | 
    
         
            +
                            // 售后、配送
         
     | 
| 
      
 568 
     | 
    
         
            +
                            if (menu == 'return-order' || menu == 'order-manage') {
         
     | 
| 
      
 569 
     | 
    
         
            +
                              filter = {
         
     | 
| 
      
 570 
     | 
    
         
            +
                                filterValue: {
         
     | 
| 
      
 571 
     | 
    
         
            +
                                  storeId: {
         
     | 
| 
      
 572 
     | 
    
         
            +
                                    value: {
         
     | 
| 
      
 573 
     | 
    
         
            +
                                      id: IdStore,
         
     | 
| 
      
 574 
     | 
    
         
            +
                                      storeName: storeName
         
     | 
| 
      
 575 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 576 
     | 
    
         
            +
                                  },
         
     | 
| 
      
 577 
     | 
    
         
            +
                                  deliveryWarehouseId: {
         
     | 
| 
      
 578 
     | 
    
         
            +
                                    value: [{
         
     | 
| 
      
 579 
     | 
    
         
            +
                                      id: IdWarehouse,
         
     | 
| 
      
 580 
     | 
    
         
            +
                                      name: WarehouseName
         
     | 
| 
      
 581 
     | 
    
         
            +
                                    }]
         
     | 
| 
      
 582 
     | 
    
         
            +
                                  }
         
     | 
| 
      
 583 
     | 
    
         
            +
                                }
         
     | 
| 
      
 584 
     | 
    
         
            +
                              };
         
     | 
| 
      
 585 
     | 
    
         
            +
                            }
         
     | 
| 
      
 586 
     | 
    
         
            +
                            return _context2.abrupt('break', 18);
         
     | 
| 
      
 587 
     | 
    
         
            +
             
     | 
| 
      
 588 
     | 
    
         
            +
                          case 18:
         
     | 
| 
      
 589 
     | 
    
         
            +
                            bar_bg = encodeURIComponent(bar_bg);
         
     | 
| 
      
 590 
     | 
    
         
            +
                            bar_active_bg = encodeURIComponent(bar_active_bg);
         
     | 
| 
      
 591 
     | 
    
         
            +
                            menu = secondRouter ? menu + '/' + _this.randomWord(true, 13) : menu;
         
     | 
| 
      
 592 
     | 
    
         
            +
                            pageId = menu;
         
     | 
| 
      
 593 
     | 
    
         
            +
                            pageParams = (0, _assign2.default)(pageParams, filter);
         
     | 
| 
      
 594 
     | 
    
         
            +
                            path = encodeURIComponent(path);
         
     | 
| 
      
 595 
     | 
    
         
            +
                            _k = _this.randomWord(false, 6);
         
     | 
| 
      
 596 
     | 
    
         
            +
             
     | 
| 
      
 597 
     | 
    
         
            +
                            commonArgs = '?posid=' + PosId + '&content_only=' + content_only + '&bar_bg=' + bar_bg + '&bar_active_bg=' + bar_active_bg;
         
     | 
| 
      
 598 
     | 
    
         
            +
                            actionUrl = '#/' + menu + '?activePrompt=' + activePrompt + '&closePrompt=' + closePrompt + '&closeable=' + closeable + '&leavePrompt=' + leavePrompt + '&lock=' + lock + '&pageId=' + pageId + '&pageParams=' + encodeURIComponent((0, _stringify2.default)(pageParams)) + '&path=' + path + '&tabId=' + tabId + '&tabLabel=' + encodeURIComponent(tabLabel) + '&_k=' + _k;
         
     | 
| 
      
 599 
     | 
    
         
            +
                            cc_url = _this.hsy_domain.replace('#/', '') + commonArgs + actionUrl;
         
     | 
| 
      
 600 
     | 
    
         
            +
             
     | 
| 
      
 601 
     | 
    
         
            +
                            console.log('web_hsy_url:', cc_url);
         
     | 
| 
      
 602 
     | 
    
         
            +
             
     | 
| 
      
 603 
     | 
    
         
            +
                            if (!_this.isHorizontalSunMi) {
         
     | 
| 
      
 604 
     | 
    
         
            +
                              _context2.next = 37;
         
     | 
| 
      
 605 
     | 
    
         
            +
                              break;
         
     | 
| 
       609 
606 
     | 
    
         
             
                            }
         
     | 
| 
       610 
     | 
    
         
            -
             
     | 
| 
       611 
     | 
    
         
            -
             
     | 
| 
      
 607 
     | 
    
         
            +
             
     | 
| 
      
 608 
     | 
    
         
            +
                            _context2.next = 32;
         
     | 
| 
      
 609 
     | 
    
         
            +
                            return _tplusApi.User.getLoginCCMidWebUrl(cc_url);
         
     | 
| 
      
 610 
     | 
    
         
            +
             
     | 
| 
      
 611 
     | 
    
         
            +
                          case 32:
         
     | 
| 
      
 612 
     | 
    
         
            +
                            CC_WEB_URL = _context2.sent;
         
     | 
| 
      
 613 
     | 
    
         
            +
             
     | 
| 
      
 614 
     | 
    
         
            +
                            console.log('CC_WEB_URL:', CC_WEB_URL);
         
     | 
| 
      
 615 
     | 
    
         
            +
                            window.android_CommonFun.openWebUrlByOutBrowser(CC_WEB_URL);
         
     | 
| 
      
 616 
     | 
    
         
            +
                            _context2.next = 42;
         
     | 
| 
      
 617 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 618 
     | 
    
         
            +
             
     | 
| 
      
 619 
     | 
    
         
            +
                          case 37:
         
     | 
| 
      
 620 
     | 
    
         
            +
                            external_frame = document.getElementById('external-frame-cc');
         
     | 
| 
      
 621 
     | 
    
         
            +
                            win = external_frame.contentWindow;
         
     | 
| 
      
 622 
     | 
    
         
            +
             
     | 
| 
      
 623 
     | 
    
         
            +
                            win && win.HsyRouterJump && win.HsyRouterJump(pageId, pageParams, { closeable: closeable, tabLabel: tabLabel });
         
     | 
| 
      
 624 
     | 
    
         
            +
                            _this.setState({ loadHsyPage: true });
         
     | 
| 
      
 625 
     | 
    
         
            +
                            rx$.changeHsy.next({
         
     | 
| 
      
 626 
     | 
    
         
            +
                              back: true, fn: function fn() {
         
     | 
| 
      
 627 
     | 
    
         
            +
                                _this.setState({ loadHsyPage: false });
         
     | 
| 
      
 628 
     | 
    
         
            +
                                rx$.changeHsy.next({ back: false });
         
     | 
| 
      
 629 
     | 
    
         
            +
                                // 在打开页签之前,关闭之前的。
         
     | 
| 
      
 630 
     | 
    
         
            +
                                var external_frame_a = document.getElementById('external-frame-cc');
         
     | 
| 
      
 631 
     | 
    
         
            +
                                var wins = external_frame_a.contentWindow;
         
     | 
| 
      
 632 
     | 
    
         
            +
                                wins && wins.HsyRouterClean && win.HsyRouterClean();
         
     | 
| 
      
 633 
     | 
    
         
            +
                              }
         
     | 
| 
      
 634 
     | 
    
         
            +
                            });
         
     | 
| 
      
 635 
     | 
    
         
            +
             
     | 
| 
      
 636 
     | 
    
         
            +
                          case 42:
         
     | 
| 
      
 637 
     | 
    
         
            +
                          case 'end':
         
     | 
| 
      
 638 
     | 
    
         
            +
                            return _context2.stop();
         
     | 
| 
      
 639 
     | 
    
         
            +
                        }
         
     | 
| 
       612 
640 
     | 
    
         
             
                      }
         
     | 
| 
       613 
     | 
    
         
            -
             
     | 
| 
       614 
     | 
    
         
            -
                  }
         
     | 
| 
       615 
     | 
    
         
            -
             
     | 
| 
       616 
     | 
    
         
            -
                   
     | 
| 
       617 
     | 
    
         
            -
             
     | 
| 
       618 
     | 
    
         
            -
                   
     | 
| 
       619 
     | 
    
         
            -
             
     | 
| 
       620 
     | 
    
         
            -
                  path = encodeURIComponent(path);
         
     | 
| 
       621 
     | 
    
         
            -
                  _k = _this.randomWord(false, 6);
         
     | 
| 
       622 
     | 
    
         
            -
             
     | 
| 
       623 
     | 
    
         
            -
                  var commonArgs = '?posid=' + PosId + '&content_only=' + content_only + '&bar_bg=' + bar_bg + '&bar_active_bg=' + bar_active_bg;
         
     | 
| 
       624 
     | 
    
         
            -
                  var actionUrl = '#/' + menu + '?activePrompt=' + activePrompt + '&closePrompt=' + closePrompt + '&closeable=' + closeable + '&leavePrompt=' + leavePrompt + '&lock=' + lock + '&pageId=' + pageId + '&pageParams=' + encodeURIComponent((0, _stringify2.default)(pageParams)) + '&path=' + path + '&tabId=' + tabId + '&tabLabel=' + encodeURIComponent(tabLabel) + '&_k=' + _k;
         
     | 
| 
       625 
     | 
    
         
            -
                  var cc_url = _this.hsy_domain.replace('#/', '') + commonArgs + actionUrl;
         
     | 
| 
       626 
     | 
    
         
            -
                  console.log('web_hsy_url:', cc_url);
         
     | 
| 
       627 
     | 
    
         
            -
                  var external_frame = document.getElementById('external-frame-cc');
         
     | 
| 
       628 
     | 
    
         
            -
                  var win = external_frame.contentWindow;
         
     | 
| 
       629 
     | 
    
         
            -
                  win && win.HsyRouterJump && win.HsyRouterJump(pageId, pageParams, { closeable: closeable, tabLabel: tabLabel });
         
     | 
| 
       630 
     | 
    
         
            -
                  _this.setState({ loadHsyPage: true });
         
     | 
| 
       631 
     | 
    
         
            -
                  rx$.changeHsy.next({
         
     | 
| 
       632 
     | 
    
         
            -
                    back: true, fn: function fn() {
         
     | 
| 
       633 
     | 
    
         
            -
                      _this.setState({ loadHsyPage: false });
         
     | 
| 
       634 
     | 
    
         
            -
                      rx$.changeHsy.next({ back: false });
         
     | 
| 
       635 
     | 
    
         
            -
                      // 在打开页签之前,关闭之前的。
         
     | 
| 
       636 
     | 
    
         
            -
                      var external_frame_a = document.getElementById('external-frame-cc');
         
     | 
| 
       637 
     | 
    
         
            -
                      var wins = external_frame_a.contentWindow;
         
     | 
| 
       638 
     | 
    
         
            -
                      wins && wins.HsyRouterClean && win.HsyRouterClean();
         
     | 
| 
       639 
     | 
    
         
            -
                    }
         
     | 
| 
       640 
     | 
    
         
            -
                  });
         
     | 
| 
       641 
     | 
    
         
            -
                };
         
     | 
| 
      
 641 
     | 
    
         
            +
                    }, _callee2, _this2);
         
     | 
| 
      
 642 
     | 
    
         
            +
                  }));
         
     | 
| 
      
 643 
     | 
    
         
            +
             
     | 
| 
      
 644 
     | 
    
         
            +
                  return function (_x4) {
         
     | 
| 
      
 645 
     | 
    
         
            +
                    return _ref7.apply(this, arguments);
         
     | 
| 
      
 646 
     | 
    
         
            +
                  };
         
     | 
| 
      
 647 
     | 
    
         
            +
                }();
         
     | 
| 
       642 
648 
     | 
    
         | 
| 
       643 
649 
     | 
    
         
             
                _this.randomWord = function (only, digits) {
         
     | 
| 
       644 
650 
     | 
    
         
             
                  var str = "";
         
     | 
| 
         @@ -656,6 +662,10 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       656 
662 
     | 
    
         
             
                  _this.setState({ showModal: false });
         
     | 
| 
       657 
663 
     | 
    
         
             
                };
         
     | 
| 
       658 
664 
     | 
    
         | 
| 
      
 665 
     | 
    
         
            +
                _this.closeMoreModal = function () {
         
     | 
| 
      
 666 
     | 
    
         
            +
                  _this.setState({ showMoreModal: false });
         
     | 
| 
      
 667 
     | 
    
         
            +
                };
         
     | 
| 
      
 668 
     | 
    
         
            +
             
     | 
| 
       659 
669 
     | 
    
         
             
                _this.tplusEncode = function (code) {
         
     | 
| 
       660 
670 
     | 
    
         
             
                  var c = String.fromCharCode(code.charCodeAt(0) + code.length);
         
     | 
| 
       661 
671 
     | 
    
         
             
                  for (var i = 1; i < code.length; i++) {
         
     | 
| 
         @@ -927,11 +937,43 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       927 
937 
     | 
    
         
             
                  return node;
         
     | 
| 
       928 
938 
     | 
    
         
             
                };
         
     | 
| 
       929 
939 
     | 
    
         | 
| 
      
 940 
     | 
    
         
            +
                _this.createMoreNode = function () {
         
     | 
| 
      
 941 
     | 
    
         
            +
                  var arrs = _this.centerRightMenu.find(function (v) {
         
     | 
| 
      
 942 
     | 
    
         
            +
                    return v.sub && v.sub.find(function (vv) {
         
     | 
| 
      
 943 
     | 
    
         
            +
                      return vv.key == 'more';
         
     | 
| 
      
 944 
     | 
    
         
            +
                    });
         
     | 
| 
      
 945 
     | 
    
         
            +
                  }).sub[1];
         
     | 
| 
      
 946 
     | 
    
         
            +
                  var items = _this.new_retail_app == 'cc' ? arrs.sub_cc : _this.new_retail_app == 'tc' || _this.new_retail_app == 'tczsy' || _this.new_retail_app == 'tcyzj' ? arrs.sub_tc : [];
         
     | 
| 
      
 947 
     | 
    
         
            +
                  var node = items.length > 0 && items.map(function (v) {
         
     | 
| 
      
 948 
     | 
    
         
            +
                    return _react2.default.createElement(
         
     | 
| 
      
 949 
     | 
    
         
            +
                      'div',
         
     | 
| 
      
 950 
     | 
    
         
            +
                      {
         
     | 
| 
      
 951 
     | 
    
         
            +
                        className: 'modal-quick ' + v.className,
         
     | 
| 
      
 952 
     | 
    
         
            +
                        style: v.style,
         
     | 
| 
      
 953 
     | 
    
         
            +
                        key: v.className,
         
     | 
| 
      
 954 
     | 
    
         
            +
                        onClick: _this.handelClick.bind(_this, v)
         
     | 
| 
      
 955 
     | 
    
         
            +
                      },
         
     | 
| 
      
 956 
     | 
    
         
            +
                      !!v.icon && _react2.default.createElement(
         
     | 
| 
      
 957 
     | 
    
         
            +
                        'div',
         
     | 
| 
      
 958 
     | 
    
         
            +
                        { className: 'quick' },
         
     | 
| 
      
 959 
     | 
    
         
            +
                        _react2.default.createElement(_tplusComponentsTouch.Ticon, { icon: v.icon })
         
     | 
| 
      
 960 
     | 
    
         
            +
                      ),
         
     | 
| 
      
 961 
     | 
    
         
            +
                      !!v.title && _react2.default.createElement(
         
     | 
| 
      
 962 
     | 
    
         
            +
                        'h1',
         
     | 
| 
      
 963 
     | 
    
         
            +
                        null,
         
     | 
| 
      
 964 
     | 
    
         
            +
                        v.title
         
     | 
| 
      
 965 
     | 
    
         
            +
                      )
         
     | 
| 
      
 966 
     | 
    
         
            +
                    );
         
     | 
| 
      
 967 
     | 
    
         
            +
                  });
         
     | 
| 
      
 968 
     | 
    
         
            +
                  return node;
         
     | 
| 
      
 969 
     | 
    
         
            +
                };
         
     | 
| 
      
 970 
     | 
    
         
            +
             
     | 
| 
       930 
971 
     | 
    
         
             
                _this.hasElectron = hasElectron;
         
     | 
| 
       931 
972 
     | 
    
         
             
                _this.state = {
         
     | 
| 
       932 
973 
     | 
    
         
             
                  id: Date.now(),
         
     | 
| 
       933 
974 
     | 
    
         
             
                  operations: [],
         
     | 
| 
       934 
975 
     | 
    
         
             
                  showModal: false,
         
     | 
| 
      
 976 
     | 
    
         
            +
                  showMoreModal: false,
         
     | 
| 
       935 
977 
     | 
    
         
             
                  loadHsyPage: false,
         
     | 
| 
       936 
978 
     | 
    
         
             
                  loadHsyURL: '',
         
     | 
| 
       937 
979 
     | 
    
         
             
                  isHsyLoadFinish: false,
         
     | 
| 
         @@ -981,13 +1023,13 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       981 
1023 
     | 
    
         
             
                value: function componentWillMount() {
         
     | 
| 
       982 
1024 
     | 
    
         
             
                  var _this3 = this;
         
     | 
| 
       983 
1025 
     | 
    
         | 
| 
       984 
     | 
    
         
            -
                  var  
     | 
| 
       985 
     | 
    
         
            -
                       
     | 
| 
       986 
     | 
    
         
            -
                   
     | 
| 
       987 
     | 
    
         
            -
                  var portalStore =  
     | 
| 
       988 
     | 
    
         
            -
                       
     | 
| 
       989 
     | 
    
         
            -
                   
     | 
| 
       990 
     | 
    
         
            -
                  var addClass =  
     | 
| 
      
 1026 
     | 
    
         
            +
                  var _context3 = this.context,
         
     | 
| 
      
 1027 
     | 
    
         
            +
                      _context3$stores = _context3.stores;
         
     | 
| 
      
 1028 
     | 
    
         
            +
                  _context3$stores = _context3$stores === undefined ? {} : _context3$stores;
         
     | 
| 
      
 1029 
     | 
    
         
            +
                  var portalStore = _context3$stores.portalStore,
         
     | 
| 
      
 1030 
     | 
    
         
            +
                      _context3$headHook = _context3.headHook;
         
     | 
| 
      
 1031 
     | 
    
         
            +
                  _context3$headHook = _context3$headHook === undefined ? {} : _context3$headHook;
         
     | 
| 
      
 1032 
     | 
    
         
            +
                  var addClass = _context3$headHook.addClass;
         
     | 
| 
       991 
1033 
     | 
    
         
             
                  var homeOperation = _ModifyPassApi.Request.homeOperation,
         
     | 
| 
       992 
1034 
     | 
    
         
             
                      functionData = _ModifyPassApi.Request.functionData;
         
     | 
| 
       993 
1035 
     | 
    
         | 
| 
         @@ -1109,6 +1151,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       1109 
1151 
     | 
    
         
             
                value: function render() {
         
     | 
| 
       1110 
1152 
     | 
    
         
             
                  var _state = this.state,
         
     | 
| 
       1111 
1153 
     | 
    
         
             
                      showModal = _state.showModal,
         
     | 
| 
      
 1154 
     | 
    
         
            +
                      showMoreModal = _state.showMoreModal,
         
     | 
| 
       1112 
1155 
     | 
    
         
             
                      modalURL = _state.modalURL,
         
     | 
| 
       1113 
1156 
     | 
    
         
             
                      loadHsyPage = _state.loadHsyPage,
         
     | 
| 
       1114 
1157 
     | 
    
         
             
                      loadHsyURL = _state.loadHsyURL,
         
     | 
| 
         @@ -1172,13 +1215,30 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       1172 
1215 
     | 
    
         
             
                      ),
         
     | 
| 
       1173 
1216 
     | 
    
         
             
                      this.isMobileEnvironment && _react2.default.createElement(
         
     | 
| 
       1174 
1217 
     | 
    
         
             
                        _antd.Modal,
         
     | 
| 
       1175 
     | 
    
         
            -
                        { 
     | 
| 
      
 1218 
     | 
    
         
            +
                        {
         
     | 
| 
      
 1219 
     | 
    
         
            +
                          visible: showModal,
         
     | 
| 
       1176 
1220 
     | 
    
         
             
                          onCancel: this.closeFrameModal,
         
     | 
| 
       1177 
1221 
     | 
    
         
             
                          width: '99%',
         
     | 
| 
       1178 
1222 
     | 
    
         
             
                          height: '99%',
         
     | 
| 
       1179 
1223 
     | 
    
         
             
                          footer: null
         
     | 
| 
       1180 
1224 
     | 
    
         
             
                        },
         
     | 
| 
       1181 
1225 
     | 
    
         
             
                        _react2.default.createElement('iframe', { src: modalURL, width: '100%', height: screenHeight, frameborder: 'no', border: '0', marginwidth: '0', marginheight: '0', scrolling: 'yes', allowtransparency: 'true' })
         
     | 
| 
      
 1226 
     | 
    
         
            +
                      ),
         
     | 
| 
      
 1227 
     | 
    
         
            +
                      _react2.default.createElement(
         
     | 
| 
      
 1228 
     | 
    
         
            +
                        _antd.Modal,
         
     | 
| 
      
 1229 
     | 
    
         
            +
                        {
         
     | 
| 
      
 1230 
     | 
    
         
            +
                          title: '更多',
         
     | 
| 
      
 1231 
     | 
    
         
            +
                          className: 'portal-container-modal-more',
         
     | 
| 
      
 1232 
     | 
    
         
            +
                          visible: showMoreModal,
         
     | 
| 
      
 1233 
     | 
    
         
            +
                          onCancel: this.closeMoreModal,
         
     | 
| 
      
 1234 
     | 
    
         
            +
                          width: 800,
         
     | 
| 
      
 1235 
     | 
    
         
            +
                          height: 375,
         
     | 
| 
      
 1236 
     | 
    
         
            +
                          footer: null,
         
     | 
| 
      
 1237 
     | 
    
         
            +
                          centered: true,
         
     | 
| 
      
 1238 
     | 
    
         
            +
                          maskClosable: false,
         
     | 
| 
      
 1239 
     | 
    
         
            +
                          keyboard: false
         
     | 
| 
      
 1240 
     | 
    
         
            +
                        },
         
     | 
| 
      
 1241 
     | 
    
         
            +
                        this.createMoreNode()
         
     | 
| 
       1182 
1242 
     | 
    
         
             
                      )
         
     | 
| 
       1183 
1243 
     | 
    
         
             
                    );
         
     | 
| 
       1184 
1244 
     | 
    
         
             
                  }
         
     |