tplus-portaltouch 3.22.3 → 3.22.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/ModifyPassApi.js +1 -1
 - package/dist/api/ModifyPassApi.js.map +1 -1
 - package/dist/components/header/headContent.js +495 -38
 - package/dist/components/header/headContent.js.map +1 -1
 - package/dist/components/header/offlinePointDesc.js +7 -0
 - package/dist/components/header/offlinePointDesc.js.map +1 -0
 - package/dist/components/header/style.less +106 -1
 - package/dist/components/header/uploadList.js +269 -0
 - package/dist/components/header/uploadList.js.map +1 -0
 - package/dist/containers/Main/index.js +20 -17
 - package/dist/containers/Main/index.js.map +1 -1
 - package/dist/pages/Portal/index.js +228 -127
 - package/dist/pages/Portal/index.js.map +1 -1
 - package/dist/pages/Portalbc/data.js +2 -2
 - package/dist/pages/Portalbc/data.js.map +1 -1
 - package/dist/pages/Portalbc/index.js +214 -125
 - package/dist/pages/Portalbc/index.js.map +1 -1
 - package/dist/pages/Portalbc/index.less +4 -0
 - package/package.json +37 -37
 - 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.less +0 -612
 - package/dist/pages/Portal/verticalPortal.js +0 -126
 - package/dist/pages/Portal/verticalPortal.js.map +0 -1
 
| 
         @@ -5,21 +5,21 @@ Object.defineProperty(exports, "__esModule", { 
     | 
|
| 
       5 
5 
     | 
    
         
             
            });
         
     | 
| 
       6 
6 
     | 
    
         
             
            exports.default = undefined;
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
            var  
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
            var _regenerator2 = _interopRequireDefault(_regenerator);
         
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
            var _asyncToGenerator2 = require('babel-runtime/helpers/asyncToGenerator');
         
     | 
| 
      
 8 
     | 
    
         
            +
            var _stringify = require('babel-runtime/core-js/json/stringify');
         
     | 
| 
       13 
9 
     | 
    
         | 
| 
       14 
     | 
    
         
            -
            var  
     | 
| 
      
 10 
     | 
    
         
            +
            var _stringify2 = _interopRequireDefault(_stringify);
         
     | 
| 
       15 
11 
     | 
    
         | 
| 
       16 
12 
     | 
    
         
             
            var _promise = require('babel-runtime/core-js/promise');
         
     | 
| 
       17 
13 
     | 
    
         | 
| 
       18 
14 
     | 
    
         
             
            var _promise2 = _interopRequireDefault(_promise);
         
     | 
| 
       19 
15 
     | 
    
         | 
| 
       20 
     | 
    
         
            -
            var  
     | 
| 
      
 16 
     | 
    
         
            +
            var _regenerator = require('babel-runtime/regenerator');
         
     | 
| 
       21 
17 
     | 
    
         | 
| 
       22 
     | 
    
         
            -
            var  
     | 
| 
      
 18 
     | 
    
         
            +
            var _regenerator2 = _interopRequireDefault(_regenerator);
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            var _asyncToGenerator2 = require('babel-runtime/helpers/asyncToGenerator');
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            var _asyncToGenerator3 = _interopRequireDefault(_asyncToGenerator2);
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
            var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');
         
     | 
| 
       25 
25 
     | 
    
         | 
| 
         @@ -44,7 +44,7 @@ var _inherits3 = _interopRequireDefault(_inherits2); 
     | 
|
| 
       44 
44 
     | 
    
         
             
            var _class, _class2, _temp, _initialiseProps; /*
         
     | 
| 
       45 
45 
     | 
    
         
             
                                                           * @Description:
         
     | 
| 
       46 
46 
     | 
    
         
             
                                                           * @Date: 2019-08-13 08:42:18
         
     | 
| 
       47 
     | 
    
         
            -
                                                           * @LastEditTime: 2021- 
     | 
| 
      
 47 
     | 
    
         
            +
                                                           * @LastEditTime: 2021-09-02 14:35:59
         
     | 
| 
       48 
48 
     | 
    
         
             
                                                           * @LastEditors: chenlongad
         
     | 
| 
       49 
49 
     | 
    
         
             
                                                           * @modify:修改跳转到T+的查询方案方式
         
     | 
| 
       50 
50 
     | 
    
         
             
                                                           */
         
     | 
| 
         @@ -144,57 +144,42 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       144 
144 
     | 
    
         | 
| 
       145 
145 
     | 
    
         
             
              (0, _createClass3.default)(_default, [{
         
     | 
| 
       146 
146 
     | 
    
         
             
                key: 'componentWillMount',
         
     | 
| 
       147 
     | 
    
         
            -
                value: function  
     | 
| 
       148 
     | 
    
         
            -
                  var  
     | 
| 
       149 
     | 
    
         
            -
             
     | 
| 
       150 
     | 
    
         
            -
             
     | 
| 
       151 
     | 
    
         
            -
             
     | 
| 
       152 
     | 
    
         
            -
             
     | 
| 
       153 
     | 
    
         
            -
             
     | 
| 
       154 
     | 
    
         
            -
             
     | 
| 
       155 
     | 
    
         
            -
             
     | 
| 
       156 
     | 
    
         
            -
             
     | 
| 
       157 
     | 
    
         
            -
             
     | 
| 
       158 
     | 
    
         
            -
             
     | 
| 
       159 
     | 
    
         
            -
             
     | 
| 
       160 
     | 
    
         
            -
             
     | 
| 
       161 
     | 
    
         
            -
             
     | 
| 
       162 
     | 
    
         
            -
             
     | 
| 
       163 
     | 
    
         
            -
             
     | 
| 
       164 
     | 
    
         
            -
                  homeOperation().then(function (operations) {
         
     | 
| 
       165 
     | 
    
         
            -
                    _mutantsMicrofx.localStore.set('operationsAuth', (0, _stringify2.default)(operations));
         
     | 
| 
       166 
     | 
    
         
            -
                    _this2.setState({ operations: operations });
         
     | 
| 
       167 
     | 
    
         
            -
                    _tplusComponentsTouch.Loading.hide();
         
     | 
| 
       168 
     | 
    
         
            -
                  }).catch(function (err) {
         
     | 
| 
       169 
     | 
    
         
            -
                    console.log('homeOperation.error======', err);
         
     | 
| 
       170 
     | 
    
         
            -
                    _tplusComponentsTouch.Loading.hide();
         
     | 
| 
       171 
     | 
    
         
            -
                  });
         
     | 
| 
       172 
     | 
    
         
            -
                  functionData().then(function (data) {
         
     | 
| 
       173 
     | 
    
         
            -
                    // 加载权限数据  DR-29735 by majian
         
     | 
| 
       174 
     | 
    
         
            -
                    (0, _tplusPoslogin.PosSetData)(data);
         
     | 
| 
       175 
     | 
    
         
            -
                  });
         
     | 
| 
       176 
     | 
    
         
            -
                  // portalStore && portalStore.getPortalMenu();
         
     | 
| 
       177 
     | 
    
         
            -
                  addClass && addClass(this.state.id, 'portalHead');
         
     | 
| 
       178 
     | 
    
         
            -
                  // 初始化参数设置。
         
     | 
| 
       179 
     | 
    
         
            -
                  _mutantsMicrofx.stores.setStore.initSetParams().then(function (ret) {
         
     | 
| 
       180 
     | 
    
         
            -
                    // 在客户端中,如果开启了副屏设置,尝试这打开副屏。
         
     | 
| 
       181 
     | 
    
         
            -
                    if (_this2.getScreenType() === true) {
         
     | 
| 
       182 
     | 
    
         
            -
                      if (_this2.isHorizontalSunMi) {
         
     | 
| 
       183 
     | 
    
         
            -
                        _this2.sunMiPresentationInit(ret);
         
     | 
| 
       184 
     | 
    
         
            -
                        return;
         
     | 
| 
      
 147 
     | 
    
         
            +
                value: function () {
         
     | 
| 
      
 148 
     | 
    
         
            +
                  var _ref2 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee() {
         
     | 
| 
      
 149 
     | 
    
         
            +
                    return _regenerator2.default.wrap(function _callee$(_context) {
         
     | 
| 
      
 150 
     | 
    
         
            +
                      while (1) {
         
     | 
| 
      
 151 
     | 
    
         
            +
                        switch (_context.prev = _context.next) {
         
     | 
| 
      
 152 
     | 
    
         
            +
                          case 0:
         
     | 
| 
      
 153 
     | 
    
         
            +
                            _context.next = 2;
         
     | 
| 
      
 154 
     | 
    
         
            +
                            return this.catchOfflineData();
         
     | 
| 
      
 155 
     | 
    
         
            +
             
     | 
| 
      
 156 
     | 
    
         
            +
                          case 2:
         
     | 
| 
      
 157 
     | 
    
         
            +
                            _context.next = 4;
         
     | 
| 
      
 158 
     | 
    
         
            +
                            return this.getOperation();
         
     | 
| 
      
 159 
     | 
    
         
            +
             
     | 
| 
      
 160 
     | 
    
         
            +
                          case 4:
         
     | 
| 
      
 161 
     | 
    
         
            +
                          case 'end':
         
     | 
| 
      
 162 
     | 
    
         
            +
                            return _context.stop();
         
     | 
| 
      
 163 
     | 
    
         
            +
                        }
         
     | 
| 
       185 
164 
     | 
    
         
             
                      }
         
     | 
| 
       186 
     | 
    
         
            -
             
     | 
| 
       187 
     | 
    
         
            -
             
     | 
| 
       188 
     | 
    
         
            -
             
     | 
| 
       189 
     | 
    
         
            -
             
     | 
| 
      
 165 
     | 
    
         
            +
                    }, _callee, this);
         
     | 
| 
      
 166 
     | 
    
         
            +
                  }));
         
     | 
| 
      
 167 
     | 
    
         
            +
             
     | 
| 
      
 168 
     | 
    
         
            +
                  function componentWillMount() {
         
     | 
| 
      
 169 
     | 
    
         
            +
                    return _ref2.apply(this, arguments);
         
     | 
| 
      
 170 
     | 
    
         
            +
                  }
         
     | 
| 
      
 171 
     | 
    
         
            +
             
     | 
| 
      
 172 
     | 
    
         
            +
                  return componentWillMount;
         
     | 
| 
      
 173 
     | 
    
         
            +
                }()
         
     | 
| 
      
 174 
     | 
    
         
            +
             
     | 
| 
       190 
175 
     | 
    
         
             
                // 初始化商米副屏
         
     | 
| 
       191 
176 
     | 
    
         | 
| 
       192 
177 
     | 
    
         
             
              }, {
         
     | 
| 
       193 
178 
     | 
    
         
             
                key: 'componentWillUnmount',
         
     | 
| 
       194 
179 
     | 
    
         
             
                value: function componentWillUnmount() {
         
     | 
| 
       195 
     | 
    
         
            -
                  var _context$ 
     | 
| 
       196 
     | 
    
         
            -
                  _context$ 
     | 
| 
       197 
     | 
    
         
            -
                  var removeClass = _context$ 
     | 
| 
      
 180 
     | 
    
         
            +
                  var _context$headHook = this.context.headHook;
         
     | 
| 
      
 181 
     | 
    
         
            +
                  _context$headHook = _context$headHook === undefined ? {} : _context$headHook;
         
     | 
| 
      
 182 
     | 
    
         
            +
                  var removeClass = _context$headHook.removeClass;
         
     | 
| 
       198 
183 
     | 
    
         | 
| 
       199 
184 
     | 
    
         
             
                  removeClass && removeClass(this.state.id, 'portalHead');
         
     | 
| 
       200 
185 
     | 
    
         
             
                }
         
     | 
| 
         @@ -299,32 +284,142 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       299 
284 
     | 
    
         
             
              infoRender: _propTypes2.default.func,
         
     | 
| 
       300 
285 
     | 
    
         
             
              headHook: _propTypes2.default.object
         
     | 
| 
       301 
286 
     | 
    
         
             
            }, _initialiseProps = function _initialiseProps() {
         
     | 
| 
       302 
     | 
    
         
            -
              var  
     | 
| 
      
 287 
     | 
    
         
            +
              var _this2 = this;
         
     | 
| 
      
 288 
     | 
    
         
            +
             
     | 
| 
      
 289 
     | 
    
         
            +
              this.getOperation = function () {
         
     | 
| 
      
 290 
     | 
    
         
            +
                return new _promise2.default(function (resolve, reject) {
         
     | 
| 
      
 291 
     | 
    
         
            +
                  var _context2 = _this2.context,
         
     | 
| 
      
 292 
     | 
    
         
            +
                      _context2$stores = _context2.stores;
         
     | 
| 
      
 293 
     | 
    
         
            +
                  _context2$stores = _context2$stores === undefined ? {} : _context2$stores;
         
     | 
| 
      
 294 
     | 
    
         
            +
                  var portalStore = _context2$stores.portalStore,
         
     | 
| 
      
 295 
     | 
    
         
            +
                      _context2$headHook = _context2.headHook;
         
     | 
| 
      
 296 
     | 
    
         
            +
                  _context2$headHook = _context2$headHook === undefined ? {} : _context2$headHook;
         
     | 
| 
      
 297 
     | 
    
         
            +
                  var addClass = _context2$headHook.addClass;
         
     | 
| 
      
 298 
     | 
    
         
            +
                  var homeOperation = _ModifyPassApi.Request.homeOperation,
         
     | 
| 
      
 299 
     | 
    
         
            +
                      functionData = _ModifyPassApi.Request.functionData;
         
     | 
| 
      
 300 
     | 
    
         
            +
             
     | 
| 
      
 301 
     | 
    
         
            +
                  _tplusComponentsTouch.Loading.show({
         
     | 
| 
      
 302 
     | 
    
         
            +
                    text: '首页权限加载中',
         
     | 
| 
      
 303 
     | 
    
         
            +
                    delay: 2500
         
     | 
| 
      
 304 
     | 
    
         
            +
                  });
         
     | 
| 
      
 305 
     | 
    
         
            +
                  homeOperation().then(function (operations) {
         
     | 
| 
      
 306 
     | 
    
         
            +
                    _mutantsMicrofx.localStore.set('operationsAuth', (0, _stringify2.default)(operations));
         
     | 
| 
      
 307 
     | 
    
         
            +
                    _this2.setState({ operations: operations });
         
     | 
| 
      
 308 
     | 
    
         
            +
                    _tplusComponentsTouch.Loading.hide();
         
     | 
| 
      
 309 
     | 
    
         
            +
                    resolve();
         
     | 
| 
      
 310 
     | 
    
         
            +
                  }).catch(function (err) {
         
     | 
| 
      
 311 
     | 
    
         
            +
                    console.log('homeOperation.error======', err);
         
     | 
| 
      
 312 
     | 
    
         
            +
                    _tplusComponentsTouch.Loading.hide();
         
     | 
| 
      
 313 
     | 
    
         
            +
                    resolve();
         
     | 
| 
      
 314 
     | 
    
         
            +
                  });
         
     | 
| 
      
 315 
     | 
    
         
            +
                  functionData().then(function (data) {
         
     | 
| 
      
 316 
     | 
    
         
            +
                    // 加载权限数据  DR-29735 by majian
         
     | 
| 
      
 317 
     | 
    
         
            +
                    (0, _tplusPoslogin.PosSetData)(data);
         
     | 
| 
      
 318 
     | 
    
         
            +
                  });
         
     | 
| 
      
 319 
     | 
    
         
            +
                  // portalStore && portalStore.getPortalMenu();
         
     | 
| 
      
 320 
     | 
    
         
            +
                  addClass && addClass(_this2.state.id, 'portalHead');
         
     | 
| 
      
 321 
     | 
    
         
            +
                  // 初始化参数设置。
         
     | 
| 
      
 322 
     | 
    
         
            +
                  _mutantsMicrofx.stores.setStore.initSetParams().then(function (ret) {
         
     | 
| 
      
 323 
     | 
    
         
            +
                    // 在客户端中,如果开启了副屏设置,尝试这打开副屏。
         
     | 
| 
      
 324 
     | 
    
         
            +
                    if (_this2.getScreenType() === true) {
         
     | 
| 
      
 325 
     | 
    
         
            +
                      if (_this2.isHorizontalSunMi) {
         
     | 
| 
      
 326 
     | 
    
         
            +
                        _this2.sunMiPresentationInit(ret);
         
     | 
| 
      
 327 
     | 
    
         
            +
                        return;
         
     | 
| 
      
 328 
     | 
    
         
            +
                      }
         
     | 
| 
      
 329 
     | 
    
         
            +
                      window.open('vicescreen?ts=' + new Date().getTime(), 'screen');
         
     | 
| 
      
 330 
     | 
    
         
            +
                    }
         
     | 
| 
      
 331 
     | 
    
         
            +
                  });
         
     | 
| 
      
 332 
     | 
    
         
            +
                });
         
     | 
| 
      
 333 
     | 
    
         
            +
              };
         
     | 
| 
      
 334 
     | 
    
         
            +
             
     | 
| 
      
 335 
     | 
    
         
            +
              this.catchOfflineData = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2() {
         
     | 
| 
      
 336 
     | 
    
         
            +
                var offlineSys, isLoginAfter;
         
     | 
| 
      
 337 
     | 
    
         
            +
                return _regenerator2.default.wrap(function _callee2$(_context3) {
         
     | 
| 
      
 338 
     | 
    
         
            +
                  while (1) {
         
     | 
| 
      
 339 
     | 
    
         
            +
                    switch (_context3.prev = _context3.next) {
         
     | 
| 
      
 340 
     | 
    
         
            +
                      case 0:
         
     | 
| 
      
 341 
     | 
    
         
            +
                        offlineSys = _this2.context.stores.offlineSys;
         
     | 
| 
      
 342 
     | 
    
         
            +
                        isLoginAfter = _mutantsMicrofx.localStore.get("isLoginAfter");
         
     | 
| 
      
 343 
     | 
    
         
            +
             
     | 
| 
      
 344 
     | 
    
         
            +
                        if (!(isLoginAfter == 1)) {
         
     | 
| 
      
 345 
     | 
    
         
            +
                          _context3.next = 8;
         
     | 
| 
      
 346 
     | 
    
         
            +
                          break;
         
     | 
| 
      
 347 
     | 
    
         
            +
                        }
         
     | 
| 
      
 348 
     | 
    
         
            +
             
     | 
| 
      
 349 
     | 
    
         
            +
                        _tplusComponentsTouch.Loading.show({
         
     | 
| 
      
 350 
     | 
    
         
            +
                          text: '离线数据下载中',
         
     | 
| 
      
 351 
     | 
    
         
            +
                          delay: 2500
         
     | 
| 
      
 352 
     | 
    
         
            +
                        });
         
     | 
| 
      
 353 
     | 
    
         
            +
                        _context3.next = 6;
         
     | 
| 
      
 354 
     | 
    
         
            +
                        return offlineSys.downloadCatcherData();
         
     | 
| 
      
 355 
     | 
    
         
            +
             
     | 
| 
      
 356 
     | 
    
         
            +
                      case 6:
         
     | 
| 
      
 357 
     | 
    
         
            +
                        _tplusComponentsTouch.Loading.hide();
         
     | 
| 
      
 358 
     | 
    
         
            +
                        _mutantsMicrofx.localStore.set("isLoginAfter", 0);
         
     | 
| 
      
 359 
     | 
    
         
            +
             
     | 
| 
      
 360 
     | 
    
         
            +
                      case 8:
         
     | 
| 
      
 361 
     | 
    
         
            +
                      case 'end':
         
     | 
| 
      
 362 
     | 
    
         
            +
                        return _context3.stop();
         
     | 
| 
      
 363 
     | 
    
         
            +
                    }
         
     | 
| 
      
 364 
     | 
    
         
            +
                  }
         
     | 
| 
      
 365 
     | 
    
         
            +
                }, _callee2, _this2);
         
     | 
| 
      
 366 
     | 
    
         
            +
              }));
         
     | 
| 
       303 
367 
     | 
    
         | 
| 
       304 
368 
     | 
    
         
             
              this.sunMiPresentationInit = function (result) {
         
     | 
| 
       305 
369 
     | 
    
         
             
                //SunMi初始化参数设置。
         
     | 
| 
       306 
370 
     | 
    
         
             
                //副屏幕交互。硬件改动20200428   需要在商米页面加载成功后才能发送 初始化命令
         
     | 
| 
       307 
     | 
    
         
            -
                //  
     | 
| 
       308 
     | 
    
         
            -
             
     | 
| 
       309 
     | 
    
         
            -
             
     | 
| 
       310 
     | 
    
         
            -
             
     | 
| 
       311 
     | 
    
         
            -
                 
     | 
| 
       312 
     | 
    
         
            -
                 
     | 
| 
       313 
     | 
    
         
            -
             
     | 
| 
       314 
     | 
    
         
            -
             
     | 
| 
       315 
     | 
    
         
            -
             
     | 
| 
       316 
     | 
    
         
            -
             
     | 
| 
       317 
     | 
    
         
            -
             
     | 
| 
       318 
     | 
    
         
            -
             
     | 
| 
       319 
     | 
    
         
            -
             
     | 
| 
       320 
     | 
    
         
            -
             
     | 
| 
      
 371 
     | 
    
         
            +
                // 获取是否缓存副屏地址 只在app打开的生命周期缓存 读取 关闭重新缓存
         
     | 
| 
      
 372 
     | 
    
         
            +
             
     | 
| 
      
 373 
     | 
    
         
            +
             
     | 
| 
      
 374 
     | 
    
         
            +
                var SunMi_fuping_url = sessionStorage.getItem("SunMi_fuping_url");
         
     | 
| 
      
 375 
     | 
    
         
            +
                // 如果存在缓存地址 使用缓存地址  否则使用新hash地址
         
     | 
| 
      
 376 
     | 
    
         
            +
                if (!SunMi_fuping_url) {
         
     | 
| 
      
 377 
     | 
    
         
            +
                  var url = location.origin + location.pathname + '?ts=' + new Date().getTime() + '&vt=3&fuping=3';
         
     | 
| 
      
 378 
     | 
    
         
            +
                  window.sunMi_PresentationManager && window.sunMi_PresentationManager.secondScreenLoadUrl(url).then(function () {
         
     | 
| 
      
 379 
     | 
    
         
            +
                    _this2.FuPingIsLoaded = true;
         
     | 
| 
      
 380 
     | 
    
         
            +
                    // 加载副屏页面成功 缓存地址
         
     | 
| 
      
 381 
     | 
    
         
            +
                    sessionStorage.setItem("SunMi_fuping_url", url);
         
     | 
| 
      
 382 
     | 
    
         
            +
                    setTimeout(function () {
         
     | 
| 
      
 383 
     | 
    
         
            +
                      // 进行主副屏数据交互 初始化
         
     | 
| 
      
 384 
     | 
    
         
            +
                      var _ref4 = _mutantsMicrofx.localStore.get('user') || {},
         
     | 
| 
      
 385 
     | 
    
         
            +
                          _ref4$store = _ref4.store;
         
     | 
| 
      
 386 
     | 
    
         
            +
             
     | 
| 
      
 387 
     | 
    
         
            +
                      _ref4$store = _ref4$store === undefined ? {} : _ref4$store;
         
     | 
| 
      
 388 
     | 
    
         
            +
                      var _ref4$store$storeName = _ref4$store.storeName,
         
     | 
| 
      
 389 
     | 
    
         
            +
                          storeName = _ref4$store$storeName === undefined ? '' : _ref4$store$storeName;
         
     | 
| 
      
 390 
     | 
    
         
            +
             
     | 
| 
      
 391 
     | 
    
         
            +
                      console.log(result);
         
     | 
| 
      
 392 
     | 
    
         
            +
             
     | 
| 
      
 393 
     | 
    
         
            +
                      var _enumController$getEn = _mutantsUtil.enumController.getEnumOj(),
         
     | 
| 
      
 394 
     | 
    
         
            +
                          RE_POSParamType = _enumController$getEn.RE_POSParamType;
         
     | 
| 
      
 395 
     | 
    
         
            +
             
     | 
| 
      
 396 
     | 
    
         
            +
                      var DUAL_SCREEN_SETTING = RE_POSParamType.DUAL_SCREEN_SETTING;
         
     | 
| 
      
 397 
     | 
    
         
            +
             
     | 
| 
      
 398 
     | 
    
         
            +
                      var filterResult = result && result.filter ? result.filter(function (settingItem) {
         
     | 
| 
      
 399 
     | 
    
         
            +
                        return settingItem.ParamType && (settingItem.ParamType.Id === DUAL_SCREEN_SETTING || settingItem.ParamType === DUAL_SCREEN_SETTING);
         
     | 
| 
      
 400 
     | 
    
         
            +
                      }) : [];
         
     | 
| 
      
 401 
     | 
    
         
            +
                      window.sunMi_PresentationManager && window.sunMi_PresentationManager.sharedPreferencesSet("setting_setData", filterResult).then(function () {
         
     | 
| 
      
 402 
     | 
    
         
            +
                        console.log("缓存数据成功");
         
     | 
| 
      
 403 
     | 
    
         
            +
                        window.sunMi_PresentationManager && window.sunMi_PresentationManager.sendMessageToSecondScreen({ step: 0, storeName: storeName });
         
     | 
| 
      
 404 
     | 
    
         
            +
                      });
         
     | 
| 
      
 405 
     | 
    
         
            +
                    }, 2000);
         
     | 
| 
      
 406 
     | 
    
         
            +
                  });
         
     | 
| 
      
 407 
     | 
    
         
            +
                } else {
         
     | 
| 
      
 408 
     | 
    
         
            +
                  // 表示已经加载过页面只需要重置状态即可
         
     | 
| 
      
 409 
     | 
    
         
            +
                  var _ref5 = _mutantsMicrofx.localStore.get('user') || {},
         
     | 
| 
      
 410 
     | 
    
         
            +
                      _ref5$store = _ref5.store;
         
     | 
| 
      
 411 
     | 
    
         
            +
             
     | 
| 
      
 412 
     | 
    
         
            +
                  _ref5$store = _ref5$store === undefined ? {} : _ref5$store;
         
     | 
| 
      
 413 
     | 
    
         
            +
                  var _ref5$store$storeName = _ref5$store.storeName,
         
     | 
| 
      
 414 
     | 
    
         
            +
                      storeName = _ref5$store$storeName === undefined ? '' : _ref5$store$storeName;
         
     | 
| 
      
 415 
     | 
    
         
            +
             
     | 
| 
       321 
416 
     | 
    
         
             
                  window.sunMi_PresentationManager && window.sunMi_PresentationManager.sendMessageToSecondScreen({ step: 0, storeName: storeName });
         
     | 
| 
       322 
     | 
    
         
            -
                } 
     | 
| 
      
 417 
     | 
    
         
            +
                }
         
     | 
| 
       323 
418 
     | 
    
         
             
              };
         
     | 
| 
       324 
419 
     | 
    
         | 
| 
       325 
420 
     | 
    
         
             
              this.getScreenType = function () {
         
     | 
| 
       326 
421 
     | 
    
         
             
                var flag = false;
         
     | 
| 
       327 
     | 
    
         
            -
                if ( 
     | 
| 
      
 422 
     | 
    
         
            +
                if (_this2.hasElectron === true || _this2.isHorizontalSunMi) {
         
     | 
| 
       328 
423 
     | 
    
         
             
                  var data = _mutantsMicrofx.localStore.get('setting_setData') || [];
         
     | 
| 
       329 
424 
     | 
    
         
             
                  data = data.filter(function (item) {
         
     | 
| 
       330 
425 
     | 
    
         
             
                    return item.Name === 'EnableDoubleScreen';
         
     | 
| 
         @@ -352,17 +447,17 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       352 
447 
     | 
    
         
             
                    Name = values.Name,
         
     | 
| 
       353 
448 
     | 
    
         
             
                    search = values.search;
         
     | 
| 
       354 
449 
     | 
    
         
             
                var tmenuCode = values.tmenuCode;
         
     | 
| 
       355 
     | 
    
         
            -
                var operations =  
     | 
| 
      
 450 
     | 
    
         
            +
                var operations = _this2.state.operations;
         
     | 
| 
       356 
451 
     | 
    
         | 
| 
       357 
452 
     | 
    
         
             
                var controllable = operations.find(function (vv) {
         
     | 
| 
       358 
453 
     | 
    
         
             
                  return vv.Name === Name;
         
     | 
| 
       359 
454 
     | 
    
         
             
                });
         
     | 
| 
       360 
455 
     | 
    
         | 
| 
       361 
     | 
    
         
            -
                var  
     | 
| 
       362 
     | 
    
         
            -
                    Visibility =  
     | 
| 
       363 
     | 
    
         
            -
                    HoldFunctionAuth =  
     | 
| 
       364 
     | 
    
         
            -
                    Title =  
     | 
| 
       365 
     | 
    
         
            -
                    MenuCode =  
     | 
| 
      
 456 
     | 
    
         
            +
                var _ref6 = controllable || {},
         
     | 
| 
      
 457 
     | 
    
         
            +
                    Visibility = _ref6.Visibility,
         
     | 
| 
      
 458 
     | 
    
         
            +
                    HoldFunctionAuth = _ref6.HoldFunctionAuth,
         
     | 
| 
      
 459 
     | 
    
         
            +
                    Title = _ref6.Title,
         
     | 
| 
      
 460 
     | 
    
         
            +
                    MenuCode = _ref6.MenuCode;
         
     | 
| 
       366 
461 
     | 
    
         | 
| 
       367 
462 
     | 
    
         
             
                var errorTip = void 0;
         
     | 
| 
       368 
463 
     | 
    
         
             
                if (!Title) {
         
     | 
| 
         @@ -376,12 +471,18 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       376 
471 
     | 
    
         
             
                    okType: 'primary'
         
     | 
| 
       377 
472 
     | 
    
         
             
                  });
         
     | 
| 
       378 
473 
     | 
    
         
             
                }
         
     | 
| 
      
 474 
     | 
    
         
            +
             
     | 
| 
      
 475 
     | 
    
         
            +
                if (_mutantsMicrofx.stores.offlineSys.shouldOpenHomeOperation(Name)) {
         
     | 
| 
      
 476 
     | 
    
         
            +
                  _tplusComponentsTouch.Message.warn("离线模式下此操作不可用");
         
     | 
| 
      
 477 
     | 
    
         
            +
                  return;
         
     | 
| 
      
 478 
     | 
    
         
            +
                }
         
     | 
| 
      
 479 
     | 
    
         
            +
             
     | 
| 
       379 
480 
     | 
    
         
             
                if (!Visibility) {
         
     | 
| 
       380 
481 
     | 
    
         
             
                  errorTip = '\u60A8\u7684 ' + Title + ' \u6A21\u5757\u6CA1\u6709\u542F\u7528';
         
     | 
| 
       381 
482 
     | 
    
         
             
                } else if (!HoldFunctionAuth) {
         
     | 
| 
       382 
483 
     | 
    
         
             
                  errorTip = '\u60A8\u6CA1\u6709\u64CD\u4F5C ' + Title + ' \u7684\u6743\u9650';
         
     | 
| 
       383 
484 
     | 
    
         
             
                }
         
     | 
| 
       384 
     | 
    
         
            -
                var portalStore =  
     | 
| 
      
 485 
     | 
    
         
            +
                var portalStore = _this2.context.stores.portalStore;
         
     | 
| 
       385 
486 
     | 
    
         | 
| 
       386 
487 
     | 
    
         
             
                if (errorTip) {
         
     | 
| 
       387 
488 
     | 
    
         
             
                  return _tplusComponentsTouch.Message.warn(errorTip);
         
     | 
| 
         @@ -401,7 +502,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       401 
502 
     | 
    
         | 
| 
       402 
503 
     | 
    
         
             
                        (0, _tplusPoslogin.PosSetData)({ ShiftCode: Code, IdShiftVoucher: IdShiftVoucher, Shift: Shift, IdDailyVoucher: IdDailyVoucher, DailyCode: DailyCode });
         
     | 
| 
       403 
504 
     | 
    
         
             
                        console.log('onDutyMessage======', onDutyMessage);
         
     | 
| 
       404 
     | 
    
         
            -
                         
     | 
| 
      
 505 
     | 
    
         
            +
                        _this2.saveLog(title);
         
     | 
| 
       405 
506 
     | 
    
         
             
                        _mutantsMicrofx.history.push('/RE/RE01');
         
     | 
| 
       406 
507 
     | 
    
         
             
                      }
         
     | 
| 
       407 
508 
     | 
    
         
             
                    }).catch(function (data) {
         
     | 
| 
         @@ -428,11 +529,11 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       428 
529 
     | 
    
         
             
                    break;
         
     | 
| 
       429 
530 
     | 
    
         
             
                  default:
         
     | 
| 
       430 
531 
     | 
    
         
             
                    if (tmenuCode || MenuCode) {
         
     | 
| 
       431 
     | 
    
         
            -
                       
     | 
| 
      
 532 
     | 
    
         
            +
                      _this2.saveLog(title);
         
     | 
| 
       432 
533 
     | 
    
         
             
                      if (MenuCode) {
         
     | 
| 
       433 
     | 
    
         
            -
                         
     | 
| 
      
 534 
     | 
    
         
            +
                        _this2.toTplusPage(type, MenuCode, search);
         
     | 
| 
       434 
535 
     | 
    
         
             
                      } else {
         
     | 
| 
       435 
     | 
    
         
            -
                         
     | 
| 
      
 536 
     | 
    
         
            +
                        _this2.toTplusPage(type, tmenuCode, search);
         
     | 
| 
       436 
537 
     | 
    
         
             
                      }
         
     | 
| 
       437 
538 
     | 
    
         
             
                    } else {
         
     | 
| 
       438 
539 
     | 
    
         
             
                      _mutantsMicrofx.history.push('/' + type);
         
     | 
| 
         @@ -467,11 +568,11 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       467 
568 
     | 
    
         
             
              };
         
     | 
| 
       468 
569 
     | 
    
         | 
| 
       469 
570 
     | 
    
         
             
              this.toTplusPage = function () {
         
     | 
| 
       470 
     | 
    
         
            -
                var  
     | 
| 
      
 571 
     | 
    
         
            +
                var _ref7 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee3(type, tmenuCode, search) {
         
     | 
| 
       471 
572 
     | 
    
         
             
                  var userStore, sid, tplusUrl, tplusinnersite, msg, dsearchPlanID, portalStore, baseUrl, ossjumpUrl, user, loginInfo, pwd, userName, accNum, menu, posCode, storeID, fromUrl;
         
     | 
| 
       472 
     | 
    
         
            -
                  return _regenerator2.default.wrap(function  
     | 
| 
      
 573 
     | 
    
         
            +
                  return _regenerator2.default.wrap(function _callee3$(_context4) {
         
     | 
| 
       473 
574 
     | 
    
         
             
                    while (1) {
         
     | 
| 
       474 
     | 
    
         
            -
                      switch ( 
     | 
| 
      
 575 
     | 
    
         
            +
                      switch (_context4.prev = _context4.next) {
         
     | 
| 
       475 
576 
     | 
    
         
             
                        case 0:
         
     | 
| 
       476 
577 
     | 
    
         
             
                          userStore = _tplusApi.User.restore();
         
     | 
| 
       477 
578 
     | 
    
         
             
                          sid = userStore.sid;
         
     | 
| 
         @@ -479,13 +580,13 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       479 
580 
     | 
    
         
             
                          tplusinnersite = (0, _tplusPoslogin.PosInitData)("tplusinnersite");
         
     | 
| 
       480 
581 
     | 
    
         | 
| 
       481 
582 
     | 
    
         
             
                          tplusUrl = tplusUrl ? tplusUrl : tplusinnersite;
         
     | 
| 
       482 
     | 
    
         
            -
                          if (!tplusUrl && !sid &&  
     | 
| 
      
 583 
     | 
    
         
            +
                          if (!tplusUrl && !sid && _this2.hasElectron === true) {
         
     | 
| 
       483 
584 
     | 
    
         
             
                            //软件包,并且electron读取electron配置的地址
         
     | 
| 
       484 
585 
     | 
    
         
             
                            tplusUrl = location.origin + "/tplus";
         
     | 
| 
       485 
586 
     | 
    
         
             
                          }
         
     | 
| 
       486 
587 
     | 
    
         | 
| 
       487 
588 
     | 
    
         
             
                          if (tplusUrl) {
         
     | 
| 
       488 
     | 
    
         
            -
                             
     | 
| 
      
 589 
     | 
    
         
            +
                            _context4.next = 10;
         
     | 
| 
       489 
590 
     | 
    
         
             
                            break;
         
     | 
| 
       490 
591 
     | 
    
         
             
                          }
         
     | 
| 
       491 
592 
     | 
    
         | 
| 
         @@ -497,22 +598,22 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       497 
598 
     | 
    
         
             
                            okText: '确定',
         
     | 
| 
       498 
599 
     | 
    
         
             
                            okType: 'primary'
         
     | 
| 
       499 
600 
     | 
    
         
             
                          });
         
     | 
| 
       500 
     | 
    
         
            -
                          return  
     | 
| 
      
 601 
     | 
    
         
            +
                          return _context4.abrupt('return');
         
     | 
| 
       501 
602 
     | 
    
         | 
| 
       502 
603 
     | 
    
         
             
                        case 10:
         
     | 
| 
       503 
604 
     | 
    
         
             
                          dsearchPlanID = void 0;
         
     | 
| 
       504 
605 
     | 
    
         | 
| 
       505 
606 
     | 
    
         
             
                          if (!(search && search.id)) {
         
     | 
| 
       506 
     | 
    
         
            -
                             
     | 
| 
      
 607 
     | 
    
         
            +
                            _context4.next = 16;
         
     | 
| 
       507 
608 
     | 
    
         
             
                            break;
         
     | 
| 
       508 
609 
     | 
    
         
             
                          }
         
     | 
| 
       509 
610 
     | 
    
         | 
| 
       510 
     | 
    
         
            -
                          portalStore =  
     | 
| 
       511 
     | 
    
         
            -
                           
     | 
| 
      
 611 
     | 
    
         
            +
                          portalStore = _this2.context.stores.portalStore;
         
     | 
| 
      
 612 
     | 
    
         
            +
                          _context4.next = 15;
         
     | 
| 
       512 
613 
     | 
    
         
             
                          return portalStore.getSearchPlanId(search);
         
     | 
| 
       513 
614 
     | 
    
         | 
| 
       514 
615 
     | 
    
         
             
                        case 15:
         
     | 
| 
       515 
     | 
    
         
            -
                          dsearchPlanID =  
     | 
| 
      
 616 
     | 
    
         
            +
                          dsearchPlanID = _context4.sent;
         
     | 
| 
       516 
617 
     | 
    
         | 
| 
       517 
618 
     | 
    
         
             
                        case 16:
         
     | 
| 
       518 
619 
     | 
    
         
             
                          if (tplusUrl.substring(tplusUrl.length - 1) !== '/') tplusUrl += '/';
         
     | 
| 
         @@ -526,28 +627,28 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       526 
627 
     | 
    
         
             
                          if (sid) {
         
     | 
| 
       527 
628 
     | 
    
         
             
                            ossjumpUrl = tplusUrl + 'view/ossjump.html?t=' + new Date().getTime() + '&sid=' + sid;
         
     | 
| 
       528 
629 
     | 
    
         
             
                          }
         
     | 
| 
       529 
     | 
    
         
            -
                          user =  
     | 
| 
      
 630 
     | 
    
         
            +
                          user = _this2.context.stores.user;
         
     | 
| 
       530 
631 
     | 
    
         
             
                          loginInfo = user.options.get('loginInfo');
         
     | 
| 
       531 
632 
     | 
    
         
             
                          pwd = user.options.get("password");
         
     | 
| 
       532 
     | 
    
         
            -
                          userName =  
     | 
| 
       533 
     | 
    
         
            -
                          accNum =  
     | 
| 
       534 
     | 
    
         
            -
                          menu =  
     | 
| 
       535 
     | 
    
         
            -
                          posCode =  
     | 
| 
       536 
     | 
    
         
            -
                          storeID =  
     | 
| 
      
 633 
     | 
    
         
            +
                          userName = _this2.tplusEncode(loginInfo.UserCode);
         
     | 
| 
      
 634 
     | 
    
         
            +
                          accNum = _this2.tplusEncode(loginInfo.AccountNum);
         
     | 
| 
      
 635 
     | 
    
         
            +
                          menu = _this2.tplusEncode(tmenuCode);
         
     | 
| 
      
 636 
     | 
    
         
            +
                          posCode = _this2.tplusEncode(loginInfo.posCode);
         
     | 
| 
      
 637 
     | 
    
         
            +
                          storeID = _this2.tplusEncode(loginInfo.storeID + "");
         
     | 
| 
       537 
638 
     | 
    
         | 
| 
       538 
     | 
    
         
            -
                          pwd =  
     | 
| 
       539 
     | 
    
         
            -
                          fromUrl =  
     | 
| 
      
 639 
     | 
    
         
            +
                          pwd = _this2.tplusEncode(pwd);
         
     | 
| 
      
 640 
     | 
    
         
            +
                          fromUrl = _this2.tplusEncode(location.origin);
         
     | 
| 
       540 
641 
     | 
    
         | 
| 
       541 
642 
     | 
    
         
             
                          ossjumpUrl += '&fromApp=nretail&user=' + userName + '&pwd=' + pwd + '&accNum=' + accNum + '&menu=' + menu + '&posCode=' + posCode + '&storeID=' + storeID + '&fromUrl=' + fromUrl;
         
     | 
| 
       542 
643 
     | 
    
         
             
                          if (dsearchPlanID) {
         
     | 
| 
       543 
     | 
    
         
            -
                            ossjumpUrl += '&searchPlanID=' +  
     | 
| 
      
 644 
     | 
    
         
            +
                            ossjumpUrl += '&searchPlanID=' + _this2.tplusEncode(dsearchPlanID);
         
     | 
| 
       544 
645 
     | 
    
         
             
                          }
         
     | 
| 
       545 
     | 
    
         
            -
                          if ( 
     | 
| 
      
 646 
     | 
    
         
            +
                          if (_this2.isHorizontalSunMi) {
         
     | 
| 
       546 
647 
     | 
    
         
             
                            window.android_CommonFun.openWebUrlByOutBrowser(ossjumpUrl);
         
     | 
| 
       547 
     | 
    
         
            -
                          } else if ( 
     | 
| 
      
 648 
     | 
    
         
            +
                          } else if (_this2.hasElectron === true) {
         
     | 
| 
       548 
649 
     | 
    
         
             
                            _mutantsMicrofx.nativeMs.useDefaultBrowser(ossjumpUrl);
         
     | 
| 
       549 
     | 
    
         
            -
                          } else if ( 
     | 
| 
       550 
     | 
    
         
            -
                             
     | 
| 
      
 650 
     | 
    
         
            +
                          } else if (_this2.isMobileEnvironment) {
         
     | 
| 
      
 651 
     | 
    
         
            +
                            _this2.setState({ showModal: true, frameUrl: ossjumpUrl });
         
     | 
| 
       551 
652 
     | 
    
         
             
                          } else {
         
     | 
| 
       552 
653 
     | 
    
         
             
                            if (!tplusWindow || tplusWindow.closed) {
         
     | 
| 
       553 
654 
     | 
    
         
             
                              tplusWindow = window.open(ossjumpUrl, "tplus", "location=no");
         
     | 
| 
         @@ -559,19 +660,19 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       559 
660 
     | 
    
         | 
| 
       560 
661 
     | 
    
         
             
                        case 33:
         
     | 
| 
       561 
662 
     | 
    
         
             
                        case 'end':
         
     | 
| 
       562 
     | 
    
         
            -
                          return  
     | 
| 
      
 663 
     | 
    
         
            +
                          return _context4.stop();
         
     | 
| 
       563 
664 
     | 
    
         
             
                      }
         
     | 
| 
       564 
665 
     | 
    
         
             
                    }
         
     | 
| 
       565 
     | 
    
         
            -
                  },  
     | 
| 
      
 666 
     | 
    
         
            +
                  }, _callee3, _this2);
         
     | 
| 
       566 
667 
     | 
    
         
             
                }));
         
     | 
| 
       567 
668 
     | 
    
         | 
| 
       568 
669 
     | 
    
         
             
                return function (_x2, _x3, _x4) {
         
     | 
| 
       569 
     | 
    
         
            -
                  return  
     | 
| 
      
 670 
     | 
    
         
            +
                  return _ref7.apply(this, arguments);
         
     | 
| 
       570 
671 
     | 
    
         
             
                };
         
     | 
| 
       571 
672 
     | 
    
         
             
              }();
         
     | 
| 
       572 
673 
     | 
    
         | 
| 
       573 
674 
     | 
    
         
             
              this.closeFrameModal = function () {
         
     | 
| 
       574 
     | 
    
         
            -
                 
     | 
| 
      
 675 
     | 
    
         
            +
                _this2.setState({ showModal: false });
         
     | 
| 
       575 
676 
     | 
    
         
             
              };
         
     | 
| 
       576 
677 
     | 
    
         | 
| 
       577 
678 
     | 
    
         
             
              this.tplusEncode = function (code) {
         
     | 
| 
         @@ -579,7 +680,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       579 
680 
     | 
    
         
             
                for (var i = 1; i < code.length; i++) {
         
     | 
| 
       580 
681 
     | 
    
         
             
                  c += String.fromCharCode(code.charCodeAt(i) + code.charCodeAt(i - 1));
         
     | 
| 
       581 
682 
     | 
    
         
             
                }
         
     | 
| 
       582 
     | 
    
         
            -
                var ret =  
     | 
| 
      
 683 
     | 
    
         
            +
                var ret = _this2.TplusBase64Encode(c);
         
     | 
| 
       583 
684 
     | 
    
         
             
                return ret;
         
     | 
| 
       584 
685 
     | 
    
         
             
              };
         
     | 
| 
       585 
686 
     | 
    
         | 
| 
         @@ -594,7 +695,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       594 
695 
     | 
    
         
             
                    enc3 = void 0,
         
     | 
| 
       595 
696 
     | 
    
         
             
                    enc4 = void 0;
         
     | 
| 
       596 
697 
     | 
    
         
             
                var i = 0;
         
     | 
| 
       597 
     | 
    
         
            -
                input =  
     | 
| 
      
 698 
     | 
    
         
            +
                input = _this2._utf8_encode(input);
         
     | 
| 
       598 
699 
     | 
    
         
             
                while (i < input.length) {
         
     | 
| 
       599 
700 
     | 
    
         
             
                  chr1 = input.charCodeAt(i++);
         
     | 
| 
       600 
701 
     | 
    
         
             
                  chr2 = input.charCodeAt(i++);
         
     | 
| 
         @@ -634,21 +735,21 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       634 
735 
     | 
    
         | 
| 
       635 
736 
     | 
    
         
             
              this.operationControl = function () {
         
     | 
| 
       636 
737 
     | 
    
         
             
                var menu = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
         
     | 
| 
       637 
     | 
    
         
            -
                var operations =  
     | 
| 
      
 738 
     | 
    
         
            +
                var operations = _this2.state.operations;
         
     | 
| 
       638 
739 
     | 
    
         | 
| 
       639 
740 
     | 
    
         
             
                console.log(operations, 11111);
         
     | 
| 
       640 
741 
     | 
    
         
             
                menu.forEach(function (v) {
         
     | 
| 
       641 
742 
     | 
    
         
             
                  if (v.sub) {
         
     | 
| 
       642 
     | 
    
         
            -
                    return  
     | 
| 
      
 743 
     | 
    
         
            +
                    return _this2.operationControl(v.sub);
         
     | 
| 
       643 
744 
     | 
    
         
             
                  }
         
     | 
| 
       644 
745 
     | 
    
         
             
                  var controllable = operations.find(function (vv) {
         
     | 
| 
       645 
746 
     | 
    
         
             
                    return vv.Name === v.Name;
         
     | 
| 
       646 
747 
     | 
    
         
             
                  });
         
     | 
| 
       647 
748 
     | 
    
         | 
| 
       648 
     | 
    
         
            -
                  var  
     | 
| 
       649 
     | 
    
         
            -
                      Visibility =  
     | 
| 
       650 
     | 
    
         
            -
                      HoldFunctionAuth =  
     | 
| 
       651 
     | 
    
         
            -
                      Title =  
     | 
| 
      
 749 
     | 
    
         
            +
                  var _ref8 = controllable || {},
         
     | 
| 
      
 750 
     | 
    
         
            +
                      Visibility = _ref8.Visibility,
         
     | 
| 
      
 751 
     | 
    
         
            +
                      HoldFunctionAuth = _ref8.HoldFunctionAuth,
         
     | 
| 
      
 752 
     | 
    
         
            +
                      Title = _ref8.Title;
         
     | 
| 
       652 
753 
     | 
    
         | 
| 
       653 
754 
     | 
    
         
             
                  var errorTip = void 0;
         
     | 
| 
       654 
755 
     | 
    
         
             
                  if (!Visibility) {
         
     | 
| 
         @@ -662,7 +763,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       662 
763 
     | 
    
         
             
              };
         
     | 
| 
       663 
764 
     | 
    
         | 
| 
       664 
765 
     | 
    
         
             
              this.createLeftNode = function () {
         
     | 
| 
       665 
     | 
    
         
            -
                var menu =  
     | 
| 
      
 766 
     | 
    
         
            +
                var menu = _this2.leftMenu;
         
     | 
| 
       666 
767 
     | 
    
         
             
                var menuNode = menu.map(function (v) {
         
     | 
| 
       667 
768 
     | 
    
         
             
                  return v.container ? _react2.default.createElement(
         
     | 
| 
       668 
769 
     | 
    
         
             
                    'div',
         
     | 
| 
         @@ -673,7 +774,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       673 
774 
     | 
    
         
             
                        {
         
     | 
| 
       674 
775 
     | 
    
         
             
                          className: 'member-item ' + vv.className + ' ' + (vv.disabled ? 'menu-item-disabled' : ''),
         
     | 
| 
       675 
776 
     | 
    
         
             
                          key: vv.className,
         
     | 
| 
       676 
     | 
    
         
            -
                          onClick:  
     | 
| 
      
 777 
     | 
    
         
            +
                          onClick: _this2.handelClick.bind(_this2, vv)
         
     | 
| 
       677 
778 
     | 
    
         
             
                        },
         
     | 
| 
       678 
779 
     | 
    
         
             
                        !!vv.title && _react2.default.createElement(
         
     | 
| 
       679 
780 
     | 
    
         
             
                          'h1',
         
     | 
| 
         @@ -693,7 +794,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       693 
794 
     | 
    
         
             
                    {
         
     | 
| 
       694 
795 
     | 
    
         
             
                      className: 'member-item ' + v.className + ' ' + (v.disabled ? 'menu-item-disabled' : ''),
         
     | 
| 
       695 
796 
     | 
    
         
             
                      key: v.className,
         
     | 
| 
       696 
     | 
    
         
            -
                      onClick:  
     | 
| 
      
 797 
     | 
    
         
            +
                      onClick: _this2.handelClick.bind(_this2, v)
         
     | 
| 
       697 
798 
     | 
    
         
             
                    },
         
     | 
| 
       698 
799 
     | 
    
         
             
                    v.title && _react2.default.createElement(
         
     | 
| 
       699 
800 
     | 
    
         
             
                      'h1',
         
     | 
| 
         @@ -712,8 +813,8 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       712 
813 
     | 
    
         
             
              };
         
     | 
| 
       713 
814 
     | 
    
         | 
| 
       714 
815 
     | 
    
         
             
              this.createCenterNode = function () {
         
     | 
| 
       715 
     | 
    
         
            -
                var leftMenu =  
     | 
| 
       716 
     | 
    
         
            -
                var rightMenu =  
     | 
| 
      
 816 
     | 
    
         
            +
                var leftMenu = _this2.centerLeftMenu;
         
     | 
| 
      
 817 
     | 
    
         
            +
                var rightMenu = _this2.centerRightMenu;
         
     | 
| 
       717 
818 
     | 
    
         
             
                var menuLeftNode = leftMenu.map(function (v) {
         
     | 
| 
       718 
819 
     | 
    
         
             
                  return _react2.default.createElement(
         
     | 
| 
       719 
820 
     | 
    
         
             
                    'div',
         
     | 
| 
         @@ -721,7 +822,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       721 
822 
     | 
    
         
             
                      className: 'worktop-item ' + v.className + ' ' + (v.disabled ? 'menu-item-disabled' : ''),
         
     | 
| 
       722 
823 
     | 
    
         
             
                      style: v.style,
         
     | 
| 
       723 
824 
     | 
    
         
             
                      key: v.className,
         
     | 
| 
       724 
     | 
    
         
            -
                      onClick:  
     | 
| 
      
 825 
     | 
    
         
            +
                      onClick: _this2.handelClick.bind(_this2, v)
         
     | 
| 
       725 
826 
     | 
    
         
             
                    },
         
     | 
| 
       726 
827 
     | 
    
         
             
                    v.title && _react2.default.createElement(
         
     | 
| 
       727 
828 
     | 
    
         
             
                      'h1',
         
     | 
| 
         @@ -747,7 +848,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       747 
848 
     | 
    
         
             
                        {
         
     | 
| 
       748 
849 
     | 
    
         
             
                          className: 'worktop-item ' + vv.className + ' ' + (vv.disabled ? 'menu-item-disabled' : ''),
         
     | 
| 
       749 
850 
     | 
    
         
             
                          key: vv.className,
         
     | 
| 
       750 
     | 
    
         
            -
                          onClick:  
     | 
| 
      
 851 
     | 
    
         
            +
                          onClick: _this2.handelClick.bind(_this2, vv)
         
     | 
| 
       751 
852 
     | 
    
         
             
                        },
         
     | 
| 
       752 
853 
     | 
    
         
             
                        vv.title && _react2.default.createElement(
         
     | 
| 
       753 
854 
     | 
    
         
             
                          'h1',
         
     | 
| 
         @@ -767,7 +868,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       767 
868 
     | 
    
         
             
                    {
         
     | 
| 
       768 
869 
     | 
    
         
             
                      className: 'worktop-item ' + v.className + ' ' + (v.disabled ? 'menu-item-disabled' : ''),
         
     | 
| 
       769 
870 
     | 
    
         
             
                      key: v.className,
         
     | 
| 
       770 
     | 
    
         
            -
                      onClick:  
     | 
| 
      
 871 
     | 
    
         
            +
                      onClick: _this2.handelClick.bind(_this2, v)
         
     | 
| 
       771 
872 
     | 
    
         
             
                    },
         
     | 
| 
       772 
873 
     | 
    
         
             
                    v.title && _react2.default.createElement(
         
     | 
| 
       773 
874 
     | 
    
         
             
                      'h1',
         
     | 
| 
         @@ -799,7 +900,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       799 
900 
     | 
    
         
             
              };
         
     | 
| 
       800 
901 
     | 
    
         | 
| 
       801 
902 
     | 
    
         
             
              this.createRightNode = function () {
         
     | 
| 
       802 
     | 
    
         
            -
                var menu =  
     | 
| 
      
 903 
     | 
    
         
            +
                var menu = _this2.rightMenu;
         
     | 
| 
       803 
904 
     | 
    
         
             
                var node = menu.map(function (v, i) {
         
     | 
| 
       804 
905 
     | 
    
         
             
                  return _react2.default.createElement(
         
     | 
| 
       805 
906 
     | 
    
         
             
                    'div',
         
     | 
| 
         @@ -807,7 +908,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C 
     | 
|
| 
       807 
908 
     | 
    
         
             
                      className: 'stock-item ' + v.className + ' ' + (v.disabled ? 'menu-item-disabled' : ''),
         
     | 
| 
       808 
909 
     | 
    
         
             
                      style: v.style,
         
     | 
| 
       809 
910 
     | 
    
         
             
                      key: v.className,
         
     | 
| 
       810 
     | 
    
         
            -
                      onClick:  
     | 
| 
      
 911 
     | 
    
         
            +
                      onClick: _this2.handelClick.bind(_this2, v)
         
     | 
| 
       811 
912 
     | 
    
         
             
                    },
         
     | 
| 
       812 
913 
     | 
    
         
             
                    !!v.title && _react2.default.createElement(
         
     | 
| 
       813 
914 
     | 
    
         
             
                      'h1',
         
     |