eoss-ui 0.6.14 → 0.6.16

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 (76) hide show
  1. package/lib/button-group.js +2 -3
  2. package/lib/button.js +145 -145
  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 +2 -3
  7. package/lib/clients.js +2 -2
  8. package/lib/data-table-form.js +2 -3
  9. package/lib/data-table.js +24 -20
  10. package/lib/date-picker.js +2 -2
  11. package/lib/dialog.js +2 -3
  12. package/lib/enterprise.js +2 -2
  13. package/lib/eoss-ui.common.js +92 -80
  14. package/lib/error-page.js +2 -2
  15. package/lib/flow-group.js +2 -2
  16. package/lib/flow-list.js +2 -2
  17. package/lib/flow.js +2 -3
  18. package/lib/form.js +2 -3
  19. package/lib/handle-user.js +2 -2
  20. package/lib/handler.js +5 -5
  21. package/lib/icon.js +2 -2
  22. package/lib/icons.js +2 -2
  23. package/lib/index.js +1 -1
  24. package/lib/input-number.js +2 -2
  25. package/lib/input.js +2 -2
  26. package/lib/label.js +2 -2
  27. package/lib/layout.js +2 -2
  28. package/lib/login.js +6 -6
  29. package/lib/main.js +43 -37
  30. package/lib/menu.js +2 -2
  31. package/lib/nav.js +2 -2
  32. package/lib/notify.js +2 -2
  33. package/lib/page.js +2 -2
  34. package/lib/pagination.js +2 -2
  35. package/lib/player.js +4 -4
  36. package/lib/qr-code.js +4 -4
  37. package/lib/radio-group.js +2 -2
  38. package/lib/retrial-auth.js +2 -2
  39. package/lib/select-ganged.js +2 -2
  40. package/lib/select.js +2 -2
  41. package/lib/selector-panel.js +2 -3
  42. package/lib/selector.js +2 -2
  43. package/lib/sizer.js +9 -9
  44. package/lib/steps.js +2 -2
  45. package/lib/switch.js +2 -2
  46. package/lib/table-form.js +2 -2
  47. package/lib/tabs-panel.js +2 -2
  48. package/lib/tabs.js +2 -2
  49. package/lib/theme-chalk/index.css +1 -1
  50. package/lib/theme-chalk/login.css +1 -1
  51. package/lib/tips.js +2 -2
  52. package/lib/toolbar.js +2 -2
  53. package/lib/tree-group.js +2 -2
  54. package/lib/tree.js +2 -2
  55. package/lib/upload.js +2 -3
  56. package/lib/wujie.js +2 -2
  57. package/lib/wxlogin.js +2 -2
  58. package/package.json +1 -1
  59. package/packages/.DS_Store +0 -0
  60. package/packages/data-table/.DS_Store +0 -0
  61. package/packages/data-table/src/column.vue +2 -2
  62. package/packages/data-table/src/main.vue +12 -5
  63. package/packages/handler/.DS_Store +0 -0
  64. package/packages/handler/src/main.vue +1 -1
  65. package/packages/login/.DS_Store +0 -0
  66. package/packages/login/src/main.vue +2 -1
  67. package/packages/main/.DS_Store +0 -0
  68. package/packages/main/src/main.vue +14 -0
  69. package/packages/main/src/public/settings.vue +0 -1
  70. package/packages/main/src/simplicity/handler.vue +1 -1
  71. package/packages/theme-chalk/lib/index.css +1 -1
  72. package/packages/theme-chalk/lib/login.css +1 -1
  73. package/packages/theme-chalk/src/.DS_Store +0 -0
  74. package/packages/theme-chalk/src/common/var.scss +1 -0
  75. package/packages/theme-chalk/src/login.scss +11 -3
  76. package/src/index.js +1 -1
@@ -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 = 36);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 35);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -3953,8 +3953,7 @@ module.exports = require("sm-crypto");
3953
3953
  /* 32 */,
3954
3954
  /* 33 */,
3955
3955
  /* 34 */,
3956
- /* 35 */,
3957
- /* 36 */
3956
+ /* 35 */
3958
3957
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3959
3958
 
3960
3959
  "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 = 70);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 69);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -3784,150 +3784,7 @@ module.exports = require("json-bigint");
3784
3784
 
3785
3785
  /***/ }),
3786
3786
 
3787
- /***/ 7:
3788
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3789
-
3790
- "use strict";
3791
- /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
3792
- /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(sockjs_client__WEBPACK_IMPORTED_MODULE_0__);
3793
- /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
3794
- /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(stompjs__WEBPACK_IMPORTED_MODULE_1__);
3795
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3796
-
3797
-
3798
-
3799
-
3800
- var WebSocket = function () {
3801
- // 构造函数
3802
- function WebSocket() {
3803
- _classCallCheck(this, WebSocket);
3804
-
3805
- this.host = sessionStorage.getItem('wshost') || '';
3806
- this.tryTimes = 1; // 重连次数
3807
- this.callback = null; // 回调函数
3808
- this.client = null; // stomp对象
3809
- this.reconTimeout = null; // 重连延时器
3810
- this.debug = true; // 调试
3811
- this.interval = 20; // 重连间隔时间
3812
- this.vm = null;
3813
- this.nextDate = 0;
3814
- this.connects = 1;
3815
- this.recon = false;
3816
- this.sendTimeout = null;
3817
- this.socket = null;
3818
- this.subscription = null;
3819
- }
3820
-
3821
- /** socket连接 */
3822
-
3823
-
3824
- WebSocket.prototype.connect = function connect() {
3825
- var _this = this;
3826
-
3827
- if (!this.client) {
3828
- // 连接SockJS
3829
- this.socket = new sockjs_client__WEBPACK_IMPORTED_MODULE_0___default.a(this.host + this.url, { timeout: 60000 });
3830
- this.client = stompjs__WEBPACK_IMPORTED_MODULE_1___default.a.over(this.socket);
3831
- }
3832
-
3833
- // 日志不打印
3834
- if (!this.debug) {
3835
- this.client.debug = function () {};
3836
- }
3837
-
3838
- // 向服务器发起websocket连接
3839
- this.client.connect({}, function () {
3840
- _this.recon = true;
3841
- // tryTimes定义重置
3842
- _this.connects = 1;
3843
- // 订阅消息
3844
- _this.subscribe();
3845
- }, function (error) {
3846
- _this.unsubscribe();
3847
- _this.client = null;
3848
- var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
3849
- if (_this.connects > 5 && diffSecond < _this.interval) {
3850
- _this.error && _this.error(error);
3851
- } else {
3852
- _this.reconTimeout = setTimeout(function () {
3853
- _this.connect();
3854
- _this.connects++;
3855
- }, 5000);
3856
- }
3857
- });
3858
- }; // 清除订阅
3859
-
3860
-
3861
- WebSocket.prototype.unsubscribe = function unsubscribe() {
3862
- if (this.subscription) {
3863
- this.subscription.unsubscribe();
3864
- this.subscription = null;
3865
- }
3866
- };
3867
- /** 订阅服务端 */
3868
-
3869
-
3870
- WebSocket.prototype.subscribe = function subscribe() {
3871
- var _this2 = this;
3872
-
3873
- // 订阅服务端提供的某个topic
3874
- this.subscription = this.client.subscribe(this.take, function (response) {
3875
- if (response && (_this2.callback || _this2.success)) {
3876
- var callback = _this2.callback || _this2.success;
3877
- callback(JSON.parse(response.body));
3878
- }
3879
- });
3880
- };
3881
-
3882
- /** 赋值、初始化socket */
3883
-
3884
-
3885
- WebSocket.prototype.init = function init(option, vm) {
3886
- for (var i in option) {
3887
- this[i] = option[i];
3888
- }
3889
- this.vm = vm;
3890
- // 初始化连接
3891
- this.connect();
3892
- };
3893
-
3894
- /** 发送消息 */
3895
-
3896
-
3897
- WebSocket.prototype.send = function send(data) {
3898
- var _this3 = this;
3899
-
3900
- if (this.recon) {
3901
- clearTimeout(this.sendTimeout);
3902
- this.client.send(this.take, {}, typeof data === 'string' ? data : JSON.stringify(data));
3903
- } else {
3904
- this.sendTimeout = setTimeout(function () {
3905
- _this3.send(data);
3906
- }, 1000);
3907
- }
3908
- };
3909
-
3910
- /** 销毁 */
3911
-
3912
-
3913
- WebSocket.prototype.destroy = function destroy() {
3914
- // 断开连接,清除定时器
3915
- this.unsubscribe();
3916
- if (this.client) {
3917
- this.client.disconnect();
3918
- };
3919
- this.reconTimeout && clearTimeout(this.reconTimeout);
3920
- this.sendTimeout && clearTimeout(this.sendTimeout);
3921
- };
3922
-
3923
- return WebSocket;
3924
- }();
3925
-
3926
- /* harmony default export */ __webpack_exports__["a"] = (WebSocket);
3927
-
3928
- /***/ }),
3929
-
3930
- /***/ 70:
3787
+ /***/ 69:
3931
3788
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3932
3789
 
3933
3790
  "use strict";
@@ -4320,6 +4177,149 @@ main.install = function (Vue) {
4320
4177
 
4321
4178
  /***/ }),
4322
4179
 
4180
+ /***/ 7:
4181
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4182
+
4183
+ "use strict";
4184
+ /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
4185
+ /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(sockjs_client__WEBPACK_IMPORTED_MODULE_0__);
4186
+ /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
4187
+ /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(stompjs__WEBPACK_IMPORTED_MODULE_1__);
4188
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4189
+
4190
+
4191
+
4192
+
4193
+ var WebSocket = function () {
4194
+ // 构造函数
4195
+ function WebSocket() {
4196
+ _classCallCheck(this, WebSocket);
4197
+
4198
+ this.host = sessionStorage.getItem('wshost') || '';
4199
+ this.tryTimes = 1; // 重连次数
4200
+ this.callback = null; // 回调函数
4201
+ this.client = null; // stomp对象
4202
+ this.reconTimeout = null; // 重连延时器
4203
+ this.debug = true; // 调试
4204
+ this.interval = 20; // 重连间隔时间
4205
+ this.vm = null;
4206
+ this.nextDate = 0;
4207
+ this.connects = 1;
4208
+ this.recon = false;
4209
+ this.sendTimeout = null;
4210
+ this.socket = null;
4211
+ this.subscription = null;
4212
+ }
4213
+
4214
+ /** socket连接 */
4215
+
4216
+
4217
+ WebSocket.prototype.connect = function connect() {
4218
+ var _this = this;
4219
+
4220
+ if (!this.client) {
4221
+ // 连接SockJS
4222
+ this.socket = new sockjs_client__WEBPACK_IMPORTED_MODULE_0___default.a(this.host + this.url, { timeout: 60000 });
4223
+ this.client = stompjs__WEBPACK_IMPORTED_MODULE_1___default.a.over(this.socket);
4224
+ }
4225
+
4226
+ // 日志不打印
4227
+ if (!this.debug) {
4228
+ this.client.debug = function () {};
4229
+ }
4230
+
4231
+ // 向服务器发起websocket连接
4232
+ this.client.connect({}, function () {
4233
+ _this.recon = true;
4234
+ // tryTimes定义重置
4235
+ _this.connects = 1;
4236
+ // 订阅消息
4237
+ _this.subscribe();
4238
+ }, function (error) {
4239
+ _this.unsubscribe();
4240
+ _this.client = null;
4241
+ var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
4242
+ if (_this.connects > 5 && diffSecond < _this.interval) {
4243
+ _this.error && _this.error(error);
4244
+ } else {
4245
+ _this.reconTimeout = setTimeout(function () {
4246
+ _this.connect();
4247
+ _this.connects++;
4248
+ }, 5000);
4249
+ }
4250
+ });
4251
+ }; // 清除订阅
4252
+
4253
+
4254
+ WebSocket.prototype.unsubscribe = function unsubscribe() {
4255
+ if (this.subscription) {
4256
+ this.subscription.unsubscribe();
4257
+ this.subscription = null;
4258
+ }
4259
+ };
4260
+ /** 订阅服务端 */
4261
+
4262
+
4263
+ WebSocket.prototype.subscribe = function subscribe() {
4264
+ var _this2 = this;
4265
+
4266
+ // 订阅服务端提供的某个topic
4267
+ this.subscription = this.client.subscribe(this.take, function (response) {
4268
+ if (response && (_this2.callback || _this2.success)) {
4269
+ var callback = _this2.callback || _this2.success;
4270
+ callback(JSON.parse(response.body));
4271
+ }
4272
+ });
4273
+ };
4274
+
4275
+ /** 赋值、初始化socket */
4276
+
4277
+
4278
+ WebSocket.prototype.init = function init(option, vm) {
4279
+ for (var i in option) {
4280
+ this[i] = option[i];
4281
+ }
4282
+ this.vm = vm;
4283
+ // 初始化连接
4284
+ this.connect();
4285
+ };
4286
+
4287
+ /** 发送消息 */
4288
+
4289
+
4290
+ WebSocket.prototype.send = function send(data) {
4291
+ var _this3 = this;
4292
+
4293
+ if (this.recon) {
4294
+ clearTimeout(this.sendTimeout);
4295
+ this.client.send(this.take, {}, typeof data === 'string' ? data : JSON.stringify(data));
4296
+ } else {
4297
+ this.sendTimeout = setTimeout(function () {
4298
+ _this3.send(data);
4299
+ }, 1000);
4300
+ }
4301
+ };
4302
+
4303
+ /** 销毁 */
4304
+
4305
+
4306
+ WebSocket.prototype.destroy = function destroy() {
4307
+ // 断开连接,清除定时器
4308
+ this.unsubscribe();
4309
+ if (this.client) {
4310
+ this.client.disconnect();
4311
+ };
4312
+ this.reconTimeout && clearTimeout(this.reconTimeout);
4313
+ this.sendTimeout && clearTimeout(this.sendTimeout);
4314
+ };
4315
+
4316
+ return WebSocket;
4317
+ }();
4318
+
4319
+ /* harmony default export */ __webpack_exports__["a"] = (WebSocket);
4320
+
4321
+ /***/ }),
4322
+
4323
4323
  /***/ 8:
4324
4324
  /***/ (function(module, exports) {
4325
4325
 
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 = 37);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 36);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 37:
195
+ /***/ 36:
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 = 38);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 37);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 38:
195
+ /***/ 37:
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 = 71);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 70);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 71:
195
+ /***/ 70:
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 = 39);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 38);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -3987,8 +3987,7 @@ window.__store = store;
3987
3987
  /* 35 */,
3988
3988
  /* 36 */,
3989
3989
  /* 37 */,
3990
- /* 38 */,
3991
- /* 39 */
3990
+ /* 38 */
3992
3991
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3993
3992
 
3994
3993
  "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 = 40);
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
- /***/ 40:
195
+ /***/ 39:
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 = 30);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 29);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -3973,8 +3973,7 @@ window.__store = store;
3973
3973
  /* 26 */,
3974
3974
  /* 27 */,
3975
3975
  /* 28 */,
3976
- /* 29 */,
3977
- /* 30 */
3976
+ /* 29 */
3978
3977
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3979
3978
 
3980
3979
  "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 = 31);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 30);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -3958,16 +3958,15 @@ module.exports = require("babel-runtime/regenerator");
3958
3958
  /* 27 */,
3959
3959
  /* 28 */,
3960
3960
  /* 29 */,
3961
- /* 30 */,
3962
- /* 31 */
3961
+ /* 30 */
3963
3962
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3964
3963
 
3965
3964
  "use strict";
3966
3965
  // ESM COMPAT FLAG
3967
3966
  __webpack_require__.r(__webpack_exports__);
3968
3967
 
3969
- // 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=a8ae27ba&
3970
- var mainvue_type_template_id_a8ae27ba_render = function () {
3968
+ // 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=7ce765d0&
3969
+ var mainvue_type_template_id_7ce765d0_render = function () {
3971
3970
  var _vm = this
3972
3971
  var _h = _vm.$createElement
3973
3972
  var _c = _vm._self._c || _h
@@ -4366,10 +4365,10 @@ var mainvue_type_template_id_a8ae27ba_render = function () {
4366
4365
  )
4367
4366
  }
4368
4367
  var staticRenderFns = []
4369
- mainvue_type_template_id_a8ae27ba_render._withStripped = true
4368
+ mainvue_type_template_id_7ce765d0_render._withStripped = true
4370
4369
 
4371
4370
 
4372
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=a8ae27ba&
4371
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=7ce765d0&
4373
4372
 
4374
4373
  // EXTERNAL MODULE: ./src/config/api.js
4375
4374
  var api = __webpack_require__(1);
@@ -4433,8 +4432,8 @@ childrenvue_type_template_id_271bb842_render._withStripped = true
4433
4432
 
4434
4433
  // CONCATENATED MODULE: ./packages/data-table/src/children.vue?vue&type=template&id=271bb842&
4435
4434
 
4436
- // 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/column.vue?vue&type=template&id=ddc4775e&
4437
- var columnvue_type_template_id_ddc4775e_render = function () {
4435
+ // 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/column.vue?vue&type=template&id=17a0a086&
4436
+ var columnvue_type_template_id_17a0a086_render = function () {
4438
4437
  var _vm = this
4439
4438
  var _h = _vm.$createElement
4440
4439
  var _c = _vm._self._c || _h
@@ -5248,11 +5247,11 @@ var columnvue_type_template_id_ddc4775e_render = function () {
5248
5247
  2
5249
5248
  )
5250
5249
  }
5251
- var columnvue_type_template_id_ddc4775e_staticRenderFns = []
5252
- columnvue_type_template_id_ddc4775e_render._withStripped = true
5250
+ var columnvue_type_template_id_17a0a086_staticRenderFns = []
5251
+ columnvue_type_template_id_17a0a086_render._withStripped = true
5253
5252
 
5254
5253
 
5255
- // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=ddc4775e&
5254
+ // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=17a0a086&
5256
5255
 
5257
5256
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5258
5257
  var regenerator_ = __webpack_require__(13);
@@ -5877,7 +5876,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5877
5876
  config.sort = true;
5878
5877
  config.outside = false;
5879
5878
  }
5880
- var minWidth = this.label || this.title ? (this.label || this.title).length * 14 + 20 : this.width ? '' : '180px';
5879
+ var minWidth = this.label || this.title ? (this.label || this.title).length * 15 + 20 : this.width ? '' : 80;
5881
5880
  return _extends({}, config, {
5882
5881
  filterIcon: this.icon,
5883
5882
  sortable: this.sortable || this.sort,
@@ -6198,8 +6197,8 @@ var componentNormalizer = __webpack_require__(3);
6198
6197
 
6199
6198
  var component = Object(componentNormalizer["a" /* default */])(
6200
6199
  src_columnvue_type_script_lang_js_,
6201
- columnvue_type_template_id_ddc4775e_render,
6202
- columnvue_type_template_id_ddc4775e_staticRenderFns,
6200
+ columnvue_type_template_id_17a0a086_render,
6201
+ columnvue_type_template_id_17a0a086_staticRenderFns,
6203
6202
  false,
6204
6203
  null,
6205
6204
  null,
@@ -7034,7 +7033,11 @@ var pageView = util["a" /* default */].getParams('pageView');
7034
7033
  default: 'es-icon-caidan'
7035
7034
  },
7036
7035
  isFieldsEncryption: Boolean,
7037
- contentSuccess: Function
7036
+ contentSuccess: Function,
7037
+ resetScroll: {
7038
+ type: Boolean,
7039
+ default: true
7040
+ }
7038
7041
  },
7039
7042
  data: function data() {
7040
7043
  return {
@@ -7328,7 +7331,7 @@ var pageView = util["a" /* default */].getParams('pageView');
7328
7331
  },
7329
7332
  'config.pageNum': function configPageNum() {
7330
7333
  if (this.data.length) {
7331
- this.$refs.oaTable && this.$refs.oaTable.resetScroll && this.$refs.oaTable.resetScroll(0, 0);
7334
+ this.resetScroll && this.$refs.oaTable && this.$refs.oaTable.resetScroll && this.$refs.oaTable.resetScroll(0, 0);
7332
7335
  this.list = this.setData();
7333
7336
  }
7334
7337
  },
@@ -7376,7 +7379,6 @@ var pageView = util["a" /* default */].getParams('pageView');
7376
7379
  this.chekOpenTotalArea();
7377
7380
  },
7378
7381
  mounted: function mounted() {
7379
- this.isSetHeight = util["a" /* default */].getStyle(this.$el.parentNode, 'height') == '0px' ? false : true;
7380
7382
  this.showTable = true;
7381
7383
  if (this.data.length) {
7382
7384
  this.list = this.setData();
@@ -7696,7 +7698,7 @@ var pageView = util["a" /* default */].getParams('pageView');
7696
7698
  } else {
7697
7699
  _this12.list = results.data || results.records || results.list;
7698
7700
  _this12.$nextTick(function () {
7699
- _this12.$refs.oaTable && _this12.$refs.oaTable.resetScroll && _this12.$refs.oaTable.resetScroll(0, 0);
7701
+ _this12.resetScroll && _this12.$refs.oaTable && _this12.$refs.oaTable.resetScroll && _this12.$refs.oaTable.resetScroll(0, 0);
7700
7702
  });
7701
7703
  }
7702
7704
  _this12.config.totalCount = results.count || results.total || results.totalCount;
@@ -8018,6 +8020,7 @@ var pageView = util["a" /* default */].getParams('pageView');
8018
8020
  this.config.pageNum = res;
8019
8021
  this.checkSelect(this.checked);
8020
8022
  this.$emit('page-current-change', res);
8023
+ this.$emit('current', res);
8021
8024
  if (this.url) {
8022
8025
  this.getTableData({ where: this.wheres, first: false });
8023
8026
  }
@@ -8094,6 +8097,7 @@ var pageView = util["a" /* default */].getParams('pageView');
8094
8097
  resetHeight: function resetHeight(warn) {
8095
8098
  var _this15 = this;
8096
8099
 
8100
+ this.isSetHeight = util["a" /* default */].getStyle(this.$el.parentNode, 'height') == '0px' ? false : true;
8097
8101
  this.$nextTick(function () {
8098
8102
  if (_this15.full && !_this15.height && !_this15.maxHeight && _this15.isSetHeight) {
8099
8103
  var height = _this15.$el.parentNode.offsetHeight;
@@ -8231,7 +8235,7 @@ var pageView = util["a" /* default */].getParams('pageView');
8231
8235
 
8232
8236
  var main_component = Object(componentNormalizer["a" /* default */])(
8233
8237
  src_mainvue_type_script_lang_js_,
8234
- mainvue_type_template_id_a8ae27ba_render,
8238
+ mainvue_type_template_id_7ce765d0_render,
8235
8239
  staticRenderFns,
8236
8240
  false,
8237
8241
  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 = 72);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 71);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -3927,7 +3927,7 @@ var WebSocket = function () {
3927
3927
 
3928
3928
  /***/ }),
3929
3929
 
3930
- /***/ 72:
3930
+ /***/ 71:
3931
3931
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3932
3932
 
3933
3933
  "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 = 41);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 40);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -3968,8 +3968,7 @@ module.exports = require("wujie-vue2");
3968
3968
  /* 37 */,
3969
3969
  /* 38 */,
3970
3970
  /* 39 */,
3971
- /* 40 */,
3972
- /* 41 */
3971
+ /* 40 */
3973
3972
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3974
3973
 
3975
3974
  "use strict";
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 = 42);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 41);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 42:
195
+ /***/ 41:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";