tplus-portaltouch 3.23.1 → 3.23.5
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/dutyandsettle/dutysettlebill.js.map +1 -1
 - package/dist/components/dutyandsettle/dutysettlehistory.js +45 -66
 - 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 +508 -38
 - 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/offlinePointDesc.js +7 -0
 - package/dist/components/header/offlinePointDesc.js.map +1 -0
 - package/dist/components/header/style.less +456 -351
 - package/dist/components/header/themeModal.js.map +1 -1
 - package/dist/components/header/uploadList.js +271 -0
 - package/dist/components/header/uploadList.js.map +1 -0
 - 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 +17 -18
 - 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/Portalbc/data.js +60 -31
 - 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 +470 -300
 - package/dist/pages/Portalbc/index.js.map +1 -1
 - package/dist/pages/Portalbc/index.less +777 -732
 - package/dist/pages/Portalbc/onframe.js.map +1 -1
 - package/dist/pages/Portalbc/verticalPortal.js +3 -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 +89 -104
 - 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 +8 -6
 - package/dist/utils/networkCheck.js.map +1 -1
 - package/package.json +2 -2
 - package/tsconfig.json +14 -14
 - package/dist/pages/Portal/data.js +0 -32
 - package/dist/pages/Portal/data.js.map +0 -1
 - package/dist/pages/Portal/horizontalPadPortal.js +0 -129
 - package/dist/pages/Portal/horizontalPadPortal.js.map +0 -1
 - package/dist/pages/Portal/horizontalSunMiPortal.js +0 -130
 - package/dist/pages/Portal/horizontalSunMiPortal.js.map +0 -1
 - package/dist/pages/Portal/index.js +0 -856
 - package/dist/pages/Portal/index.js.map +0 -1
 - package/dist/pages/Portal/index.less +0 -612
 - package/dist/pages/Portal/verticalPortal.js +0 -126
 - package/dist/pages/Portal/verticalPortal.js.map +0 -1
 
| 
         @@ -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 
     | 
    
         | 
| 
         @@ -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: 2021-11-22 10:06:12
         
     | 
| 
      
 56 
     | 
    
         
            +
                                         * @LastEditors: chenlongad
         
     | 
| 
      
 57 
     | 
    
         
            +
                                         * @modify:修改跳转到T+的查询方案方式
         
     | 
| 
       58 
58 
     | 
    
         
             
                                         */
         
     | 
| 
       59 
59 
     | 
    
         | 
| 
       60 
60 
     | 
    
         | 
| 
         @@ -102,6 +102,8 @@ var _horizontalPadPortal2 = _interopRequireDefault(_horizontalPadPortal); 
     | 
|
| 
       102 
102 
     | 
    
         | 
| 
       103 
103 
     | 
    
         
             
            require('./index.less');
         
     | 
| 
       104 
104 
     | 
    
         | 
| 
      
 105 
     | 
    
         
            +
            var _rxjs = require('rxjs');
         
     | 
| 
      
 106 
     | 
    
         
            +
             
     | 
| 
       105 
107 
     | 
    
         
             
            function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
         
     | 
| 
       106 
108 
     | 
    
         | 
| 
       107 
109 
     | 
    
         
             
            var hasElectron = _mutantsMicrofx.env.platform === _mutantsMicrofx.env.constant.platform.electron;
         
     | 
| 
         @@ -121,6 +123,141 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       121 
123 
     | 
    
         | 
| 
       122 
124 
     | 
    
         
             
                var _this = (0, _possibleConstructorReturn3.default)(this, (_default.__proto__ || (0, _getPrototypeOf2.default)(_default)).call(this, props));
         
     | 
| 
       123 
125 
     | 
    
         | 
| 
      
 126 
     | 
    
         
            +
                _this.catchOfflineData = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee() {
         
     | 
| 
      
 127 
     | 
    
         
            +
                  var offlineSys, isLoginAfter, downloadCatcherDay, currentDay, downProgress, result;
         
     | 
| 
      
 128 
     | 
    
         
            +
                  return _regenerator2.default.wrap(function _callee$(_context) {
         
     | 
| 
      
 129 
     | 
    
         
            +
                    while (1) {
         
     | 
| 
      
 130 
     | 
    
         
            +
                      switch (_context.prev = _context.next) {
         
     | 
| 
      
 131 
     | 
    
         
            +
                        case 0:
         
     | 
| 
      
 132 
     | 
    
         
            +
                          offlineSys = _this.context.stores.offlineSys;
         
     | 
| 
      
 133 
     | 
    
         
            +
                          isLoginAfter = _mutantsMicrofx.localStore.get("isLoginAfter");
         
     | 
| 
      
 134 
     | 
    
         
            +
                          downloadCatcherDay = _mutantsMicrofx.localStore.get("downloadCatcherDay");
         
     | 
| 
      
 135 
     | 
    
         
            +
                          currentDay = Math.ceil(new Date() / 1000 / 60 / 60 / 24);
         
     | 
| 
      
 136 
     | 
    
         
            +
             
     | 
| 
      
 137 
     | 
    
         
            +
                          if (!(isLoginAfter == 1)) {
         
     | 
| 
      
 138 
     | 
    
         
            +
                            _context.next = 14;
         
     | 
| 
      
 139 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 140 
     | 
    
         
            +
                          }
         
     | 
| 
      
 141 
     | 
    
         
            +
             
     | 
| 
      
 142 
     | 
    
         
            +
                          if (!(!downloadCatcherDay || currentDay > downloadCatcherDay)) {
         
     | 
| 
      
 143 
     | 
    
         
            +
                            _context.next = 13;
         
     | 
| 
      
 144 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 145 
     | 
    
         
            +
                          }
         
     | 
| 
      
 146 
     | 
    
         
            +
             
     | 
| 
      
 147 
     | 
    
         
            +
                          downProgress = function downProgress(params) {
         
     | 
| 
      
 148 
     | 
    
         
            +
                            _tplusComponentsTouch.Loading.transfer(params);
         
     | 
| 
      
 149 
     | 
    
         
            +
                          };
         
     | 
| 
      
 150 
     | 
    
         
            +
             
     | 
| 
      
 151 
     | 
    
         
            +
                          _tplusComponentsTouch.Loading.show({
         
     | 
| 
      
 152 
     | 
    
         
            +
                            text: '离线数据下载中',
         
     | 
| 
      
 153 
     | 
    
         
            +
                            delay: 0,
         
     | 
| 
      
 154 
     | 
    
         
            +
                            showProgress: true
         
     | 
| 
      
 155 
     | 
    
         
            +
                          });
         
     | 
| 
      
 156 
     | 
    
         
            +
                          _context.next = 10;
         
     | 
| 
      
 157 
     | 
    
         
            +
                          return offlineSys.downloadCatcherData(downProgress);
         
     | 
| 
      
 158 
     | 
    
         
            +
             
     | 
| 
      
 159 
     | 
    
         
            +
                        case 10:
         
     | 
| 
      
 160 
     | 
    
         
            +
                          result = _context.sent;
         
     | 
| 
      
 161 
     | 
    
         
            +
             
     | 
| 
      
 162 
     | 
    
         
            +
                          _tplusComponentsTouch.Loading.hide();
         
     | 
| 
      
 163 
     | 
    
         
            +
                          if (result) {
         
     | 
| 
      
 164 
     | 
    
         
            +
                            _mutantsMicrofx.localStore.set("downloadCatcherDay", currentDay);
         
     | 
| 
      
 165 
     | 
    
         
            +
                          }
         
     | 
| 
      
 166 
     | 
    
         
            +
             
     | 
| 
      
 167 
     | 
    
         
            +
                        case 13:
         
     | 
| 
      
 168 
     | 
    
         
            +
                          _mutantsMicrofx.localStore.set("isLoginAfter", 0);
         
     | 
| 
      
 169 
     | 
    
         
            +
             
     | 
| 
      
 170 
     | 
    
         
            +
                        case 14:
         
     | 
| 
      
 171 
     | 
    
         
            +
                        case 'end':
         
     | 
| 
      
 172 
     | 
    
         
            +
                          return _context.stop();
         
     | 
| 
      
 173 
     | 
    
         
            +
                      }
         
     | 
| 
      
 174 
     | 
    
         
            +
                    }
         
     | 
| 
      
 175 
     | 
    
         
            +
                  }, _callee, _this2);
         
     | 
| 
      
 176 
     | 
    
         
            +
                }));
         
     | 
| 
      
 177 
     | 
    
         
            +
             
     | 
| 
      
 178 
     | 
    
         
            +
                _this.getOperation = function () {
         
     | 
| 
      
 179 
     | 
    
         
            +
                  return new _promise2.default(function (resolve, reject) {
         
     | 
| 
      
 180 
     | 
    
         
            +
                    var homeOperation = _ModifyPassApi.Request.homeOperation,
         
     | 
| 
      
 181 
     | 
    
         
            +
                        functionData = _ModifyPassApi.Request.functionData;
         
     | 
| 
      
 182 
     | 
    
         
            +
             
     | 
| 
      
 183 
     | 
    
         
            +
                    homeOperation().then(function (operations) {
         
     | 
| 
      
 184 
     | 
    
         
            +
                      _mutantsMicrofx.localStore.set('operationsAuth', (0, _stringify2.default)(operations));
         
     | 
| 
      
 185 
     | 
    
         
            +
                      _this.setState({ operations: operations || [] });
         
     | 
| 
      
 186 
     | 
    
         
            +
                      resolve();
         
     | 
| 
      
 187 
     | 
    
         
            +
                    }).catch(function (err) {
         
     | 
| 
      
 188 
     | 
    
         
            +
                      console.log('homeOperation.error======', err);
         
     | 
| 
      
 189 
     | 
    
         
            +
                      _tplusComponentsTouch.Loading.hide();
         
     | 
| 
      
 190 
     | 
    
         
            +
                      resolve();
         
     | 
| 
      
 191 
     | 
    
         
            +
                    });
         
     | 
| 
      
 192 
     | 
    
         
            +
                    functionData().then(function (data) {
         
     | 
| 
      
 193 
     | 
    
         
            +
                      (0, _tplusPoslogin.PosSetData)(data);
         
     | 
| 
      
 194 
     | 
    
         
            +
                    });
         
     | 
| 
      
 195 
     | 
    
         
            +
                  });
         
     | 
| 
      
 196 
     | 
    
         
            +
                };
         
     | 
| 
      
 197 
     | 
    
         
            +
             
     | 
| 
      
 198 
     | 
    
         
            +
                _this.initPageData = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2() {
         
     | 
| 
      
 199 
     | 
    
         
            +
                  var _this$context, _this$context$stores, stores, _this$context$headHoo, addClass, hasUseOffline;
         
     | 
| 
      
 200 
     | 
    
         
            +
             
     | 
| 
      
 201 
     | 
    
         
            +
                  return _regenerator2.default.wrap(function _callee2$(_context2) {
         
     | 
| 
      
 202 
     | 
    
         
            +
                    while (1) {
         
     | 
| 
      
 203 
     | 
    
         
            +
                      switch (_context2.prev = _context2.next) {
         
     | 
| 
      
 204 
     | 
    
         
            +
                        case 0:
         
     | 
| 
      
 205 
     | 
    
         
            +
                          _this$context = _this.context, _this$context$stores = _this$context.stores, stores = _this$context$stores === undefined ? {} : _this$context$stores, _this$context$headHoo = _this$context.headHook;
         
     | 
| 
      
 206 
     | 
    
         
            +
                          _this$context$headHoo = _this$context$headHoo === undefined ? {} : _this$context$headHoo;
         
     | 
| 
      
 207 
     | 
    
         
            +
                          addClass = _this$context$headHoo.addClass;
         
     | 
| 
      
 208 
     | 
    
         
            +
                          hasUseOffline = (0, _tplusPoslogin.PosInitData)('IsOfflineCash') === "1" && !(_this.isVerticalTouch || _this.isMobileEnvironment); //是否允许离线
         
     | 
| 
      
 209 
     | 
    
         
            +
             
     | 
| 
      
 210 
     | 
    
         
            +
                          if (!(hasUseOffline == true)) {
         
     | 
| 
      
 211 
     | 
    
         
            +
                            _context2.next = 7;
         
     | 
| 
      
 212 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 213 
     | 
    
         
            +
                          }
         
     | 
| 
      
 214 
     | 
    
         
            +
             
     | 
| 
      
 215 
     | 
    
         
            +
                          _context2.next = 7;
         
     | 
| 
      
 216 
     | 
    
         
            +
                          return _this.catchOfflineData();
         
     | 
| 
      
 217 
     | 
    
         
            +
             
     | 
| 
      
 218 
     | 
    
         
            +
                        case 7:
         
     | 
| 
      
 219 
     | 
    
         
            +
                          _tplusComponentsTouch.Loading.show({
         
     | 
| 
      
 220 
     | 
    
         
            +
                            text: '权限加载中...',
         
     | 
| 
      
 221 
     | 
    
         
            +
                            delay: 2500
         
     | 
| 
      
 222 
     | 
    
         
            +
                          });
         
     | 
| 
      
 223 
     | 
    
         
            +
                          //权限加载
         
     | 
| 
      
 224 
     | 
    
         
            +
                          _context2.prev = 8;
         
     | 
| 
      
 225 
     | 
    
         
            +
                          _context2.next = 11;
         
     | 
| 
      
 226 
     | 
    
         
            +
                          return _this.getOperation();
         
     | 
| 
      
 227 
     | 
    
         
            +
             
     | 
| 
      
 228 
     | 
    
         
            +
                        case 11:
         
     | 
| 
      
 229 
     | 
    
         
            +
                          _context2.next = 16;
         
     | 
| 
      
 230 
     | 
    
         
            +
                          break;
         
     | 
| 
      
 231 
     | 
    
         
            +
             
     | 
| 
      
 232 
     | 
    
         
            +
                        case 13:
         
     | 
| 
      
 233 
     | 
    
         
            +
                          _context2.prev = 13;
         
     | 
| 
      
 234 
     | 
    
         
            +
                          _context2.t0 = _context2['catch'](8);
         
     | 
| 
      
 235 
     | 
    
         
            +
                          _tplusComponentsTouch.Loading.hide();
         
     | 
| 
      
 236 
     | 
    
         
            +
             
     | 
| 
      
 237 
     | 
    
         
            +
                        case 16:
         
     | 
| 
      
 238 
     | 
    
         
            +
                          _tplusComponentsTouch.Loading.hide();
         
     | 
| 
      
 239 
     | 
    
         
            +
                          addClass && addClass(_this.state.id, 'portalHead');
         
     | 
| 
      
 240 
     | 
    
         
            +
                          // 初始化参数设置。
         
     | 
| 
      
 241 
     | 
    
         
            +
                          stores.setStore.initSetParams().then(function (ret) {
         
     | 
| 
      
 242 
     | 
    
         
            +
                            // 在客户端中,如果开启了副屏设置,尝试这打开副屏。
         
     | 
| 
      
 243 
     | 
    
         
            +
                            if (_this.getScreenType() === true) {
         
     | 
| 
      
 244 
     | 
    
         
            +
                              if (_this.isHorizontalSunMi) {
         
     | 
| 
      
 245 
     | 
    
         
            +
                                _this.sunMiPresentationInit(ret);
         
     | 
| 
      
 246 
     | 
    
         
            +
                                return;
         
     | 
| 
      
 247 
     | 
    
         
            +
                              }
         
     | 
| 
      
 248 
     | 
    
         
            +
                              window.open('vicescreen?ts=' + new Date().getTime(), 'screen');
         
     | 
| 
      
 249 
     | 
    
         
            +
                            }
         
     | 
| 
      
 250 
     | 
    
         
            +
                          });
         
     | 
| 
      
 251 
     | 
    
         
            +
                          _this.hsyBasicInfoInit();
         
     | 
| 
      
 252 
     | 
    
         
            +
             
     | 
| 
      
 253 
     | 
    
         
            +
                        case 20:
         
     | 
| 
      
 254 
     | 
    
         
            +
                        case 'end':
         
     | 
| 
      
 255 
     | 
    
         
            +
                          return _context2.stop();
         
     | 
| 
      
 256 
     | 
    
         
            +
                      }
         
     | 
| 
      
 257 
     | 
    
         
            +
                    }
         
     | 
| 
      
 258 
     | 
    
         
            +
                  }, _callee2, _this2, [[8, 13]]);
         
     | 
| 
      
 259 
     | 
    
         
            +
                }));
         
     | 
| 
      
 260 
     | 
    
         
            +
             
     | 
| 
       124 
261 
     | 
    
         
             
                _this.initHsyPage = function () {
         
     | 
| 
       125 
262 
     | 
    
         
             
                  var external_frame = document.getElementById('external-frame-cc');
         
     | 
| 
       126 
263 
     | 
    
         
             
                  var win = external_frame && external_frame.contentWindow;
         
     | 
| 
         @@ -137,51 +274,28 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       137 
274 
     | 
    
         
             
                _this.sunMiPresentationInit = function (result) {
         
     | 
| 
       138 
275 
     | 
    
         
             
                  //SunMi初始化参数设置。
         
     | 
| 
       139 
276 
     | 
    
         
             
                  //副屏幕交互。硬件改动20200428   需要在商米页面加载成功后才能发送 初始化命令
         
     | 
| 
       140 
     | 
    
         
            -
                  //  
     | 
| 
       141 
     | 
    
         
            -
                  var  
     | 
| 
       142 
     | 
    
         
            -
             
     | 
| 
       143 
     | 
    
         
            -
             
     | 
| 
       144 
     | 
    
         
            -
             
     | 
| 
       145 
     | 
    
         
            -
             
     | 
| 
       146 
     | 
    
         
            -
                       
     | 
| 
       147 
     | 
    
         
            -
             
     | 
| 
       148 
     | 
    
         
            -
             
     | 
| 
       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;
         
     | 
| 
      
 277 
     | 
    
         
            +
                  // 进行主副屏数据交互 初始化
         
     | 
| 
      
 278 
     | 
    
         
            +
                  var _ref3 = _mutantsMicrofx.localStore.get('user') || {},
         
     | 
| 
      
 279 
     | 
    
         
            +
                      _ref3$store = _ref3.store;
         
     | 
| 
      
 280 
     | 
    
         
            +
             
     | 
| 
      
 281 
     | 
    
         
            +
                  _ref3$store = _ref3$store === undefined ? {} : _ref3$store;
         
     | 
| 
      
 282 
     | 
    
         
            +
                  var _ref3$store$storeName = _ref3$store.storeName,
         
     | 
| 
      
 283 
     | 
    
         
            +
                      storeName = _ref3$store$storeName === undefined ? '' : _ref3$store$storeName;
         
     | 
| 
      
 284 
     | 
    
         
            +
             
     | 
| 
      
 285 
     | 
    
         
            +
                  console.log(result);
         
     | 
| 
       178 
286 
     | 
    
         | 
| 
       179 
     | 
    
         
            -
             
     | 
| 
       180 
     | 
    
         
            -
             
     | 
| 
       181 
     | 
    
         
            -
                        storeName = _ref2$store$storeName === undefined ? '' : _ref2$store$storeName;
         
     | 
| 
      
 287 
     | 
    
         
            +
                  var _enumController$getEn = _mutantsUtil.enumController.getEnumOj(),
         
     | 
| 
      
 288 
     | 
    
         
            +
                      RE_POSParamType = _enumController$getEn.RE_POSParamType;
         
     | 
| 
       182 
289 
     | 
    
         | 
| 
      
 290 
     | 
    
         
            +
                  var DUAL_SCREEN_SETTING = RE_POSParamType.DUAL_SCREEN_SETTING;
         
     | 
| 
      
 291 
     | 
    
         
            +
             
     | 
| 
      
 292 
     | 
    
         
            +
                  var filterResult = result && result.filter ? result.filter(function (settingItem) {
         
     | 
| 
      
 293 
     | 
    
         
            +
                    return settingItem.ParamType === DUAL_SCREEN_SETTING;
         
     | 
| 
      
 294 
     | 
    
         
            +
                  }) : [];
         
     | 
| 
      
 295 
     | 
    
         
            +
                  window.sunMi_PresentationManager && window.sunMi_PresentationManager.sharedPreferencesSet("setting_setData", filterResult).then(function () {
         
     | 
| 
      
 296 
     | 
    
         
            +
                    console.log("缓存数据成功");
         
     | 
| 
       183 
297 
     | 
    
         
             
                    window.sunMi_PresentationManager && window.sunMi_PresentationManager.sendMessageToSecondScreen({ step: 0, storeName: storeName });
         
     | 
| 
       184 
     | 
    
         
            -
                  }
         
     | 
| 
      
 298 
     | 
    
         
            +
                  });
         
     | 
| 
       185 
299 
     | 
    
         
             
                };
         
     | 
| 
       186 
300 
     | 
    
         | 
| 
       187 
301 
     | 
    
         
             
                _this.getTcBasicInfoInit = function () {
         
     | 
| 
         @@ -210,11 +324,11 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       210 
324 
     | 
    
         | 
| 
       211 
325 
     | 
    
         
             
                  var loginInfo = user.options.get('loginInfo');
         
     | 
| 
       212 
326 
     | 
    
         | 
| 
       213 
     | 
    
         
            -
                  var  
     | 
| 
       214 
     | 
    
         
            -
                      UserCode =  
     | 
| 
       215 
     | 
    
         
            -
                      AccountNum =  
     | 
| 
       216 
     | 
    
         
            -
                      posCode =  
     | 
| 
       217 
     | 
    
         
            -
                      TplusStoreId =  
     | 
| 
      
 327 
     | 
    
         
            +
                  var _ref4 = loginInfo || {},
         
     | 
| 
      
 328 
     | 
    
         
            +
                      UserCode = _ref4.UserCode,
         
     | 
| 
      
 329 
     | 
    
         
            +
                      AccountNum = _ref4.AccountNum,
         
     | 
| 
      
 330 
     | 
    
         
            +
                      posCode = _ref4.posCode,
         
     | 
| 
      
 331 
     | 
    
         
            +
                      TplusStoreId = _ref4.TplusStoreId;
         
     | 
| 
       218 
332 
     | 
    
         | 
| 
       219 
333 
     | 
    
         
             
                  var uid = _this.tplusEncode(UserCode);
         
     | 
| 
       220 
334 
     | 
    
         
             
                  var pwd = _this.tplusEncode(user.options.get("password"));
         
     | 
| 
         @@ -266,13 +380,25 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       266 
380 
     | 
    
         
             
                    return vv.Name === Name;
         
     | 
| 
       267 
381 
     | 
    
         
             
                  });
         
     | 
| 
       268 
382 
     | 
    
         | 
| 
       269 
     | 
    
         
            -
                  var  
     | 
| 
       270 
     | 
    
         
            -
                      Visibility =  
     | 
| 
       271 
     | 
    
         
            -
                      HoldFunctionAuth =  
     | 
| 
       272 
     | 
    
         
            -
                      Title =  
     | 
| 
       273 
     | 
    
         
            -
                      MenuCode =  
     | 
| 
      
 383 
     | 
    
         
            +
                  var _ref5 = controllable || {},
         
     | 
| 
      
 384 
     | 
    
         
            +
                      Visibility = _ref5.Visibility,
         
     | 
| 
      
 385 
     | 
    
         
            +
                      HoldFunctionAuth = _ref5.HoldFunctionAuth,
         
     | 
| 
      
 386 
     | 
    
         
            +
                      Title = _ref5.Title,
         
     | 
| 
      
 387 
     | 
    
         
            +
                      MenuCode = _ref5.MenuCode;
         
     | 
| 
       274 
388 
     | 
    
         | 
| 
       275 
389 
     | 
    
         
             
                  var errorTip = void 0;
         
     | 
| 
      
 390 
     | 
    
         
            +
             
     | 
| 
      
 391 
     | 
    
         
            +
                  if (!_mutantsMicrofx.stores.offlineSys.shouldOpenHomeOperation(Name)) {
         
     | 
| 
      
 392 
     | 
    
         
            +
                    _tplusComponentsTouch.Message.warn("离线模式下此操作不可用");
         
     | 
| 
      
 393 
     | 
    
         
            +
                    return;
         
     | 
| 
      
 394 
     | 
    
         
            +
                  }
         
     | 
| 
      
 395 
     | 
    
         
            +
             
     | 
| 
      
 396 
     | 
    
         
            +
                  if (type == 'more') {
         
     | 
| 
      
 397 
     | 
    
         
            +
                    // if (this.isMobileEnvironment) { //暂时不支持android系统跳转
         
     | 
| 
      
 398 
     | 
    
         
            +
                    //   return Message.warn('新功能正在研发中,敬请期待。');
         
     | 
| 
      
 399 
     | 
    
         
            +
                    // }
         
     | 
| 
      
 400 
     | 
    
         
            +
                    return _this.setState({ showMoreModal: true });
         
     | 
| 
      
 401 
     | 
    
         
            +
                  }
         
     | 
| 
       276 
402 
     | 
    
         
             
                  if (!Title) {
         
     | 
| 
       277 
403 
     | 
    
         
             
                    return _tplusComponentsTouch.ModalWraper.warning({
         
     | 
| 
       278 
404 
     | 
    
         
             
                      title: '提示',
         
     | 
| 
         @@ -284,6 +410,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       284 
410 
     | 
    
         
             
                      okType: 'primary'
         
     | 
| 
       285 
411 
     | 
    
         
             
                    });
         
     | 
| 
       286 
412 
     | 
    
         
             
                  }
         
     | 
| 
      
 413 
     | 
    
         
            +
             
     | 
| 
       287 
414 
     | 
    
         
             
                  if (!Visibility) {
         
     | 
| 
       288 
415 
     | 
    
         
             
                    errorTip = '\u60A8\u7684 ' + Title + ' \u6A21\u5757\u6CA1\u6709\u542F\u7528';
         
     | 
| 
       289 
416 
     | 
    
         
             
                  } else if (!HoldFunctionAuth) {
         
     | 
| 
         @@ -342,18 +469,21 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       342 
469 
     | 
    
         
             
                };
         
     | 
| 
       343 
470 
     | 
    
         | 
| 
       344 
471 
     | 
    
         
             
                _this.toFramePage = function (params) {
         
     | 
| 
       345 
     | 
    
         
            -
                  var  
     | 
| 
       346 
     | 
    
         
            -
                      app =  
     | 
| 
       347 
     | 
    
         
            -
                      title =  
     | 
| 
       348 
     | 
    
         
            -
                      style =  
     | 
| 
       349 
     | 
    
         
            -
                      search =  
     | 
| 
       350 
     | 
    
         
            -
                      tmenuCode =  
     | 
| 
       351 
     | 
    
         
            -
                      MenuCode =  
     | 
| 
       352 
     | 
    
         
            -
                      isHsyLoadFinish =  
     | 
| 
      
 472 
     | 
    
         
            +
                  var _ref6 = params || {},
         
     | 
| 
      
 473 
     | 
    
         
            +
                      app = _ref6.app,
         
     | 
| 
      
 474 
     | 
    
         
            +
                      title = _ref6.title,
         
     | 
| 
      
 475 
     | 
    
         
            +
                      style = _ref6.style,
         
     | 
| 
      
 476 
     | 
    
         
            +
                      search = _ref6.search,
         
     | 
| 
      
 477 
     | 
    
         
            +
                      tmenuCode = _ref6.tmenuCode,
         
     | 
| 
      
 478 
     | 
    
         
            +
                      MenuCode = _ref6.MenuCode,
         
     | 
| 
      
 479 
     | 
    
         
            +
                      isHsyLoadFinish = _ref6.isHsyLoadFinish;
         
     | 
| 
       353 
480 
     | 
    
         | 
| 
       354 
481 
     | 
    
         
             
                  switch (app) {
         
     | 
| 
       355 
482 
     | 
    
         
             
                    case 'cc':
         
     | 
| 
       356 
483 
     | 
    
         
             
                      var sh = '';
         
     | 
| 
      
 484 
     | 
    
         
            +
                      // if (this.isMobileEnvironment) { //暂时不支持android系统跳转
         
     | 
| 
      
 485 
     | 
    
         
            +
                      //   return Message.warn('新功能正在研发中,敬请期待。');
         
     | 
| 
      
 486 
     | 
    
         
            +
                      // }
         
     | 
| 
       357 
487 
     | 
    
         
             
                      if (!isHsyLoadFinish) {
         
     | 
| 
       358 
488 
     | 
    
         
             
                        return _tplusComponentsTouch.Message.warn('正在加载资源中,请稍后。');
         
     | 
| 
       359 
489 
     | 
    
         
             
                      }
         
     | 
| 
         @@ -408,37 +538,37 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       408 
538 
     | 
    
         
             
                };
         
     | 
| 
       409 
539 
     | 
    
         | 
| 
       410 
540 
     | 
    
         
             
                _this.toTplusPage = function () {
         
     | 
| 
       411 
     | 
    
         
            -
                  var  
     | 
| 
       412 
     | 
    
         
            -
                    var ret,  
     | 
| 
      
 541 
     | 
    
         
            +
                  var _ref7 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee3(tmenuCode, search) {
         
     | 
| 
      
 542 
     | 
    
         
            +
                    var ret, _ref8, ossjumpUrl, postMessageUrl, dsearchPlanID, portalStore, menu, external_frame_tc, win, loadTcURL;
         
     | 
| 
       413 
543 
     | 
    
         | 
| 
       414 
     | 
    
         
            -
                    return _regenerator2.default.wrap(function  
     | 
| 
      
 544 
     | 
    
         
            +
                    return _regenerator2.default.wrap(function _callee3$(_context3) {
         
     | 
| 
       415 
545 
     | 
    
         
             
                      while (1) {
         
     | 
| 
       416 
     | 
    
         
            -
                        switch ( 
     | 
| 
      
 546 
     | 
    
         
            +
                        switch (_context3.prev = _context3.next) {
         
     | 
| 
       417 
547 
     | 
    
         
             
                          case 0:
         
     | 
| 
       418 
548 
     | 
    
         
             
                            ret = _this.getTcBasicInfoInit();
         
     | 
| 
       419 
549 
     | 
    
         | 
| 
       420 
550 
     | 
    
         
             
                            if (!(ret === false)) {
         
     | 
| 
       421 
     | 
    
         
            -
                               
     | 
| 
      
 551 
     | 
    
         
            +
                              _context3.next = 3;
         
     | 
| 
       422 
552 
     | 
    
         
             
                              break;
         
     | 
| 
       423 
553 
     | 
    
         
             
                            }
         
     | 
| 
       424 
554 
     | 
    
         | 
| 
       425 
     | 
    
         
            -
                            return  
     | 
| 
      
 555 
     | 
    
         
            +
                            return _context3.abrupt('return');
         
     | 
| 
       426 
556 
     | 
    
         | 
| 
       427 
557 
     | 
    
         
             
                          case 3:
         
     | 
| 
       428 
     | 
    
         
            -
                             
     | 
| 
      
 558 
     | 
    
         
            +
                            _ref8 = ret || {}, ossjumpUrl = _ref8.ossjumpUrl, postMessageUrl = _ref8.postMessageUrl;
         
     | 
| 
       429 
559 
     | 
    
         
             
                            dsearchPlanID = '';
         
     | 
| 
       430 
560 
     | 
    
         | 
| 
       431 
561 
     | 
    
         
             
                            if (!(search && search.id)) {
         
     | 
| 
       432 
     | 
    
         
            -
                               
     | 
| 
      
 562 
     | 
    
         
            +
                              _context3.next = 10;
         
     | 
| 
       433 
563 
     | 
    
         
             
                              break;
         
     | 
| 
       434 
564 
     | 
    
         
             
                            }
         
     | 
| 
       435 
565 
     | 
    
         | 
| 
       436 
566 
     | 
    
         
             
                            portalStore = _this.context.stores.portalStore;
         
     | 
| 
       437 
     | 
    
         
            -
                             
     | 
| 
      
 567 
     | 
    
         
            +
                            _context3.next = 9;
         
     | 
| 
       438 
568 
     | 
    
         
             
                            return portalStore.getSearchPlanId(search);
         
     | 
| 
       439 
569 
     | 
    
         | 
| 
       440 
570 
     | 
    
         
             
                          case 9:
         
     | 
| 
       441 
     | 
    
         
            -
                            dsearchPlanID =  
     | 
| 
      
 571 
     | 
    
         
            +
                            dsearchPlanID = _context3.sent;
         
     | 
| 
       442 
572 
     | 
    
         | 
| 
       443 
573 
     | 
    
         
             
                          case 10:
         
     | 
| 
       444 
574 
     | 
    
         
             
                            menu = _this.tplusEncode(tmenuCode);
         
     | 
| 
         @@ -447,17 +577,26 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       447 
577 
     | 
    
         
             
                            if (dsearchPlanID) {
         
     | 
| 
       448 
578 
     | 
    
         
             
                              ossjumpUrl += '&searchPlanID=' + _this.tplusEncode(dsearchPlanID);
         
     | 
| 
       449 
579 
     | 
    
         
             
                            }
         
     | 
| 
       450 
     | 
    
         
            -
                            //对于专属云、云主机,如果配置的http,存在跨域问题,暂时解决不了,只能通过打开默认浏览器打开。
         
     | 
| 
       451 
580 
     | 
    
         | 
| 
       452 
     | 
    
         
            -
                            if (! 
     | 
| 
       453 
     | 
    
         
            -
                               
     | 
| 
      
 581 
     | 
    
         
            +
                            if (!_this.isHorizontalSunMi) {
         
     | 
| 
      
 582 
     | 
    
         
            +
                              _context3.next = 17;
         
     | 
| 
      
 583 
     | 
    
         
            +
                              break;
         
     | 
| 
      
 584 
     | 
    
         
            +
                            }
         
     | 
| 
      
 585 
     | 
    
         
            +
             
     | 
| 
      
 586 
     | 
    
         
            +
                            window.android_CommonFun.openWebUrlByOutBrowser(ossjumpUrl);
         
     | 
| 
      
 587 
     | 
    
         
            +
                            _context3.next = 25;
         
     | 
| 
      
 588 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 589 
     | 
    
         
            +
             
     | 
| 
      
 590 
     | 
    
         
            +
                          case 17:
         
     | 
| 
      
 591 
     | 
    
         
            +
                            if (!(_this.new_retail_app == 'tc' || _this.new_retail_app == 'tczsy' || _this.new_retail_app == 'tcyzj')) {
         
     | 
| 
      
 592 
     | 
    
         
            +
                              _context3.next = 20;
         
     | 
| 
       454 
593 
     | 
    
         
             
                              break;
         
     | 
| 
       455 
594 
     | 
    
         
             
                            }
         
     | 
| 
       456 
595 
     | 
    
         | 
| 
       457 
596 
     | 
    
         
             
                            _mutantsMicrofx.nativeMs.useDefaultBrowser(ossjumpUrl);
         
     | 
| 
       458 
     | 
    
         
            -
                            return  
     | 
| 
      
 597 
     | 
    
         
            +
                            return _context3.abrupt('return');
         
     | 
| 
       459 
598 
     | 
    
         | 
| 
       460 
     | 
    
         
            -
                          case  
     | 
| 
      
 599 
     | 
    
         
            +
                          case 20:
         
     | 
| 
       461 
600 
     | 
    
         
             
                            external_frame_tc = document.getElementById('external-frame-tc');
         
     | 
| 
       462 
601 
     | 
    
         
             
                            win = external_frame_tc.contentWindow;
         
     | 
| 
       463 
602 
     | 
    
         
             
                            loadTcURL = _this.state.loadTcURL;
         
     | 
| 
         @@ -476,169 +615,190 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       476 
615 
     | 
    
         
             
                              }
         
     | 
| 
       477 
616 
     | 
    
         
             
                            });
         
     | 
| 
       478 
617 
     | 
    
         | 
| 
       479 
     | 
    
         
            -
                          case  
     | 
| 
      
 618 
     | 
    
         
            +
                          case 25:
         
     | 
| 
       480 
619 
     | 
    
         
             
                          case 'end':
         
     | 
| 
       481 
     | 
    
         
            -
                            return  
     | 
| 
      
 620 
     | 
    
         
            +
                            return _context3.stop();
         
     | 
| 
       482 
621 
     | 
    
         
             
                        }
         
     | 
| 
       483 
622 
     | 
    
         
             
                      }
         
     | 
| 
       484 
     | 
    
         
            -
                    },  
     | 
| 
      
 623 
     | 
    
         
            +
                    }, _callee3, _this2);
         
     | 
| 
       485 
624 
     | 
    
         
             
                  }));
         
     | 
| 
       486 
625 
     | 
    
         | 
| 
       487 
626 
     | 
    
         
             
                  return function (_x2, _x3) {
         
     | 
| 
       488 
     | 
    
         
            -
                    return  
     | 
| 
      
 627 
     | 
    
         
            +
                    return _ref7.apply(this, arguments);
         
     | 
| 
       489 
628 
     | 
    
         
             
                  };
         
     | 
| 
       490 
629 
     | 
    
         
             
                }();
         
     | 
| 
       491 
630 
     | 
    
         | 
| 
       492 
     | 
    
         
            -
                _this.toHsyPage = function ( 
     | 
| 
       493 
     | 
    
         
            -
                  var  
     | 
| 
       494 
     | 
    
         
            -
             
     | 
| 
       495 
     | 
    
         
            -
             
     | 
| 
       496 
     | 
    
         
            -
             
     | 
| 
       497 
     | 
    
         
            -
                       
     | 
| 
       498 
     | 
    
         
            -
             
     | 
| 
       499 
     | 
    
         
            -
             
     | 
| 
       500 
     | 
    
         
            -
             
     | 
| 
       501 
     | 
    
         
            -
             
     | 
| 
       502 
     | 
    
         
            -
             
     | 
| 
       503 
     | 
    
         
            -
             
     | 
| 
       504 
     | 
    
         
            -
             
     | 
| 
       505 
     | 
    
         
            -
             
     | 
| 
       506 
     | 
    
         
            -
             
     | 
| 
       507 
     | 
    
         
            -
             
     | 
| 
       508 
     | 
    
         
            -
             
     | 
| 
       509 
     | 
    
         
            -
             
     | 
| 
       510 
     | 
    
         
            -
             
     | 
| 
       511 
     | 
    
         
            -
             
     | 
| 
       512 
     | 
    
         
            -
             
     | 
| 
       513 
     | 
    
         
            -
             
     | 
| 
       514 
     | 
    
         
            -
             
     | 
| 
       515 
     | 
    
         
            -
             
     | 
| 
       516 
     | 
    
         
            -
             
     | 
| 
       517 
     | 
    
         
            -
             
     | 
| 
       518 
     | 
    
         
            -
             
     | 
| 
       519 
     | 
    
         
            -
             
     | 
| 
       520 
     | 
    
         
            -
             
     | 
| 
       521 
     | 
    
         
            -
             
     | 
| 
       522 
     | 
    
         
            -
             
     | 
| 
       523 
     | 
    
         
            -
             
     | 
| 
       524 
     | 
    
         
            -
             
     | 
| 
       525 
     | 
    
         
            -
             
     | 
| 
       526 
     | 
    
         
            -
                  _ref8$store = _ref8$store === undefined ? {} : _ref8$store;
         
     | 
| 
       527 
     | 
    
         
            -
                  var _ref8$store$storeName = _ref8$store.storeName,
         
     | 
| 
       528 
     | 
    
         
            -
                      storeName = _ref8$store$storeName === undefined ? '' : _ref8$store$storeName;
         
     | 
| 
       529 
     | 
    
         
            -
             
     | 
| 
       530 
     | 
    
         
            -
                  switch (pageType) {
         
     | 
| 
       531 
     | 
    
         
            -
                    case 'voucher':
         
     | 
| 
       532 
     | 
    
         
            -
                      filter = {
         
     | 
| 
       533 
     | 
    
         
            -
                        defaultValue: {
         
     | 
| 
       534 
     | 
    
         
            -
                          storeId: {
         
     | 
| 
       535 
     | 
    
         
            -
                            id: IdStore,
         
     | 
| 
       536 
     | 
    
         
            -
                            storeName: storeName
         
     | 
| 
       537 
     | 
    
         
            -
                          },
         
     | 
| 
       538 
     | 
    
         
            -
                          warehouseId: {
         
     | 
| 
       539 
     | 
    
         
            -
                            id: IdWarehouse,
         
     | 
| 
       540 
     | 
    
         
            -
                            name: WarehouseName
         
     | 
| 
       541 
     | 
    
         
            -
                          }
         
     | 
| 
       542 
     | 
    
         
            -
                        }
         
     | 
| 
       543 
     | 
    
         
            -
                        //要货单特殊处理
         
     | 
| 
       544 
     | 
    
         
            -
                      };if (menu == 'require-goods-new') {
         
     | 
| 
       545 
     | 
    
         
            -
                        filter = {
         
     | 
| 
       546 
     | 
    
         
            -
                          defaultValue: {
         
     | 
| 
       547 
     | 
    
         
            -
                            storeId: {
         
     | 
| 
       548 
     | 
    
         
            -
                              id: IdStore,
         
     | 
| 
       549 
     | 
    
         
            -
                              storeName: storeName
         
     | 
| 
       550 
     | 
    
         
            -
                            },
         
     | 
| 
       551 
     | 
    
         
            -
                            requireWarehouseId: {
         
     | 
| 
       552 
     | 
    
         
            -
                              id: IdWarehouse,
         
     | 
| 
       553 
     | 
    
         
            -
                              name: WarehouseName
         
     | 
| 
       554 
     | 
    
         
            -
                            }
         
     | 
| 
       555 
     | 
    
         
            -
                          }
         
     | 
| 
       556 
     | 
    
         
            -
                        };
         
     | 
| 
       557 
     | 
    
         
            -
                      }
         
     | 
| 
       558 
     | 
    
         
            -
                      break;
         
     | 
| 
       559 
     | 
    
         
            -
                    case 'report':
         
     | 
| 
       560 
     | 
    
         
            -
                      filter = {
         
     | 
| 
       561 
     | 
    
         
            -
                        filterValue: {
         
     | 
| 
       562 
     | 
    
         
            -
                          storeId: {
         
     | 
| 
       563 
     | 
    
         
            -
                            value: {
         
     | 
| 
       564 
     | 
    
         
            -
                              id: IdStore,
         
     | 
| 
       565 
     | 
    
         
            -
                              storeName: storeName
         
     | 
| 
       566 
     | 
    
         
            -
                            }
         
     | 
| 
       567 
     | 
    
         
            -
                          },
         
     | 
| 
       568 
     | 
    
         
            -
                          warehouseId: {
         
     | 
| 
       569 
     | 
    
         
            -
                            value: [{
         
     | 
| 
       570 
     | 
    
         
            -
                              id: IdWarehouse,
         
     | 
| 
       571 
     | 
    
         
            -
                              name: WarehouseName
         
     | 
| 
       572 
     | 
    
         
            -
                            }]
         
     | 
| 
       573 
     | 
    
         
            -
                          }
         
     | 
| 
       574 
     | 
    
         
            -
                        }
         
     | 
| 
       575 
     | 
    
         
            -
                        // 收银统计表
         
     | 
| 
       576 
     | 
    
         
            -
                      };if (IsPerformanceDistribution && menu == 'retail-cash-report') {
         
     | 
| 
       577 
     | 
    
         
            -
                        filter = {
         
     | 
| 
       578 
     | 
    
         
            -
                          filterValue: {
         
     | 
| 
       579 
     | 
    
         
            -
                            deliveryStoreId: {
         
     | 
| 
       580 
     | 
    
         
            -
                              value: {
         
     | 
| 
       581 
     | 
    
         
            -
                                id: IdStore,
         
     | 
| 
       582 
     | 
    
         
            -
                                storeName: storeName
         
     | 
| 
      
 631 
     | 
    
         
            +
                _this.toHsyPage = function () {
         
     | 
| 
      
 632 
     | 
    
         
            +
                  var _ref9 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee4(params) {
         
     | 
| 
      
 633 
     | 
    
         
            +
                    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, _ref10, _ref10$loginInfo, _ref10$loginInfo$IdSt, IdStore, _ref10$loginInfo$PosI, PosId, _ref10$store, _ref10$store$storeNam, storeName, commonArgs, actionUrl, cc_url, CC_WEB_URL, external_frame, win;
         
     | 
| 
      
 634 
     | 
    
         
            +
             
     | 
| 
      
 635 
     | 
    
         
            +
                    return _regenerator2.default.wrap(function _callee4$(_context4) {
         
     | 
| 
      
 636 
     | 
    
         
            +
                      while (1) {
         
     | 
| 
      
 637 
     | 
    
         
            +
                        switch (_context4.prev = _context4.next) {
         
     | 
| 
      
 638 
     | 
    
         
            +
                          case 0:
         
     | 
| 
      
 639 
     | 
    
         
            +
                            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;
         
     | 
| 
      
 640 
     | 
    
         
            +
                            filter = {};
         
     | 
| 
      
 641 
     | 
    
         
            +
                            //对仓库参数的处理
         
     | 
| 
      
 642 
     | 
    
         
            +
             
     | 
| 
      
 643 
     | 
    
         
            +
                            IdWarehouse = (0, _tplusPoslogin.PosInitData)('IdWarehouse') || '';
         
     | 
| 
      
 644 
     | 
    
         
            +
                            WarehouseName = (0, _tplusPoslogin.PosInitData)('WarehouseName') || '';
         
     | 
| 
      
 645 
     | 
    
         
            +
                            IsPerformanceDistribution = (0, _tplusPoslogin.PosInitData)('PerformanceDistribution') === 'SHIPPER_STORE' || false;
         
     | 
| 
      
 646 
     | 
    
         
            +
                            _ref10 = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('user') || {}, _ref10$loginInfo = _ref10.loginInfo, _ref10$loginInfo$IdSt = _ref10$loginInfo.IdStore, IdStore = _ref10$loginInfo$IdSt === undefined ? '' : _ref10$loginInfo$IdSt, _ref10$loginInfo$PosI = _ref10$loginInfo.PosId, PosId = _ref10$loginInfo$PosI === undefined ? '' : _ref10$loginInfo$PosI, _ref10$store = _ref10.store;
         
     | 
| 
      
 647 
     | 
    
         
            +
                            _ref10$store = _ref10$store === undefined ? {} : _ref10$store;
         
     | 
| 
      
 648 
     | 
    
         
            +
                            _ref10$store$storeNam = _ref10$store.storeName, storeName = _ref10$store$storeNam === undefined ? '' : _ref10$store$storeNam;
         
     | 
| 
      
 649 
     | 
    
         
            +
                            _context4.t0 = pageType;
         
     | 
| 
      
 650 
     | 
    
         
            +
                            _context4.next = _context4.t0 === 'voucher' ? 11 : _context4.t0 === 'report' ? 14 : 18;
         
     | 
| 
      
 651 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 652 
     | 
    
         
            +
             
     | 
| 
      
 653 
     | 
    
         
            +
                          case 11:
         
     | 
| 
      
 654 
     | 
    
         
            +
                            filter = {
         
     | 
| 
      
 655 
     | 
    
         
            +
                              defaultValue: {
         
     | 
| 
      
 656 
     | 
    
         
            +
                                storeId: {
         
     | 
| 
      
 657 
     | 
    
         
            +
                                  id: IdStore,
         
     | 
| 
      
 658 
     | 
    
         
            +
                                  storeName: storeName
         
     | 
| 
      
 659 
     | 
    
         
            +
                                },
         
     | 
| 
      
 660 
     | 
    
         
            +
                                warehouseId: {
         
     | 
| 
      
 661 
     | 
    
         
            +
                                  id: IdWarehouse,
         
     | 
| 
      
 662 
     | 
    
         
            +
                                  name: WarehouseName
         
     | 
| 
      
 663 
     | 
    
         
            +
                                }
         
     | 
| 
       583 
664 
     | 
    
         
             
                              }
         
     | 
| 
       584 
     | 
    
         
            -
             
     | 
| 
       585 
     | 
    
         
            -
                             
     | 
| 
       586 
     | 
    
         
            -
                               
     | 
| 
       587 
     | 
    
         
            -
                                 
     | 
| 
       588 
     | 
    
         
            -
             
     | 
| 
       589 
     | 
    
         
            -
             
     | 
| 
      
 665 
     | 
    
         
            +
                              //要货单特殊处理
         
     | 
| 
      
 666 
     | 
    
         
            +
                            };if (menu == 'require-goods-new') {
         
     | 
| 
      
 667 
     | 
    
         
            +
                              filter = {
         
     | 
| 
      
 668 
     | 
    
         
            +
                                defaultValue: {
         
     | 
| 
      
 669 
     | 
    
         
            +
                                  storeId: {
         
     | 
| 
      
 670 
     | 
    
         
            +
                                    id: IdStore,
         
     | 
| 
      
 671 
     | 
    
         
            +
                                    storeName: storeName
         
     | 
| 
      
 672 
     | 
    
         
            +
                                  },
         
     | 
| 
      
 673 
     | 
    
         
            +
                                  requireWarehouseId: {
         
     | 
| 
      
 674 
     | 
    
         
            +
                                    id: IdWarehouse,
         
     | 
| 
      
 675 
     | 
    
         
            +
                                    name: WarehouseName
         
     | 
| 
      
 676 
     | 
    
         
            +
                                  }
         
     | 
| 
      
 677 
     | 
    
         
            +
                                }
         
     | 
| 
      
 678 
     | 
    
         
            +
                              };
         
     | 
| 
       590 
679 
     | 
    
         
             
                            }
         
     | 
| 
       591 
     | 
    
         
            -
             
     | 
| 
       592 
     | 
    
         
            -
             
     | 
| 
       593 
     | 
    
         
            -
             
     | 
| 
       594 
     | 
    
         
            -
             
     | 
| 
       595 
     | 
    
         
            -
             
     | 
| 
       596 
     | 
    
         
            -
             
     | 
| 
       597 
     | 
    
         
            -
             
     | 
| 
       598 
     | 
    
         
            -
             
     | 
| 
       599 
     | 
    
         
            -
             
     | 
| 
       600 
     | 
    
         
            -
             
     | 
| 
       601 
     | 
    
         
            -
                                 
     | 
| 
      
 680 
     | 
    
         
            +
                            return _context4.abrupt('break', 18);
         
     | 
| 
      
 681 
     | 
    
         
            +
             
     | 
| 
      
 682 
     | 
    
         
            +
                          case 14:
         
     | 
| 
      
 683 
     | 
    
         
            +
                            filter = {
         
     | 
| 
      
 684 
     | 
    
         
            +
                              filterValue: {
         
     | 
| 
      
 685 
     | 
    
         
            +
                                storeId: {
         
     | 
| 
      
 686 
     | 
    
         
            +
                                  value: {
         
     | 
| 
      
 687 
     | 
    
         
            +
                                    id: IdStore,
         
     | 
| 
      
 688 
     | 
    
         
            +
                                    storeName: storeName
         
     | 
| 
      
 689 
     | 
    
         
            +
                                  }
         
     | 
| 
      
 690 
     | 
    
         
            +
                                },
         
     | 
| 
      
 691 
     | 
    
         
            +
                                warehouseId: {
         
     | 
| 
      
 692 
     | 
    
         
            +
                                  value: [{
         
     | 
| 
      
 693 
     | 
    
         
            +
                                    id: IdWarehouse,
         
     | 
| 
      
 694 
     | 
    
         
            +
                                    name: WarehouseName
         
     | 
| 
      
 695 
     | 
    
         
            +
                                  }]
         
     | 
| 
      
 696 
     | 
    
         
            +
                                }
         
     | 
| 
       602 
697 
     | 
    
         
             
                              }
         
     | 
| 
       603 
     | 
    
         
            -
             
     | 
| 
       604 
     | 
    
         
            -
                             
     | 
| 
       605 
     | 
    
         
            -
                               
     | 
| 
       606 
     | 
    
         
            -
                                 
     | 
| 
       607 
     | 
    
         
            -
             
     | 
| 
       608 
     | 
    
         
            -
             
     | 
| 
      
 698 
     | 
    
         
            +
                              // 收银统计表
         
     | 
| 
      
 699 
     | 
    
         
            +
                            };if (IsPerformanceDistribution && menu == 'retail-cash-report') {
         
     | 
| 
      
 700 
     | 
    
         
            +
                              filter = {
         
     | 
| 
      
 701 
     | 
    
         
            +
                                filterValue: {
         
     | 
| 
      
 702 
     | 
    
         
            +
                                  deliveryStoreId: {
         
     | 
| 
      
 703 
     | 
    
         
            +
                                    value: {
         
     | 
| 
      
 704 
     | 
    
         
            +
                                      id: IdStore,
         
     | 
| 
      
 705 
     | 
    
         
            +
                                      storeName: storeName
         
     | 
| 
      
 706 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 707 
     | 
    
         
            +
                                  },
         
     | 
| 
      
 708 
     | 
    
         
            +
                                  warehouseId: {
         
     | 
| 
      
 709 
     | 
    
         
            +
                                    value: [{
         
     | 
| 
      
 710 
     | 
    
         
            +
                                      id: IdWarehouse,
         
     | 
| 
      
 711 
     | 
    
         
            +
                                      name: WarehouseName
         
     | 
| 
      
 712 
     | 
    
         
            +
                                    }]
         
     | 
| 
      
 713 
     | 
    
         
            +
                                  }
         
     | 
| 
      
 714 
     | 
    
         
            +
                                }
         
     | 
| 
      
 715 
     | 
    
         
            +
                              };
         
     | 
| 
       609 
716 
     | 
    
         
             
                            }
         
     | 
| 
       610 
     | 
    
         
            -
             
     | 
| 
       611 
     | 
    
         
            -
             
     | 
| 
      
 717 
     | 
    
         
            +
                            // 售后、配送
         
     | 
| 
      
 718 
     | 
    
         
            +
                            if (menu == 'return-order' || menu == 'order-manage') {
         
     | 
| 
      
 719 
     | 
    
         
            +
                              filter = {
         
     | 
| 
      
 720 
     | 
    
         
            +
                                filterValue: {
         
     | 
| 
      
 721 
     | 
    
         
            +
                                  storeId: {
         
     | 
| 
      
 722 
     | 
    
         
            +
                                    value: {
         
     | 
| 
      
 723 
     | 
    
         
            +
                                      id: IdStore,
         
     | 
| 
      
 724 
     | 
    
         
            +
                                      storeName: storeName
         
     | 
| 
      
 725 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 726 
     | 
    
         
            +
                                  },
         
     | 
| 
      
 727 
     | 
    
         
            +
                                  deliveryWarehouseId: {
         
     | 
| 
      
 728 
     | 
    
         
            +
                                    value: [{
         
     | 
| 
      
 729 
     | 
    
         
            +
                                      id: IdWarehouse,
         
     | 
| 
      
 730 
     | 
    
         
            +
                                      name: WarehouseName
         
     | 
| 
      
 731 
     | 
    
         
            +
                                    }]
         
     | 
| 
      
 732 
     | 
    
         
            +
                                  }
         
     | 
| 
      
 733 
     | 
    
         
            +
                                }
         
     | 
| 
      
 734 
     | 
    
         
            +
                              };
         
     | 
| 
      
 735 
     | 
    
         
            +
                            }
         
     | 
| 
      
 736 
     | 
    
         
            +
                            return _context4.abrupt('break', 18);
         
     | 
| 
      
 737 
     | 
    
         
            +
             
     | 
| 
      
 738 
     | 
    
         
            +
                          case 18:
         
     | 
| 
      
 739 
     | 
    
         
            +
                            bar_bg = encodeURIComponent(bar_bg);
         
     | 
| 
      
 740 
     | 
    
         
            +
                            bar_active_bg = encodeURIComponent(bar_active_bg);
         
     | 
| 
      
 741 
     | 
    
         
            +
                            menu = secondRouter ? menu + '/' + _this.randomWord(true, 13) : menu;
         
     | 
| 
      
 742 
     | 
    
         
            +
                            pageId = menu;
         
     | 
| 
      
 743 
     | 
    
         
            +
                            pageParams = (0, _assign2.default)(pageParams, filter);
         
     | 
| 
      
 744 
     | 
    
         
            +
                            path = encodeURIComponent(path);
         
     | 
| 
      
 745 
     | 
    
         
            +
                            _k = _this.randomWord(false, 6);
         
     | 
| 
      
 746 
     | 
    
         
            +
             
     | 
| 
      
 747 
     | 
    
         
            +
                            commonArgs = '?posid=' + PosId + '&content_only=' + content_only + '&bar_bg=' + bar_bg + '&bar_active_bg=' + bar_active_bg;
         
     | 
| 
      
 748 
     | 
    
         
            +
                            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;
         
     | 
| 
      
 749 
     | 
    
         
            +
                            cc_url = _this.hsy_domain.replace('#/', '') + commonArgs + actionUrl;
         
     | 
| 
      
 750 
     | 
    
         
            +
             
     | 
| 
      
 751 
     | 
    
         
            +
                            console.log('web_hsy_url:', cc_url);
         
     | 
| 
      
 752 
     | 
    
         
            +
             
     | 
| 
      
 753 
     | 
    
         
            +
                            if (!_this.isHorizontalSunMi) {
         
     | 
| 
      
 754 
     | 
    
         
            +
                              _context4.next = 37;
         
     | 
| 
      
 755 
     | 
    
         
            +
                              break;
         
     | 
| 
      
 756 
     | 
    
         
            +
                            }
         
     | 
| 
      
 757 
     | 
    
         
            +
             
     | 
| 
      
 758 
     | 
    
         
            +
                            _context4.next = 32;
         
     | 
| 
      
 759 
     | 
    
         
            +
                            return _tplusApi.User.getLoginCCMidWebUrl(cc_url);
         
     | 
| 
      
 760 
     | 
    
         
            +
             
     | 
| 
      
 761 
     | 
    
         
            +
                          case 32:
         
     | 
| 
      
 762 
     | 
    
         
            +
                            CC_WEB_URL = _context4.sent;
         
     | 
| 
      
 763 
     | 
    
         
            +
             
     | 
| 
      
 764 
     | 
    
         
            +
                            console.log('CC_WEB_URL:', CC_WEB_URL);
         
     | 
| 
      
 765 
     | 
    
         
            +
                            window.android_CommonFun.openWebUrlByOutBrowser(CC_WEB_URL);
         
     | 
| 
      
 766 
     | 
    
         
            +
                            _context4.next = 42;
         
     | 
| 
      
 767 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 768 
     | 
    
         
            +
             
     | 
| 
      
 769 
     | 
    
         
            +
                          case 37:
         
     | 
| 
      
 770 
     | 
    
         
            +
                            external_frame = document.getElementById('external-frame-cc');
         
     | 
| 
      
 771 
     | 
    
         
            +
                            win = external_frame.contentWindow;
         
     | 
| 
      
 772 
     | 
    
         
            +
             
     | 
| 
      
 773 
     | 
    
         
            +
                            win && win.HsyRouterJump && win.HsyRouterJump(pageId, pageParams, { closeable: closeable, tabLabel: tabLabel });
         
     | 
| 
      
 774 
     | 
    
         
            +
                            if (_this.state.showMoreModal === true) {
         
     | 
| 
      
 775 
     | 
    
         
            +
                              _this.setState({ loadHsyPage: true, showMoreModal: false });
         
     | 
| 
      
 776 
     | 
    
         
            +
                            } else {
         
     | 
| 
      
 777 
     | 
    
         
            +
                              _this.setState({ loadHsyPage: true });
         
     | 
| 
      
 778 
     | 
    
         
            +
                            }
         
     | 
| 
      
 779 
     | 
    
         
            +
                            rx$.changeHsy.next({
         
     | 
| 
      
 780 
     | 
    
         
            +
                              back: true, fn: function fn() {
         
     | 
| 
      
 781 
     | 
    
         
            +
                                _this.setState({ loadHsyPage: false });
         
     | 
| 
      
 782 
     | 
    
         
            +
                                rx$.changeHsy.next({ back: false });
         
     | 
| 
      
 783 
     | 
    
         
            +
                                // 在打开页签之前,关闭之前的。
         
     | 
| 
      
 784 
     | 
    
         
            +
                                var external_frame_a = document.getElementById('external-frame-cc');
         
     | 
| 
      
 785 
     | 
    
         
            +
                                var wins = external_frame_a.contentWindow;
         
     | 
| 
      
 786 
     | 
    
         
            +
                                wins && wins.HsyRouterClean && win.HsyRouterClean();
         
     | 
| 
      
 787 
     | 
    
         
            +
                              }
         
     | 
| 
      
 788 
     | 
    
         
            +
                            });
         
     | 
| 
      
 789 
     | 
    
         
            +
             
     | 
| 
      
 790 
     | 
    
         
            +
                          case 42:
         
     | 
| 
      
 791 
     | 
    
         
            +
                          case 'end':
         
     | 
| 
      
 792 
     | 
    
         
            +
                            return _context4.stop();
         
     | 
| 
      
 793 
     | 
    
         
            +
                        }
         
     | 
| 
       612 
794 
     | 
    
         
             
                      }
         
     | 
| 
       613 
     | 
    
         
            -
             
     | 
| 
       614 
     | 
    
         
            -
                  }
         
     | 
| 
       615 
     | 
    
         
            -
             
     | 
| 
       616 
     | 
    
         
            -
                   
     | 
| 
       617 
     | 
    
         
            -
             
     | 
| 
       618 
     | 
    
         
            -
                   
     | 
| 
       619 
     | 
    
         
            -
             
     | 
| 
       620 
     | 
    
         
            -
                  path = encodeURIComponent(path);
         
     | 
| 
       621 
     | 
    
         
            -
                  _k = _this.randomWord(false, 6);
         
     | 
| 
       622 
     | 
    
         
            -
             
     | 
| 
       623 
     | 
    
         
            -
                  var commonArgs = '?posid=' + PosId + '&content_only=' + content_only + '&bar_bg=' + bar_bg + '&bar_active_bg=' + bar_active_bg;
         
     | 
| 
       624 
     | 
    
         
            -
                  var actionUrl = '#/' + menu + '?activePrompt=' + activePrompt + '&closePrompt=' + closePrompt + '&closeable=' + closeable + '&leavePrompt=' + leavePrompt + '&lock=' + lock + '&pageId=' + pageId + '&pageParams=' + encodeURIComponent((0, _stringify2.default)(pageParams)) + '&path=' + path + '&tabId=' + tabId + '&tabLabel=' + encodeURIComponent(tabLabel) + '&_k=' + _k;
         
     | 
| 
       625 
     | 
    
         
            -
                  var cc_url = _this.hsy_domain.replace('#/', '') + commonArgs + actionUrl;
         
     | 
| 
       626 
     | 
    
         
            -
                  console.log('web_hsy_url:', cc_url);
         
     | 
| 
       627 
     | 
    
         
            -
                  var external_frame = document.getElementById('external-frame-cc');
         
     | 
| 
       628 
     | 
    
         
            -
                  var win = external_frame.contentWindow;
         
     | 
| 
       629 
     | 
    
         
            -
                  win && win.HsyRouterJump && win.HsyRouterJump(pageId, pageParams, { closeable: closeable, tabLabel: tabLabel });
         
     | 
| 
       630 
     | 
    
         
            -
                  _this.setState({ loadHsyPage: true });
         
     | 
| 
       631 
     | 
    
         
            -
                  rx$.changeHsy.next({
         
     | 
| 
       632 
     | 
    
         
            -
                    back: true, fn: function fn() {
         
     | 
| 
       633 
     | 
    
         
            -
                      _this.setState({ loadHsyPage: false });
         
     | 
| 
       634 
     | 
    
         
            -
                      rx$.changeHsy.next({ back: false });
         
     | 
| 
       635 
     | 
    
         
            -
                      // 在打开页签之前,关闭之前的。
         
     | 
| 
       636 
     | 
    
         
            -
                      var external_frame_a = document.getElementById('external-frame-cc');
         
     | 
| 
       637 
     | 
    
         
            -
                      var wins = external_frame_a.contentWindow;
         
     | 
| 
       638 
     | 
    
         
            -
                      wins && wins.HsyRouterClean && win.HsyRouterClean();
         
     | 
| 
       639 
     | 
    
         
            -
                    }
         
     | 
| 
       640 
     | 
    
         
            -
                  });
         
     | 
| 
       641 
     | 
    
         
            -
                };
         
     | 
| 
      
 795 
     | 
    
         
            +
                    }, _callee4, _this2);
         
     | 
| 
      
 796 
     | 
    
         
            +
                  }));
         
     | 
| 
      
 797 
     | 
    
         
            +
             
     | 
| 
      
 798 
     | 
    
         
            +
                  return function (_x4) {
         
     | 
| 
      
 799 
     | 
    
         
            +
                    return _ref9.apply(this, arguments);
         
     | 
| 
      
 800 
     | 
    
         
            +
                  };
         
     | 
| 
      
 801 
     | 
    
         
            +
                }();
         
     | 
| 
       642 
802 
     | 
    
         | 
| 
       643 
803 
     | 
    
         
             
                _this.randomWord = function (only, digits) {
         
     | 
| 
       644 
804 
     | 
    
         
             
                  var str = "";
         
     | 
| 
         @@ -656,6 +816,10 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       656 
816 
     | 
    
         
             
                  _this.setState({ showModal: false });
         
     | 
| 
       657 
817 
     | 
    
         
             
                };
         
     | 
| 
       658 
818 
     | 
    
         | 
| 
      
 819 
     | 
    
         
            +
                _this.closeMoreModal = function () {
         
     | 
| 
      
 820 
     | 
    
         
            +
                  _this.setState({ showMoreModal: false });
         
     | 
| 
      
 821 
     | 
    
         
            +
                };
         
     | 
| 
      
 822 
     | 
    
         
            +
             
     | 
| 
       659 
823 
     | 
    
         
             
                _this.tplusEncode = function (code) {
         
     | 
| 
       660 
824 
     | 
    
         
             
                  var c = String.fromCharCode(code.charCodeAt(0) + code.length);
         
     | 
| 
       661 
825 
     | 
    
         
             
                  for (var i = 1; i < code.length; i++) {
         
     | 
| 
         @@ -726,10 +890,10 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       726 
890 
     | 
    
         
             
                      return vv.Name === v.Name;
         
     | 
| 
       727 
891 
     | 
    
         
             
                    });
         
     | 
| 
       728 
892 
     | 
    
         | 
| 
       729 
     | 
    
         
            -
                    var  
     | 
| 
       730 
     | 
    
         
            -
                        Visibility =  
     | 
| 
       731 
     | 
    
         
            -
                        HoldFunctionAuth =  
     | 
| 
       732 
     | 
    
         
            -
                        Title =  
     | 
| 
      
 893 
     | 
    
         
            +
                    var _ref11 = controllable || {},
         
     | 
| 
      
 894 
     | 
    
         
            +
                        Visibility = _ref11.Visibility,
         
     | 
| 
      
 895 
     | 
    
         
            +
                        HoldFunctionAuth = _ref11.HoldFunctionAuth,
         
     | 
| 
      
 896 
     | 
    
         
            +
                        Title = _ref11.Title;
         
     | 
| 
       733 
897 
     | 
    
         | 
| 
       734 
898 
     | 
    
         
             
                    var errorTip = void 0;
         
     | 
| 
       735 
899 
     | 
    
         
             
                    if (!Visibility) {
         
     | 
| 
         @@ -927,11 +1091,43 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       927 
1091 
     | 
    
         
             
                  return node;
         
     | 
| 
       928 
1092 
     | 
    
         
             
                };
         
     | 
| 
       929 
1093 
     | 
    
         | 
| 
      
 1094 
     | 
    
         
            +
                _this.createMoreNode = function () {
         
     | 
| 
      
 1095 
     | 
    
         
            +
                  var arrs = _this.centerRightMenu.find(function (v) {
         
     | 
| 
      
 1096 
     | 
    
         
            +
                    return v.sub && v.sub.find(function (vv) {
         
     | 
| 
      
 1097 
     | 
    
         
            +
                      return vv.key == 'more';
         
     | 
| 
      
 1098 
     | 
    
         
            +
                    });
         
     | 
| 
      
 1099 
     | 
    
         
            +
                  }).sub[1];
         
     | 
| 
      
 1100 
     | 
    
         
            +
                  var items = _this.new_retail_app == 'cc' ? arrs.sub_cc : _this.new_retail_app == 'tc' || _this.new_retail_app == 'tczsy' || _this.new_retail_app == 'tcyzj' ? arrs.sub_tc : [];
         
     | 
| 
      
 1101 
     | 
    
         
            +
                  var node = items.length > 0 && items.map(function (v) {
         
     | 
| 
      
 1102 
     | 
    
         
            +
                    return _react2.default.createElement(
         
     | 
| 
      
 1103 
     | 
    
         
            +
                      'div',
         
     | 
| 
      
 1104 
     | 
    
         
            +
                      {
         
     | 
| 
      
 1105 
     | 
    
         
            +
                        className: 'modal-quick ' + v.className,
         
     | 
| 
      
 1106 
     | 
    
         
            +
                        style: v.style,
         
     | 
| 
      
 1107 
     | 
    
         
            +
                        key: v.className,
         
     | 
| 
      
 1108 
     | 
    
         
            +
                        onClick: _this.handelClick.bind(_this, v)
         
     | 
| 
      
 1109 
     | 
    
         
            +
                      },
         
     | 
| 
      
 1110 
     | 
    
         
            +
                      !!v.icon && _react2.default.createElement(
         
     | 
| 
      
 1111 
     | 
    
         
            +
                        'div',
         
     | 
| 
      
 1112 
     | 
    
         
            +
                        { className: 'quick' },
         
     | 
| 
      
 1113 
     | 
    
         
            +
                        _react2.default.createElement(_tplusComponentsTouch.Ticon, { icon: v.icon })
         
     | 
| 
      
 1114 
     | 
    
         
            +
                      ),
         
     | 
| 
      
 1115 
     | 
    
         
            +
                      !!v.title && _react2.default.createElement(
         
     | 
| 
      
 1116 
     | 
    
         
            +
                        'h1',
         
     | 
| 
      
 1117 
     | 
    
         
            +
                        null,
         
     | 
| 
      
 1118 
     | 
    
         
            +
                        v.title
         
     | 
| 
      
 1119 
     | 
    
         
            +
                      )
         
     | 
| 
      
 1120 
     | 
    
         
            +
                    );
         
     | 
| 
      
 1121 
     | 
    
         
            +
                  });
         
     | 
| 
      
 1122 
     | 
    
         
            +
                  return node;
         
     | 
| 
      
 1123 
     | 
    
         
            +
                };
         
     | 
| 
      
 1124 
     | 
    
         
            +
             
     | 
| 
       930 
1125 
     | 
    
         
             
                _this.hasElectron = hasElectron;
         
     | 
| 
       931 
1126 
     | 
    
         
             
                _this.state = {
         
     | 
| 
       932 
1127 
     | 
    
         
             
                  id: Date.now(),
         
     | 
| 
       933 
1128 
     | 
    
         
             
                  operations: [],
         
     | 
| 
       934 
1129 
     | 
    
         
             
                  showModal: false,
         
     | 
| 
      
 1130 
     | 
    
         
            +
                  showMoreModal: false,
         
     | 
| 
       935 
1131 
     | 
    
         
             
                  loadHsyPage: false,
         
     | 
| 
       936 
1132 
     | 
    
         
             
                  loadHsyURL: '',
         
     | 
| 
       937 
1133 
     | 
    
         
             
                  isHsyLoadFinish: false,
         
     | 
| 
         @@ -940,12 +1136,12 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       940 
1136 
     | 
    
         
             
                  modalURL: ''
         
     | 
| 
       941 
1137 
     | 
    
         
             
                };
         
     | 
| 
       942 
1138 
     | 
    
         | 
| 
       943 
     | 
    
         
            -
                var  
     | 
| 
       944 
     | 
    
         
            -
                    isVerticalTouch =  
     | 
| 
       945 
     | 
    
         
            -
                    isHorizontalPad =  
     | 
| 
       946 
     | 
    
         
            -
                    isHorizontalSunMi =  
     | 
| 
       947 
     | 
    
         
            -
                    isNewRetailBCPos =  
     | 
| 
       948 
     | 
    
         
            -
                    isNewRetailBCPosTC =  
     | 
| 
      
 1139 
     | 
    
         
            +
                var _ref12 = _mutantsUtil.platform || {},
         
     | 
| 
      
 1140 
     | 
    
         
            +
                    isVerticalTouch = _ref12.isVerticalTouch,
         
     | 
| 
      
 1141 
     | 
    
         
            +
                    isHorizontalPad = _ref12.isHorizontalPad,
         
     | 
| 
      
 1142 
     | 
    
         
            +
                    isHorizontalSunMi = _ref12.isHorizontalSunMi,
         
     | 
| 
      
 1143 
     | 
    
         
            +
                    isNewRetailBCPos = _ref12.isNewRetailBCPos,
         
     | 
| 
      
 1144 
     | 
    
         
            +
                    isNewRetailBCPosTC = _ref12.isNewRetailBCPosTC;
         
     | 
| 
       949 
1145 
     | 
    
         | 
| 
       950 
1146 
     | 
    
         
             
                _this.isVerticalTouch = !!isVerticalTouch;
         
     | 
| 
       951 
1147 
     | 
    
         
             
                _this.isHorizontalPad = !!isHorizontalPad;
         
     | 
| 
         @@ -977,54 +1173,10 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       977 
1173 
     | 
    
         
             
              }
         
     | 
| 
       978 
1174 
     | 
    
         | 
| 
       979 
1175 
     | 
    
         
             
              (0, _createClass3.default)(_default, [{
         
     | 
| 
       980 
     | 
    
         
            -
                key: 'componentWillMount',
         
     | 
| 
       981 
     | 
    
         
            -
                value: function componentWillMount() {
         
     | 
| 
       982 
     | 
    
         
            -
                  var _this3 = this;
         
     | 
| 
       983 
     | 
    
         
            -
             
     | 
| 
       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;
         
     | 
| 
       991 
     | 
    
         
            -
                  var homeOperation = _ModifyPassApi.Request.homeOperation,
         
     | 
| 
       992 
     | 
    
         
            -
                      functionData = _ModifyPassApi.Request.functionData;
         
     | 
| 
       993 
     | 
    
         
            -
             
     | 
| 
       994 
     | 
    
         
            -
                  _tplusComponentsTouch.Loading.show({
         
     | 
| 
       995 
     | 
    
         
            -
                    text: '首页权限加载中...',
         
     | 
| 
       996 
     | 
    
         
            -
                    delay: 2500
         
     | 
| 
       997 
     | 
    
         
            -
                  });
         
     | 
| 
       998 
     | 
    
         
            -
                  homeOperation().then(function (operations) {
         
     | 
| 
       999 
     | 
    
         
            -
                    _mutantsMicrofx.localStore.set('operationsAuth', operations ? (0, _stringify2.default)(operations) : []);
         
     | 
| 
       1000 
     | 
    
         
            -
                    _this3.setState({ operations: operations || [] });
         
     | 
| 
       1001 
     | 
    
         
            -
                    _tplusComponentsTouch.Loading.hide();
         
     | 
| 
       1002 
     | 
    
         
            -
                  }).catch(function (err) {
         
     | 
| 
       1003 
     | 
    
         
            -
                    console.log('homeOperation.error======', err);
         
     | 
| 
       1004 
     | 
    
         
            -
                    _tplusComponentsTouch.Loading.hide();
         
     | 
| 
       1005 
     | 
    
         
            -
                  });
         
     | 
| 
       1006 
     | 
    
         
            -
                  functionData().then(function (data) {
         
     | 
| 
       1007 
     | 
    
         
            -
                    // 加载权限数据  DR-29735 by majian
         
     | 
| 
       1008 
     | 
    
         
            -
                    (0, _tplusPoslogin.PosSetData)(data);
         
     | 
| 
       1009 
     | 
    
         
            -
                  });
         
     | 
| 
       1010 
     | 
    
         
            -
                  addClass && addClass(this.state.id, 'portalHead');
         
     | 
| 
       1011 
     | 
    
         
            -
                  // 初始化参数设置。
         
     | 
| 
       1012 
     | 
    
         
            -
                  _mutantsMicrofx.stores.setStore.initSetParams().then(function (ret) {
         
     | 
| 
       1013 
     | 
    
         
            -
                    // 在客户端中,如果开启了副屏设置,尝试这打开副屏。
         
     | 
| 
       1014 
     | 
    
         
            -
                    if (_this3.getScreenType() === true) {
         
     | 
| 
       1015 
     | 
    
         
            -
                      if (_this3.isHorizontalSunMi) {
         
     | 
| 
       1016 
     | 
    
         
            -
                        _this3.sunMiPresentationInit(ret);
         
     | 
| 
       1017 
     | 
    
         
            -
                        return;
         
     | 
| 
       1018 
     | 
    
         
            -
                      }
         
     | 
| 
       1019 
     | 
    
         
            -
                      window.open('vicescreen?ts=' + new Date().getTime(), 'screen');
         
     | 
| 
       1020 
     | 
    
         
            -
                    }
         
     | 
| 
       1021 
     | 
    
         
            -
                  });
         
     | 
| 
       1022 
     | 
    
         
            -
                  this.hsyBasicInfoInit();
         
     | 
| 
       1023 
     | 
    
         
            -
                }
         
     | 
| 
       1024 
     | 
    
         
            -
              }, {
         
     | 
| 
       1025 
1176 
     | 
    
         
             
                key: 'componentDidMount',
         
     | 
| 
       1026 
1177 
     | 
    
         
             
                value: function componentDidMount() {
         
     | 
| 
       1027 
     | 
    
         
            -
                   
     | 
| 
      
 1178 
     | 
    
         
            +
                  this.initPageData();
         
     | 
| 
      
 1179 
     | 
    
         
            +
                  if (this.isNewRetailBCPos && !this.isVerticalTouch && !this.isMobileEnvironment) {
         
     | 
| 
       1028 
1180 
     | 
    
         
             
                    this.initHsyPage();
         
     | 
| 
       1029 
1181 
     | 
    
         
             
                  }
         
     | 
| 
       1030 
1182 
     | 
    
         
             
                }
         
     | 
| 
         @@ -1057,9 +1209,9 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       1057 
1209 
     | 
    
         
             
                      break;
         
     | 
| 
       1058 
1210 
     | 
    
         
             
                  }
         
     | 
| 
       1059 
1211 
     | 
    
         | 
| 
       1060 
     | 
    
         
            -
                  var  
     | 
| 
       1061 
     | 
    
         
            -
                       
     | 
| 
       1062 
     | 
    
         
            -
                      PosId =  
     | 
| 
      
 1212 
     | 
    
         
            +
                  var _ref13 = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('StoreKey') || {},
         
     | 
| 
      
 1213 
     | 
    
         
            +
                      _ref13$PosId = _ref13.PosId,
         
     | 
| 
      
 1214 
     | 
    
         
            +
                      PosId = _ref13$PosId === undefined ? '' : _ref13$PosId;
         
     | 
| 
       1063 
1215 
     | 
    
         | 
| 
       1064 
1216 
     | 
    
         
             
                  var cc_url = this.hsy_domain.replace('#/', '') + '?fromApp=nretail&posid=' + PosId + '&content_only=true&bar_bg=' + encodeURIComponent('#FFFFFF') + '&bar_active_bg=' + encodeURIComponent(color);
         
     | 
| 
       1065 
1217 
     | 
    
         
             
                  this.setState({ loadHsyURL: cc_url });
         
     | 
| 
         @@ -1109,6 +1261,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       1109 
1261 
     | 
    
         
             
                value: function render() {
         
     | 
| 
       1110 
1262 
     | 
    
         
             
                  var _state = this.state,
         
     | 
| 
       1111 
1263 
     | 
    
         
             
                      showModal = _state.showModal,
         
     | 
| 
      
 1264 
     | 
    
         
            +
                      showMoreModal = _state.showMoreModal,
         
     | 
| 
       1112 
1265 
     | 
    
         
             
                      modalURL = _state.modalURL,
         
     | 
| 
       1113 
1266 
     | 
    
         
             
                      loadHsyPage = _state.loadHsyPage,
         
     | 
| 
       1114 
1267 
     | 
    
         
             
                      loadHsyURL = _state.loadHsyURL,
         
     | 
| 
         @@ -1172,13 +1325,30 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       1172 
1325 
     | 
    
         
             
                      ),
         
     | 
| 
       1173 
1326 
     | 
    
         
             
                      this.isMobileEnvironment && _react2.default.createElement(
         
     | 
| 
       1174 
1327 
     | 
    
         
             
                        _antd.Modal,
         
     | 
| 
       1175 
     | 
    
         
            -
                        { 
     | 
| 
      
 1328 
     | 
    
         
            +
                        {
         
     | 
| 
      
 1329 
     | 
    
         
            +
                          visible: showModal,
         
     | 
| 
       1176 
1330 
     | 
    
         
             
                          onCancel: this.closeFrameModal,
         
     | 
| 
       1177 
1331 
     | 
    
         
             
                          width: '99%',
         
     | 
| 
       1178 
1332 
     | 
    
         
             
                          height: '99%',
         
     | 
| 
       1179 
1333 
     | 
    
         
             
                          footer: null
         
     | 
| 
       1180 
1334 
     | 
    
         
             
                        },
         
     | 
| 
       1181 
1335 
     | 
    
         
             
                        _react2.default.createElement('iframe', { src: modalURL, width: '100%', height: screenHeight, frameborder: 'no', border: '0', marginwidth: '0', marginheight: '0', scrolling: 'yes', allowtransparency: 'true' })
         
     | 
| 
      
 1336 
     | 
    
         
            +
                      ),
         
     | 
| 
      
 1337 
     | 
    
         
            +
                      _react2.default.createElement(
         
     | 
| 
      
 1338 
     | 
    
         
            +
                        _antd.Modal,
         
     | 
| 
      
 1339 
     | 
    
         
            +
                        {
         
     | 
| 
      
 1340 
     | 
    
         
            +
                          title: '更多',
         
     | 
| 
      
 1341 
     | 
    
         
            +
                          className: 'portal-container-modal-more',
         
     | 
| 
      
 1342 
     | 
    
         
            +
                          visible: showMoreModal,
         
     | 
| 
      
 1343 
     | 
    
         
            +
                          onCancel: this.closeMoreModal,
         
     | 
| 
      
 1344 
     | 
    
         
            +
                          width: 800,
         
     | 
| 
      
 1345 
     | 
    
         
            +
                          height: 375,
         
     | 
| 
      
 1346 
     | 
    
         
            +
                          footer: null,
         
     | 
| 
      
 1347 
     | 
    
         
            +
                          centered: true,
         
     | 
| 
      
 1348 
     | 
    
         
            +
                          maskClosable: false,
         
     | 
| 
      
 1349 
     | 
    
         
            +
                          keyboard: false
         
     | 
| 
      
 1350 
     | 
    
         
            +
                        },
         
     | 
| 
      
 1351 
     | 
    
         
            +
                        this.createMoreNode()
         
     | 
| 
       1182 
1352 
     | 
    
         
             
                      )
         
     | 
| 
       1183 
1353 
     | 
    
         
             
                    );
         
     | 
| 
       1184 
1354 
     | 
    
         
             
                  }
         
     |