eoss-ui 0.5.92 → 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,
@@ -74506,8 +74509,8 @@ form_src_table.install = function (Vue) {
74506
74509
  };
74507
74510
 
74508
74511
  /* harmony default export */ var table_form = (form_src_table);
74509
- // 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&
74510
- 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 () {
74511
74514
  var _vm = this
74512
74515
  var _h = _vm.$createElement
74513
74516
  var _c = _vm._self._c || _h
@@ -74887,11 +74890,11 @@ var mainvue_type_template_id_60e8548b_render = function () {
74887
74890
  )
74888
74891
  : _vm._e()
74889
74892
  }
74890
- var mainvue_type_template_id_60e8548b_staticRenderFns = []
74891
- 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
74892
74895
 
74893
74896
 
74894
- // 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&
74895
74898
 
74896
74899
  // CONCATENATED MODULE: ./packages/upload/src/picture.js
74897
74900
  /* harmony default export */ var picture = ({
@@ -75691,7 +75694,7 @@ var _props;
75691
75694
  suffix = suffix.toLowerCase();
75692
75695
  if (this.dochubConfig.previewDocumentUrl) {
75693
75696
  if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
75694
- 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);
75695
75698
  this.title = file.originalName;
75696
75699
  this.showImg = true;
75697
75700
  this.$nextTick(function () {
@@ -75699,7 +75702,7 @@ var _props;
75699
75702
  });
75700
75703
  } else if (suffix.includes('mp4')) {
75701
75704
  this.source = {
75702
- src: this.host + (url ? url : this.previewAdjunct + '?adjunctId=' + file.adjunctId)
75705
+ src: this.host + (url ? url : this.dochubConfig.downloadDocumentUrl + '?documentId=' + file.adjunctId)
75703
75706
  };
75704
75707
  this.title = file.originalName;
75705
75708
  this.showVideo = true;
@@ -76021,8 +76024,8 @@ var _props;
76021
76024
 
76022
76025
  var upload_src_main_component = normalizeComponent(
76023
76026
  packages_upload_src_mainvue_type_script_lang_js_,
76024
- mainvue_type_template_id_60e8548b_render,
76025
- mainvue_type_template_id_60e8548b_staticRenderFns,
76027
+ mainvue_type_template_id_12134e47_render,
76028
+ mainvue_type_template_id_12134e47_staticRenderFns,
76026
76029
  false,
76027
76030
  null,
76028
76031
  null,
@@ -76515,7 +76518,7 @@ if (typeof window !== 'undefined' && window.Vue) {
76515
76518
  }
76516
76519
 
76517
76520
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
76518
- version: '0.5.92',
76521
+ version: '0.5.93',
76519
76522
  install: install,
76520
76523
  Button: packages_button,
76521
76524
  ButtonGroup: button_group,