eoss-ui 0.5.97 → 0.5.99

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.
Files changed (103) hide show
  1. package/lib/button-group.js +8 -4
  2. package/lib/button.js +8 -4
  3. package/lib/calendar.js +2 -2
  4. package/lib/card.js +2 -2
  5. package/lib/cascader.js +2 -2
  6. package/lib/checkbox-group.js +9 -4
  7. package/lib/clients.js +2 -2
  8. package/lib/data-table-form.js +9 -4
  9. package/lib/data-table.js +31 -18
  10. package/lib/date-picker.js +8 -4
  11. package/lib/dialog.js +12 -7
  12. package/lib/enterprise.js +2 -2
  13. package/lib/eoss-ui.common.js +767 -797
  14. package/lib/error-page.js +2 -2
  15. package/lib/flow-group.js +8 -4
  16. package/lib/flow-list.js +8 -4
  17. package/lib/flow.js +9 -4
  18. package/lib/form.js +9 -4
  19. package/lib/handle-user.js +8 -4
  20. package/lib/handler.js +22 -18
  21. package/lib/icon.js +8 -4
  22. package/lib/icons.js +3 -3
  23. package/lib/index.js +1 -1
  24. package/lib/input-number.js +8 -4
  25. package/lib/input.js +8 -4
  26. package/lib/label.js +2 -2
  27. package/lib/layout.js +2 -2
  28. package/lib/login.js +13 -7
  29. package/lib/main.js +2720 -2759
  30. package/lib/menu.js +2 -2
  31. package/lib/nav.js +8 -4
  32. package/lib/notify.js +2 -2
  33. package/lib/page.js +8 -4
  34. package/lib/pagination.js +8 -4
  35. package/lib/player.js +10 -6
  36. package/lib/qr-code.js +10 -6
  37. package/lib/radio-group.js +8 -4
  38. package/lib/retrial-auth.js +15 -11
  39. package/lib/select-ganged.js +15 -11
  40. package/lib/select.js +8 -4
  41. package/lib/selector-panel.js +9 -4
  42. package/lib/selector.js +8 -4
  43. package/lib/sizer.js +8 -4
  44. package/lib/steps.js +8 -4
  45. package/lib/switch.js +8 -4
  46. package/lib/table-form.js +8 -4
  47. package/lib/tabs-panel.js +2 -2
  48. package/lib/tabs.js +8 -4
  49. package/lib/theme-chalk/base.css +1 -1
  50. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  51. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  52. package/lib/theme-chalk/icon.css +1 -1
  53. package/lib/theme-chalk/index.css +1 -1
  54. package/lib/theme-chalk/main.css +1 -1
  55. package/lib/theme-chalk/menu.css +1 -1
  56. package/lib/theme-chalk/simplicity.css +1 -1
  57. package/lib/theme-chalk/sizer.css +1 -1
  58. package/lib/theme-chalk/upload.css +1 -1
  59. package/lib/tips.js +8 -4
  60. package/lib/toolbar.js +2 -2
  61. package/lib/tree-group.js +8 -4
  62. package/lib/tree.js +8 -4
  63. package/lib/upload.js +9 -4
  64. package/lib/utils/util.js +6 -2
  65. package/lib/wujie.js +151 -147
  66. package/lib/wxlogin.js +8 -4
  67. package/package.json +1 -1
  68. package/packages/.DS_Store +0 -0
  69. package/packages/data-table/src/main.vue +18 -12
  70. package/packages/dialog/src/main.vue +1 -1
  71. package/packages/handler/.DS_Store +0 -0
  72. package/packages/handler/src/main.vue +6 -6
  73. package/packages/icons/src/icon.json +1 -1
  74. package/packages/login/.DS_Store +0 -0
  75. package/packages/login/src/main.vue +2 -1
  76. package/packages/main/.DS_Store +0 -0
  77. package/packages/main/src/.DS_Store +0 -0
  78. package/packages/main/src/default/index.vue +34 -12
  79. package/packages/main/src/main.vue +28 -3
  80. package/packages/main/src/{default → public}/settings.vue +53 -21
  81. package/packages/main/src/simplicity/handler.vue +21 -28
  82. package/packages/main/src/simplicity/index.vue +132 -114
  83. package/packages/theme-chalk/lib/base.css +1 -1
  84. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  85. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  86. package/packages/theme-chalk/lib/icon.css +1 -1
  87. package/packages/theme-chalk/lib/index.css +1 -1
  88. package/packages/theme-chalk/lib/main.css +1 -1
  89. package/packages/theme-chalk/lib/menu.css +1 -1
  90. package/packages/theme-chalk/lib/simplicity.css +1 -1
  91. package/packages/theme-chalk/lib/sizer.css +1 -1
  92. package/packages/theme-chalk/lib/upload.css +1 -1
  93. package/packages/theme-chalk/src/.DS_Store +0 -0
  94. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  95. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  96. package/packages/theme-chalk/src/icon.scss +8 -0
  97. package/packages/theme-chalk/src/main.scss +16 -0
  98. package/packages/theme-chalk/src/mixins/util.scss +0 -0
  99. package/packages/theme-chalk/src/simplicity.scss +197 -0
  100. package/src/.DS_Store +0 -0
  101. package/src/index.js +1 -1
  102. package/src/utils/util.js +6 -2
  103. package/packages/main/src/simplicity/settings.vue +0 -119
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 37);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 38);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
@@ -3743,7 +3747,7 @@ function normalizeComponent(
3743
3747
 
3744
3748
  /***/ }),
3745
3749
 
3746
- /***/ 37:
3750
+ /***/ 38:
3747
3751
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3748
3752
 
3749
3753
  "use strict";
package/lib/button.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 71);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 72);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
@@ -3907,7 +3911,7 @@ var WebSocket = function () {
3907
3911
 
3908
3912
  /***/ }),
3909
3913
 
3910
- /***/ 71:
3914
+ /***/ 72:
3911
3915
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3912
3916
 
3913
3917
  "use strict";
package/lib/calendar.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 38);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 39);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 38:
195
+ /***/ 39:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/card.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 39);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 40);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 39:
195
+ /***/ 40:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/cascader.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 72);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 73);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 72:
195
+ /***/ 73:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 40);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 41);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
2174
2174
  next && next();
2175
2175
  } else {
2176
2176
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2177
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2177
2178
  ajax({
2178
2179
  method: 'post',
2179
2180
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
2272
2273
  }
2273
2274
  });
2274
2275
  }
2275
- }).catch(function (e) {});
2276
+ loadingInstance.close();
2277
+ }).catch(function (e) {
2278
+ loadingInstance.close();
2279
+ });
2276
2280
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2277
2281
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2278
2282
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
2675
2679
  } else {
2676
2680
  n = 1;
2677
2681
  }
2678
- if (zoom === 1) {
2682
+ if (zoom === 1 && window.innerWidth === width) {
2679
2683
  document.body.style.removeProperty('transform');
2680
2684
  document.body.style.removeProperty('width');
2681
2685
  document.body.style.removeProperty('height');
@@ -3984,7 +3988,8 @@ module.exports = require("vue");
3984
3988
  /* 37 */,
3985
3989
  /* 38 */,
3986
3990
  /* 39 */,
3987
- /* 40 */
3991
+ /* 40 */,
3992
+ /* 41 */
3988
3993
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3989
3994
 
3990
3995
  "use strict";
package/lib/clients.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 41);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 42);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 41:
195
+ /***/ 42:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 31);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 32);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
2174
2174
  next && next();
2175
2175
  } else {
2176
2176
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2177
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2177
2178
  ajax({
2178
2179
  method: 'post',
2179
2180
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
2272
2273
  }
2273
2274
  });
2274
2275
  }
2275
- }).catch(function (e) {});
2276
+ loadingInstance.close();
2277
+ }).catch(function (e) {
2278
+ loadingInstance.close();
2279
+ });
2276
2280
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2277
2281
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2278
2282
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
2675
2679
  } else {
2676
2680
  n = 1;
2677
2681
  }
2678
- if (zoom === 1) {
2682
+ if (zoom === 1 && window.innerWidth === width) {
2679
2683
  document.body.style.removeProperty('transform');
2680
2684
  document.body.style.removeProperty('width');
2681
2685
  document.body.style.removeProperty('height');
@@ -3955,7 +3959,8 @@ window.__store = store;
3955
3959
  /* 28 */,
3956
3960
  /* 29 */,
3957
3961
  /* 30 */,
3958
- /* 31 */
3962
+ /* 31 */,
3963
+ /* 32 */
3959
3964
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3960
3965
 
3961
3966
  "use strict";
package/lib/data-table.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 32);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 33);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
2174
2174
  next && next();
2175
2175
  } else {
2176
2176
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2177
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2177
2178
  ajax({
2178
2179
  method: 'post',
2179
2180
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
2272
2273
  }
2273
2274
  });
2274
2275
  }
2275
- }).catch(function (e) {});
2276
+ loadingInstance.close();
2277
+ }).catch(function (e) {
2278
+ loadingInstance.close();
2279
+ });
2276
2280
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2277
2281
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2278
2282
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
2675
2679
  } else {
2676
2680
  n = 1;
2677
2681
  }
2678
- if (zoom === 1) {
2682
+ if (zoom === 1 && window.innerWidth === width) {
2679
2683
  document.body.style.removeProperty('transform');
2680
2684
  document.body.style.removeProperty('width');
2681
2685
  document.body.style.removeProperty('height');
@@ -3955,15 +3959,16 @@ module.exports = require("vue");
3955
3959
  /* 29 */,
3956
3960
  /* 30 */,
3957
3961
  /* 31 */,
3958
- /* 32 */
3962
+ /* 32 */,
3963
+ /* 33 */
3959
3964
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3960
3965
 
3961
3966
  "use strict";
3962
3967
  // ESM COMPAT FLAG
3963
3968
  __webpack_require__.r(__webpack_exports__);
3964
3969
 
3965
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=24d19c7c&
3966
- var mainvue_type_template_id_24d19c7c_render = function () {
3970
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=260d7f48&
3971
+ var mainvue_type_template_id_260d7f48_render = function () {
3967
3972
  var _vm = this
3968
3973
  var _h = _vm.$createElement
3969
3974
  var _c = _vm._self._c || _h
@@ -4362,10 +4367,10 @@ var mainvue_type_template_id_24d19c7c_render = function () {
4362
4367
  )
4363
4368
  }
4364
4369
  var staticRenderFns = []
4365
- mainvue_type_template_id_24d19c7c_render._withStripped = true
4370
+ mainvue_type_template_id_260d7f48_render._withStripped = true
4366
4371
 
4367
4372
 
4368
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=24d19c7c&
4373
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=260d7f48&
4369
4374
 
4370
4375
  // EXTERNAL MODULE: ./src/config/api.js
4371
4376
  var api = __webpack_require__(1);
@@ -6994,9 +6999,13 @@ var pageView = util["a" /* default */].getParams('pageView');
6994
6999
  default: true
6995
7000
  },
6996
7001
  index: {
6997
- type: [Boolean, Number],
7002
+ type: [Number, Function],
6998
7003
  default: 1
6999
7004
  },
7005
+ accumulated: {
7006
+ type: Boolean,
7007
+ default: true
7008
+ },
7000
7009
  immediate: {
7001
7010
  type: Boolean,
7002
7011
  default: true
@@ -7124,14 +7133,18 @@ var pageView = util["a" /* default */].getParams('pageView');
7124
7133
  }
7125
7134
  if (this.numbers && !types.includes('index')) {
7126
7135
  var index = 1;
7127
- if (this.orders == 'desc') {
7128
- index = function index(num) {
7129
- return _this.config.totalCount - num;
7130
- };
7131
- } else if (this.infiniteScroll) {
7132
- index = typeof this.index == 'boolean' ? 1 : this.index;
7133
- } else if (this.index || this.index === 0) {
7134
- index = this.index === true ? (this.config.pageNum - 1) * this.config.pageSize + 1 : this.index;
7136
+ if (typeof this.index === 'function') {
7137
+ index = this.index;
7138
+ } else {
7139
+ if (this.orders == 'desc') {
7140
+ index = function index(num) {
7141
+ return _this.config.totalCount - num;
7142
+ };
7143
+ } else if (this.accumulated) {
7144
+ index = (this.config.pageNum - 1) * this.config.pageSize + this.index;
7145
+ } else {
7146
+ index = this.index;
7147
+ }
7135
7148
  }
7136
7149
  thead.push({
7137
7150
  type: 'index',
@@ -8217,7 +8230,7 @@ var pageView = util["a" /* default */].getParams('pageView');
8217
8230
 
8218
8231
  var main_component = Object(componentNormalizer["a" /* default */])(
8219
8232
  src_mainvue_type_script_lang_js_,
8220
- mainvue_type_template_id_24d19c7c_render,
8233
+ mainvue_type_template_id_260d7f48_render,
8221
8234
  staticRenderFns,
8222
8235
  false,
8223
8236
  null,
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 73);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 74);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
@@ -3907,7 +3911,7 @@ var WebSocket = function () {
3907
3911
 
3908
3912
  /***/ }),
3909
3913
 
3910
- /***/ 73:
3914
+ /***/ 74:
3911
3915
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3912
3916
 
3913
3917
  "use strict";
package/lib/dialog.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 42);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 43);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
2174
2174
  next && next();
2175
2175
  } else {
2176
2176
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2177
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2177
2178
  ajax({
2178
2179
  method: 'post',
2179
2180
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
2272
2273
  }
2273
2274
  });
2274
2275
  }
2275
- }).catch(function (e) {});
2276
+ loadingInstance.close();
2277
+ }).catch(function (e) {
2278
+ loadingInstance.close();
2279
+ });
2276
2280
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2277
2281
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2278
2282
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
2675
2679
  } else {
2676
2680
  n = 1;
2677
2681
  }
2678
- if (zoom === 1) {
2682
+ if (zoom === 1 && window.innerWidth === width) {
2679
2683
  document.body.style.removeProperty('transform');
2680
2684
  document.body.style.removeProperty('width');
2681
2685
  document.body.style.removeProperty('height');
@@ -3965,14 +3969,15 @@ module.exports = require("wujie-vue2");
3965
3969
  /* 39 */,
3966
3970
  /* 40 */,
3967
3971
  /* 41 */,
3968
- /* 42 */
3972
+ /* 42 */,
3973
+ /* 43 */
3969
3974
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3970
3975
 
3971
3976
  "use strict";
3972
3977
  // ESM COMPAT FLAG
3973
3978
  __webpack_require__.r(__webpack_exports__);
3974
3979
 
3975
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=8647525a&
3980
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=11ebf026&
3976
3981
  var render = function () {
3977
3982
  var _vm = this
3978
3983
  var _h = _vm.$createElement
@@ -4491,7 +4496,7 @@ var staticRenderFns = []
4491
4496
  render._withStripped = true
4492
4497
 
4493
4498
 
4494
- // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=8647525a&
4499
+ // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=11ebf026&
4495
4500
 
4496
4501
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
4497
4502
  var regenerator_ = __webpack_require__(13);
@@ -4903,7 +4908,7 @@ var systemMode = util["a" /* default */].win.top.systemMode || util["a" /* defau
4903
4908
  mini: { width: '800px', height: '400px' },
4904
4909
  sm: { width: '960px', height: '500px' },
4905
4910
  md: { width: '1060px', height: '600px' },
4906
- lg: { width: '1200px', height: '800px' },
4911
+ lg: { width: '1200px', height: availHeight < 800 ? '560px' : '800px' },
4907
4912
  max: { width: availWidth + 'px', height: availHeight + 'px' },
4908
4913
  full: { width: '100%', height: '100%' }
4909
4914
  },
package/lib/enterprise.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 43);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 44);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 43:
195
+ /***/ 44:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";