eoss-ui 0.4.89 → 0.4.91

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.
@@ -47309,8 +47309,8 @@ login_src_main.install = function (Vue) {
47309
47309
  };
47310
47310
 
47311
47311
  /* harmony default export */ var login = (login_src_main);
47312
- // 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=5d84af02&
47313
- var mainvue_type_template_id_5d84af02_render = function () {
47312
+ // 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=6641fcac&
47313
+ var mainvue_type_template_id_6641fcac_render = function () {
47314
47314
  var _vm = this
47315
47315
  var _h = _vm.$createElement
47316
47316
  var _c = _vm._self._c || _h
@@ -47735,11 +47735,11 @@ var mainvue_type_template_id_5d84af02_render = function () {
47735
47735
  1
47736
47736
  )
47737
47737
  }
47738
- var mainvue_type_template_id_5d84af02_staticRenderFns = []
47739
- mainvue_type_template_id_5d84af02_render._withStripped = true
47738
+ var mainvue_type_template_id_6641fcac_staticRenderFns = []
47739
+ mainvue_type_template_id_6641fcac_render._withStripped = true
47740
47740
 
47741
47741
 
47742
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=5d84af02&
47742
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6641fcac&
47743
47743
 
47744
47744
  // 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&
47745
47745
  var userinfovue_type_template_id_799780ee_render = function () {
@@ -51072,6 +51072,7 @@ var log = utils_util["a" /* default */].getParams('console');
51072
51072
  handleJump: function handleJump(page, type, res) {
51073
51073
  var _this9 = this;
51074
51074
 
51075
+ var prevPage = sessionStorage.getItem('jump');
51075
51076
  console.log(page);
51076
51077
  sessionStorage.setItem('jump', page);
51077
51078
  if (res) {
@@ -51081,7 +51082,7 @@ var log = utils_util["a" /* default */].getParams('console');
51081
51082
  this.pid = res.pid;
51082
51083
  }
51083
51084
  }
51084
- if (utils_util["a" /* default */].win.location.hash === page) {
51085
+ if (utils_util["a" /* default */].win.location.hash === page && prevPage === page) {
51085
51086
  this.refresh = true;
51086
51087
  return;
51087
51088
  }
@@ -51467,8 +51468,8 @@ var log = utils_util["a" /* default */].getParams('console');
51467
51468
 
51468
51469
  var main_src_main_component = normalizeComponent(
51469
51470
  packages_main_src_mainvue_type_script_lang_js_,
51470
- mainvue_type_template_id_5d84af02_render,
51471
- mainvue_type_template_id_5d84af02_staticRenderFns,
51471
+ mainvue_type_template_id_6641fcac_render,
51472
+ mainvue_type_template_id_6641fcac_staticRenderFns,
51472
51473
  false,
51473
51474
  null,
51474
51475
  null,
@@ -62668,8 +62669,8 @@ tips_src_main.install = function (Vue) {
62668
62669
  };
62669
62670
 
62670
62671
  /* harmony default export */ var tips = (tips_src_main);
62671
- // 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=1caf3025&
62672
- var mainvue_type_template_id_1caf3025_render = function () {
62672
+ // 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=ad13099c&
62673
+ var mainvue_type_template_id_ad13099c_render = function () {
62673
62674
  var _vm = this
62674
62675
  var _h = _vm.$createElement
62675
62676
  var _c = _vm._self._c || _h
@@ -62858,11 +62859,11 @@ var mainvue_type_template_id_1caf3025_render = function () {
62858
62859
  )
62859
62860
  : _vm._e()
62860
62861
  }
62861
- var mainvue_type_template_id_1caf3025_staticRenderFns = []
62862
- mainvue_type_template_id_1caf3025_render._withStripped = true
62862
+ var mainvue_type_template_id_ad13099c_staticRenderFns = []
62863
+ mainvue_type_template_id_ad13099c_render._withStripped = true
62863
62864
 
62864
62865
 
62865
- // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=1caf3025&
62866
+ // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=ad13099c&
62866
62867
 
62867
62868
  // 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&
62868
62869
  //
@@ -63024,10 +63025,6 @@ mainvue_type_template_id_1caf3025_render._withStripped = true
63024
63025
  type: String,
63025
63026
  default: api["H" /* getOrgMainTree */]
63026
63027
  },
63027
- currentFirstNode: {
63028
- type: Boolean,
63029
- default: false
63030
- },
63031
63028
  system: {
63032
63029
  type: Boolean,
63033
63030
  default: false
@@ -63257,6 +63254,7 @@ mainvue_type_template_id_1caf3025_render._withStripped = true
63257
63254
  if (_this.currentFirst) {
63258
63255
  var currentNode = treeList[0].id;
63259
63256
  if (!_this.currentNodeKey && _this.currentNodeKey != 0) {
63257
+ _this.$emit('current-first', 'current', treeList[0]);
63260
63258
  _this.$nextTick(function () {
63261
63259
  _this.$refs.oaTree.setCurrentKey(currentNode);
63262
63260
  });
@@ -63265,6 +63263,7 @@ mainvue_type_template_id_1caf3025_render._withStripped = true
63265
63263
  if (_this.checkedFirst) {
63266
63264
  var checkedNode = treeList[0].id;
63267
63265
  if (_this.defaultCheckedKeys && _this.defaultCheckedKeys.indexOf(checkedNode) == -1) {
63266
+ _this.$emit('current-first', 'checked', treeList[0]);
63268
63267
  _this.checkedKeys = [checkedNode];
63269
63268
  }
63270
63269
  }
@@ -63552,8 +63551,8 @@ mainvue_type_template_id_1caf3025_render._withStripped = true
63552
63551
 
63553
63552
  var tree_src_main_component = normalizeComponent(
63554
63553
  packages_tree_src_mainvue_type_script_lang_js_,
63555
- mainvue_type_template_id_1caf3025_render,
63556
- mainvue_type_template_id_1caf3025_staticRenderFns,
63554
+ mainvue_type_template_id_ad13099c_render,
63555
+ mainvue_type_template_id_ad13099c_staticRenderFns,
63557
63556
  false,
63558
63557
  null,
63559
63558
  null,
@@ -63570,8 +63569,8 @@ tree_src_main.install = function (Vue) {
63570
63569
  };
63571
63570
 
63572
63571
  /* harmony default export */ var packages_tree = (tree_src_main);
63573
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=11d86630&
63574
- var mainvue_type_template_id_11d86630_render = function () {
63572
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=29d92df1&
63573
+ var mainvue_type_template_id_29d92df1_render = function () {
63575
63574
  var _vm = this
63576
63575
  var _h = _vm.$createElement
63577
63576
  var _c = _vm._self._c || _h
@@ -63613,6 +63612,10 @@ var mainvue_type_template_id_11d86630_render = function () {
63613
63612
  },
63614
63613
  },
63615
63614
  _vm._l(_vm.tabs, function (item, index) {
63615
+ var arguments$1 = arguments
63616
+ var i = arguments.length,
63617
+ argsArray = Array(i)
63618
+ while (i--) argsArray[i] = arguments[i]
63616
63619
  return _c(
63617
63620
  "el-tab-pane",
63618
63621
  {
@@ -63628,9 +63631,24 @@ var mainvue_type_template_id_11d86630_render = function () {
63628
63631
  ref: item.ref ? item.ref : "groupTree" + index,
63629
63632
  refInFor: true,
63630
63633
  on: {
63631
- "node-click": _vm.handleNodeClick,
63632
- "check-change": _vm.handleCheckChange,
63633
- "current-first": _vm.handleCurrentFirst,
63634
+ "node-click": function (data, node) {
63635
+ _vm.handleNodeClick(data, node, item)
63636
+ },
63637
+ "check-change": function () {
63638
+ _vm.handleCheckChange.apply(
63639
+ void 0,
63640
+ arguments$1.concat([item])
63641
+ )
63642
+ },
63643
+ results: function (res) {
63644
+ _vm.handleResults(res, item)
63645
+ },
63646
+ "sub-results": function (res) {
63647
+ _vm.handleSubResults(res, item)
63648
+ },
63649
+ "current-first": function (type, res) {
63650
+ _vm.handleCurrentFirst(type, res, item)
63651
+ },
63634
63652
  },
63635
63653
  },
63636
63654
  "es-tree",
@@ -63688,6 +63706,7 @@ var mainvue_type_template_id_11d86630_render = function () {
63688
63706
  "check-change": _vm.handleCheckChange,
63689
63707
  results: _vm.handleResults,
63690
63708
  "sub-results": _vm.handleSubResults,
63709
+ "current-first": _vm.handleCurrentFirst,
63691
63710
  },
63692
63711
  },
63693
63712
  "es-tree",
@@ -63879,11 +63898,11 @@ var mainvue_type_template_id_11d86630_render = function () {
63879
63898
  2
63880
63899
  )
63881
63900
  }
63882
- var mainvue_type_template_id_11d86630_staticRenderFns = []
63883
- mainvue_type_template_id_11d86630_render._withStripped = true
63901
+ var mainvue_type_template_id_29d92df1_staticRenderFns = []
63902
+ mainvue_type_template_id_29d92df1_render._withStripped = true
63884
63903
 
63885
63904
 
63886
- // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=11d86630&
63905
+ // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=29d92df1&
63887
63906
 
63888
63907
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=script&lang=js&
63889
63908
  //
@@ -64036,6 +64055,29 @@ mainvue_type_template_id_11d86630_render._withStripped = true
64036
64055
  //
64037
64056
  //
64038
64057
  //
64058
+ //
64059
+ //
64060
+ //
64061
+ //
64062
+ //
64063
+ //
64064
+ //
64065
+ //
64066
+ //
64067
+ //
64068
+ //
64069
+ //
64070
+ //
64071
+ //
64072
+ //
64073
+ //
64074
+ //
64075
+ //
64076
+ //
64077
+ //
64078
+ //
64079
+ //
64080
+ //
64039
64081
 
64040
64082
 
64041
64083
  /* harmony default export */ var tree_group_src_mainvue_type_script_lang_js_ = ({
@@ -64276,14 +64318,14 @@ mainvue_type_template_id_11d86630_render._withStripped = true
64276
64318
  handleSelect: function handleSelect() {
64277
64319
  this.$emit('tab-click', this.tabs[parseInt(this.active, 10)]);
64278
64320
  },
64279
- handleNodeClick: function handleNodeClick(data, node) {
64321
+ handleNodeClick: function handleNodeClick(data, node, tabs) {
64280
64322
  if (this.clickedAsSearch) {
64281
64323
  this.checkeds = data;
64282
64324
  }
64283
64325
  if (this.onNodeClick) {
64284
- this.onNodeClick(this, data, node);
64326
+ this.onNodeClick(this, data, node, tabs);
64285
64327
  } else {
64286
- this.$emit('node-click', this, data, node);
64328
+ this.$emit('node-click', this, data, node, tabs);
64287
64329
  }
64288
64330
  },
64289
64331
  handleCheckChange: function handleCheckChange() {
@@ -64305,14 +64347,14 @@ mainvue_type_template_id_11d86630_render._withStripped = true
64305
64347
  this.checkeds = res;
64306
64348
  this.$emit('enterprise-confirm', res);
64307
64349
  },
64308
- handleResults: function handleResults(res) {
64350
+ handleResults: function handleResults(res, tabs) {
64309
64351
  if (this.tree.showCheckbox && this.tree.checkedFirst && this.checkedAsSearch || this.tree.currentFirst) {
64310
64352
  this.checkeds = res[0];
64311
64353
  }
64312
- this.$emit('results', res);
64354
+ this.$emit('results', res, tabs);
64313
64355
  },
64314
- handleSubResults: function handleSubResults(res) {
64315
- this.$emit('sub-results', res);
64356
+ handleSubResults: function handleSubResults(res, tabs) {
64357
+ this.$emit('sub-results', res, tabs);
64316
64358
  },
64317
64359
  setCurrentKey: function setCurrentKey(keys, leafOnly) {
64318
64360
  var _this2 = this;
@@ -64325,6 +64367,9 @@ mainvue_type_template_id_11d86630_render._withStripped = true
64325
64367
  getTree: function getTree() {
64326
64368
  var ref = this.tabs && this.tabs.length ? this.tabs[Number(this.active)].ref ? this.tabs[Number(this.active)].ref : 'groupTree' + this.active : 'groupTree';
64327
64369
  return this.$refs[ref];
64370
+ },
64371
+ handleCurrentFirst: function handleCurrentFirst(type, res, tabs) {
64372
+ this.$emit('current-first', type, res, tabs);
64328
64373
  }
64329
64374
  }
64330
64375
  });
@@ -64340,8 +64385,8 @@ mainvue_type_template_id_11d86630_render._withStripped = true
64340
64385
 
64341
64386
  var tree_group_src_main_component = normalizeComponent(
64342
64387
  packages_tree_group_src_mainvue_type_script_lang_js_,
64343
- mainvue_type_template_id_11d86630_render,
64344
- mainvue_type_template_id_11d86630_staticRenderFns,
64388
+ mainvue_type_template_id_29d92df1_render,
64389
+ mainvue_type_template_id_29d92df1_staticRenderFns,
64345
64390
  false,
64346
64391
  null,
64347
64392
  null,
@@ -70632,7 +70677,7 @@ if (typeof window !== 'undefined' && window.Vue) {
70632
70677
  }
70633
70678
 
70634
70679
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
70635
- version: '0.4.89',
70680
+ version: '0.4.91',
70636
70681
  install: install,
70637
70682
  Button: packages_button,
70638
70683
  ButtonGroup: button_group,