eoss-ui 0.5.91 → 0.5.93

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.
@@ -41302,8 +41302,8 @@ layout_src_main.install = function (Vue) {
41302
41302
  };
41303
41303
 
41304
41304
  /* harmony default export */ var layout = (layout_src_main);
41305
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=56141b5b&
41306
- var mainvue_type_template_id_56141b5b_render = function () {
41305
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=8ead4a80&
41306
+ var mainvue_type_template_id_8ead4a80_render = function () {
41307
41307
  var _vm = this
41308
41308
  var _h = _vm.$createElement
41309
41309
  var _c = _vm._self._c || _h
@@ -42259,11 +42259,11 @@ var mainvue_type_template_id_56141b5b_render = function () {
42259
42259
  )
42260
42260
  : _vm._e()
42261
42261
  }
42262
- var mainvue_type_template_id_56141b5b_staticRenderFns = []
42263
- mainvue_type_template_id_56141b5b_render._withStripped = true
42262
+ var mainvue_type_template_id_8ead4a80_staticRenderFns = []
42263
+ mainvue_type_template_id_8ead4a80_render._withStripped = true
42264
42264
 
42265
42265
 
42266
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=56141b5b&
42266
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=8ead4a80&
42267
42267
 
42268
42268
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=cab38660&
42269
42269
  var resetPasswordvue_type_template_id_cab38660_render = function () {
@@ -43247,6 +43247,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
43247
43247
  type: String,
43248
43248
  default: '0'
43249
43249
  },
43250
+ firstLoginModel: String,
43250
43251
  //是否加密传输
43251
43252
  isEncrypt: {
43252
43253
  type: Boolean,
@@ -43878,6 +43879,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
43878
43879
  }))();
43879
43880
  },
43880
43881
  setConfig: function setConfig(res) {
43882
+ var isLogined = localStorage.getItem('isLogined');
43881
43883
  this.identifyingId = res.identifyingId || '';
43882
43884
  this.getImgCode();
43883
43885
  var downloads = {};
@@ -43911,7 +43913,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
43911
43913
  this.qrimg = res.qrimg || res.qrImg;
43912
43914
  }
43913
43915
  if (res.loginModel && ceshi !== 'true' && ceshi !== true) {
43914
- this.loginModel = res.loginModel;
43916
+ this.loginModel = (res.firstLoginModel || this.firstLoginModel) && !isLogined ? res.firstLoginModel || this.firstLoginModel : res.loginModel;
43915
43917
  }
43916
43918
  if (res.loginBackgroundUrl) {
43917
43919
  this.loginBackgroundImg = res.loginBackgroundUrl.split(',');
@@ -43928,7 +43930,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
43928
43930
  this.actionUrl = res.subsystemExtend.login_url;
43929
43931
  }
43930
43932
  if (res.subsystemExtend.loginModel && (ceshi == 'true' || ceshi == true)) {
43931
- this.loginModel = res.subsystemExtend.loginModel;
43933
+ this.loginModel = (res.firstLoginModel || this.firstLoginModel) && !isLogined ? res.firstLoginModel || this.firstLoginModel : res.subsystemExtend.loginModel;
43932
43934
  }
43933
43935
  if (res.subsystemExtend.applicationName) {
43934
43936
  localStorage.setItem('appcode', res.subsystemExtend.applicationName);
@@ -44270,6 +44272,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
44270
44272
  window.location.href = _this11.toUrl;
44271
44273
  } else if (results.doorIndex && _this11.doorIndex) {
44272
44274
  sessionStorage.setItem('doorIndex', results.doorIndex);
44275
+ localStorage.setItem('isLogined', true);
44273
44276
  window.location.href = results.doorIndex;
44274
44277
  } else {
44275
44278
  if (window.location.href.indexOf('login.html') > -1) {
@@ -44415,8 +44418,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
44415
44418
 
44416
44419
  var login_src_main_component = normalizeComponent(
44417
44420
  packages_login_src_mainvue_type_script_lang_js_,
44418
- mainvue_type_template_id_56141b5b_render,
44419
- mainvue_type_template_id_56141b5b_staticRenderFns,
44421
+ mainvue_type_template_id_8ead4a80_render,
44422
+ mainvue_type_template_id_8ead4a80_staticRenderFns,
44420
44423
  false,
44421
44424
  null,
44422
44425
  null,
@@ -49033,8 +49036,8 @@ var online_component = normalizeComponent(
49033
49036
  )
49034
49037
 
49035
49038
  /* harmony default export */ var online = (online_component.exports);
49036
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=template&id=fa3bcf48&
49037
- var searchvue_type_template_id_fa3bcf48_render = function () {
49039
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=template&id=4c2b6f24&
49040
+ var searchvue_type_template_id_4c2b6f24_render = function () {
49038
49041
  var _vm = this
49039
49042
  var _h = _vm.$createElement
49040
49043
  var _c = _vm._self._c || _h
@@ -49444,11 +49447,11 @@ var searchvue_type_template_id_fa3bcf48_render = function () {
49444
49447
  1
49445
49448
  )
49446
49449
  }
49447
- var searchvue_type_template_id_fa3bcf48_staticRenderFns = []
49448
- searchvue_type_template_id_fa3bcf48_render._withStripped = true
49450
+ var searchvue_type_template_id_4c2b6f24_staticRenderFns = []
49451
+ searchvue_type_template_id_4c2b6f24_render._withStripped = true
49449
49452
 
49450
49453
 
49451
- // CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=template&id=fa3bcf48&
49454
+ // CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=template&id=4c2b6f24&
49452
49455
 
49453
49456
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=script&lang=js&
49454
49457
  var searchvue_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; };
@@ -49686,7 +49689,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
49686
49689
  _this.searchAll(res);
49687
49690
  });
49688
49691
  this.handleSearchd = Object(external_throttle_debounce_["debounce"])(500, function (obj, index) {
49689
- _this.handleSearch(obj, index);
49692
+ _this.handleSearch(obj, index, false);
49690
49693
  });
49691
49694
  },
49692
49695
  created: function created() {
@@ -49781,7 +49784,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
49781
49784
  this.$set(this.noMore, item.id || String(i), true);
49782
49785
  } else if (item.dataRequestUrl) {
49783
49786
  this.isLoading = true;
49784
- this.handleSearch(item, i);
49787
+ this.handleSearch(item, i, true);
49785
49788
  } else {
49786
49789
  this.types[i].records = [];
49787
49790
  this.types[i].totalCount = 0;
@@ -49819,7 +49822,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
49819
49822
  });
49820
49823
  return records;
49821
49824
  },
49822
- handleSearch: function handleSearch(obj, index) {
49825
+ handleSearch: function handleSearch(obj, index, reset) {
49823
49826
  var _this4 = this;
49824
49827
 
49825
49828
  if (obj.pageNum < obj.pageCount && this.keyWords) {
@@ -49855,7 +49858,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
49855
49858
  obj.totalCount = results.totalCount;
49856
49859
  obj.pageCount = results.pageCount;
49857
49860
  obj.pageNum = results.pageNum;
49858
- obj.records = obj.records.concat(results.records);
49861
+ obj.records = reset ? results.records : obj.records.concat(results.records);
49859
49862
  _this4.$set(_this4.noMore, obj.id || String(index), results.pageNum >= results.pageCount);
49860
49863
  } else {
49861
49864
  _this4.types[index].records = [];
@@ -49905,8 +49908,8 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
49905
49908
 
49906
49909
  var search_component = normalizeComponent(
49907
49910
  public_searchvue_type_script_lang_js_,
49908
- searchvue_type_template_id_fa3bcf48_render,
49909
- searchvue_type_template_id_fa3bcf48_staticRenderFns,
49911
+ searchvue_type_template_id_4c2b6f24_render,
49912
+ searchvue_type_template_id_4c2b6f24_staticRenderFns,
49910
49913
  false,
49911
49914
  null,
49912
49915
  null,
@@ -61102,8 +61105,8 @@ select_ganged_src_main.install = function (Vue) {
61102
61105
  };
61103
61106
 
61104
61107
  /* harmony default export */ var select_ganged = (select_ganged_src_main);
61105
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=b8fc187a&
61106
- var mainvue_type_template_id_b8fc187a_render = function () {
61108
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=495533b9&
61109
+ var mainvue_type_template_id_495533b9_render = function () {
61107
61110
  var _vm = this
61108
61111
  var _h = _vm.$createElement
61109
61112
  var _c = _vm._self._c || _h
@@ -61625,6 +61628,7 @@ var mainvue_type_template_id_b8fc187a_render = function () {
61625
61628
  isShowLevel3: _vm.isShowLevel3,
61626
61629
  },
61627
61630
  on: {
61631
+ tabschage: _vm.tabschage,
61628
61632
  "!click": function ($event) {
61629
61633
  return _vm.stopd($event)
61630
61634
  },
@@ -61654,11 +61658,11 @@ var mainvue_type_template_id_b8fc187a_render = function () {
61654
61658
  )
61655
61659
  : _vm._e()
61656
61660
  }
61657
- var mainvue_type_template_id_b8fc187a_staticRenderFns = []
61658
- mainvue_type_template_id_b8fc187a_render._withStripped = true
61661
+ var mainvue_type_template_id_495533b9_staticRenderFns = []
61662
+ mainvue_type_template_id_495533b9_render._withStripped = true
61659
61663
 
61660
61664
 
61661
- // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=b8fc187a&
61665
+ // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=495533b9&
61662
61666
 
61663
61667
  // EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
61664
61668
  var clickoutside_ = __webpack_require__(17);
@@ -61877,6 +61881,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
61877
61881
  //
61878
61882
  //
61879
61883
  //
61884
+ //
61880
61885
 
61881
61886
 
61882
61887
 
@@ -62202,6 +62207,9 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
62202
62207
  handleBlur: function handleBlur() {
62203
62208
  this.focus = false;
62204
62209
  },
62210
+ tabschage: function tabschage(trees, active) {
62211
+ this.$emit('tabs-change', trees, active);
62212
+ },
62205
62213
  handleClose: function handleClose(res) {
62206
62214
  if (!this.multiple && this.selected[0] === this.words) {
62207
62215
  this.selected = [];
@@ -62336,8 +62344,8 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
62336
62344
 
62337
62345
  var selector_src_main_component = normalizeComponent(
62338
62346
  packages_selector_src_mainvue_type_script_lang_js_,
62339
- mainvue_type_template_id_b8fc187a_render,
62340
- mainvue_type_template_id_b8fc187a_staticRenderFns,
62347
+ mainvue_type_template_id_495533b9_render,
62348
+ mainvue_type_template_id_495533b9_staticRenderFns,
62341
62349
  false,
62342
62350
  null,
62343
62351
  null,
@@ -62354,8 +62362,8 @@ selector_src_main.install = function (Vue) {
62354
62362
  };
62355
62363
 
62356
62364
  /* harmony default export */ var selector = (selector_src_main);
62357
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=6fde3a69&
62358
- var mainvue_type_template_id_6fde3a69_render = function () {
62365
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=1990039f&
62366
+ var mainvue_type_template_id_1990039f_render = function () {
62359
62367
  var _vm = this
62360
62368
  var _h = _vm.$createElement
62361
62369
  var _c = _vm._self._c || _h
@@ -62617,11 +62625,11 @@ var mainvue_type_template_id_6fde3a69_render = function () {
62617
62625
  1
62618
62626
  )
62619
62627
  }
62620
- var mainvue_type_template_id_6fde3a69_staticRenderFns = []
62621
- mainvue_type_template_id_6fde3a69_render._withStripped = true
62628
+ var mainvue_type_template_id_1990039f_staticRenderFns = []
62629
+ mainvue_type_template_id_1990039f_render._withStripped = true
62622
62630
 
62623
62631
 
62624
- // CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=6fde3a69&
62632
+ // CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=1990039f&
62625
62633
 
62626
62634
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=template&id=24ad732a&
62627
62635
  var treevue_type_template_id_24ad732a_render = function () {
@@ -63901,11 +63909,12 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
63901
63909
  this.nodeData = this.trees[active].nodeData;
63902
63910
  } else {
63903
63911
  if (typeof this.selection === 'string') {
63912
+ var params = this.param[this.activeName] ? this.param[this.activeName] : this.param;
63904
63913
  utils_util["a" /* default */].ajax({
63905
63914
  method: this.method,
63906
63915
  url: this.host + this.selection,
63907
- params: this.param,
63908
- data: this.param
63916
+ params: params,
63917
+ data: params
63909
63918
  }).then(function (res) {
63910
63919
  if (res.rCode === 0) {
63911
63920
  _this3.selections = JSON.parse(JSON.stringify(res.results));
@@ -63925,7 +63934,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
63925
63934
  getTreeData: function getTreeData(url, params, id) {
63926
63935
  var _this4 = this;
63927
63936
 
63928
- var data = utils_util["a" /* default */].extend({}, params, this.param);
63937
+ var data = utils_util["a" /* default */].extend({}, params, this.param[this.activeName] ? this.param[this.activeName] : this.param);
63929
63938
  if (id !== undefined) {
63930
63939
  data.id = id;
63931
63940
  }
@@ -63954,7 +63963,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
63954
63963
  if (flag) {
63955
63964
  if (data.selection === undefined || data.selection.length === 0) {
63956
63965
  this.checkAll = false;
63957
- var params = utils_util["a" /* default */].extend({}, this.param);
63966
+ var params = utils_util["a" /* default */].extend({}, this.param[this.activeName] ? this.param[this.activeName] : this.param);
63958
63967
  params.type = this.activeName;
63959
63968
  params.mid = data.id;
63960
63969
  if (this.activeName === 'enterprise') {
@@ -63995,7 +64004,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
63995
64004
  data.state = '';
63996
64005
  }
63997
64006
  if (data.state !== '' && (!data.children || data.children.length === 0)) {
63998
- var _params = utils_util["a" /* default */].extend({}, this.newTabs[this.activeName].param, this.param);
64007
+ var _params = utils_util["a" /* default */].extend({}, this.newTabs[this.activeName].param, this.param[this.activeName] ? this.param[this.activeName] : this.param);
63999
64008
  _params.id = data.id;
64000
64009
  utils_util["a" /* default */].ajax({
64001
64010
  method: this.method,
@@ -64215,8 +64224,8 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
64215
64224
 
64216
64225
  var selector_panel_src_main_component = normalizeComponent(
64217
64226
  packages_selector_panel_src_mainvue_type_script_lang_js_,
64218
- mainvue_type_template_id_6fde3a69_render,
64219
- mainvue_type_template_id_6fde3a69_staticRenderFns,
64227
+ mainvue_type_template_id_1990039f_render,
64228
+ mainvue_type_template_id_1990039f_staticRenderFns,
64220
64229
  false,
64221
64230
  null,
64222
64231
  null,
@@ -74500,8 +74509,8 @@ form_src_table.install = function (Vue) {
74500
74509
  };
74501
74510
 
74502
74511
  /* harmony default export */ var table_form = (form_src_table);
74503
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=60e8548b&
74504
- var mainvue_type_template_id_60e8548b_render = function () {
74512
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=12134e47&
74513
+ var mainvue_type_template_id_12134e47_render = function () {
74505
74514
  var _vm = this
74506
74515
  var _h = _vm.$createElement
74507
74516
  var _c = _vm._self._c || _h
@@ -74881,11 +74890,11 @@ var mainvue_type_template_id_60e8548b_render = function () {
74881
74890
  )
74882
74891
  : _vm._e()
74883
74892
  }
74884
- var mainvue_type_template_id_60e8548b_staticRenderFns = []
74885
- mainvue_type_template_id_60e8548b_render._withStripped = true
74893
+ var mainvue_type_template_id_12134e47_staticRenderFns = []
74894
+ mainvue_type_template_id_12134e47_render._withStripped = true
74886
74895
 
74887
74896
 
74888
- // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=60e8548b&
74897
+ // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=12134e47&
74889
74898
 
74890
74899
  // CONCATENATED MODULE: ./packages/upload/src/picture.js
74891
74900
  /* harmony default export */ var picture = ({
@@ -75685,7 +75694,7 @@ var _props;
75685
75694
  suffix = suffix.toLowerCase();
75686
75695
  if (this.dochubConfig.previewDocumentUrl) {
75687
75696
  if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
75688
- this.imgUrl = res.url && utils_util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.previewAdjunct + '?adjunctId=' + file.adjunctId);
75697
+ this.imgUrl = res.url && utils_util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.dochubConfig.downloadDocumentUrl + '?documentId=' + file.adjunctId);
75689
75698
  this.title = file.originalName;
75690
75699
  this.showImg = true;
75691
75700
  this.$nextTick(function () {
@@ -75693,7 +75702,7 @@ var _props;
75693
75702
  });
75694
75703
  } else if (suffix.includes('mp4')) {
75695
75704
  this.source = {
75696
- src: this.host + (url ? url : this.previewAdjunct + '?adjunctId=' + file.adjunctId)
75705
+ src: this.host + (url ? url : this.dochubConfig.downloadDocumentUrl + '?documentId=' + file.adjunctId)
75697
75706
  };
75698
75707
  this.title = file.originalName;
75699
75708
  this.showVideo = true;
@@ -76015,8 +76024,8 @@ var _props;
76015
76024
 
76016
76025
  var upload_src_main_component = normalizeComponent(
76017
76026
  packages_upload_src_mainvue_type_script_lang_js_,
76018
- mainvue_type_template_id_60e8548b_render,
76019
- mainvue_type_template_id_60e8548b_staticRenderFns,
76027
+ mainvue_type_template_id_12134e47_render,
76028
+ mainvue_type_template_id_12134e47_staticRenderFns,
76020
76029
  false,
76021
76030
  null,
76022
76031
  null,
@@ -76509,7 +76518,7 @@ if (typeof window !== 'undefined' && window.Vue) {
76509
76518
  }
76510
76519
 
76511
76520
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
76512
- version: '0.5.91',
76521
+ version: '0.5.93',
76513
76522
  install: install,
76514
76523
  Button: packages_button,
76515
76524
  ButtonGroup: button_group,