eoss-mobiles 0.2.28 → 0.2.29

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.
@@ -730,8 +730,8 @@ mainvue_type_template_id_3fb4f01a_render._withStripped = true
730
730
 
731
731
  // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=3fb4f01a&
732
732
 
733
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=f80d1986&
734
- var selector_treevue_type_template_id_f80d1986_render = function () {
733
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=72ba252b&
734
+ var selector_treevue_type_template_id_72ba252b_render = function () {
735
735
  var _vm = this
736
736
  var _h = _vm.$createElement
737
737
  var _c = _vm._self._c || _h
@@ -898,14 +898,14 @@ var selector_treevue_type_template_id_f80d1986_render = function () {
898
898
  1
899
899
  )
900
900
  }
901
- var selector_treevue_type_template_id_f80d1986_staticRenderFns = []
902
- selector_treevue_type_template_id_f80d1986_render._withStripped = true
901
+ var selector_treevue_type_template_id_72ba252b_staticRenderFns = []
902
+ selector_treevue_type_template_id_72ba252b_render._withStripped = true
903
903
 
904
904
 
905
- // CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=f80d1986&
905
+ // CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=72ba252b&
906
906
 
907
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=template&id=642d0eb9&
908
- var treevue_type_template_id_642d0eb9_render = function () {
907
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=template&id=33f22d0d&
908
+ var treevue_type_template_id_33f22d0d_render = function () {
909
909
  var _vm = this
910
910
  var _h = _vm.$createElement
911
911
  var _c = _vm._self._c || _h
@@ -952,13 +952,14 @@ var treevue_type_template_id_642d0eb9_render = function () {
952
952
  directives: [
953
953
  {
954
954
  name: "tap",
955
- rawName: "v-tap",
955
+ rawName: "v-tap.stop",
956
956
  value: {
957
957
  methods: _vm.handleClickIcon,
958
958
  obj: item,
959
959
  },
960
960
  expression:
961
961
  "{ methods: handleClickIcon, obj: item }",
962
+ modifiers: { stop: true },
962
963
  },
963
964
  ],
964
965
  },
@@ -987,13 +988,14 @@ var treevue_type_template_id_642d0eb9_render = function () {
987
988
  directives: [
988
989
  {
989
990
  name: "tap",
990
- rawName: "v-tap",
991
+ rawName: "v-tap.stop",
991
992
  value: {
992
993
  methods: _vm.handleClickIcon,
993
994
  obj: item,
994
995
  },
995
996
  expression:
996
997
  "{ methods: handleClickIcon, obj: item }",
998
+ modifiers: { stop: true },
997
999
  },
998
1000
  ],
999
1001
  staticClass: "right",
@@ -1205,11 +1207,11 @@ var treevue_type_template_id_642d0eb9_render = function () {
1205
1207
  0
1206
1208
  )
1207
1209
  }
1208
- var treevue_type_template_id_642d0eb9_staticRenderFns = []
1209
- treevue_type_template_id_642d0eb9_render._withStripped = true
1210
+ var treevue_type_template_id_33f22d0d_staticRenderFns = []
1211
+ treevue_type_template_id_33f22d0d_render._withStripped = true
1210
1212
 
1211
1213
 
1212
- // CONCATENATED MODULE: ./packages/selector/src/tree.vue?vue&type=template&id=642d0eb9&
1214
+ // CONCATENATED MODULE: ./packages/selector/src/tree.vue?vue&type=template&id=33f22d0d&
1213
1215
 
1214
1216
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=script&lang=js&
1215
1217
  //
@@ -1465,13 +1467,11 @@ treevue_type_template_id_642d0eb9_render._withStripped = true
1465
1467
 
1466
1468
  methods: {
1467
1469
  handleClickIcon: function handleClickIcon(res, isStart) {
1468
- console.log('点击了open2');
1469
1470
  if (!this.$listeners['left-icon'] && !this.showMore) return;
1470
- this.$emit('popen', res, res.isStart || isStart);
1471
+ this.$emit('popen', res, res.isStart || isStart, true, 'node');
1471
1472
  },
1472
1473
  opened: function opened(res, isStart) {
1473
- console.log('点击了open');
1474
- this.$emit('popen', res, res.isStart || isStart, true);
1474
+ this.$emit('popen', res, res.isStart || isStart, true, 'title');
1475
1475
  },
1476
1476
  checke: function checke(res) {
1477
1477
  var model = undefined;
@@ -1499,8 +1499,8 @@ treevue_type_template_id_642d0eb9_render._withStripped = true
1499
1499
 
1500
1500
  var tree_component = normalizeComponent(
1501
1501
  src_treevue_type_script_lang_js_,
1502
- treevue_type_template_id_642d0eb9_render,
1503
- treevue_type_template_id_642d0eb9_staticRenderFns,
1502
+ treevue_type_template_id_33f22d0d_render,
1503
+ treevue_type_template_id_33f22d0d_staticRenderFns,
1504
1504
  false,
1505
1505
  null,
1506
1506
  null,
@@ -3800,7 +3800,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3800
3800
  }
3801
3801
  },
3802
3802
  mounted: function mounted() {
3803
- typeof this.selectList != 'string' && (this.list = util.deepClone(this.selectList));
3803
+ // typeof this.selectList != 'string' &&
3804
+ // (this.list = $.deepClone(this.selectList));
3804
3805
 
3805
3806
  // this.$nextTick(() => {
3806
3807
  // if (this.nodeList) {
@@ -3821,7 +3822,16 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3821
3822
 
3822
3823
  this.personnel = this.nodeList;
3823
3824
 
3824
- !isSearch && (this.list = util.deepClone(this.selectList));
3825
+ // !isSearch && (this.list = $.deepClone(this.selectList));
3826
+ if (!isSearch) {
3827
+ if (typeof this.selectList == 'string') {
3828
+ this.selectData = [];
3829
+ this.list = this.getSelectData(this.personnel);
3830
+ this.$emit('update:selectList', this.list);
3831
+ } else {
3832
+ this.list = util.deepClone(this.selectList);
3833
+ }
3834
+ }
3825
3835
  var _this = this;
3826
3836
  if (this.list && this.list.length > 0) {
3827
3837
  this.list.filter(function (r) {
@@ -4119,17 +4129,20 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
4119
4129
  }
4120
4130
  }
4121
4131
  },
4122
- open: function open(res, isStart, isNode) {
4132
+ open: function open(res, isStart, isNode, key) {
4123
4133
  var _that = this;
4124
4134
  _that.oldIsSearch = _that.isSearch;
4125
4135
  // debugger
4126
4136
  if (this.$listeners['node-click'] && (this.$listeners['left-icon'] || this.showMore && !this.isDefaultNode)) {
4127
- if (this.$listeners['left-icon'] && !isNode) {
4137
+ if (this.$listeners['left-icon'] && key === 'node') {
4128
4138
  this.getChiled(res, isStart, 'left-icon');
4129
- } else if (this.showMore && !isNode) {
4139
+ } else if (this.showMore && this.$listeners['right-icon'] && key === 'node') {
4130
4140
  this.getChiled(res, isStart, 'right-icon');
4141
+ } else if (!this.isDefaultNode && key === "title" || this.$listeners['node-click'] && this.$listeners['left-icon'] && !this.showMore && !this.isDefaultNode) {
4142
+ _that.$listeners['node-click'](res.obj, !!res.obj.children);
4143
+ } else {
4144
+ this.getChiled(res, isStart, 'node-click');
4131
4145
  }
4132
- isNode && _that.$listeners['node-click'](res.obj, !!res.obj.children);
4133
4146
  } else if (this.$listeners['node-click'] || this.$listeners['left-icon'] || this.showMore && !this.isDefaultNode) {
4134
4147
  isNode && this.$listeners['node-click'] && this.getChiled(res, isStart, 'node-click');
4135
4148
  this.$listeners['left-icon'] && !isNode && this.getChiled(res, isStart, 'left-icon');
@@ -4228,8 +4241,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
4228
4241
 
4229
4242
  var selector_tree_component = normalizeComponent(
4230
4243
  src_selector_treevue_type_script_lang_js_,
4231
- selector_treevue_type_template_id_f80d1986_render,
4232
- selector_treevue_type_template_id_f80d1986_staticRenderFns,
4244
+ selector_treevue_type_template_id_72ba252b_render,
4245
+ selector_treevue_type_template_id_72ba252b_staticRenderFns,
4233
4246
  false,
4234
4247
  null,
4235
4248
  null,
@@ -20521,7 +20534,7 @@ if (typeof window !== 'undefined' && window.Vue) {
20521
20534
  }
20522
20535
 
20523
20536
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
20524
- version: '0.2.28',
20537
+ version: '0.2.29',
20525
20538
  install: install,
20526
20539
  Button: packages_button,
20527
20540
  ButtonGroup: button_group,