tplus-portaltouch 3.22.5 → 3.22.9
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 +1 -1
 - package/dist/api/ModifyPassApi.js.map +1 -1
 - package/dist/components/header/headContent.js +495 -38
 - package/dist/components/header/headContent.js.map +1 -1
 - package/dist/components/header/offlinePointDesc.js +7 -0
 - package/dist/components/header/offlinePointDesc.js.map +1 -0
 - package/dist/components/header/style.less +106 -1
 - package/dist/components/header/uploadList.js +269 -0
 - package/dist/components/header/uploadList.js.map +1 -0
 - package/dist/containers/Main/index.js +19 -12
 - package/dist/containers/Main/index.js.map +1 -1
 - package/dist/pages/Portalbc/data.js +4 -4
 - package/dist/pages/Portalbc/data.js.map +1 -1
 - package/dist/pages/Portalbc/index.js +219 -126
 - package/dist/pages/Portalbc/index.js.map +1 -1
 - package/dist/pages/Portalbc/index.less +4 -0
 - package/package.json +37 -37
 
| 
         @@ -5,29 +5,29 @@ Object.defineProperty(exports, "__esModule", { 
     | 
|
| 
       5 
5 
     | 
    
         
             
            });
         
     | 
| 
       6 
6 
     | 
    
         
             
            exports.default = undefined;
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
            var _stringify = require('babel-runtime/core-js/json/stringify');
         
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
            var _stringify2 = _interopRequireDefault(_stringify);
         
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
8 
     | 
    
         
             
            var _assign = require('babel-runtime/core-js/object/assign');
         
     | 
| 
       13 
9 
     | 
    
         | 
| 
       14 
10 
     | 
    
         
             
            var _assign2 = _interopRequireDefault(_assign);
         
     | 
| 
       15 
11 
     | 
    
         | 
| 
       16 
     | 
    
         
            -
            var  
     | 
| 
      
 12 
     | 
    
         
            +
            var _extends2 = require('babel-runtime/helpers/extends');
         
     | 
| 
       17 
13 
     | 
    
         | 
| 
       18 
     | 
    
         
            -
            var  
     | 
| 
      
 14 
     | 
    
         
            +
            var _extends3 = _interopRequireDefault(_extends2);
         
     | 
| 
       19 
15 
     | 
    
         | 
| 
       20 
     | 
    
         
            -
            var  
     | 
| 
      
 16 
     | 
    
         
            +
            var _stringify = require('babel-runtime/core-js/json/stringify');
         
     | 
| 
       21 
17 
     | 
    
         | 
| 
       22 
     | 
    
         
            -
            var  
     | 
| 
      
 18 
     | 
    
         
            +
            var _stringify2 = _interopRequireDefault(_stringify);
         
     | 
| 
       23 
19 
     | 
    
         | 
| 
       24 
20 
     | 
    
         
             
            var _promise = require('babel-runtime/core-js/promise');
         
     | 
| 
       25 
21 
     | 
    
         | 
| 
       26 
22 
     | 
    
         
             
            var _promise2 = _interopRequireDefault(_promise);
         
     | 
| 
       27 
23 
     | 
    
         | 
| 
       28 
     | 
    
         
            -
            var  
     | 
| 
      
 24 
     | 
    
         
            +
            var _regenerator = require('babel-runtime/regenerator');
         
     | 
| 
       29 
25 
     | 
    
         | 
| 
       30 
     | 
    
         
            -
            var  
     | 
| 
      
 26 
     | 
    
         
            +
            var _regenerator2 = _interopRequireDefault(_regenerator);
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
            var _asyncToGenerator2 = require('babel-runtime/helpers/asyncToGenerator');
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            var _asyncToGenerator3 = _interopRequireDefault(_asyncToGenerator2);
         
     | 
| 
       31 
31 
     | 
    
         | 
| 
       32 
32 
     | 
    
         
             
            var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');
         
     | 
| 
       33 
33 
     | 
    
         | 
| 
         @@ -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: 2021- 
     | 
| 
      
 55 
     | 
    
         
            +
                                         * @LastEditTime: 2021-09-27 19:05:04
         
     | 
| 
       56 
56 
     | 
    
         
             
                                         * @LastEditors: chenlongad
         
     | 
| 
       57 
57 
     | 
    
         
             
                                         * @modify:修改跳转到T+的查询方案方式
         
     | 
| 
       58 
58 
     | 
    
         
             
                                         */
         
     | 
| 
         @@ -121,6 +121,105 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       121 
121 
     | 
    
         | 
| 
       122 
122 
     | 
    
         
             
                var _this = (0, _possibleConstructorReturn3.default)(this, (_default.__proto__ || (0, _getPrototypeOf2.default)(_default)).call(this, props));
         
     | 
| 
       123 
123 
     | 
    
         | 
| 
      
 124 
     | 
    
         
            +
                _this.catchOfflineData = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee() {
         
     | 
| 
      
 125 
     | 
    
         
            +
                  var offlineSys, isLoginAfter, downloadCatcherDay, currentDay, downProgress, result;
         
     | 
| 
      
 126 
     | 
    
         
            +
                  return _regenerator2.default.wrap(function _callee$(_context) {
         
     | 
| 
      
 127 
     | 
    
         
            +
                    while (1) {
         
     | 
| 
      
 128 
     | 
    
         
            +
                      switch (_context.prev = _context.next) {
         
     | 
| 
      
 129 
     | 
    
         
            +
                        case 0:
         
     | 
| 
      
 130 
     | 
    
         
            +
                          offlineSys = _this.context.stores.offlineSys;
         
     | 
| 
      
 131 
     | 
    
         
            +
                          isLoginAfter = _mutantsMicrofx.localStore.get("isLoginAfter");
         
     | 
| 
      
 132 
     | 
    
         
            +
                          downloadCatcherDay = _mutantsMicrofx.localStore.get("downloadCatcherDay");
         
     | 
| 
      
 133 
     | 
    
         
            +
                          currentDay = Math.ceil(new Date() / 1000 / 60 / 60 / 24);
         
     | 
| 
      
 134 
     | 
    
         
            +
             
     | 
| 
      
 135 
     | 
    
         
            +
                          if (!(isLoginAfter == 1)) {
         
     | 
| 
      
 136 
     | 
    
         
            +
                            _context.next = 14;
         
     | 
| 
      
 137 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 138 
     | 
    
         
            +
                          }
         
     | 
| 
      
 139 
     | 
    
         
            +
             
     | 
| 
      
 140 
     | 
    
         
            +
                          if (!(!downloadCatcherDay || currentDay > downloadCatcherDay)) {
         
     | 
| 
      
 141 
     | 
    
         
            +
                            _context.next = 13;
         
     | 
| 
      
 142 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 143 
     | 
    
         
            +
                          }
         
     | 
| 
      
 144 
     | 
    
         
            +
             
     | 
| 
      
 145 
     | 
    
         
            +
                          downProgress = function downProgress(params) {
         
     | 
| 
      
 146 
     | 
    
         
            +
                            _tplusComponentsTouch.Loading.transfer(params);
         
     | 
| 
      
 147 
     | 
    
         
            +
                          };
         
     | 
| 
      
 148 
     | 
    
         
            +
             
     | 
| 
      
 149 
     | 
    
         
            +
                          _tplusComponentsTouch.Loading.show({
         
     | 
| 
      
 150 
     | 
    
         
            +
                            text: '离线数据下载中',
         
     | 
| 
      
 151 
     | 
    
         
            +
                            delay: 0,
         
     | 
| 
      
 152 
     | 
    
         
            +
                            showProgress: true
         
     | 
| 
      
 153 
     | 
    
         
            +
                          });
         
     | 
| 
      
 154 
     | 
    
         
            +
                          _context.next = 10;
         
     | 
| 
      
 155 
     | 
    
         
            +
                          return offlineSys.downloadCatcherData(downProgress);
         
     | 
| 
      
 156 
     | 
    
         
            +
             
     | 
| 
      
 157 
     | 
    
         
            +
                        case 10:
         
     | 
| 
      
 158 
     | 
    
         
            +
                          result = _context.sent;
         
     | 
| 
      
 159 
     | 
    
         
            +
             
     | 
| 
      
 160 
     | 
    
         
            +
                          _tplusComponentsTouch.Loading.hide();
         
     | 
| 
      
 161 
     | 
    
         
            +
                          if (result) {
         
     | 
| 
      
 162 
     | 
    
         
            +
                            _mutantsMicrofx.localStore.set("downloadCatcherDay", currentDay);
         
     | 
| 
      
 163 
     | 
    
         
            +
                          }
         
     | 
| 
      
 164 
     | 
    
         
            +
             
     | 
| 
      
 165 
     | 
    
         
            +
                        case 13:
         
     | 
| 
      
 166 
     | 
    
         
            +
                          _mutantsMicrofx.localStore.set("isLoginAfter", 0);
         
     | 
| 
      
 167 
     | 
    
         
            +
             
     | 
| 
      
 168 
     | 
    
         
            +
                        case 14:
         
     | 
| 
      
 169 
     | 
    
         
            +
                        case 'end':
         
     | 
| 
      
 170 
     | 
    
         
            +
                          return _context.stop();
         
     | 
| 
      
 171 
     | 
    
         
            +
                      }
         
     | 
| 
      
 172 
     | 
    
         
            +
                    }
         
     | 
| 
      
 173 
     | 
    
         
            +
                  }, _callee, _this2);
         
     | 
| 
      
 174 
     | 
    
         
            +
                }));
         
     | 
| 
      
 175 
     | 
    
         
            +
             
     | 
| 
      
 176 
     | 
    
         
            +
                _this.getOperation = function () {
         
     | 
| 
      
 177 
     | 
    
         
            +
                  return new _promise2.default(function (resolve, reject) {
         
     | 
| 
      
 178 
     | 
    
         
            +
                    var _this$context = _this.context,
         
     | 
| 
      
 179 
     | 
    
         
            +
                        _this$context$stores = _this$context.stores;
         
     | 
| 
      
 180 
     | 
    
         
            +
                    _this$context$stores = _this$context$stores === undefined ? {} : _this$context$stores;
         
     | 
| 
      
 181 
     | 
    
         
            +
                    var portalStore = _this$context$stores.portalStore,
         
     | 
| 
      
 182 
     | 
    
         
            +
                        _this$context$headHoo = _this$context.headHook;
         
     | 
| 
      
 183 
     | 
    
         
            +
                    _this$context$headHoo = _this$context$headHoo === undefined ? {} : _this$context$headHoo;
         
     | 
| 
      
 184 
     | 
    
         
            +
                    var addClass = _this$context$headHoo.addClass;
         
     | 
| 
      
 185 
     | 
    
         
            +
                    var homeOperation = _ModifyPassApi.Request.homeOperation,
         
     | 
| 
      
 186 
     | 
    
         
            +
                        functionData = _ModifyPassApi.Request.functionData;
         
     | 
| 
      
 187 
     | 
    
         
            +
             
     | 
| 
      
 188 
     | 
    
         
            +
                    _tplusComponentsTouch.Loading.show({
         
     | 
| 
      
 189 
     | 
    
         
            +
                      text: '首页权限加载中...',
         
     | 
| 
      
 190 
     | 
    
         
            +
                      delay: 2500
         
     | 
| 
      
 191 
     | 
    
         
            +
                    });
         
     | 
| 
      
 192 
     | 
    
         
            +
                    homeOperation().then(function (operations) {
         
     | 
| 
      
 193 
     | 
    
         
            +
                      _mutantsMicrofx.localStore.set('operationsAuth', (0, _stringify2.default)(operations));
         
     | 
| 
      
 194 
     | 
    
         
            +
                      _this.setState({ operations: operations || [] });
         
     | 
| 
      
 195 
     | 
    
         
            +
                      _tplusComponentsTouch.Loading.hide();
         
     | 
| 
      
 196 
     | 
    
         
            +
                      resolve();
         
     | 
| 
      
 197 
     | 
    
         
            +
                    }).catch(function (err) {
         
     | 
| 
      
 198 
     | 
    
         
            +
                      console.log('homeOperation.error======', err);
         
     | 
| 
      
 199 
     | 
    
         
            +
                      _tplusComponentsTouch.Loading.hide();
         
     | 
| 
      
 200 
     | 
    
         
            +
                      resolve();
         
     | 
| 
      
 201 
     | 
    
         
            +
                    });
         
     | 
| 
      
 202 
     | 
    
         
            +
                    functionData().then(function (data) {
         
     | 
| 
      
 203 
     | 
    
         
            +
                      // 加载权限数据  DR-29735 by majian
         
     | 
| 
      
 204 
     | 
    
         
            +
                      (0, _tplusPoslogin.PosSetData)(data);
         
     | 
| 
      
 205 
     | 
    
         
            +
                    });
         
     | 
| 
      
 206 
     | 
    
         
            +
                    // portalStore && portalStore.getPortalMenu();
         
     | 
| 
      
 207 
     | 
    
         
            +
                    addClass && addClass(_this.state.id, 'portalHead');
         
     | 
| 
      
 208 
     | 
    
         
            +
                    // 初始化参数设置。
         
     | 
| 
      
 209 
     | 
    
         
            +
                    _mutantsMicrofx.stores.setStore.initSetParams().then(function (ret) {
         
     | 
| 
      
 210 
     | 
    
         
            +
                      // 在客户端中,如果开启了副屏设置,尝试这打开副屏。
         
     | 
| 
      
 211 
     | 
    
         
            +
                      if (_this.getScreenType() === true) {
         
     | 
| 
      
 212 
     | 
    
         
            +
                        if (_this.isHorizontalSunMi) {
         
     | 
| 
      
 213 
     | 
    
         
            +
                          _this.sunMiPresentationInit(ret);
         
     | 
| 
      
 214 
     | 
    
         
            +
                          return;
         
     | 
| 
      
 215 
     | 
    
         
            +
                        }
         
     | 
| 
      
 216 
     | 
    
         
            +
                        window.open('vicescreen?ts=' + new Date().getTime(), 'screen');
         
     | 
| 
      
 217 
     | 
    
         
            +
                      }
         
     | 
| 
      
 218 
     | 
    
         
            +
                    });
         
     | 
| 
      
 219 
     | 
    
         
            +
                    _this.hsyBasicInfoInit();
         
     | 
| 
      
 220 
     | 
    
         
            +
                  });
         
     | 
| 
      
 221 
     | 
    
         
            +
                };
         
     | 
| 
      
 222 
     | 
    
         
            +
             
     | 
| 
       124 
223 
     | 
    
         
             
                _this.initHsyPage = function () {
         
     | 
| 
       125 
224 
     | 
    
         
             
                  var external_frame = document.getElementById('external-frame-cc');
         
     | 
| 
       126 
225 
     | 
    
         
             
                  var win = external_frame && external_frame.contentWindow;
         
     | 
| 
         @@ -138,12 +237,12 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       138 
237 
     | 
    
         
             
                  //SunMi初始化参数设置。
         
     | 
| 
       139 
238 
     | 
    
         
             
                  //副屏幕交互。硬件改动20200428   需要在商米页面加载成功后才能发送 初始化命令
         
     | 
| 
       140 
239 
     | 
    
         
             
                  // 进行主副屏数据交互 初始化
         
     | 
| 
       141 
     | 
    
         
            -
                  var  
     | 
| 
       142 
     | 
    
         
            -
                       
     | 
| 
      
 240 
     | 
    
         
            +
                  var _ref2 = _mutantsMicrofx.localStore.get('user') || {},
         
     | 
| 
      
 241 
     | 
    
         
            +
                      _ref2$store = _ref2.store;
         
     | 
| 
       143 
242 
     | 
    
         | 
| 
       144 
     | 
    
         
            -
                   
     | 
| 
       145 
     | 
    
         
            -
                  var  
     | 
| 
       146 
     | 
    
         
            -
                      storeName =  
     | 
| 
      
 243 
     | 
    
         
            +
                  _ref2$store = _ref2$store === undefined ? {} : _ref2$store;
         
     | 
| 
      
 244 
     | 
    
         
            +
                  var _ref2$store$storeName = _ref2$store.storeName,
         
     | 
| 
      
 245 
     | 
    
         
            +
                      storeName = _ref2$store$storeName === undefined ? '' : _ref2$store$storeName;
         
     | 
| 
       147 
246 
     | 
    
         | 
| 
       148 
247 
     | 
    
         
             
                  console.log(result);
         
     | 
| 
       149 
248 
     | 
    
         | 
| 
         @@ -187,11 +286,11 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       187 
286 
     | 
    
         | 
| 
       188 
287 
     | 
    
         
             
                  var loginInfo = user.options.get('loginInfo');
         
     | 
| 
       189 
288 
     | 
    
         | 
| 
       190 
     | 
    
         
            -
                  var  
     | 
| 
       191 
     | 
    
         
            -
                      UserCode =  
     | 
| 
       192 
     | 
    
         
            -
                      AccountNum =  
     | 
| 
       193 
     | 
    
         
            -
                      posCode =  
     | 
| 
       194 
     | 
    
         
            -
                      TplusStoreId =  
     | 
| 
      
 289 
     | 
    
         
            +
                  var _ref3 = loginInfo || {},
         
     | 
| 
      
 290 
     | 
    
         
            +
                      UserCode = _ref3.UserCode,
         
     | 
| 
      
 291 
     | 
    
         
            +
                      AccountNum = _ref3.AccountNum,
         
     | 
| 
      
 292 
     | 
    
         
            +
                      posCode = _ref3.posCode,
         
     | 
| 
      
 293 
     | 
    
         
            +
                      TplusStoreId = _ref3.TplusStoreId;
         
     | 
| 
       195 
294 
     | 
    
         | 
| 
       196 
295 
     | 
    
         
             
                  var uid = _this.tplusEncode(UserCode);
         
     | 
| 
       197 
296 
     | 
    
         
             
                  var pwd = _this.tplusEncode(user.options.get("password"));
         
     | 
| 
         @@ -243,11 +342,11 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       243 
342 
     | 
    
         
             
                    return vv.Name === Name;
         
     | 
| 
       244 
343 
     | 
    
         
             
                  });
         
     | 
| 
       245 
344 
     | 
    
         | 
| 
       246 
     | 
    
         
            -
                  var  
     | 
| 
       247 
     | 
    
         
            -
                      Visibility =  
     | 
| 
       248 
     | 
    
         
            -
                      HoldFunctionAuth =  
     | 
| 
       249 
     | 
    
         
            -
                      Title =  
     | 
| 
       250 
     | 
    
         
            -
                      MenuCode =  
     | 
| 
      
 345 
     | 
    
         
            +
                  var _ref4 = controllable || {},
         
     | 
| 
      
 346 
     | 
    
         
            +
                      Visibility = _ref4.Visibility,
         
     | 
| 
      
 347 
     | 
    
         
            +
                      HoldFunctionAuth = _ref4.HoldFunctionAuth,
         
     | 
| 
      
 348 
     | 
    
         
            +
                      Title = _ref4.Title,
         
     | 
| 
      
 349 
     | 
    
         
            +
                      MenuCode = _ref4.MenuCode;
         
     | 
| 
       251 
350 
     | 
    
         | 
| 
       252 
351 
     | 
    
         
             
                  var errorTip = void 0;
         
     | 
| 
       253 
352 
     | 
    
         
             
                  if (type == 'more') {
         
     | 
| 
         @@ -264,6 +363,12 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       264 
363 
     | 
    
         
             
                      okType: 'primary'
         
     | 
| 
       265 
364 
     | 
    
         
             
                    });
         
     | 
| 
       266 
365 
     | 
    
         
             
                  }
         
     | 
| 
      
 366 
     | 
    
         
            +
             
     | 
| 
      
 367 
     | 
    
         
            +
                  if (!_mutantsMicrofx.stores.offlineSys.shouldOpenHomeOperation(Name)) {
         
     | 
| 
      
 368 
     | 
    
         
            +
                    _tplusComponentsTouch.Message.warn("离线模式下此操作不可用");
         
     | 
| 
      
 369 
     | 
    
         
            +
                    return;
         
     | 
| 
      
 370 
     | 
    
         
            +
                  }
         
     | 
| 
      
 371 
     | 
    
         
            +
             
     | 
| 
       267 
372 
     | 
    
         
             
                  if (!Visibility) {
         
     | 
| 
       268 
373 
     | 
    
         
             
                    errorTip = '\u60A8\u7684 ' + Title + ' \u6A21\u5757\u6CA1\u6709\u542F\u7528';
         
     | 
| 
       269 
374 
     | 
    
         
             
                  } else if (!HoldFunctionAuth) {
         
     | 
| 
         @@ -322,19 +427,23 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       322 
427 
     | 
    
         
             
                };
         
     | 
| 
       323 
428 
     | 
    
         | 
| 
       324 
429 
     | 
    
         
             
                _this.toFramePage = function (params) {
         
     | 
| 
       325 
     | 
    
         
            -
                  var  
     | 
| 
       326 
     | 
    
         
            -
                      app =  
     | 
| 
       327 
     | 
    
         
            -
                      title =  
     | 
| 
       328 
     | 
    
         
            -
                      style =  
     | 
| 
       329 
     | 
    
         
            -
                      search =  
     | 
| 
       330 
     | 
    
         
            -
                      tmenuCode =  
     | 
| 
       331 
     | 
    
         
            -
                      MenuCode =  
     | 
| 
       332 
     | 
    
         
            -
                      isHsyLoadFinish =  
     | 
| 
      
 430 
     | 
    
         
            +
                  var _ref5 = params || {},
         
     | 
| 
      
 431 
     | 
    
         
            +
                      app = _ref5.app,
         
     | 
| 
      
 432 
     | 
    
         
            +
                      title = _ref5.title,
         
     | 
| 
      
 433 
     | 
    
         
            +
                      style = _ref5.style,
         
     | 
| 
      
 434 
     | 
    
         
            +
                      search = _ref5.search,
         
     | 
| 
      
 435 
     | 
    
         
            +
                      tmenuCode = _ref5.tmenuCode,
         
     | 
| 
      
 436 
     | 
    
         
            +
                      MenuCode = _ref5.MenuCode,
         
     | 
| 
      
 437 
     | 
    
         
            +
                      isHsyLoadFinish = _ref5.isHsyLoadFinish;
         
     | 
| 
       333 
438 
     | 
    
         | 
| 
       334 
439 
     | 
    
         
             
                  switch (app) {
         
     | 
| 
       335 
440 
     | 
    
         
             
                    case 'cc':
         
     | 
| 
       336 
441 
     | 
    
         
             
                      var sh = '';
         
     | 
| 
       337 
     | 
    
         
            -
                      if ( 
     | 
| 
      
 442 
     | 
    
         
            +
                      if (_this.isMobileEnvironment) {
         
     | 
| 
      
 443 
     | 
    
         
            +
                        //暂时不支持android系统跳转
         
     | 
| 
      
 444 
     | 
    
         
            +
                        return _tplusComponentsTouch.Message.warn('新功能正在研发中,敬请期待。');
         
     | 
| 
      
 445 
     | 
    
         
            +
                      }
         
     | 
| 
      
 446 
     | 
    
         
            +
                      if (!isHsyLoadFinish) {
         
     | 
| 
       338 
447 
     | 
    
         
             
                        return _tplusComponentsTouch.Message.warn('正在加载资源中,请稍后。');
         
     | 
| 
       339 
448 
     | 
    
         
             
                      }
         
     | 
| 
       340 
449 
     | 
    
         
             
                      if (!search) {
         
     | 
| 
         @@ -388,37 +497,37 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       388 
497 
     | 
    
         
             
                };
         
     | 
| 
       389 
498 
     | 
    
         | 
| 
       390 
499 
     | 
    
         
             
                _this.toTplusPage = function () {
         
     | 
| 
       391 
     | 
    
         
            -
                  var  
     | 
| 
       392 
     | 
    
         
            -
                    var ret,  
     | 
| 
      
 500 
     | 
    
         
            +
                  var _ref6 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2(tmenuCode, search) {
         
     | 
| 
      
 501 
     | 
    
         
            +
                    var ret, _ref7, ossjumpUrl, postMessageUrl, dsearchPlanID, portalStore, menu, external_frame_tc, win, loadTcURL;
         
     | 
| 
       393 
502 
     | 
    
         | 
| 
       394 
     | 
    
         
            -
                    return _regenerator2.default.wrap(function  
     | 
| 
      
 503 
     | 
    
         
            +
                    return _regenerator2.default.wrap(function _callee2$(_context2) {
         
     | 
| 
       395 
504 
     | 
    
         
             
                      while (1) {
         
     | 
| 
       396 
     | 
    
         
            -
                        switch ( 
     | 
| 
      
 505 
     | 
    
         
            +
                        switch (_context2.prev = _context2.next) {
         
     | 
| 
       397 
506 
     | 
    
         
             
                          case 0:
         
     | 
| 
       398 
507 
     | 
    
         
             
                            ret = _this.getTcBasicInfoInit();
         
     | 
| 
       399 
508 
     | 
    
         | 
| 
       400 
509 
     | 
    
         
             
                            if (!(ret === false)) {
         
     | 
| 
       401 
     | 
    
         
            -
                               
     | 
| 
      
 510 
     | 
    
         
            +
                              _context2.next = 3;
         
     | 
| 
       402 
511 
     | 
    
         
             
                              break;
         
     | 
| 
       403 
512 
     | 
    
         
             
                            }
         
     | 
| 
       404 
513 
     | 
    
         | 
| 
       405 
     | 
    
         
            -
                            return  
     | 
| 
      
 514 
     | 
    
         
            +
                            return _context2.abrupt('return');
         
     | 
| 
       406 
515 
     | 
    
         | 
| 
       407 
516 
     | 
    
         
             
                          case 3:
         
     | 
| 
       408 
     | 
    
         
            -
                             
     | 
| 
      
 517 
     | 
    
         
            +
                            _ref7 = ret || {}, ossjumpUrl = _ref7.ossjumpUrl, postMessageUrl = _ref7.postMessageUrl;
         
     | 
| 
       409 
518 
     | 
    
         
             
                            dsearchPlanID = '';
         
     | 
| 
       410 
519 
     | 
    
         | 
| 
       411 
520 
     | 
    
         
             
                            if (!(search && search.id)) {
         
     | 
| 
       412 
     | 
    
         
            -
                               
     | 
| 
      
 521 
     | 
    
         
            +
                              _context2.next = 10;
         
     | 
| 
       413 
522 
     | 
    
         
             
                              break;
         
     | 
| 
       414 
523 
     | 
    
         
             
                            }
         
     | 
| 
       415 
524 
     | 
    
         | 
| 
       416 
525 
     | 
    
         
             
                            portalStore = _this.context.stores.portalStore;
         
     | 
| 
       417 
     | 
    
         
            -
                             
     | 
| 
      
 526 
     | 
    
         
            +
                            _context2.next = 9;
         
     | 
| 
       418 
527 
     | 
    
         
             
                            return portalStore.getSearchPlanId(search);
         
     | 
| 
       419 
528 
     | 
    
         | 
| 
       420 
529 
     | 
    
         
             
                          case 9:
         
     | 
| 
       421 
     | 
    
         
            -
                            dsearchPlanID =  
     | 
| 
      
 530 
     | 
    
         
            +
                            dsearchPlanID = _context2.sent;
         
     | 
| 
       422 
531 
     | 
    
         | 
| 
       423 
532 
     | 
    
         
             
                          case 10:
         
     | 
| 
       424 
533 
     | 
    
         
             
                            menu = _this.tplusEncode(tmenuCode);
         
     | 
| 
         @@ -429,22 +538,22 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       429 
538 
     | 
    
         
             
                            }
         
     | 
| 
       430 
539 
     | 
    
         | 
| 
       431 
540 
     | 
    
         
             
                            if (!_this.isHorizontalSunMi) {
         
     | 
| 
       432 
     | 
    
         
            -
                               
     | 
| 
      
 541 
     | 
    
         
            +
                              _context2.next = 17;
         
     | 
| 
       433 
542 
     | 
    
         
             
                              break;
         
     | 
| 
       434 
543 
     | 
    
         
             
                            }
         
     | 
| 
       435 
544 
     | 
    
         | 
| 
       436 
545 
     | 
    
         
             
                            window.android_CommonFun.openWebUrlByOutBrowser(ossjumpUrl);
         
     | 
| 
       437 
     | 
    
         
            -
                             
     | 
| 
      
 546 
     | 
    
         
            +
                            _context2.next = 25;
         
     | 
| 
       438 
547 
     | 
    
         
             
                            break;
         
     | 
| 
       439 
548 
     | 
    
         | 
| 
       440 
549 
     | 
    
         
             
                          case 17:
         
     | 
| 
       441 
550 
     | 
    
         
             
                            if (!(_this.new_retail_app == 'tc' || _this.new_retail_app == 'tczsy' || _this.new_retail_app == 'tcyzj')) {
         
     | 
| 
       442 
     | 
    
         
            -
                               
     | 
| 
      
 551 
     | 
    
         
            +
                              _context2.next = 20;
         
     | 
| 
       443 
552 
     | 
    
         
             
                              break;
         
     | 
| 
       444 
553 
     | 
    
         
             
                            }
         
     | 
| 
       445 
554 
     | 
    
         | 
| 
       446 
555 
     | 
    
         
             
                            _mutantsMicrofx.nativeMs.useDefaultBrowser(ossjumpUrl);
         
     | 
| 
       447 
     | 
    
         
            -
                            return  
     | 
| 
      
 556 
     | 
    
         
            +
                            return _context2.abrupt('return');
         
     | 
| 
       448 
557 
     | 
    
         | 
| 
       449 
558 
     | 
    
         
             
                          case 20:
         
     | 
| 
       450 
559 
     | 
    
         
             
                            external_frame_tc = document.getElementById('external-frame-tc');
         
     | 
| 
         @@ -467,24 +576,24 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       467 
576 
     | 
    
         | 
| 
       468 
577 
     | 
    
         
             
                          case 25:
         
     | 
| 
       469 
578 
     | 
    
         
             
                          case 'end':
         
     | 
| 
       470 
     | 
    
         
            -
                            return  
     | 
| 
      
 579 
     | 
    
         
            +
                            return _context2.stop();
         
     | 
| 
       471 
580 
     | 
    
         
             
                        }
         
     | 
| 
       472 
581 
     | 
    
         
             
                      }
         
     | 
| 
       473 
     | 
    
         
            -
                    },  
     | 
| 
      
 582 
     | 
    
         
            +
                    }, _callee2, _this2);
         
     | 
| 
       474 
583 
     | 
    
         
             
                  }));
         
     | 
| 
       475 
584 
     | 
    
         | 
| 
       476 
585 
     | 
    
         
             
                  return function (_x2, _x3) {
         
     | 
| 
       477 
     | 
    
         
            -
                    return  
     | 
| 
      
 586 
     | 
    
         
            +
                    return _ref6.apply(this, arguments);
         
     | 
| 
       478 
587 
     | 
    
         
             
                  };
         
     | 
| 
       479 
588 
     | 
    
         
             
                }();
         
     | 
| 
       480 
589 
     | 
    
         | 
| 
       481 
590 
     | 
    
         
             
                _this.toHsyPage = function () {
         
     | 
| 
       482 
     | 
    
         
            -
                  var  
     | 
| 
       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,  
     | 
| 
      
 591 
     | 
    
         
            +
                  var _ref8 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee3(params) {
         
     | 
| 
      
 592 
     | 
    
         
            +
                    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, _ref9, _ref9$loginInfo, _ref9$loginInfo$IdSto, IdStore, _ref9$loginInfo$PosId, PosId, _ref9$store, _ref9$store$storeName, storeName, commonArgs, actionUrl, cc_url, CC_WEB_URL, external_frame, win;
         
     | 
| 
       484 
593 
     | 
    
         | 
| 
       485 
     | 
    
         
            -
                    return _regenerator2.default.wrap(function  
     | 
| 
      
 594 
     | 
    
         
            +
                    return _regenerator2.default.wrap(function _callee3$(_context3) {
         
     | 
| 
       486 
595 
     | 
    
         
             
                      while (1) {
         
     | 
| 
       487 
     | 
    
         
            -
                        switch ( 
     | 
| 
      
 596 
     | 
    
         
            +
                        switch (_context3.prev = _context3.next) {
         
     | 
| 
       488 
597 
     | 
    
         
             
                          case 0:
         
     | 
| 
       489 
598 
     | 
    
         
             
                            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 
599 
     | 
    
         
             
                            filter = {};
         
     | 
| 
         @@ -493,11 +602,11 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       493 
602 
     | 
    
         
             
                            IdWarehouse = (0, _tplusPoslogin.PosInitData)('IdWarehouse') || '';
         
     | 
| 
       494 
603 
     | 
    
         
             
                            WarehouseName = (0, _tplusPoslogin.PosInitData)('WarehouseName') || '';
         
     | 
| 
       495 
604 
     | 
    
         
             
                            IsPerformanceDistribution = (0, _tplusPoslogin.PosInitData)('PerformanceDistribution') === 'SHIPPER_STORE' || false;
         
     | 
| 
       496 
     | 
    
         
            -
                             
     | 
| 
       497 
     | 
    
         
            -
                             
     | 
| 
       498 
     | 
    
         
            -
                             
     | 
| 
       499 
     | 
    
         
            -
                             
     | 
| 
       500 
     | 
    
         
            -
                             
     | 
| 
      
 605 
     | 
    
         
            +
                            _ref9 = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('user') || {}, _ref9$loginInfo = _ref9.loginInfo, _ref9$loginInfo$IdSto = _ref9$loginInfo.IdStore, IdStore = _ref9$loginInfo$IdSto === undefined ? '' : _ref9$loginInfo$IdSto, _ref9$loginInfo$PosId = _ref9$loginInfo.PosId, PosId = _ref9$loginInfo$PosId === undefined ? '' : _ref9$loginInfo$PosId, _ref9$store = _ref9.store;
         
     | 
| 
      
 606 
     | 
    
         
            +
                            _ref9$store = _ref9$store === undefined ? {} : _ref9$store;
         
     | 
| 
      
 607 
     | 
    
         
            +
                            _ref9$store$storeName = _ref9$store.storeName, storeName = _ref9$store$storeName === undefined ? '' : _ref9$store$storeName;
         
     | 
| 
      
 608 
     | 
    
         
            +
                            _context3.t0 = pageType;
         
     | 
| 
      
 609 
     | 
    
         
            +
                            _context3.next = _context3.t0 === 'voucher' ? 11 : _context3.t0 === 'report' ? 14 : 18;
         
     | 
| 
       501 
610 
     | 
    
         
             
                            break;
         
     | 
| 
       502 
611 
     | 
    
         | 
| 
       503 
612 
     | 
    
         
             
                          case 11:
         
     | 
| 
         @@ -527,7 +636,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       527 
636 
     | 
    
         
             
                                }
         
     | 
| 
       528 
637 
     | 
    
         
             
                              };
         
     | 
| 
       529 
638 
     | 
    
         
             
                            }
         
     | 
| 
       530 
     | 
    
         
            -
                            return  
     | 
| 
      
 639 
     | 
    
         
            +
                            return _context3.abrupt('break', 18);
         
     | 
| 
       531 
640 
     | 
    
         | 
| 
       532 
641 
     | 
    
         
             
                          case 14:
         
     | 
| 
       533 
642 
     | 
    
         
             
                            filter = {
         
     | 
| 
         @@ -583,7 +692,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       583 
692 
     | 
    
         
             
                                }
         
     | 
| 
       584 
693 
     | 
    
         
             
                              };
         
     | 
| 
       585 
694 
     | 
    
         
             
                            }
         
     | 
| 
       586 
     | 
    
         
            -
                            return  
     | 
| 
      
 695 
     | 
    
         
            +
                            return _context3.abrupt('break', 18);
         
     | 
| 
       587 
696 
     | 
    
         | 
| 
       588 
697 
     | 
    
         
             
                          case 18:
         
     | 
| 
       589 
698 
     | 
    
         
             
                            bar_bg = encodeURIComponent(bar_bg);
         
     | 
| 
         @@ -601,19 +710,19 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       601 
710 
     | 
    
         
             
                            console.log('web_hsy_url:', cc_url);
         
     | 
| 
       602 
711 
     | 
    
         | 
| 
       603 
712 
     | 
    
         
             
                            if (!_this.isHorizontalSunMi) {
         
     | 
| 
       604 
     | 
    
         
            -
                               
     | 
| 
      
 713 
     | 
    
         
            +
                              _context3.next = 37;
         
     | 
| 
       605 
714 
     | 
    
         
             
                              break;
         
     | 
| 
       606 
715 
     | 
    
         
             
                            }
         
     | 
| 
       607 
716 
     | 
    
         | 
| 
       608 
     | 
    
         
            -
                             
     | 
| 
      
 717 
     | 
    
         
            +
                            _context3.next = 32;
         
     | 
| 
       609 
718 
     | 
    
         
             
                            return _tplusApi.User.getLoginCCMidWebUrl(cc_url);
         
     | 
| 
       610 
719 
     | 
    
         | 
| 
       611 
720 
     | 
    
         
             
                          case 32:
         
     | 
| 
       612 
     | 
    
         
            -
                            CC_WEB_URL =  
     | 
| 
      
 721 
     | 
    
         
            +
                            CC_WEB_URL = _context3.sent;
         
     | 
| 
       613 
722 
     | 
    
         | 
| 
       614 
723 
     | 
    
         
             
                            console.log('CC_WEB_URL:', CC_WEB_URL);
         
     | 
| 
       615 
724 
     | 
    
         
             
                            window.android_CommonFun.openWebUrlByOutBrowser(CC_WEB_URL);
         
     | 
| 
       616 
     | 
    
         
            -
                             
     | 
| 
      
 725 
     | 
    
         
            +
                            _context3.next = 42;
         
     | 
| 
       617 
726 
     | 
    
         
             
                            break;
         
     | 
| 
       618 
727 
     | 
    
         | 
| 
       619 
728 
     | 
    
         
             
                          case 37:
         
     | 
| 
         @@ -635,14 +744,14 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       635 
744 
     | 
    
         | 
| 
       636 
745 
     | 
    
         
             
                          case 42:
         
     | 
| 
       637 
746 
     | 
    
         
             
                          case 'end':
         
     | 
| 
       638 
     | 
    
         
            -
                            return  
     | 
| 
      
 747 
     | 
    
         
            +
                            return _context3.stop();
         
     | 
| 
       639 
748 
     | 
    
         
             
                        }
         
     | 
| 
       640 
749 
     | 
    
         
             
                      }
         
     | 
| 
       641 
     | 
    
         
            -
                    },  
     | 
| 
      
 750 
     | 
    
         
            +
                    }, _callee3, _this2);
         
     | 
| 
       642 
751 
     | 
    
         
             
                  }));
         
     | 
| 
       643 
752 
     | 
    
         | 
| 
       644 
753 
     | 
    
         
             
                  return function (_x4) {
         
     | 
| 
       645 
     | 
    
         
            -
                    return  
     | 
| 
      
 754 
     | 
    
         
            +
                    return _ref8.apply(this, arguments);
         
     | 
| 
       646 
755 
     | 
    
         
             
                  };
         
     | 
| 
       647 
756 
     | 
    
         
             
                }();
         
     | 
| 
       648 
757 
     | 
    
         | 
| 
         @@ -736,10 +845,10 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       736 
845 
     | 
    
         
             
                      return vv.Name === v.Name;
         
     | 
| 
       737 
846 
     | 
    
         
             
                    });
         
     | 
| 
       738 
847 
     | 
    
         | 
| 
       739 
     | 
    
         
            -
                    var  
     | 
| 
       740 
     | 
    
         
            -
                        Visibility =  
     | 
| 
       741 
     | 
    
         
            -
                        HoldFunctionAuth =  
     | 
| 
       742 
     | 
    
         
            -
                        Title =  
     | 
| 
      
 848 
     | 
    
         
            +
                    var _ref10 = controllable || {},
         
     | 
| 
      
 849 
     | 
    
         
            +
                        Visibility = _ref10.Visibility,
         
     | 
| 
      
 850 
     | 
    
         
            +
                        HoldFunctionAuth = _ref10.HoldFunctionAuth,
         
     | 
| 
      
 851 
     | 
    
         
            +
                        Title = _ref10.Title;
         
     | 
| 
       743 
852 
     | 
    
         | 
| 
       744 
853 
     | 
    
         
             
                    var errorTip = void 0;
         
     | 
| 
       745 
854 
     | 
    
         
             
                    if (!Visibility) {
         
     | 
| 
         @@ -982,12 +1091,12 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       982 
1091 
     | 
    
         
             
                  modalURL: ''
         
     | 
| 
       983 
1092 
     | 
    
         
             
                };
         
     | 
| 
       984 
1093 
     | 
    
         | 
| 
       985 
     | 
    
         
            -
                var  
     | 
| 
       986 
     | 
    
         
            -
                    isVerticalTouch =  
     | 
| 
       987 
     | 
    
         
            -
                    isHorizontalPad =  
     | 
| 
       988 
     | 
    
         
            -
                    isHorizontalSunMi =  
     | 
| 
       989 
     | 
    
         
            -
                    isNewRetailBCPos =  
     | 
| 
       990 
     | 
    
         
            -
                    isNewRetailBCPosTC =  
     | 
| 
      
 1094 
     | 
    
         
            +
                var _ref11 = _mutantsUtil.platform || {},
         
     | 
| 
      
 1095 
     | 
    
         
            +
                    isVerticalTouch = _ref11.isVerticalTouch,
         
     | 
| 
      
 1096 
     | 
    
         
            +
                    isHorizontalPad = _ref11.isHorizontalPad,
         
     | 
| 
      
 1097 
     | 
    
         
            +
                    isHorizontalSunMi = _ref11.isHorizontalSunMi,
         
     | 
| 
      
 1098 
     | 
    
         
            +
                    isNewRetailBCPos = _ref11.isNewRetailBCPos,
         
     | 
| 
      
 1099 
     | 
    
         
            +
                    isNewRetailBCPosTC = _ref11.isNewRetailBCPosTC;
         
     | 
| 
       991 
1100 
     | 
    
         | 
| 
       992 
1101 
     | 
    
         
             
                _this.isVerticalTouch = !!isVerticalTouch;
         
     | 
| 
       993 
1102 
     | 
    
         
             
                _this.isHorizontalPad = !!isHorizontalPad;
         
     | 
| 
         @@ -1020,53 +1129,37 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       1020 
1129 
     | 
    
         | 
| 
       1021 
1130 
     | 
    
         
             
              (0, _createClass3.default)(_default, [{
         
     | 
| 
       1022 
1131 
     | 
    
         
             
                key: 'componentWillMount',
         
     | 
| 
       1023 
     | 
    
         
            -
                value: function  
     | 
| 
       1024 
     | 
    
         
            -
                  var  
     | 
| 
       1025 
     | 
    
         
            -
             
     | 
| 
       1026 
     | 
    
         
            -
             
     | 
| 
       1027 
     | 
    
         
            -
             
     | 
| 
       1028 
     | 
    
         
            -
             
     | 
| 
       1029 
     | 
    
         
            -
             
     | 
| 
       1030 
     | 
    
         
            -
             
     | 
| 
       1031 
     | 
    
         
            -
             
     | 
| 
       1032 
     | 
    
         
            -
             
     | 
| 
       1033 
     | 
    
         
            -
             
     | 
| 
       1034 
     | 
    
         
            -
             
     | 
| 
       1035 
     | 
    
         
            -
             
     | 
| 
       1036 
     | 
    
         
            -
             
     | 
| 
       1037 
     | 
    
         
            -
             
     | 
| 
       1038 
     | 
    
         
            -
             
     | 
| 
       1039 
     | 
    
         
            -
             
     | 
| 
       1040 
     | 
    
         
            -
                  homeOperation().then(function (operations) {
         
     | 
| 
       1041 
     | 
    
         
            -
                    _mutantsMicrofx.localStore.set('operationsAuth', operations ? (0, _stringify2.default)(operations) : []);
         
     | 
| 
       1042 
     | 
    
         
            -
                    _this3.setState({ operations: operations || [] });
         
     | 
| 
       1043 
     | 
    
         
            -
                    _tplusComponentsTouch.Loading.hide();
         
     | 
| 
       1044 
     | 
    
         
            -
                  }).catch(function (err) {
         
     | 
| 
       1045 
     | 
    
         
            -
                    console.log('homeOperation.error======', err);
         
     | 
| 
       1046 
     | 
    
         
            -
                    _tplusComponentsTouch.Loading.hide();
         
     | 
| 
       1047 
     | 
    
         
            -
                  });
         
     | 
| 
       1048 
     | 
    
         
            -
                  functionData().then(function (data) {
         
     | 
| 
       1049 
     | 
    
         
            -
                    // 加载权限数据  DR-29735 by majian
         
     | 
| 
       1050 
     | 
    
         
            -
                    (0, _tplusPoslogin.PosSetData)(data);
         
     | 
| 
       1051 
     | 
    
         
            -
                  });
         
     | 
| 
       1052 
     | 
    
         
            -
                  addClass && addClass(this.state.id, 'portalHead');
         
     | 
| 
       1053 
     | 
    
         
            -
                  // 初始化参数设置。
         
     | 
| 
       1054 
     | 
    
         
            -
                  _mutantsMicrofx.stores.setStore.initSetParams().then(function (ret) {
         
     | 
| 
       1055 
     | 
    
         
            -
                    // 在客户端中,如果开启了副屏设置,尝试这打开副屏。
         
     | 
| 
       1056 
     | 
    
         
            -
                    if (_this3.getScreenType() === true) {
         
     | 
| 
       1057 
     | 
    
         
            -
                      if (_this3.isHorizontalSunMi) {
         
     | 
| 
       1058 
     | 
    
         
            -
                        _this3.sunMiPresentationInit(ret);
         
     | 
| 
       1059 
     | 
    
         
            -
                        return;
         
     | 
| 
      
 1132 
     | 
    
         
            +
                value: function () {
         
     | 
| 
      
 1133 
     | 
    
         
            +
                  var _ref12 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee4() {
         
     | 
| 
      
 1134 
     | 
    
         
            +
                    return _regenerator2.default.wrap(function _callee4$(_context4) {
         
     | 
| 
      
 1135 
     | 
    
         
            +
                      while (1) {
         
     | 
| 
      
 1136 
     | 
    
         
            +
                        switch (_context4.prev = _context4.next) {
         
     | 
| 
      
 1137 
     | 
    
         
            +
                          case 0:
         
     | 
| 
      
 1138 
     | 
    
         
            +
                            _context4.next = 2;
         
     | 
| 
      
 1139 
     | 
    
         
            +
                            return this.catchOfflineData();
         
     | 
| 
      
 1140 
     | 
    
         
            +
             
     | 
| 
      
 1141 
     | 
    
         
            +
                          case 2:
         
     | 
| 
      
 1142 
     | 
    
         
            +
                            _context4.next = 4;
         
     | 
| 
      
 1143 
     | 
    
         
            +
                            return this.getOperation();
         
     | 
| 
      
 1144 
     | 
    
         
            +
             
     | 
| 
      
 1145 
     | 
    
         
            +
                          case 4:
         
     | 
| 
      
 1146 
     | 
    
         
            +
                          case 'end':
         
     | 
| 
      
 1147 
     | 
    
         
            +
                            return _context4.stop();
         
     | 
| 
      
 1148 
     | 
    
         
            +
                        }
         
     | 
| 
       1060 
1149 
     | 
    
         
             
                      }
         
     | 
| 
       1061 
     | 
    
         
            -
             
     | 
| 
       1062 
     | 
    
         
            -
             
     | 
| 
       1063 
     | 
    
         
            -
             
     | 
| 
       1064 
     | 
    
         
            -
                   
     | 
| 
       1065 
     | 
    
         
            -
             
     | 
| 
      
 1150 
     | 
    
         
            +
                    }, _callee4, this);
         
     | 
| 
      
 1151 
     | 
    
         
            +
                  }));
         
     | 
| 
      
 1152 
     | 
    
         
            +
             
     | 
| 
      
 1153 
     | 
    
         
            +
                  function componentWillMount() {
         
     | 
| 
      
 1154 
     | 
    
         
            +
                    return _ref12.apply(this, arguments);
         
     | 
| 
      
 1155 
     | 
    
         
            +
                  }
         
     | 
| 
      
 1156 
     | 
    
         
            +
             
     | 
| 
      
 1157 
     | 
    
         
            +
                  return componentWillMount;
         
     | 
| 
      
 1158 
     | 
    
         
            +
                }()
         
     | 
| 
       1066 
1159 
     | 
    
         
             
              }, {
         
     | 
| 
       1067 
1160 
     | 
    
         
             
                key: 'componentDidMount',
         
     | 
| 
       1068 
1161 
     | 
    
         
             
                value: function componentDidMount() {
         
     | 
| 
       1069 
     | 
    
         
            -
                  if (this.isNewRetailBCPos && !this.isVerticalTouch && !this. 
     | 
| 
      
 1162 
     | 
    
         
            +
                  if (this.isNewRetailBCPos && !this.isVerticalTouch && !this.isMobileEnvironment) {
         
     | 
| 
       1070 
1163 
     | 
    
         
             
                    this.initHsyPage();
         
     | 
| 
       1071 
1164 
     | 
    
         
             
                  }
         
     | 
| 
       1072 
1165 
     | 
    
         
             
                }
         
     | 
| 
         @@ -1099,9 +1192,9 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       1099 
1192 
     | 
    
         
             
                      break;
         
     | 
| 
       1100 
1193 
     | 
    
         
             
                  }
         
     | 
| 
       1101 
1194 
     | 
    
         | 
| 
       1102 
     | 
    
         
            -
                  var  
     | 
| 
       1103 
     | 
    
         
            -
                       
     | 
| 
       1104 
     | 
    
         
            -
                      PosId =  
     | 
| 
      
 1195 
     | 
    
         
            +
                  var _ref13 = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('StoreKey') || {},
         
     | 
| 
      
 1196 
     | 
    
         
            +
                      _ref13$PosId = _ref13.PosId,
         
     | 
| 
      
 1197 
     | 
    
         
            +
                      PosId = _ref13$PosId === undefined ? '' : _ref13$PosId;
         
     | 
| 
       1105 
1198 
     | 
    
         | 
| 
       1106 
1199 
     | 
    
         
             
                  var cc_url = this.hsy_domain.replace('#/', '') + '?fromApp=nretail&posid=' + PosId + '&content_only=true&bar_bg=' + encodeURIComponent('#FFFFFF') + '&bar_active_bg=' + encodeURIComponent(color);
         
     | 
| 
       1107 
1200 
     | 
    
         
             
                  this.setState({ loadHsyURL: cc_url });
         
     |