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