tplus-portaltouch 3.19.2 → 3.21.1
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/api/ModifyPassApi.js.map +1 -1
 - package/dist/components/dutyandsettle/dutysettlebill.js.map +1 -1
 - package/dist/components/dutyandsettle/dutysettlehistory.js +66 -45
 - package/dist/components/dutyandsettle/dutysettlehistory.js.map +1 -1
 - package/dist/components/dutyandsettle/index.js.map +1 -1
 - package/dist/components/dutyandsettle/tipContent.js.map +1 -1
 - package/dist/components/header/customUse.js.map +1 -1
 - package/dist/components/header/headContent.js.map +1 -1
 - package/dist/components/header/index.js +13 -13
 - package/dist/components/header/index.js.map +1 -1
 - package/dist/components/header/style.less +351 -351
 - package/dist/components/header/themeModal.js.map +1 -1
 - package/dist/components/header/vertical-touch.js.map +1 -1
 - package/dist/components/header/vertical-touch.less +228 -228
 - package/dist/containers/Main/index.js.map +1 -1
 - package/dist/dutyService/index.js.map +1 -1
 - package/dist/index.js.map +1 -1
 - package/dist/middleWare/index.js.map +1 -1
 - package/dist/modalRouter/StaticRouter.js.map +1 -1
 - package/dist/modalRouter/index.js +8 -8
 - package/dist/modalRouter/index.js.map +1 -1
 - package/dist/pages/Modal/index.js.map +1 -1
 - package/dist/pages/Modal/style.less +5 -5
 - package/dist/pages/Portal/data.js +7 -7
 - package/dist/pages/Portal/data.js.map +1 -1
 - package/dist/pages/Portal/horizontalPadPortal.js.map +1 -1
 - package/dist/pages/Portal/horizontalSunMiPortal.js.map +1 -1
 - package/dist/pages/Portal/index.js +63 -32
 - package/dist/pages/Portal/index.js.map +1 -1
 - package/dist/pages/Portal/index.less +612 -612
 - package/dist/pages/Portal/verticalPortal.js.map +1 -1
 - package/dist/pages/Portalbc/data.js +94 -6
 - package/dist/pages/Portalbc/data.js.map +1 -1
 - package/dist/pages/Portalbc/horizontalPadPortal.js.map +1 -1
 - package/dist/pages/Portalbc/horizontalSunMiPortal.js.map +1 -1
 - package/dist/pages/Portalbc/index.js +228 -193
 - package/dist/pages/Portalbc/index.js.map +1 -1
 - package/dist/pages/Portalbc/index.less +732 -727
 - package/dist/pages/Portalbc/onframe.js.map +1 -1
 - package/dist/pages/Portalbc/verticalPortal.js.map +1 -1
 - package/dist/pages/dutyandsettle/AuthProcess.js.map +1 -1
 - package/dist/pages/dutyandsettle/index.js.map +1 -1
 - package/dist/pages/dutyandsettle/index.less +529 -529
 - package/dist/pages/dutyandsettle/offDuty.js +104 -89
 - package/dist/pages/dutyandsettle/offDuty.js.map +1 -1
 - package/dist/pages/dutyandsettle/onDialy.js.map +1 -1
 - package/dist/pages/dutyandsettle/onDuty.js.map +1 -1
 - package/dist/pages/dutyandsettle/onUnDaily.js.map +1 -1
 - package/dist/pages/dutyandsettle/settleDialy.js.map +1 -1
 - package/dist/pages/index.js.map +1 -1
 - package/dist/pages/modifyPass/index.js.map +1 -1
 - package/dist/pages/modifyPass/style.less +71 -71
 - package/dist/pages/notFound/index.js.map +1 -1
 - package/dist/pages/notFound/style.less +17 -17
 - package/dist/stores/ModalRouter.js.map +1 -1
 - package/dist/stores/ModifyPassStore.js.map +1 -1
 - package/dist/stores/PortalStore.js +5 -5
 - package/dist/stores/PortalStore.js.map +1 -1
 - package/dist/stores/PosLoginStore.js.map +1 -1
 - package/dist/stores/billHistoryStore.js.map +1 -1
 - package/dist/stores/dutySettleStore.js.map +1 -1
 - package/dist/stores/index.js.map +1 -1
 - package/dist/utils/PrintProcess.js +10 -10
 - package/dist/utils/PrintProcess.js.map +1 -1
 - package/dist/utils/index.js.map +1 -1
 - package/dist/utils/networkCheck.js +6 -8
 - package/dist/utils/networkCheck.js.map +1 -1
 - package/package.json +4 -4
 - package/tsconfig.json +14 -14
 
| 
         @@ -49,12 +49,12 @@ var _inherits2 = require('babel-runtime/helpers/inherits'); 
     | 
|
| 
       49 
49 
     | 
    
         | 
| 
       50 
50 
     | 
    
         
             
            var _inherits3 = _interopRequireDefault(_inherits2);
         
     | 
| 
       51 
51 
     | 
    
         | 
| 
       52 
     | 
    
         
            -
            var _class, _class2, _temp; /*
         
     | 
| 
       53 
     | 
    
         
            -
                                         * @Description:
         
     | 
| 
       54 
     | 
    
         
            -
                                         * @Date: 2019-08-13 08:42:18
         
     | 
| 
       55 
     | 
    
         
            -
                                         * @LastEditTime:  
     | 
| 
       56 
     | 
    
         
            -
                                         * @LastEditors: chenlongad
         
     | 
| 
       57 
     | 
    
         
            -
                                         * @modify:修改跳转到T+的查询方案方式
         
     | 
| 
      
 52 
     | 
    
         
            +
            var _class, _class2, _temp; /*
         
     | 
| 
      
 53 
     | 
    
         
            +
                                         * @Description:
         
     | 
| 
      
 54 
     | 
    
         
            +
                                         * @Date: 2019-08-13 08:42:18
         
     | 
| 
      
 55 
     | 
    
         
            +
                                         * @LastEditTime: 2020-10-22 14:14:18
         
     | 
| 
      
 56 
     | 
    
         
            +
                                         * @LastEditors: chenlongad
         
     | 
| 
      
 57 
     | 
    
         
            +
                                         * @modify:修改跳转到T+的查询方案方式
         
     | 
| 
       58 
58 
     | 
    
         
             
                                         */
         
     | 
| 
       59 
59 
     | 
    
         | 
| 
       60 
60 
     | 
    
         | 
| 
         @@ -137,28 +137,51 @@ 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 
     | 
    
         
            -
             
     | 
| 
      
 140 
     | 
    
         
            +
                  // 获取是否缓存副屏地址 只在app打开的生命周期缓存 读取 关闭重新缓存
         
     | 
| 
      
 141 
     | 
    
         
            +
                  var SunMi_fuping_url = sessionStorage.getItem("SunMi_fuping_url");
         
     | 
| 
      
 142 
     | 
    
         
            +
                  // 如果存在缓存地址 使用缓存地址  否则使用新hash地址
         
     | 
| 
      
 143 
     | 
    
         
            +
                  if (!SunMi_fuping_url) {
         
     | 
| 
      
 144 
     | 
    
         
            +
                    var url = location.origin + location.pathname + '?ts=' + new Date().getTime() + '&vt=3&fuping=3';
         
     | 
| 
      
 145 
     | 
    
         
            +
                    window.sunMi_PresentationManager && window.sunMi_PresentationManager.secondScreenLoadUrl(url).then(function () {
         
     | 
| 
      
 146 
     | 
    
         
            +
                      _this.FuPingIsLoaded = true;
         
     | 
| 
      
 147 
     | 
    
         
            +
                      // 加载副屏页面成功 缓存地址
         
     | 
| 
      
 148 
     | 
    
         
            +
                      sessionStorage.setItem("SunMi_fuping_url", url);
         
     | 
| 
      
 149 
     | 
    
         
            +
                      setTimeout(function () {
         
     | 
| 
      
 150 
     | 
    
         
            +
                        // 进行主副屏数据交互 初始化
         
     | 
| 
      
 151 
     | 
    
         
            +
                        var _ref = _mutantsMicrofx.localStore.get('user') || {},
         
     | 
| 
      
 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;
         
     | 
| 
       152 
178 
     | 
    
         | 
| 
       153 
     | 
    
         
            -
             
     | 
| 
      
 179 
     | 
    
         
            +
                    _ref2$store = _ref2$store === undefined ? {} : _ref2$store;
         
     | 
| 
      
 180 
     | 
    
         
            +
                    var _ref2$store$storeName = _ref2$store.storeName,
         
     | 
| 
      
 181 
     | 
    
         
            +
                        storeName = _ref2$store$storeName === undefined ? '' : _ref2$store$storeName;
         
     | 
| 
       154 
182 
     | 
    
         | 
| 
       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("缓存数据成功");
         
     | 
| 
       160 
183 
     | 
    
         
             
                    window.sunMi_PresentationManager && window.sunMi_PresentationManager.sendMessageToSecondScreen({ step: 0, storeName: storeName });
         
     | 
| 
       161 
     | 
    
         
            -
                  } 
     | 
| 
      
 184 
     | 
    
         
            +
                  }
         
     | 
| 
       162 
185 
     | 
    
         
             
                };
         
     | 
| 
       163 
186 
     | 
    
         | 
| 
       164 
187 
     | 
    
         
             
                _this.getTcBasicInfoInit = function () {
         
     | 
| 
         @@ -187,11 +210,11 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       187 
210 
     | 
    
         | 
| 
       188 
211 
     | 
    
         
             
                  var loginInfo = user.options.get('loginInfo');
         
     | 
| 
       189 
212 
     | 
    
         | 
| 
       190 
     | 
    
         
            -
                  var  
     | 
| 
       191 
     | 
    
         
            -
                      UserCode =  
     | 
| 
       192 
     | 
    
         
            -
                      AccountNum =  
     | 
| 
       193 
     | 
    
         
            -
                      posCode =  
     | 
| 
       194 
     | 
    
         
            -
                      TplusStoreId =  
     | 
| 
      
 213 
     | 
    
         
            +
                  var _ref3 = loginInfo || {},
         
     | 
| 
      
 214 
     | 
    
         
            +
                      UserCode = _ref3.UserCode,
         
     | 
| 
      
 215 
     | 
    
         
            +
                      AccountNum = _ref3.AccountNum,
         
     | 
| 
      
 216 
     | 
    
         
            +
                      posCode = _ref3.posCode,
         
     | 
| 
      
 217 
     | 
    
         
            +
                      TplusStoreId = _ref3.TplusStoreId;
         
     | 
| 
       195 
218 
     | 
    
         | 
| 
       196 
219 
     | 
    
         
             
                  var uid = _this.tplusEncode(UserCode);
         
     | 
| 
       197 
220 
     | 
    
         
             
                  var pwd = _this.tplusEncode(user.options.get("password"));
         
     | 
| 
         @@ -243,11 +266,11 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       243 
266 
     | 
    
         
             
                    return vv.Name === Name;
         
     | 
| 
       244 
267 
     | 
    
         
             
                  });
         
     | 
| 
       245 
268 
     | 
    
         | 
| 
       246 
     | 
    
         
            -
                  var  
     | 
| 
       247 
     | 
    
         
            -
                      Visibility =  
     | 
| 
       248 
     | 
    
         
            -
                      HoldFunctionAuth =  
     | 
| 
       249 
     | 
    
         
            -
                      Title =  
     | 
| 
       250 
     | 
    
         
            -
                      MenuCode =  
     | 
| 
      
 269 
     | 
    
         
            +
                  var _ref4 = controllable || {},
         
     | 
| 
      
 270 
     | 
    
         
            +
                      Visibility = _ref4.Visibility,
         
     | 
| 
      
 271 
     | 
    
         
            +
                      HoldFunctionAuth = _ref4.HoldFunctionAuth,
         
     | 
| 
      
 272 
     | 
    
         
            +
                      Title = _ref4.Title,
         
     | 
| 
      
 273 
     | 
    
         
            +
                      MenuCode = _ref4.MenuCode;
         
     | 
| 
       251 
274 
     | 
    
         | 
| 
       252 
275 
     | 
    
         
             
                  var errorTip = void 0;
         
     | 
| 
       253 
276 
     | 
    
         
             
                  if (!Title) {
         
     | 
| 
         @@ -319,19 +342,19 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       319 
342 
     | 
    
         
             
                };
         
     | 
| 
       320 
343 
     | 
    
         | 
| 
       321 
344 
     | 
    
         
             
                _this.toFramePage = function (params) {
         
     | 
| 
       322 
     | 
    
         
            -
                  var  
     | 
| 
       323 
     | 
    
         
            -
                      app =  
     | 
| 
       324 
     | 
    
         
            -
                      title =  
     | 
| 
       325 
     | 
    
         
            -
                      style =  
     | 
| 
       326 
     | 
    
         
            -
                      search =  
     | 
| 
       327 
     | 
    
         
            -
                      tmenuCode =  
     | 
| 
       328 
     | 
    
         
            -
                      MenuCode =  
     | 
| 
       329 
     | 
    
         
            -
                      isHsyLoadFinish =  
     | 
| 
      
 345 
     | 
    
         
            +
                  var _ref5 = params || {},
         
     | 
| 
      
 346 
     | 
    
         
            +
                      app = _ref5.app,
         
     | 
| 
      
 347 
     | 
    
         
            +
                      title = _ref5.title,
         
     | 
| 
      
 348 
     | 
    
         
            +
                      style = _ref5.style,
         
     | 
| 
      
 349 
     | 
    
         
            +
                      search = _ref5.search,
         
     | 
| 
      
 350 
     | 
    
         
            +
                      tmenuCode = _ref5.tmenuCode,
         
     | 
| 
      
 351 
     | 
    
         
            +
                      MenuCode = _ref5.MenuCode,
         
     | 
| 
      
 352 
     | 
    
         
            +
                      isHsyLoadFinish = _ref5.isHsyLoadFinish;
         
     | 
| 
       330 
353 
     | 
    
         | 
| 
       331 
354 
     | 
    
         
             
                  switch (app) {
         
     | 
| 
       332 
355 
     | 
    
         
             
                    case 'cc':
         
     | 
| 
       333 
356 
     | 
    
         
             
                      var sh = '';
         
     | 
| 
       334 
     | 
    
         
            -
                      if (!isHsyLoadFinish 
     | 
| 
      
 357 
     | 
    
         
            +
                      if (!isHsyLoadFinish) {
         
     | 
| 
       335 
358 
     | 
    
         
             
                        return _tplusComponentsTouch.Message.warn('正在加载资源中,请稍后。');
         
     | 
| 
       336 
359 
     | 
    
         
             
                      }
         
     | 
| 
       337 
360 
     | 
    
         
             
                      if (!search) {
         
     | 
| 
         @@ -385,8 +408,8 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       385 
408 
     | 
    
         
             
                };
         
     | 
| 
       386 
409 
     | 
    
         | 
| 
       387 
410 
     | 
    
         
             
                _this.toTplusPage = function () {
         
     | 
| 
       388 
     | 
    
         
            -
                  var  
     | 
| 
       389 
     | 
    
         
            -
                    var ret,  
     | 
| 
      
 411 
     | 
    
         
            +
                  var _ref6 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(tmenuCode, search) {
         
     | 
| 
      
 412 
     | 
    
         
            +
                    var ret, _ref7, ossjumpUrl, postMessageUrl, dsearchPlanID, portalStore, menu, external_frame_tc, win, loadTcURL;
         
     | 
| 
       390 
413 
     | 
    
         | 
| 
       391 
414 
     | 
    
         
             
                    return _regenerator2.default.wrap(function _callee$(_context) {
         
     | 
| 
       392 
415 
     | 
    
         
             
                      while (1) {
         
     | 
| 
         @@ -402,7 +425,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       402 
425 
     | 
    
         
             
                            return _context.abrupt('return');
         
     | 
| 
       403 
426 
     | 
    
         | 
| 
       404 
427 
     | 
    
         
             
                          case 3:
         
     | 
| 
       405 
     | 
    
         
            -
                             
     | 
| 
      
 428 
     | 
    
         
            +
                            _ref7 = ret || {}, ossjumpUrl = _ref7.ossjumpUrl, postMessageUrl = _ref7.postMessageUrl;
         
     | 
| 
       406 
429 
     | 
    
         
             
                            dsearchPlanID = '';
         
     | 
| 
       407 
430 
     | 
    
         | 
| 
       408 
431 
     | 
    
         
             
                            if (!(search && search.id)) {
         
     | 
| 
         @@ -424,26 +447,17 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       424 
447 
     | 
    
         
             
                            if (dsearchPlanID) {
         
     | 
| 
       425 
448 
     | 
    
         
             
                              ossjumpUrl += '&searchPlanID=' + _this.tplusEncode(dsearchPlanID);
         
     | 
| 
       426 
449 
     | 
    
         
             
                            }
         
     | 
| 
      
 450 
     | 
    
         
            +
                            //对于专属云、云主机,如果配置的http,存在跨域问题,暂时解决不了,只能通过打开默认浏览器打开。
         
     | 
| 
       427 
451 
     | 
    
         | 
| 
       428 
     | 
    
         
            -
                            if (!_this. 
     | 
| 
       429 
     | 
    
         
            -
                              _context.next =  
     | 
| 
       430 
     | 
    
         
            -
                              break;
         
     | 
| 
       431 
     | 
    
         
            -
                            }
         
     | 
| 
       432 
     | 
    
         
            -
             
     | 
| 
       433 
     | 
    
         
            -
                            window.android_CommonFun.openWebUrlByOutBrowser(ossjumpUrl);
         
     | 
| 
       434 
     | 
    
         
            -
                            _context.next = 25;
         
     | 
| 
       435 
     | 
    
         
            -
                            break;
         
     | 
| 
       436 
     | 
    
         
            -
             
     | 
| 
       437 
     | 
    
         
            -
                          case 17:
         
     | 
| 
       438 
     | 
    
         
            -
                            if (!(_this.hasElectron === true && (postMessageUrl + '').indexOf('https') == -1 && (_this.new_retail_app == 'tczsy' || _this.new_retail_app == 'tcyzj'))) {
         
     | 
| 
       439 
     | 
    
         
            -
                              _context.next = 20;
         
     | 
| 
      
 452 
     | 
    
         
            +
                            if (!((postMessageUrl + '').indexOf('https') == -1 && (_this.new_retail_app == 'tczsy' || _this.new_retail_app == 'tcyzj'))) {
         
     | 
| 
      
 453 
     | 
    
         
            +
                              _context.next = 16;
         
     | 
| 
       440 
454 
     | 
    
         
             
                              break;
         
     | 
| 
       441 
455 
     | 
    
         
             
                            }
         
     | 
| 
       442 
456 
     | 
    
         | 
| 
       443 
457 
     | 
    
         
             
                            _mutantsMicrofx.nativeMs.useDefaultBrowser(ossjumpUrl);
         
     | 
| 
       444 
458 
     | 
    
         
             
                            return _context.abrupt('return');
         
     | 
| 
       445 
459 
     | 
    
         | 
| 
       446 
     | 
    
         
            -
                          case  
     | 
| 
      
 460 
     | 
    
         
            +
                          case 16:
         
     | 
| 
       447 
461 
     | 
    
         
             
                            external_frame_tc = document.getElementById('external-frame-tc');
         
     | 
| 
       448 
462 
     | 
    
         
             
                            win = external_frame_tc.contentWindow;
         
     | 
| 
       449 
463 
     | 
    
         
             
                            loadTcURL = _this.state.loadTcURL;
         
     | 
| 
         @@ -462,7 +476,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       462 
476 
     | 
    
         
             
                              }
         
     | 
| 
       463 
477 
     | 
    
         
             
                            });
         
     | 
| 
       464 
478 
     | 
    
         | 
| 
       465 
     | 
    
         
            -
                          case  
     | 
| 
      
 479 
     | 
    
         
            +
                          case 21:
         
     | 
| 
       466 
480 
     | 
    
         
             
                          case 'end':
         
     | 
| 
       467 
481 
     | 
    
         
             
                            return _context.stop();
         
     | 
| 
       468 
482 
     | 
    
         
             
                        }
         
     | 
| 
         @@ -471,139 +485,160 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       471 
485 
     | 
    
         
             
                  }));
         
     | 
| 
       472 
486 
     | 
    
         | 
| 
       473 
487 
     | 
    
         
             
                  return function (_x2, _x3) {
         
     | 
| 
       474 
     | 
    
         
            -
                    return  
     | 
| 
      
 488 
     | 
    
         
            +
                    return _ref6.apply(this, arguments);
         
     | 
| 
       475 
489 
     | 
    
         
             
                  };
         
     | 
| 
       476 
490 
     | 
    
         
             
                }();
         
     | 
| 
       477 
491 
     | 
    
         | 
| 
       478 
     | 
    
         
            -
                _this.toHsyPage = function () {
         
     | 
| 
       479 
     | 
    
         
            -
                  var  
     | 
| 
       480 
     | 
    
         
            -
             
     | 
| 
       481 
     | 
    
         
            -
             
     | 
| 
       482 
     | 
    
         
            -
             
     | 
| 
       483 
     | 
    
         
            -
                       
     | 
| 
       484 
     | 
    
         
            -
             
     | 
| 
       485 
     | 
    
         
            -
             
     | 
| 
       486 
     | 
    
         
            -
             
     | 
| 
       487 
     | 
    
         
            -
             
     | 
| 
       488 
     | 
    
         
            -
             
     | 
| 
       489 
     | 
    
         
            -
             
     | 
| 
       490 
     | 
    
         
            -
             
     | 
| 
       491 
     | 
    
         
            -
             
     | 
| 
       492 
     | 
    
         
            -
             
     | 
| 
       493 
     | 
    
         
            -
             
     | 
| 
       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 
     | 
    
         
            -
             
     | 
| 
      
 492 
     | 
    
         
            +
                _this.toHsyPage = function (params) {
         
     | 
| 
      
 493 
     | 
    
         
            +
                  var content_only = params.content_only,
         
     | 
| 
      
 494 
     | 
    
         
            +
                      bar_bg = params.bar_bg,
         
     | 
| 
      
 495 
     | 
    
         
            +
                      bar_active_bg = params.bar_active_bg,
         
     | 
| 
      
 496 
     | 
    
         
            +
                      menu = params.menu,
         
     | 
| 
      
 497 
     | 
    
         
            +
                      secondRouter = params.secondRouter,
         
     | 
| 
      
 498 
     | 
    
         
            +
                      activePrompt = params.activePrompt,
         
     | 
| 
      
 499 
     | 
    
         
            +
                      closePrompt = params.closePrompt,
         
     | 
| 
      
 500 
     | 
    
         
            +
                      closeable = params.closeable,
         
     | 
| 
      
 501 
     | 
    
         
            +
                      leavePrompt = params.leavePrompt,
         
     | 
| 
      
 502 
     | 
    
         
            +
                      lock = params.lock,
         
     | 
| 
      
 503 
     | 
    
         
            +
                      pageId = params.pageId,
         
     | 
| 
      
 504 
     | 
    
         
            +
                      pageParams = params.pageParams,
         
     | 
| 
      
 505 
     | 
    
         
            +
                      path = params.path,
         
     | 
| 
      
 506 
     | 
    
         
            +
                      tabId = params.tabId,
         
     | 
| 
      
 507 
     | 
    
         
            +
                      tabLabel = params.tabLabel,
         
     | 
| 
      
 508 
     | 
    
         
            +
                      pageType = params.pageType,
         
     | 
| 
      
 509 
     | 
    
         
            +
                      _k = params._k;
         
     | 
| 
      
 510 
     | 
    
         
            +
             
     | 
| 
      
 511 
     | 
    
         
            +
             
     | 
| 
      
 512 
     | 
    
         
            +
                  var filter = {};
         
     | 
| 
      
 513 
     | 
    
         
            +
                  //对仓库参数的处理
         
     | 
| 
      
 514 
     | 
    
         
            +
                  var IdWarehouse = (0, _tplusPoslogin.PosInitData)('IdWarehouse') || '';
         
     | 
| 
      
 515 
     | 
    
         
            +
                  var WarehouseName = (0, _tplusPoslogin.PosInitData)('WarehouseName') || '';
         
     | 
| 
      
 516 
     | 
    
         
            +
                  var IsPerformanceDistribution = (0, _tplusPoslogin.PosInitData)('PerformanceDistribution') === 'SHIPPER_STORE' || false;
         
     | 
| 
      
 517 
     | 
    
         
            +
             
     | 
| 
      
 518 
     | 
    
         
            +
                  var _ref8 = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('user') || {},
         
     | 
| 
      
 519 
     | 
    
         
            +
                      _ref8$loginInfo = _ref8.loginInfo,
         
     | 
| 
      
 520 
     | 
    
         
            +
                      _ref8$loginInfo$IdSto = _ref8$loginInfo.IdStore,
         
     | 
| 
      
 521 
     | 
    
         
            +
                      IdStore = _ref8$loginInfo$IdSto === undefined ? '' : _ref8$loginInfo$IdSto,
         
     | 
| 
      
 522 
     | 
    
         
            +
                      _ref8$loginInfo$PosId = _ref8$loginInfo.PosId,
         
     | 
| 
      
 523 
     | 
    
         
            +
                      PosId = _ref8$loginInfo$PosId === undefined ? '' : _ref8$loginInfo$PosId,
         
     | 
| 
      
 524 
     | 
    
         
            +
                      _ref8$store = _ref8.store;
         
     | 
| 
      
 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
         
     | 
| 
       525 
554 
     | 
    
         
             
                            }
         
     | 
| 
       526 
     | 
    
         
            -
             
     | 
| 
       527 
     | 
    
         
            -
             
     | 
| 
       528 
     | 
    
         
            -
             
     | 
| 
       529 
     | 
    
         
            -
             
     | 
| 
       530 
     | 
    
         
            -
             
     | 
| 
       531 
     | 
    
         
            -
             
     | 
| 
       532 
     | 
    
         
            -
             
     | 
| 
       533 
     | 
    
         
            -
             
     | 
| 
       534 
     | 
    
         
            -
             
     | 
| 
       535 
     | 
    
         
            -
             
     | 
| 
       536 
     | 
    
         
            -
             
     | 
| 
       537 
     | 
    
         
            -
             
     | 
| 
       538 
     | 
    
         
            -
             
     | 
| 
       539 
     | 
    
         
            -
             
     | 
| 
       540 
     | 
    
         
            -
             
     | 
| 
       541 
     | 
    
         
            -
             
     | 
| 
       542 
     | 
    
         
            -
             
     | 
| 
      
 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
         
     | 
| 
       543 
583 
     | 
    
         
             
                              }
         
     | 
| 
       544 
     | 
    
         
            -
                            } 
     | 
| 
       545 
     | 
    
         
            -
                             
     | 
| 
       546 
     | 
    
         
            -
             
     | 
| 
       547 
     | 
    
         
            -
             
     | 
| 
       548 
     | 
    
         
            -
             
     | 
| 
       549 
     | 
    
         
            -
             
     | 
| 
       550 
     | 
    
         
            -
                            menu = secondRouter ? menu + '/' + _this.randomWord(true, 13) : menu;
         
     | 
| 
       551 
     | 
    
         
            -
                            pageId = menu;
         
     | 
| 
       552 
     | 
    
         
            -
                            pageParams = (0, _assign2.default)(pageParams, filter);
         
     | 
| 
       553 
     | 
    
         
            -
                            path = encodeURIComponent(path);
         
     | 
| 
       554 
     | 
    
         
            -
                            _k = _this.randomWord(false, 6);
         
     | 
| 
       555 
     | 
    
         
            -
             
     | 
| 
       556 
     | 
    
         
            -
                            commonArgs = '?posid=' + PosId + '&content_only=' + content_only + '&bar_bg=' + bar_bg + '&bar_active_bg=' + bar_active_bg;
         
     | 
| 
       557 
     | 
    
         
            -
                            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;
         
     | 
| 
       558 
     | 
    
         
            -
                            cc_url = _this.hsy_domain.replace('#/', '') + commonArgs + actionUrl;
         
     | 
| 
       559 
     | 
    
         
            -
             
     | 
| 
       560 
     | 
    
         
            -
                            console.log('web_hsy_url:', cc_url);
         
     | 
| 
       561 
     | 
    
         
            -
             
     | 
| 
       562 
     | 
    
         
            -
                            if (!_this.isHorizontalSunMi) {
         
     | 
| 
       563 
     | 
    
         
            -
                              _context2.next = 34;
         
     | 
| 
       564 
     | 
    
         
            -
                              break;
         
     | 
| 
      
 584 
     | 
    
         
            +
                            },
         
     | 
| 
      
 585 
     | 
    
         
            +
                            warehouseId: {
         
     | 
| 
      
 586 
     | 
    
         
            +
                              value: [{
         
     | 
| 
      
 587 
     | 
    
         
            +
                                id: IdWarehouse,
         
     | 
| 
      
 588 
     | 
    
         
            +
                                name: WarehouseName
         
     | 
| 
      
 589 
     | 
    
         
            +
                              }]
         
     | 
| 
       565 
590 
     | 
    
         
             
                            }
         
     | 
| 
       566 
     | 
    
         
            -
             
     | 
| 
       567 
     | 
    
         
            -
             
     | 
| 
       568 
     | 
    
         
            -
             
     | 
| 
       569 
     | 
    
         
            -
             
     | 
| 
       570 
     | 
    
         
            -
             
     | 
| 
       571 
     | 
    
         
            -
             
     | 
| 
       572 
     | 
    
         
            -
             
     | 
| 
       573 
     | 
    
         
            -
                             
     | 
| 
       574 
     | 
    
         
            -
             
     | 
| 
       575 
     | 
    
         
            -
             
     | 
| 
       576 
     | 
    
         
            -
             
     | 
| 
       577 
     | 
    
         
            -
             
     | 
| 
       578 
     | 
    
         
            -
                          case 34:
         
     | 
| 
       579 
     | 
    
         
            -
                            external_frame = document.getElementById('external-frame-cc');
         
     | 
| 
       580 
     | 
    
         
            -
                            win = external_frame.contentWindow;
         
     | 
| 
       581 
     | 
    
         
            -
             
     | 
| 
       582 
     | 
    
         
            -
                            win && win.HsyRouterJump && win.HsyRouterJump(pageId, pageParams, { closeable: closeable, tabLabel: tabLabel });
         
     | 
| 
       583 
     | 
    
         
            -
                            _this.setState({ loadHsyPage: true });
         
     | 
| 
       584 
     | 
    
         
            -
                            rx$.changeHsy.next({
         
     | 
| 
       585 
     | 
    
         
            -
                              back: true, fn: function fn() {
         
     | 
| 
       586 
     | 
    
         
            -
                                _this.setState({ loadHsyPage: false });
         
     | 
| 
       587 
     | 
    
         
            -
                                rx$.changeHsy.next({ back: false });
         
     | 
| 
       588 
     | 
    
         
            -
                                // 在打开页签之前,关闭之前的。
         
     | 
| 
       589 
     | 
    
         
            -
                                var external_frame_a = document.getElementById('external-frame-cc');
         
     | 
| 
       590 
     | 
    
         
            -
                                var wins = external_frame_a.contentWindow;
         
     | 
| 
       591 
     | 
    
         
            -
                                wins && wins.HsyRouterClean && win.HsyRouterClean();
         
     | 
| 
      
 591 
     | 
    
         
            +
                          }
         
     | 
| 
      
 592 
     | 
    
         
            +
                        };
         
     | 
| 
      
 593 
     | 
    
         
            +
                      }
         
     | 
| 
      
 594 
     | 
    
         
            +
                      // 售后、配送
         
     | 
| 
      
 595 
     | 
    
         
            +
                      if (menu == 'return-order' || menu == 'order-manage') {
         
     | 
| 
      
 596 
     | 
    
         
            +
                        filter = {
         
     | 
| 
      
 597 
     | 
    
         
            +
                          filterValue: {
         
     | 
| 
      
 598 
     | 
    
         
            +
                            storeId: {
         
     | 
| 
      
 599 
     | 
    
         
            +
                              value: {
         
     | 
| 
      
 600 
     | 
    
         
            +
                                id: IdStore,
         
     | 
| 
      
 601 
     | 
    
         
            +
                                storeName: storeName
         
     | 
| 
       592 
602 
     | 
    
         
             
                              }
         
     | 
| 
       593 
     | 
    
         
            -
                            } 
     | 
| 
       594 
     | 
    
         
            -
             
     | 
| 
       595 
     | 
    
         
            -
             
     | 
| 
       596 
     | 
    
         
            -
             
     | 
| 
       597 
     | 
    
         
            -
             
     | 
| 
       598 
     | 
    
         
            -
             
     | 
| 
      
 603 
     | 
    
         
            +
                            },
         
     | 
| 
      
 604 
     | 
    
         
            +
                            deliveryWarehouseId: {
         
     | 
| 
      
 605 
     | 
    
         
            +
                              value: [{
         
     | 
| 
      
 606 
     | 
    
         
            +
                                id: IdWarehouse,
         
     | 
| 
      
 607 
     | 
    
         
            +
                                name: WarehouseName
         
     | 
| 
      
 608 
     | 
    
         
            +
                              }]
         
     | 
| 
      
 609 
     | 
    
         
            +
                            }
         
     | 
| 
      
 610 
     | 
    
         
            +
                          }
         
     | 
| 
      
 611 
     | 
    
         
            +
                        };
         
     | 
| 
       599 
612 
     | 
    
         
             
                      }
         
     | 
| 
       600 
     | 
    
         
            -
             
     | 
| 
       601 
     | 
    
         
            -
                  } 
     | 
| 
       602 
     | 
    
         
            -
             
     | 
| 
       603 
     | 
    
         
            -
                   
     | 
| 
       604 
     | 
    
         
            -
             
     | 
| 
       605 
     | 
    
         
            -
                   
     | 
| 
       606 
     | 
    
         
            -
             
     | 
| 
      
 613 
     | 
    
         
            +
                      break;
         
     | 
| 
      
 614 
     | 
    
         
            +
                  }
         
     | 
| 
      
 615 
     | 
    
         
            +
                  bar_bg = encodeURIComponent(bar_bg);
         
     | 
| 
      
 616 
     | 
    
         
            +
                  bar_active_bg = encodeURIComponent(bar_active_bg);
         
     | 
| 
      
 617 
     | 
    
         
            +
                  menu = secondRouter ? menu + '/' + _this.randomWord(true, 13) : menu;
         
     | 
| 
      
 618 
     | 
    
         
            +
                  pageId = menu;
         
     | 
| 
      
 619 
     | 
    
         
            +
                  pageParams = (0, _assign2.default)(pageParams, filter);
         
     | 
| 
      
 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 
     | 
    
         
            +
                };
         
     | 
| 
       607 
642 
     | 
    
         | 
| 
       608 
643 
     | 
    
         
             
                _this.randomWord = function (only, digits) {
         
     | 
| 
       609 
644 
     | 
    
         
             
                  var str = "";
         
     | 
| 
         @@ -946,13 +981,13 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       946 
981 
     | 
    
         
             
                value: function componentWillMount() {
         
     | 
| 
       947 
982 
     | 
    
         
             
                  var _this3 = this;
         
     | 
| 
       948 
983 
     | 
    
         | 
| 
       949 
     | 
    
         
            -
                  var  
     | 
| 
       950 
     | 
    
         
            -
                       
     | 
| 
       951 
     | 
    
         
            -
                   
     | 
| 
       952 
     | 
    
         
            -
                  var portalStore =  
     | 
| 
       953 
     | 
    
         
            -
                       
     | 
| 
       954 
     | 
    
         
            -
                   
     | 
| 
       955 
     | 
    
         
            -
                  var addClass =  
     | 
| 
      
 984 
     | 
    
         
            +
                  var _context2 = this.context,
         
     | 
| 
      
 985 
     | 
    
         
            +
                      _context2$stores = _context2.stores;
         
     | 
| 
      
 986 
     | 
    
         
            +
                  _context2$stores = _context2$stores === undefined ? {} : _context2$stores;
         
     | 
| 
      
 987 
     | 
    
         
            +
                  var portalStore = _context2$stores.portalStore,
         
     | 
| 
      
 988 
     | 
    
         
            +
                      _context2$headHook = _context2.headHook;
         
     | 
| 
      
 989 
     | 
    
         
            +
                  _context2$headHook = _context2$headHook === undefined ? {} : _context2$headHook;
         
     | 
| 
      
 990 
     | 
    
         
            +
                  var addClass = _context2$headHook.addClass;
         
     | 
| 
       956 
991 
     | 
    
         
             
                  var homeOperation = _ModifyPassApi.Request.homeOperation,
         
     | 
| 
       957 
992 
     | 
    
         
             
                      functionData = _ModifyPassApi.Request.functionData;
         
     | 
| 
       958 
993 
     | 
    
         |