eoss-ui 0.5.55 → 0.5.58

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 (68) hide show
  1. package/lib/button-group.js +19 -9
  2. package/lib/button.js +4 -4
  3. package/lib/cascader.js +2 -2
  4. package/lib/checkbox-group.js +2 -2
  5. package/lib/data-table-form.js +2 -2
  6. package/lib/data-table.js +32 -19
  7. package/lib/date-picker.js +4 -4
  8. package/lib/dialog.js +2 -2
  9. package/lib/eoss-ui.common.js +179 -61
  10. package/lib/flow-group.js +2 -2
  11. package/lib/flow-list.js +2 -2
  12. package/lib/flow.js +6 -7
  13. package/lib/form.js +2 -2
  14. package/lib/handle-user.js +2 -2
  15. package/lib/handler.js +2 -2
  16. package/lib/icon.js +3841 -0
  17. package/lib/icons.js +2 -2
  18. package/lib/index.js +1 -1
  19. package/lib/input-number.js +4 -4
  20. package/lib/input.js +4 -4
  21. package/lib/label.js +2 -2
  22. package/lib/login.js +2 -2
  23. package/lib/main.js +2 -2
  24. package/lib/menu.js +2 -2
  25. package/lib/nav.js +4 -4
  26. package/lib/notify.js +2 -2
  27. package/lib/page.js +4 -4
  28. package/lib/pagination.js +2 -2
  29. package/lib/player.js +4 -4
  30. package/lib/qr-code.js +4 -4
  31. package/lib/radio-group.js +4 -4
  32. package/lib/retrial-auth.js +4 -4
  33. package/lib/select-ganged.js +4 -4
  34. package/lib/select.js +4 -4
  35. package/lib/selector-panel.js +2 -2
  36. package/lib/selector.js +11 -11
  37. package/lib/sizer.js +4 -4
  38. package/lib/steps.js +4 -4
  39. package/lib/switch.js +11 -11
  40. package/lib/table-form.js +4 -4
  41. package/lib/tabs-panel.js +2 -2
  42. package/lib/tabs.js +4 -4
  43. package/lib/theme-chalk/data-table.css +1 -1
  44. package/lib/theme-chalk/index.css +1 -1
  45. package/lib/theme-chalk/menu.css +1 -1
  46. package/lib/tips.js +4 -4
  47. package/lib/toolbar.js +2 -2
  48. package/lib/tree-group.js +4 -4
  49. package/lib/tree.js +10 -8
  50. package/lib/upload.js +2 -2
  51. package/lib/utils/util.js +2 -2
  52. package/lib/wujie.js +4 -4
  53. package/lib/wxlogin.js +137 -137
  54. package/package.json +1 -1
  55. package/packages/button-group/src/main.vue +5 -5
  56. package/packages/data-table/src/column.vue +1 -1
  57. package/packages/data-table/src/main.vue +14 -4
  58. package/packages/flow/src/main.vue +2 -3
  59. package/packages/icon/index.js +5 -0
  60. package/packages/icon/src/main.vue +43 -0
  61. package/packages/theme-chalk/lib/data-table.css +1 -1
  62. package/packages/theme-chalk/lib/index.css +1 -1
  63. package/packages/theme-chalk/lib/menu.css +1 -1
  64. package/packages/theme-chalk/src/data-table.scss +17 -0
  65. package/packages/theme-chalk/src/menu.scss +3 -5
  66. package/packages/tree/src/main.vue +14 -2
  67. package/src/index.js +4 -1
  68. package/src/utils/util.js +2 -1
@@ -2004,7 +2004,7 @@ var isFunction = function isFunction(obj) {
2004
2004
  * @param {object} [to] - 路由跳转信息
2005
2005
  * @param {object} [from] - 路由来源信息
2006
2006
  * @param {function} [next] - 跳转函数
2007
- * @param {array} [exclude] - 不拦截的路由
2007
+ * @param {array/boolean} [exclude] - 不拦截的路由
2008
2008
  * @param {boolean} [open] - 是否新窗口打开
2009
2009
  * @param {boolean} [cookie] - 是否尝试采用
2010
2010
  * @param {sting} [loginPage] - 第三方登录页面地址
@@ -2157,7 +2157,7 @@ var isLogined = function isLogined(_ref8) {
2157
2157
  });
2158
2158
  }
2159
2159
  }).catch(function (e) {});
2160
- } else if (token || to.path === '/' || to.path === '/404' || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2160
+ } else if (token || to.path === '/' || to.path === '/404' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2161
2161
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2162
2162
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
2163
2163
  } else {
@@ -4130,8 +4130,8 @@ main.install = function (Vue) {
4130
4130
  };
4131
4131
 
4132
4132
  /* harmony default export */ var packages_button = (main);
4133
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=template&id=10c7630a&
4134
- var mainvue_type_template_id_10c7630a_render = function () {
4133
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=template&id=619ac538&
4134
+ var mainvue_type_template_id_619ac538_render = function () {
4135
4135
  var _vm = this
4136
4136
  var _h = _vm.$createElement
4137
4137
  var _c = _vm._self._c || _h
@@ -4150,7 +4150,9 @@ var mainvue_type_template_id_10c7630a_render = function () {
4150
4150
  attrs: { stop: _vm.stop, size: _vm.size, type: item.type },
4151
4151
  on: {
4152
4152
  click: function ($event) {
4153
- _vm.handleClick({ row: _vm.data, handle: item })
4153
+ _vm.handleClick(
4154
+ Object.assign({}, _vm.data, { handle: item })
4155
+ )
4154
4156
  },
4155
4157
  },
4156
4158
  },
@@ -4163,7 +4165,9 @@ var mainvue_type_template_id_10c7630a_render = function () {
4163
4165
  "\n " +
4164
4166
  _vm._s(
4165
4167
  item.template
4166
- ? item.template({ row: _vm.data, config: item })
4168
+ ? item.template(
4169
+ Object.assign({}, _vm.data, { config: item })
4170
+ )
4167
4171
  : item.text
4168
4172
  ) +
4169
4173
  "\n "
@@ -4194,7 +4198,11 @@ var mainvue_type_template_id_10c7630a_render = function () {
4194
4198
  _vm._v(
4195
4199
  _vm._s(
4196
4200
  item.template
4197
- ? item.template({ row: _vm.data, config: item })
4201
+ ? item.template(
4202
+ Object.assign({}, _vm.data, {
4203
+ config: item,
4204
+ })
4205
+ )
4198
4206
  : item.text
4199
4207
  )
4200
4208
  ),
@@ -4213,13 +4221,15 @@ var mainvue_type_template_id_10c7630a_render = function () {
4213
4221
  2
4214
4222
  )
4215
4223
  }
4216
- var mainvue_type_template_id_10c7630a_staticRenderFns = []
4217
- mainvue_type_template_id_10c7630a_render._withStripped = true
4224
+ var mainvue_type_template_id_619ac538_staticRenderFns = []
4225
+ mainvue_type_template_id_619ac538_render._withStripped = true
4218
4226
 
4219
4227
 
4220
- // CONCATENATED MODULE: ./packages/button-group/src/main.vue?vue&type=template&id=10c7630a&
4228
+ // CONCATENATED MODULE: ./packages/button-group/src/main.vue?vue&type=template&id=619ac538&
4221
4229
 
4222
4230
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=script&lang=js&
4231
+ var mainvue_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; };
4232
+
4223
4233
  //
4224
4234
  //
4225
4235
  //
@@ -4335,8 +4345,8 @@ mainvue_type_template_id_10c7630a_render._withStripped = true
4335
4345
  this.$emit('handle-click', obj);
4336
4346
  },
4337
4347
  handleCommand: function handleCommand(res) {
4338
- this.$emit('handleClick', { row: this.data, handle: res });
4339
- this.$emit('handle-click', { row: this.data, handle: res });
4348
+ this.$emit('handleClick', mainvue_type_script_lang_js_extends({}, this.data, { handle: res }));
4349
+ this.$emit('handle-click', mainvue_type_script_lang_js_extends({}, this.data, { handle: res }));
4340
4350
  },
4341
4351
  resetWidth: function resetWidth() {
4342
4352
  var _this2 = this;
@@ -4369,8 +4379,8 @@ mainvue_type_template_id_10c7630a_render._withStripped = true
4369
4379
 
4370
4380
  var src_main_component = normalizeComponent(
4371
4381
  packages_button_group_src_mainvue_type_script_lang_js_,
4372
- mainvue_type_template_id_10c7630a_render,
4373
- mainvue_type_template_id_10c7630a_staticRenderFns,
4382
+ mainvue_type_template_id_619ac538_render,
4383
+ mainvue_type_template_id_619ac538_staticRenderFns,
4374
4384
  false,
4375
4385
  null,
4376
4386
  null,
@@ -5344,7 +5354,7 @@ card_src_main.install = function (Vue) {
5344
5354
 
5345
5355
  /* harmony default export */ var card = (card_src_main);
5346
5356
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader/src/main.vue?vue&type=script&lang=js&
5347
- var mainvue_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; };
5357
+ var src_mainvue_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; };
5348
5358
 
5349
5359
  /* harmony default export */ var cascader_src_mainvue_type_script_lang_js_ = ({
5350
5360
  name: 'EsCascader',
@@ -5430,7 +5440,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5430
5440
  leaf: this.leaf
5431
5441
  };
5432
5442
  if (this.props) {
5433
- return mainvue_type_script_lang_js_extends({}, props, this.props);
5443
+ return src_mainvue_type_script_lang_js_extends({}, props, this.props);
5434
5444
  }
5435
5445
  return props;
5436
5446
  }
@@ -5471,7 +5481,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5471
5481
  }, [value]);
5472
5482
  }
5473
5483
  return h('el-cascader', {
5474
- attrs: mainvue_type_script_lang_js_extends({}, this.$attrs, {
5484
+ attrs: src_mainvue_type_script_lang_js_extends({}, this.$attrs, {
5475
5485
  options: this.datas,
5476
5486
  props: this.newProps,
5477
5487
  value: this.model
@@ -5684,7 +5694,7 @@ var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
5684
5694
 
5685
5695
  /* harmony default export */ var bus = (new external_vue_default.a());
5686
5696
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox-group/src/main.vue?vue&type=script&lang=js&
5687
- var src_mainvue_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; };
5697
+ var checkbox_group_src_mainvue_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; };
5688
5698
 
5689
5699
  //
5690
5700
  //
@@ -5976,7 +5986,7 @@ var src_mainvue_type_script_lang_js_extends = Object.assign || function (target)
5976
5986
  if (res.checked && this.model) {
5977
5987
  this.$emit('input', this.valueType === 'object' ? res : res[this.valKey]);
5978
5988
  }
5979
- return utils_util["a" /* default */].isObject(res) ? src_mainvue_type_script_lang_js_extends({}, attrs, res) : attrs;
5989
+ return utils_util["a" /* default */].isObject(res) ? checkbox_group_src_mainvue_type_script_lang_js_extends({}, attrs, res) : attrs;
5980
5990
  },
5981
5991
  setOptions: function setOptions(val) {
5982
5992
  this.options = val;
@@ -6280,8 +6290,8 @@ clients_src_main.install = function (Vue) {
6280
6290
  };
6281
6291
 
6282
6292
  /* harmony default export */ var clients = (clients_src_main);
6283
- // 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=fa664770&
6284
- var mainvue_type_template_id_fa664770_render = function () {
6293
+ // 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=6d62957e&
6294
+ var mainvue_type_template_id_6d62957e_render = function () {
6285
6295
  var _vm = this
6286
6296
  var _h = _vm.$createElement
6287
6297
  var _c = _vm._self._c || _h
@@ -6353,6 +6363,7 @@ var mainvue_type_template_id_fa664770_render = function () {
6353
6363
  {
6354
6364
  ref: "esTableContent",
6355
6365
  staticClass: "es-data-table-content",
6366
+ class: _vm.border == "none" ? "es-table-border-none" : "",
6356
6367
  staticStyle: {},
6357
6368
  },
6358
6369
  [
@@ -6364,7 +6375,9 @@ var mainvue_type_template_id_fa664770_render = function () {
6364
6375
  ref: "oaTable",
6365
6376
  class:
6366
6377
  "es-table" +
6367
- (_vm.theadBorder ? " es-thead-border" : ""),
6378
+ (_vm.theadBorder && _vm.border != "none"
6379
+ ? " es-thead-border"
6380
+ : ""),
6368
6381
  },
6369
6382
  "el-table",
6370
6383
  Object.assign({}, _vm.$attrs, {
@@ -6377,7 +6390,7 @@ var mainvue_type_template_id_fa664770_render = function () {
6377
6390
  _vm.tableHeight !== "auto" && _vm.tableHeight !== false
6378
6391
  ? _vm.tableHeight
6379
6392
  : undefined,
6380
- border: _vm.border,
6393
+ border: _vm._border,
6381
6394
  infiniteScroll: _vm.getTableData,
6382
6395
  infiniteScrollDisabled: _vm.infiniteDisabled,
6383
6396
  }),
@@ -6546,11 +6559,11 @@ var mainvue_type_template_id_fa664770_render = function () {
6546
6559
  1
6547
6560
  )
6548
6561
  }
6549
- var mainvue_type_template_id_fa664770_staticRenderFns = []
6550
- mainvue_type_template_id_fa664770_render._withStripped = true
6562
+ var mainvue_type_template_id_6d62957e_staticRenderFns = []
6563
+ mainvue_type_template_id_6d62957e_render._withStripped = true
6551
6564
 
6552
6565
 
6553
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=fa664770&
6566
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=6d62957e&
6554
6567
 
6555
6568
  // 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=29bcbc72&
6556
6569
  var childrenvue_type_template_id_29bcbc72_render = function () {
@@ -6595,8 +6608,8 @@ childrenvue_type_template_id_29bcbc72_render._withStripped = true
6595
6608
 
6596
6609
  // CONCATENATED MODULE: ./packages/data-table/src/children.vue?vue&type=template&id=29bcbc72&
6597
6610
 
6598
- // 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=66569ceb&
6599
- var columnvue_type_template_id_66569ceb_render = function () {
6611
+ // 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=449ae3d7&
6612
+ var columnvue_type_template_id_449ae3d7_render = function () {
6600
6613
  var _vm = this
6601
6614
  var _h = _vm.$createElement
6602
6615
  var _c = _vm._self._c || _h
@@ -7274,7 +7287,7 @@ var columnvue_type_template_id_66569ceb_render = function () {
7274
7287
  attrs: {
7275
7288
  stop: "",
7276
7289
  contents: _vm.contents || _vm.events,
7277
- data: scope.row,
7290
+ data: scope,
7278
7291
  },
7279
7292
  on: { handleClick: _vm.handleClick },
7280
7293
  model: {
@@ -7314,11 +7327,11 @@ var columnvue_type_template_id_66569ceb_render = function () {
7314
7327
  2
7315
7328
  )
7316
7329
  }
7317
- var columnvue_type_template_id_66569ceb_staticRenderFns = []
7318
- columnvue_type_template_id_66569ceb_render._withStripped = true
7330
+ var columnvue_type_template_id_449ae3d7_staticRenderFns = []
7331
+ columnvue_type_template_id_449ae3d7_render._withStripped = true
7319
7332
 
7320
7333
 
7321
- // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=66569ceb&
7334
+ // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=449ae3d7&
7322
7335
 
7323
7336
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
7324
7337
  var regenerator_ = __webpack_require__(2);
@@ -8182,8 +8195,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
8182
8195
 
8183
8196
  var column_component = normalizeComponent(
8184
8197
  src_columnvue_type_script_lang_js_,
8185
- columnvue_type_template_id_66569ceb_render,
8186
- columnvue_type_template_id_66569ceb_staticRenderFns,
8198
+ columnvue_type_template_id_449ae3d7_render,
8199
+ columnvue_type_template_id_449ae3d7_staticRenderFns,
8187
8200
  false,
8188
8201
  null,
8189
8202
  null,
@@ -8643,6 +8656,10 @@ var mainvue_type_script_lang_js_components, _watch;
8643
8656
  //
8644
8657
  //
8645
8658
  //
8659
+ //
8660
+ //
8661
+ //
8662
+ //
8646
8663
 
8647
8664
 
8648
8665
 
@@ -8844,8 +8861,11 @@ var mainvue_type_script_lang_js_components, _watch;
8844
8861
  response: Function,
8845
8862
  minWidth: [Number, String],
8846
8863
  border: {
8847
- type: Boolean,
8848
- default: false
8864
+ type: [Boolean, String],
8865
+ default: false,
8866
+ validator: function validator(value) {
8867
+ return [true, false, 'none'].includes(value);
8868
+ }
8849
8869
  },
8850
8870
  theadBorder: {
8851
8871
  type: Boolean,
@@ -8929,6 +8949,9 @@ var mainvue_type_script_lang_js_components, _watch;
8929
8949
  tag: function tag() {
8930
8950
  return this.form && this.elForm == '' ? 'el-form' : 'div';
8931
8951
  },
8952
+ _border: function _border() {
8953
+ return this.border === true ? true : false;
8954
+ },
8932
8955
 
8933
8956
  theads: {
8934
8957
  get: function get() {
@@ -9893,8 +9916,8 @@ var mainvue_type_script_lang_js_components, _watch;
9893
9916
 
9894
9917
  var data_table_src_main_component = normalizeComponent(
9895
9918
  packages_data_table_src_mainvue_type_script_lang_js_,
9896
- mainvue_type_template_id_fa664770_render,
9897
- mainvue_type_template_id_fa664770_staticRenderFns,
9919
+ mainvue_type_template_id_6d62957e_render,
9920
+ mainvue_type_template_id_6d62957e_staticRenderFns,
9898
9921
  false,
9899
9922
  null,
9900
9923
  null,
@@ -29483,8 +29506,8 @@ form_src_main.install = function (Vue) {
29483
29506
  };
29484
29507
 
29485
29508
  /* harmony default export */ var packages_form = (form_src_main);
29486
- // 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=4dbe5794&
29487
- var mainvue_type_template_id_4dbe5794_render = function () {
29509
+ // 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=301e1065&
29510
+ var mainvue_type_template_id_301e1065_render = function () {
29488
29511
  var _vm = this
29489
29512
  var _h = _vm.$createElement
29490
29513
  var _c = _vm._self._c || _h
@@ -31204,11 +31227,11 @@ var mainvue_type_template_id_4dbe5794_render = function () {
31204
31227
  )
31205
31228
  : _vm._e()
31206
31229
  }
31207
- var mainvue_type_template_id_4dbe5794_staticRenderFns = []
31208
- mainvue_type_template_id_4dbe5794_render._withStripped = true
31230
+ var mainvue_type_template_id_301e1065_staticRenderFns = []
31231
+ mainvue_type_template_id_301e1065_render._withStripped = true
31209
31232
 
31210
31233
 
31211
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=4dbe5794&
31234
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=301e1065&
31212
31235
 
31213
31236
  // 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=28c062bc&
31214
31237
  var CommonOpinionsvue_type_template_id_28c062bc_render = function () {
@@ -39884,7 +39907,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39884
39907
  _this21.isHideOtherOrg = false;
39885
39908
  _this21.isNodeShowProcess = false;
39886
39909
  _this21.isMainSubProcess = false;
39887
- _this21.isNextUser = true;
39910
+ _this21.isNextUser = _this21.nextNode.nextOperate != 9;
39888
39911
  // this.isMainSubProcess === true
39889
39912
  // ? (this.isMainSubProcess = true)
39890
39913
  // : (this.isMainSubProcess = false);
@@ -40046,6 +40069,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
40046
40069
  this.loading.close();
40047
40070
  return;
40048
40071
  } else {}
40072
+
40049
40073
  if (isDef !== true) this.getNodeInfo();
40050
40074
  },
40051
40075
 
@@ -40125,7 +40149,6 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
40125
40149
  isCanRemoveSign = _res$data2.isCanRemoveSign,
40126
40150
  attachedCode = _res$data2.attachedCode,
40127
40151
  isSpecial = _res$data2.isSpecial,
40128
- opinion = _res$data2.opinion,
40129
40152
  canPresetRead = _res$data2.canPresetRead,
40130
40153
  isCdjxjTaskHandle = _res$data2.isCdjxjTaskHandle,
40131
40154
  taskButtonList = _res$data2.taskButtonList;
@@ -40183,7 +40206,6 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
40183
40206
  });
40184
40207
  _this23.selecNext(_this23.nextNode.nextOperate, true, true);
40185
40208
  }
40186
-
40187
40209
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
40188
40210
  _this23.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
40189
40211
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
@@ -40702,8 +40724,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
40702
40724
 
40703
40725
  var flow_src_main_component = normalizeComponent(
40704
40726
  packages_flow_src_mainvue_type_script_lang_js_,
40705
- mainvue_type_template_id_4dbe5794_render,
40706
- mainvue_type_template_id_4dbe5794_staticRenderFns,
40727
+ mainvue_type_template_id_301e1065_render,
40728
+ mainvue_type_template_id_301e1065_staticRenderFns,
40707
40729
  false,
40708
40730
  null,
40709
40731
  null,
@@ -44715,6 +44737,98 @@ handler_src_main.install = function (Vue) {
44715
44737
  };
44716
44738
 
44717
44739
  /* harmony default export */ var packages_handler = (handler_src_main);
44740
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=template&id=6d34d3d4&
44741
+ var mainvue_type_template_id_6d34d3d4_render = function () {
44742
+ var _vm = this
44743
+ var _h = _vm.$createElement
44744
+ var _c = _vm._self._c || _h
44745
+ return _c(
44746
+ "i",
44747
+ { class: _vm.className },
44748
+ [_vm._t("default", [_vm._v(_vm._s(_vm.code))])],
44749
+ 2
44750
+ )
44751
+ }
44752
+ var mainvue_type_template_id_6d34d3d4_staticRenderFns = []
44753
+ mainvue_type_template_id_6d34d3d4_render._withStripped = true
44754
+
44755
+
44756
+ // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=6d34d3d4&
44757
+
44758
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=script&lang=js&
44759
+ //
44760
+ //
44761
+ //
44762
+ //
44763
+ //
44764
+
44765
+
44766
+ /* harmony default export */ var icon_src_mainvue_type_script_lang_js_ = ({
44767
+ name: 'EsIcon',
44768
+ inheritAttrs: false,
44769
+ props: {
44770
+ contents: [Object, String]
44771
+ },
44772
+ watch: {
44773
+ contents: {
44774
+ immediate: true,
44775
+ deep: true,
44776
+ handler: function handler(val) {
44777
+ if (val) {
44778
+ if (typeof val == 'string') {
44779
+ if (utils_util["a" /* default */].startWith(val, '&#')) {
44780
+ this.code = val;
44781
+ } else {
44782
+ this.className = val;
44783
+ }
44784
+ } else {
44785
+ this.code = val.code;
44786
+ this.className = val.className;
44787
+ }
44788
+ }
44789
+ }
44790
+ }
44791
+ },
44792
+ data: function data() {
44793
+ return {
44794
+ code: '',
44795
+ className: ''
44796
+ };
44797
+ },
44798
+ created: function created() {},
44799
+
44800
+ methods: {}
44801
+ });
44802
+ // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=script&lang=js&
44803
+ /* harmony default export */ var packages_icon_src_mainvue_type_script_lang_js_ = (icon_src_mainvue_type_script_lang_js_);
44804
+ // CONCATENATED MODULE: ./packages/icon/src/main.vue
44805
+
44806
+
44807
+
44808
+
44809
+
44810
+ /* normalize component */
44811
+
44812
+ var icon_src_main_component = normalizeComponent(
44813
+ packages_icon_src_mainvue_type_script_lang_js_,
44814
+ mainvue_type_template_id_6d34d3d4_render,
44815
+ mainvue_type_template_id_6d34d3d4_staticRenderFns,
44816
+ false,
44817
+ null,
44818
+ null,
44819
+ null
44820
+
44821
+ )
44822
+
44823
+ /* harmony default export */ var icon_src_main = (icon_src_main_component.exports);
44824
+ // CONCATENATED MODULE: ./packages/icon/index.js
44825
+
44826
+
44827
+ icon_src_main.install = function (Vue) {
44828
+ return Vue.component(icon_src_main.name, icon_src_main);
44829
+ };
44830
+
44831
+ /* harmony default export */ var icon = (icon_src_main);
44718
44832
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icons/src/main.vue?vue&type=template&id=32c03886&
44719
44833
  var mainvue_type_template_id_32c03886_render = function () {
44720
44834
  var _vm = this
@@ -44830,7 +44944,7 @@ mainvue_type_template_id_32c03886_render._withStripped = true
44830
44944
  // CONCATENATED MODULE: ./packages/icons/src/main.vue?vue&type=template&id=32c03886&
44831
44945
 
44832
44946
  // EXTERNAL MODULE: ./packages/icons/src/icon.json
44833
- var icon = __webpack_require__(14);
44947
+ var src_icon = __webpack_require__(14);
44834
44948
 
44835
44949
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/icons/src/main.vue?vue&type=script&lang=js&
44836
44950
  //
@@ -44894,7 +45008,7 @@ var icon = __webpack_require__(14);
44894
45008
  },
44895
45009
  data: function data() {
44896
45010
  return {
44897
- list: icon,
45011
+ list: src_icon,
44898
45012
  icon: null,
44899
45013
  visible: false
44900
45014
  };
@@ -64597,8 +64711,8 @@ tips_src_main.install = function (Vue) {
64597
64711
  };
64598
64712
 
64599
64713
  /* harmony default export */ var tips = (tips_src_main);
64600
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=6991bbb6&
64601
- var mainvue_type_template_id_6991bbb6_render = function () {
64714
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=9f4d1ddc&
64715
+ var mainvue_type_template_id_9f4d1ddc_render = function () {
64602
64716
  var _vm = this
64603
64717
  var _h = _vm.$createElement
64604
64718
  var _c = _vm._self._c || _h
@@ -64794,11 +64908,11 @@ var mainvue_type_template_id_6991bbb6_render = function () {
64794
64908
  )
64795
64909
  : _vm._e()
64796
64910
  }
64797
- var mainvue_type_template_id_6991bbb6_staticRenderFns = []
64798
- mainvue_type_template_id_6991bbb6_render._withStripped = true
64911
+ var mainvue_type_template_id_9f4d1ddc_staticRenderFns = []
64912
+ mainvue_type_template_id_9f4d1ddc_render._withStripped = true
64799
64913
 
64800
64914
 
64801
- // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=6991bbb6&
64915
+ // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=9f4d1ddc&
64802
64916
 
64803
64917
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=script&lang=js&
64804
64918
  //
@@ -65097,6 +65211,7 @@ mainvue_type_template_id_6991bbb6_render._withStripped = true
65097
65211
  return {};
65098
65212
  }
65099
65213
  },
65214
+ parseData: Function,
65100
65215
  onLoadsub: Function,
65101
65216
  parseParams: Function,
65102
65217
  onNodeClick: Function,
@@ -65187,7 +65302,7 @@ mainvue_type_template_id_6991bbb6_render._withStripped = true
65187
65302
  }).then(function (res) {
65188
65303
  _this.loading = false;
65189
65304
  if (res.rCode === 0) {
65190
- var treeList = JSON.parse(JSON.stringify(res.results));
65305
+ var treeList = _this.parseData ? _this.parseData(JSON.parse(JSON.stringify(res.results)), 'results') : JSON.parse(JSON.stringify(res.results));
65191
65306
  _this.$emit('results', treeList);
65192
65307
  if (_this.currentFirst) {
65193
65308
  var currentNode = treeList[0].id;
@@ -65213,6 +65328,7 @@ mainvue_type_template_id_6991bbb6_render._withStripped = true
65213
65328
  _this.treeList = treeList;
65214
65329
  }
65215
65330
  }).catch(function (err) {
65331
+ _this.loading = false;
65216
65332
  if (err.message && err.message !== 'canceled') {
65217
65333
  _this.$message.error(err.message);
65218
65334
  }
@@ -65247,7 +65363,7 @@ mainvue_type_template_id_6991bbb6_render._withStripped = true
65247
65363
  }).then(function (res) {
65248
65364
  if (res.rCode === 0) {
65249
65365
  _this2.loading = false;
65250
- var results = JSON.parse(JSON.stringify(res.results));
65366
+ var results = _this2.parseData ? _this2.parseData(JSON.parse(JSON.stringify(res.results)), 'sub-results') : JSON.parse(JSON.stringify(res.results));
65251
65367
  _this2.$emit('sub-results', results);
65252
65368
  if (Array.isArray(results)) {
65253
65369
  if (data.id === results[0].id) {
@@ -65489,8 +65605,8 @@ mainvue_type_template_id_6991bbb6_render._withStripped = true
65489
65605
 
65490
65606
  var tree_src_main_component = normalizeComponent(
65491
65607
  packages_tree_src_mainvue_type_script_lang_js_,
65492
- mainvue_type_template_id_6991bbb6_render,
65493
- mainvue_type_template_id_6991bbb6_staticRenderFns,
65608
+ mainvue_type_template_id_9f4d1ddc_render,
65609
+ mainvue_type_template_id_9f4d1ddc_staticRenderFns,
65494
65610
  false,
65495
65611
  null,
65496
65612
  null,
@@ -72753,7 +72869,8 @@ wxlogin_src_main.install = function (Vue) {
72753
72869
 
72754
72870
 
72755
72871
 
72756
- var components = [packages_button, button_group, calendar, card, cascader, checkbox_group, clients, data_table, data_table_form, date_picker, packages_dialog, enterprise, error_page, packages_form, packages_flow, flow_group, flow_list, handle_user, packages_handler, icons, packages_input, input_number, packages_label, layout, login, packages_main, menu, nav, packages_notify, pagination, packages_page, player, qr_code, radio_group, retrial_auth, packages_select, select_ganged, selector, selector_panel, packages_sizer, steps, packages_switch, packages_tabs, tabs_panel, tips, packages_tree, tree_group, packages_toolbar, table_form, upload, wujie, wxlogin];
72872
+
72873
+ var components = [packages_button, button_group, calendar, card, cascader, checkbox_group, clients, data_table, data_table_form, date_picker, packages_dialog, enterprise, error_page, packages_form, packages_flow, flow_group, flow_list, handle_user, packages_handler, icon, icons, packages_input, input_number, packages_label, layout, login, packages_main, menu, nav, packages_notify, pagination, packages_page, player, qr_code, radio_group, retrial_auth, packages_select, select_ganged, selector, selector_panel, packages_sizer, steps, packages_switch, packages_tabs, tabs_panel, tips, packages_tree, tree_group, packages_toolbar, table_form, upload, wujie, wxlogin];
72757
72874
 
72758
72875
  var install = function install(Vue) {
72759
72876
  var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -72768,7 +72885,7 @@ if (typeof window !== 'undefined' && window.Vue) {
72768
72885
  }
72769
72886
 
72770
72887
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
72771
- version: '0.5.55',
72888
+ version: '0.5.58',
72772
72889
  install: install,
72773
72890
  Button: packages_button,
72774
72891
  ButtonGroup: button_group,
@@ -72789,6 +72906,7 @@ if (typeof window !== 'undefined' && window.Vue) {
72789
72906
  FlowList: flow_list,
72790
72907
  HandleUser: handle_user,
72791
72908
  Handler: packages_handler,
72909
+ Icon: icon,
72792
72910
  Icons: icons,
72793
72911
  Input: packages_input,
72794
72912
  InputNumber: input_number,
package/lib/flow-group.js CHANGED
@@ -2005,7 +2005,7 @@ var isFunction = function isFunction(obj) {
2005
2005
  * @param {object} [to] - 路由跳转信息
2006
2006
  * @param {object} [from] - 路由来源信息
2007
2007
  * @param {function} [next] - 跳转函数
2008
- * @param {array} [exclude] - 不拦截的路由
2008
+ * @param {array/boolean} [exclude] - 不拦截的路由
2009
2009
  * @param {boolean} [open] - 是否新窗口打开
2010
2010
  * @param {boolean} [cookie] - 是否尝试采用
2011
2011
  * @param {sting} [loginPage] - 第三方登录页面地址
@@ -2158,7 +2158,7 @@ var isLogined = function isLogined(_ref8) {
2158
2158
  });
2159
2159
  }
2160
2160
  }).catch(function (e) {});
2161
- } else if (token || to.path === '/' || to.path === '/404' || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2161
+ } else if (token || to.path === '/' || to.path === '/404' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2162
2162
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2163
2163
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
2164
2164
  } else {
package/lib/flow-list.js CHANGED
@@ -2005,7 +2005,7 @@ var isFunction = function isFunction(obj) {
2005
2005
  * @param {object} [to] - 路由跳转信息
2006
2006
  * @param {object} [from] - 路由来源信息
2007
2007
  * @param {function} [next] - 跳转函数
2008
- * @param {array} [exclude] - 不拦截的路由
2008
+ * @param {array/boolean} [exclude] - 不拦截的路由
2009
2009
  * @param {boolean} [open] - 是否新窗口打开
2010
2010
  * @param {boolean} [cookie] - 是否尝试采用
2011
2011
  * @param {sting} [loginPage] - 第三方登录页面地址
@@ -2158,7 +2158,7 @@ var isLogined = function isLogined(_ref8) {
2158
2158
  });
2159
2159
  }
2160
2160
  }).catch(function (e) {});
2161
- } else if (token || to.path === '/' || to.path === '/404' || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2161
+ } else if (token || to.path === '/' || to.path === '/404' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2162
2162
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2163
2163
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
2164
2164
  } else {