eoss-ui 0.5.12 → 0.5.13

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 (62) hide show
  1. package/lib/button-group.js +1 -13
  2. package/lib/button.js +1 -13
  3. package/lib/checkbox-group.js +1 -13
  4. package/lib/data-table-form.js +1 -13
  5. package/lib/data-table.js +24 -22
  6. package/lib/date-picker.js +1 -13
  7. package/lib/dialog.js +1 -13
  8. package/lib/eoss-ui.common.js +83 -78
  9. package/lib/flow-group.js +1 -13
  10. package/lib/flow-list.js +1 -13
  11. package/lib/flow.js +36 -48
  12. package/lib/form.js +1 -13
  13. package/lib/handle-user.js +1 -13
  14. package/lib/handler.js +1 -13
  15. package/lib/index.js +1 -1
  16. package/lib/input-number.js +1 -13
  17. package/lib/input.js +1 -13
  18. package/lib/label.js +3 -2
  19. package/lib/login.js +1 -13
  20. package/lib/main.js +9 -19
  21. package/lib/nav.js +1 -13
  22. package/lib/page.js +1 -13
  23. package/lib/player.js +1 -13
  24. package/lib/qr-code.js +1 -13
  25. package/lib/radio-group.js +1 -13
  26. package/lib/retrial-auth.js +1 -13
  27. package/lib/select-ganged.js +1 -13
  28. package/lib/select.js +1 -13
  29. package/lib/selector-panel.js +1 -13
  30. package/lib/selector.js +1 -13
  31. package/lib/sizer.js +1 -13
  32. package/lib/steps.js +1 -13
  33. package/lib/switch.js +1 -13
  34. package/lib/table-form.js +1 -13
  35. package/lib/tabs.js +1 -13
  36. package/lib/theme-chalk/index.css +1 -1
  37. package/lib/theme-chalk/nav.css +1 -1
  38. package/lib/tips.js +1 -13
  39. package/lib/tree-group.js +1 -13
  40. package/lib/tree.js +1 -13
  41. package/lib/upload.js +1 -13
  42. package/lib/utils/util.js +1 -10
  43. package/lib/utils/webSocket.js +0 -3
  44. package/lib/wujie.js +1 -13
  45. package/lib/wxlogin.js +1 -13
  46. package/package.json +1 -1
  47. package/packages/data-table/src/column copy.vue +977 -0
  48. package/packages/data-table/src/main copy.vue +1325 -0
  49. package/packages/data-table/src/main.vue +29 -6
  50. package/packages/flow/src/component/taskUnionExamine.vue +1 -1
  51. package/packages/flow/src/main.vue +1 -1
  52. package/packages/flow/src/processForm.vue +1 -1
  53. package/packages/flow/src/processReject.vue +1 -1
  54. package/packages/flow/src/startTaskRead.vue +1 -1
  55. package/packages/label/src/main.vue +3 -2
  56. package/packages/main/src/main.vue +6 -4
  57. package/packages/theme-chalk/lib/index.css +1 -1
  58. package/packages/theme-chalk/lib/nav.css +1 -1
  59. package/packages/theme-chalk/src/nav.scss +21 -2
  60. package/src/index.js +1 -1
  61. package/src/utils/util.js +1 -10
  62. package/src/utils/webSocket.js +0 -3
@@ -2522,7 +2522,6 @@ var setStorage = function setStorage(_ref14) {
2522
2522
  * @author huangbo
2523
2523
  * @date 2022年5月7日
2524
2524
  * @param {String} [url] - 连接地址
2525
- * @param {String} [send] - 是否发送消息
2526
2525
  * @param {String} [take] - 订阅地址
2527
2526
  * @param {String} [debug] - 调试
2528
2527
  * @param {String} [interval] - 重连间隔时间
@@ -2530,16 +2529,8 @@ var setStorage = function setStorage(_ref14) {
2530
2529
  * @param {Function} [error] - 重连间隔时间
2531
2530
  **/
2532
2531
  function socket(option, vm) {
2533
- var options = {};
2534
- for (var i in option) {
2535
- if (i === 'send') {
2536
- options['isSend'] = option[i];
2537
- } else {
2538
- options[i] = option[i];
2539
- }
2540
- }
2541
2532
  var socket = new _webSocket__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"]();
2542
- socket.init(options, vm);
2533
+ socket.init(option, vm);
2543
2534
  return socket;
2544
2535
  }
2545
2536
  /**
@@ -3391,7 +3382,6 @@ var WebSocket = function () {
3391
3382
  this.connects = 1;
3392
3383
  this.recon = false;
3393
3384
  this.sendTimeout = null;
3394
- this.isSend = false;
3395
3385
  }
3396
3386
 
3397
3387
  /** socket连接 */
@@ -3419,9 +3409,7 @@ var WebSocket = function () {
3419
3409
  // tryTimes定义重置
3420
3410
  _this.connects = 1;
3421
3411
  // 订阅消息
3422
- // if (!this.isSend) {
3423
3412
  _this.subscribe();
3424
- // }
3425
3413
  }, function (error) {
3426
3414
  var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
3427
3415
  if (_this.connects > 5 && diffSecond < _this.interval) {
@@ -5533,8 +5521,8 @@ clients_src_main.install = function (Vue) {
5533
5521
  };
5534
5522
 
5535
5523
  /* harmony default export */ var clients = (clients_src_main);
5536
- // 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=094be154&
5537
- var mainvue_type_template_id_094be154_render = function () {
5524
+ // 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=1d557e20&
5525
+ var mainvue_type_template_id_1d557e20_render = function () {
5538
5526
  var _vm = this
5539
5527
  var _h = _vm.$createElement
5540
5528
  var _c = _vm._self._c || _h
@@ -5870,11 +5858,11 @@ var mainvue_type_template_id_094be154_render = function () {
5870
5858
  1
5871
5859
  )
5872
5860
  }
5873
- var mainvue_type_template_id_094be154_staticRenderFns = []
5874
- mainvue_type_template_id_094be154_render._withStripped = true
5861
+ var mainvue_type_template_id_1d557e20_staticRenderFns = []
5862
+ mainvue_type_template_id_1d557e20_render._withStripped = true
5875
5863
 
5876
5864
 
5877
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=094be154&
5865
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=1d557e20&
5878
5866
 
5879
5867
  // 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/children.vue?vue&type=template&id=796433ee&
5880
5868
  var childrenvue_type_template_id_796433ee_render = function () {
@@ -8577,7 +8565,13 @@ var mainvue_type_script_lang_js_components;
8577
8565
  type: Boolean,
8578
8566
  default: true
8579
8567
  },
8580
- zoom: false
8568
+ zoom: false,
8569
+ exportExcludeLabel: {
8570
+ type: Array,
8571
+ default: function _default() {
8572
+ return [];
8573
+ }
8574
+ }
8581
8575
  },
8582
8576
  data: function data() {
8583
8577
  return {
@@ -8727,6 +8721,12 @@ var mainvue_type_script_lang_js_components;
8727
8721
  this.config = utils_util["a" /* default */].extend({}, this.config, this.page);
8728
8722
  }
8729
8723
  },
8724
+ 'config.pageNum': function configPageNum() {
8725
+ if (this.data.length) {
8726
+ this.$refs.oaTable.resetScroll(0, 0);
8727
+ }
8728
+ },
8729
+
8730
8730
  height: {
8731
8731
  immediate: true,
8732
8732
  handler: function handler(val) {
@@ -8959,10 +8959,10 @@ var mainvue_type_script_lang_js_components;
8959
8959
  this.config.pageNum = 1;
8960
8960
  }
8961
8961
  this.tableLoadingText = '加载中...';
8962
- var reqData = utils_util["a" /* default */].extend({}, this.param, {
8962
+ var reqData = utils_util["a" /* default */].extend({}, this.param, this.page ? {
8963
8963
  pageNum: this.config.pageNum,
8964
8964
  pageSize: this.config.pageSize
8965
- });
8965
+ } : {});
8966
8966
  if (where) {
8967
8967
  reqData = utils_util["a" /* default */].extend({}, reqData, where);
8968
8968
  }
@@ -8976,6 +8976,7 @@ var mainvue_type_script_lang_js_components;
8976
8976
  }).then(function (res) {
8977
8977
  _this7.tableLoading = false;
8978
8978
  if (res.rCode === 0 || res.status === 'success') {
8979
+ _this7.$refs.oaTable.resetScroll(0, 0);
8979
8980
  var results = _this7.parseData !== undefined ? _this7.parseData(res.results || res.data || res) : res.results || res.data;
8980
8981
  _this7.list = results.data || results.records || results.list || [];
8981
8982
  _this7.config.totalCount = results.count || results.total || results.totalCount;
@@ -9261,9 +9262,10 @@ var mainvue_type_script_lang_js_components;
9261
9262
  if (this.theads[this.theads.length - 1] && this.theads[this.theads.length - 1].type === 'handle') {
9262
9263
  text = this.theads[this.theads.length - 1].title;
9263
9264
  }
9265
+ var type = ['selection', 'index', 'expand'];
9264
9266
  thead = thead.map(function (item) {
9265
9267
  return item.filter(function (ele) {
9266
- return ele.label !== text && ele.label;
9268
+ return !type.includes(ele.type) && ele.label !== text && !_this9.exportExcludeLabel.includes(ele.label);
9267
9269
  });
9268
9270
  });
9269
9271
  utils_util["a" /* default */].exportXls({
@@ -9452,8 +9454,8 @@ var mainvue_type_script_lang_js_components;
9452
9454
 
9453
9455
  var data_table_src_main_component = normalizeComponent(
9454
9456
  packages_data_table_src_mainvue_type_script_lang_js_,
9455
- mainvue_type_template_id_094be154_render,
9456
- mainvue_type_template_id_094be154_staticRenderFns,
9457
+ mainvue_type_template_id_1d557e20_render,
9458
+ mainvue_type_template_id_1d557e20_staticRenderFns,
9457
9459
  false,
9458
9460
  null,
9459
9461
  null,
@@ -28900,8 +28902,8 @@ form_src_main.install = function (Vue) {
28900
28902
  };
28901
28903
 
28902
28904
  /* harmony default export */ var packages_form = (form_src_main);
28903
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=57a9df9a&
28904
- var mainvue_type_template_id_57a9df9a_render = function () {
28905
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=13cc8c3c&
28906
+ var mainvue_type_template_id_13cc8c3c_render = function () {
28905
28907
  var _vm = this
28906
28908
  var _h = _vm.$createElement
28907
28909
  var _c = _vm._self._c || _h
@@ -30533,11 +30535,11 @@ var mainvue_type_template_id_57a9df9a_render = function () {
30533
30535
  )
30534
30536
  : _vm._e()
30535
30537
  }
30536
- var mainvue_type_template_id_57a9df9a_staticRenderFns = []
30537
- mainvue_type_template_id_57a9df9a_render._withStripped = true
30538
+ var mainvue_type_template_id_13cc8c3c_staticRenderFns = []
30539
+ mainvue_type_template_id_13cc8c3c_render._withStripped = true
30538
30540
 
30539
30541
 
30540
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=57a9df9a&
30542
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=13cc8c3c&
30541
30543
 
30542
30544
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=4e1f4030&
30543
30545
  var CommonOpinionsvue_type_template_id_4e1f4030_render = function () {
@@ -31477,8 +31479,8 @@ var CommonOpinions_component = normalizeComponent(
31477
31479
  )
31478
31480
 
31479
31481
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
31480
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=d47486b0&
31481
- var processFormvue_type_template_id_d47486b0_render = function () {
31482
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=b6491348&
31483
+ var processFormvue_type_template_id_b6491348_render = function () {
31482
31484
  var _vm = this
31483
31485
  var _h = _vm.$createElement
31484
31486
  var _c = _vm._self._c || _h
@@ -31944,11 +31946,11 @@ var processFormvue_type_template_id_d47486b0_render = function () {
31944
31946
  1
31945
31947
  )
31946
31948
  }
31947
- var processFormvue_type_template_id_d47486b0_staticRenderFns = []
31948
- processFormvue_type_template_id_d47486b0_render._withStripped = true
31949
+ var processFormvue_type_template_id_b6491348_staticRenderFns = []
31950
+ processFormvue_type_template_id_b6491348_render._withStripped = true
31949
31951
 
31950
31952
 
31951
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=d47486b0&
31953
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=b6491348&
31952
31954
 
31953
31955
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=db651118&
31954
31956
  var selectUservue_type_template_id_db651118_render = function () {
@@ -33860,7 +33862,7 @@ var processFormvue_type_script_lang_js_components;
33860
33862
 
33861
33863
  utils_util["a" /* default */].ajax({
33862
33864
  url: api["t" /* findCodeValues */],
33863
- params: { ccCode: 'notification_type' }
33865
+ params: { ccCode: 'notification_type', userId: utils_util["a" /* default */].getStorage('userId') }
33864
33866
  }).then(function (res) {
33865
33867
  var status = res.status,
33866
33868
  data = res.data;
@@ -34238,8 +34240,8 @@ var processFormvue_type_script_lang_js_components;
34238
34240
 
34239
34241
  var processForm_component = normalizeComponent(
34240
34242
  src_processFormvue_type_script_lang_js_,
34241
- processFormvue_type_template_id_d47486b0_render,
34242
- processFormvue_type_template_id_d47486b0_staticRenderFns,
34243
+ processFormvue_type_template_id_b6491348_render,
34244
+ processFormvue_type_template_id_b6491348_staticRenderFns,
34243
34245
  false,
34244
34246
  null,
34245
34247
  null,
@@ -35252,8 +35254,8 @@ var TimeLimit_component = normalizeComponent(
35252
35254
  )
35253
35255
 
35254
35256
  /* harmony default export */ var TimeLimit = (TimeLimit_component.exports);
35255
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=4de07824&
35256
- var processRejectvue_type_template_id_4de07824_render = function () {
35257
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=b5a52fc0&
35258
+ var processRejectvue_type_template_id_b5a52fc0_render = function () {
35257
35259
  var _vm = this
35258
35260
  var _h = _vm.$createElement
35259
35261
  var _c = _vm._self._c || _h
@@ -35444,11 +35446,11 @@ var processRejectvue_type_template_id_4de07824_render = function () {
35444
35446
  1
35445
35447
  )
35446
35448
  }
35447
- var processRejectvue_type_template_id_4de07824_staticRenderFns = []
35448
- processRejectvue_type_template_id_4de07824_render._withStripped = true
35449
+ var processRejectvue_type_template_id_b5a52fc0_staticRenderFns = []
35450
+ processRejectvue_type_template_id_b5a52fc0_render._withStripped = true
35449
35451
 
35450
35452
 
35451
- // CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=4de07824&
35453
+ // CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=b5a52fc0&
35452
35454
 
35453
35455
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=script&lang=js&
35454
35456
  //
@@ -35582,7 +35584,7 @@ processRejectvue_type_template_id_4de07824_render._withStripped = true
35582
35584
 
35583
35585
  utils_util["a" /* default */].ajax({
35584
35586
  url: api["t" /* findCodeValues */],
35585
- params: { ccCode: 'notification_type' }
35587
+ params: { ccCode: 'notification_type', userId: utils_util["a" /* default */].getStorage('userId') }
35586
35588
  }).then(function (res) {
35587
35589
  var status = res.status,
35588
35590
  data = res.data;
@@ -35726,8 +35728,8 @@ processRejectvue_type_template_id_4de07824_render._withStripped = true
35726
35728
 
35727
35729
  var processReject_component = normalizeComponent(
35728
35730
  src_processRejectvue_type_script_lang_js_,
35729
- processRejectvue_type_template_id_4de07824_render,
35730
- processRejectvue_type_template_id_4de07824_staticRenderFns,
35731
+ processRejectvue_type_template_id_b5a52fc0_render,
35732
+ processRejectvue_type_template_id_b5a52fc0_staticRenderFns,
35731
35733
  false,
35732
35734
  null,
35733
35735
  null,
@@ -35736,8 +35738,8 @@ var processReject_component = normalizeComponent(
35736
35738
  )
35737
35739
 
35738
35740
  /* harmony default export */ var processReject = (processReject_component.exports);
35739
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=44f07b3f&
35740
- var startTaskReadvue_type_template_id_44f07b3f_render = function () {
35741
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=02be1571&
35742
+ var startTaskReadvue_type_template_id_02be1571_render = function () {
35741
35743
  var _vm = this
35742
35744
  var _h = _vm.$createElement
35743
35745
  var _c = _vm._self._c || _h
@@ -36112,11 +36114,11 @@ var startTaskReadvue_type_template_id_44f07b3f_render = function () {
36112
36114
  1
36113
36115
  )
36114
36116
  }
36115
- var startTaskReadvue_type_template_id_44f07b3f_staticRenderFns = []
36116
- startTaskReadvue_type_template_id_44f07b3f_render._withStripped = true
36117
+ var startTaskReadvue_type_template_id_02be1571_staticRenderFns = []
36118
+ startTaskReadvue_type_template_id_02be1571_render._withStripped = true
36117
36119
 
36118
36120
 
36119
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=44f07b3f&
36121
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=02be1571&
36120
36122
 
36121
36123
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
36122
36124
  var startTaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -36513,7 +36515,7 @@ var startTaskReadvue_type_script_lang_js_components;
36513
36515
 
36514
36516
  utils_util["a" /* default */].ajax({
36515
36517
  url: api["t" /* findCodeValues */],
36516
- params: { ccCode: 'notification_type' }
36518
+ params: { ccCode: 'notification_type', userId: utils_util["a" /* default */].getStorage('userId') }
36517
36519
  }).then(function (res) {
36518
36520
  var status = res.status,
36519
36521
  data = res.data;
@@ -36717,8 +36719,8 @@ var startTaskReadvue_type_script_lang_js_components;
36717
36719
 
36718
36720
  var startTaskRead_component = normalizeComponent(
36719
36721
  src_startTaskReadvue_type_script_lang_js_,
36720
- startTaskReadvue_type_template_id_44f07b3f_render,
36721
- startTaskReadvue_type_template_id_44f07b3f_staticRenderFns,
36722
+ startTaskReadvue_type_template_id_02be1571_render,
36723
+ startTaskReadvue_type_template_id_02be1571_staticRenderFns,
36722
36724
  false,
36723
36725
  null,
36724
36726
  null,
@@ -36727,8 +36729,8 @@ var startTaskRead_component = normalizeComponent(
36727
36729
  )
36728
36730
 
36729
36731
  /* harmony default export */ var startTaskRead = (startTaskRead_component.exports);
36730
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=47986272&
36731
- var taskUnionExaminevue_type_template_id_47986272_render = function () {
36732
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=2e0435c4&
36733
+ var taskUnionExaminevue_type_template_id_2e0435c4_render = function () {
36732
36734
  var _vm = this
36733
36735
  var _h = _vm.$createElement
36734
36736
  var _c = _vm._self._c || _h
@@ -36943,11 +36945,11 @@ var taskUnionExaminevue_type_template_id_47986272_render = function () {
36943
36945
  1
36944
36946
  )
36945
36947
  }
36946
- var taskUnionExaminevue_type_template_id_47986272_staticRenderFns = []
36947
- taskUnionExaminevue_type_template_id_47986272_render._withStripped = true
36948
+ var taskUnionExaminevue_type_template_id_2e0435c4_staticRenderFns = []
36949
+ taskUnionExaminevue_type_template_id_2e0435c4_render._withStripped = true
36948
36950
 
36949
36951
 
36950
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=47986272&
36952
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=2e0435c4&
36951
36953
 
36952
36954
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
36953
36955
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -37354,7 +37356,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
37354
37356
 
37355
37357
  utils_util["a" /* default */].ajax({
37356
37358
  url: api["t" /* findCodeValues */],
37357
- params: { ccCode: 'notification_type' }
37359
+ params: { ccCode: 'notification_type', userId: utils_util["a" /* default */].getStorage('userId') }
37358
37360
  }).then(function (res) {
37359
37361
  var status = res.status,
37360
37362
  data = res.data;
@@ -37425,8 +37427,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
37425
37427
 
37426
37428
  var taskUnionExamine_component = normalizeComponent(
37427
37429
  component_taskUnionExaminevue_type_script_lang_js_,
37428
- taskUnionExaminevue_type_template_id_47986272_render,
37429
- taskUnionExaminevue_type_template_id_47986272_staticRenderFns,
37430
+ taskUnionExaminevue_type_template_id_2e0435c4_render,
37431
+ taskUnionExaminevue_type_template_id_2e0435c4_staticRenderFns,
37430
37432
  false,
37431
37433
  null,
37432
37434
  null,
@@ -38583,7 +38585,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38583
38585
 
38584
38586
  utils_util["a" /* default */].ajax({
38585
38587
  url: api["t" /* findCodeValues */],
38586
- params: { ccCode: 'notification_type' }
38588
+ params: { ccCode: 'notification_type', userId: utils_util["a" /* default */].getStorage('userId') }
38587
38589
  }).then(function (res) {
38588
38590
  var status = res.status,
38589
38591
  data = res.data;
@@ -39834,8 +39836,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39834
39836
 
39835
39837
  var flow_src_main_component = normalizeComponent(
39836
39838
  packages_flow_src_mainvue_type_script_lang_js_,
39837
- mainvue_type_template_id_57a9df9a_render,
39838
- mainvue_type_template_id_57a9df9a_staticRenderFns,
39839
+ mainvue_type_template_id_13cc8c3c_render,
39840
+ mainvue_type_template_id_13cc8c3c_staticRenderFns,
39839
39841
  false,
39840
39842
  null,
39841
39843
  null,
@@ -44395,6 +44397,7 @@ var label_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
44395
44397
  return '';
44396
44398
  }
44397
44399
  },
44400
+ text: String,
44398
44401
  rules: {
44399
44402
  type: [Array, Object],
44400
44403
  default: function _default() {
@@ -44523,8 +44526,8 @@ var label_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
44523
44526
  doms.push(this.$slots.prepend);
44524
44527
  }
44525
44528
  if (typeof this.contents === 'string') {
44526
- if (this.contents) {
44527
- doms.push(this.contents);
44529
+ if (this.contents || this.text) {
44530
+ doms.push(this.contents || this.text);
44528
44531
  }
44529
44532
  if (this.icon) {
44530
44533
  if (this.icon.indexOf('es-icon-') > -1 || this.icon.indexOf('el-icon-') > -1) {
@@ -47695,8 +47698,8 @@ login_src_main.install = function (Vue) {
47695
47698
  };
47696
47699
 
47697
47700
  /* harmony default export */ var login = (login_src_main);
47698
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=6a19317b&
47699
- var mainvue_type_template_id_6a19317b_render = function () {
47701
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=314bc538&
47702
+ var mainvue_type_template_id_314bc538_render = function () {
47700
47703
  var _vm = this
47701
47704
  var _h = _vm.$createElement
47702
47705
  var _c = _vm._self._c || _h
@@ -48121,11 +48124,11 @@ var mainvue_type_template_id_6a19317b_render = function () {
48121
48124
  1
48122
48125
  )
48123
48126
  }
48124
- var mainvue_type_template_id_6a19317b_staticRenderFns = []
48125
- mainvue_type_template_id_6a19317b_render._withStripped = true
48127
+ var mainvue_type_template_id_314bc538_staticRenderFns = []
48128
+ mainvue_type_template_id_314bc538_render._withStripped = true
48126
48129
 
48127
48130
 
48128
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6a19317b&
48131
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=314bc538&
48129
48132
 
48130
48133
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=799780ee&
48131
48134
  var userinfovue_type_template_id_799780ee_render = function () {
@@ -50713,6 +50716,9 @@ var log = utils_util["a" /* default */].getParams('console');
50713
50716
  this.showSet = !this.showSet;
50714
50717
  },
50715
50718
  setConfig: function setConfig(results, flag) {
50719
+ if (this.socket) {
50720
+ this.initWebSocket();
50721
+ }
50716
50722
  if (flag) {
50717
50723
  sessionStorage.setItem('mainConfig', JSON.stringify(results));
50718
50724
  utils_util["a" /* default */].setStorage({
@@ -50810,9 +50816,6 @@ var log = utils_util["a" /* default */].getParams('console');
50810
50816
  utils_util["a" /* default */].ajax({ url: this.mainConfig }).then(function (res) {
50811
50817
  if (res && res.rCode === 0) {
50812
50818
  _this3.setConfig(res.results, 1);
50813
- if (_this3.socket) {
50814
- _this3.initWebSocket();
50815
- }
50816
50819
  if (_this3.remote) {
50817
50820
  _this3.getMenu();
50818
50821
  } else {
@@ -51718,7 +51721,9 @@ var log = utils_util["a" /* default */].getParams('console');
51718
51721
  }
51719
51722
  }
51720
51723
  if (_this11.$store) {
51721
- _this11.$store.commit('websocket', data);
51724
+ try {
51725
+ _this11.$store.commit('websocket', data);
51726
+ } catch (error) {}
51722
51727
  }
51723
51728
  if (_this11.$eventBus) {
51724
51729
  _this11.$eventBus.$emit('websocket', data);
@@ -51863,8 +51868,8 @@ var log = utils_util["a" /* default */].getParams('console');
51863
51868
 
51864
51869
  var main_src_main_component = normalizeComponent(
51865
51870
  packages_main_src_mainvue_type_script_lang_js_,
51866
- mainvue_type_template_id_6a19317b_render,
51867
- mainvue_type_template_id_6a19317b_staticRenderFns,
51871
+ mainvue_type_template_id_314bc538_render,
51872
+ mainvue_type_template_id_314bc538_staticRenderFns,
51868
51873
  false,
51869
51874
  null,
51870
51875
  null,
@@ -71125,7 +71130,7 @@ if (typeof window !== 'undefined' && window.Vue) {
71125
71130
  }
71126
71131
 
71127
71132
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
71128
- version: '0.5.12',
71133
+ version: '0.5.13',
71129
71134
  install: install,
71130
71135
  Button: packages_button,
71131
71136
  ButtonGroup: button_group,
package/lib/flow-group.js CHANGED
@@ -2523,7 +2523,6 @@ var setStorage = function setStorage(_ref14) {
2523
2523
  * @author huangbo
2524
2524
  * @date 2022年5月7日
2525
2525
  * @param {String} [url] - 连接地址
2526
- * @param {String} [send] - 是否发送消息
2527
2526
  * @param {String} [take] - 订阅地址
2528
2527
  * @param {String} [debug] - 调试
2529
2528
  * @param {String} [interval] - 重连间隔时间
@@ -2531,16 +2530,8 @@ var setStorage = function setStorage(_ref14) {
2531
2530
  * @param {Function} [error] - 重连间隔时间
2532
2531
  **/
2533
2532
  function socket(option, vm) {
2534
- var options = {};
2535
- for (var i in option) {
2536
- if (i === 'send') {
2537
- options['isSend'] = option[i];
2538
- } else {
2539
- options[i] = option[i];
2540
- }
2541
- }
2542
2533
  var socket = new _webSocket__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"]();
2543
- socket.init(options, vm);
2534
+ socket.init(option, vm);
2544
2535
  return socket;
2545
2536
  }
2546
2537
  /**
@@ -5380,7 +5371,6 @@ var WebSocket = function () {
5380
5371
  this.connects = 1;
5381
5372
  this.recon = false;
5382
5373
  this.sendTimeout = null;
5383
- this.isSend = false;
5384
5374
  }
5385
5375
 
5386
5376
  /** socket连接 */
@@ -5408,9 +5398,7 @@ var WebSocket = function () {
5408
5398
  // tryTimes定义重置
5409
5399
  _this.connects = 1;
5410
5400
  // 订阅消息
5411
- // if (!this.isSend) {
5412
5401
  _this.subscribe();
5413
- // }
5414
5402
  }, function (error) {
5415
5403
  var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
5416
5404
  if (_this.connects > 5 && diffSecond < _this.interval) {
package/lib/flow-list.js CHANGED
@@ -2523,7 +2523,6 @@ var setStorage = function setStorage(_ref14) {
2523
2523
  * @author huangbo
2524
2524
  * @date 2022年5月7日
2525
2525
  * @param {String} [url] - 连接地址
2526
- * @param {String} [send] - 是否发送消息
2527
2526
  * @param {String} [take] - 订阅地址
2528
2527
  * @param {String} [debug] - 调试
2529
2528
  * @param {String} [interval] - 重连间隔时间
@@ -2531,16 +2530,8 @@ var setStorage = function setStorage(_ref14) {
2531
2530
  * @param {Function} [error] - 重连间隔时间
2532
2531
  **/
2533
2532
  function socket(option, vm) {
2534
- var options = {};
2535
- for (var i in option) {
2536
- if (i === 'send') {
2537
- options['isSend'] = option[i];
2538
- } else {
2539
- options[i] = option[i];
2540
- }
2541
- }
2542
2533
  var socket = new _webSocket__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"]();
2543
- socket.init(options, vm);
2534
+ socket.init(option, vm);
2544
2535
  return socket;
2545
2536
  }
2546
2537
  /**
@@ -4948,7 +4939,6 @@ var WebSocket = function () {
4948
4939
  this.connects = 1;
4949
4940
  this.recon = false;
4950
4941
  this.sendTimeout = null;
4951
- this.isSend = false;
4952
4942
  }
4953
4943
 
4954
4944
  /** socket连接 */
@@ -4976,9 +4966,7 @@ var WebSocket = function () {
4976
4966
  // tryTimes定义重置
4977
4967
  _this.connects = 1;
4978
4968
  // 订阅消息
4979
- // if (!this.isSend) {
4980
4969
  _this.subscribe();
4981
- // }
4982
4970
  }, function (error) {
4983
4971
  var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
4984
4972
  if (_this.connects > 5 && diffSecond < _this.interval) {