eoss-ui 0.6.21 → 0.6.22

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.
@@ -41686,8 +41686,8 @@ layout_src_main.install = function (Vue) {
41686
41686
  };
41687
41687
 
41688
41688
  /* harmony default export */ var packages_layout = (layout_src_main);
41689
- // 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=3086e0dc&
41690
- var mainvue_type_template_id_3086e0dc_render = function () {
41689
+ // 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=5b545408&
41690
+ var mainvue_type_template_id_5b545408_render = function () {
41691
41691
  var _vm = this
41692
41692
  var _h = _vm.$createElement
41693
41693
  var _c = _vm._self._c || _h
@@ -42198,8 +42198,8 @@ var mainvue_type_template_id_3086e0dc_render = function () {
42198
42198
  {
42199
42199
  name: "show",
42200
42200
  rawName: "v-show",
42201
- value: _vm.forget,
42202
- expression: "forget",
42201
+ value: _vm.showForget,
42202
+ expression: "showForget",
42203
42203
  },
42204
42204
  ],
42205
42205
  staticClass: "es-password-forget",
@@ -42210,7 +42210,7 @@ var mainvue_type_template_id_3086e0dc_render = function () {
42210
42210
  {
42211
42211
  on: { click: _vm.handleForget },
42212
42212
  },
42213
- [_vm._v("修改密码")]
42213
+ [_vm._v("忘记密码")]
42214
42214
  ),
42215
42215
  ]
42216
42216
  ),
@@ -42594,8 +42594,8 @@ var mainvue_type_template_id_3086e0dc_render = function () {
42594
42594
  {
42595
42595
  name: "show",
42596
42596
  rawName: "v-show",
42597
- value: _vm.forget,
42598
- expression: "forget",
42597
+ value: _vm.showForget,
42598
+ expression: "showForget",
42599
42599
  },
42600
42600
  ],
42601
42601
  staticClass: "es-password-forget",
@@ -42603,7 +42603,7 @@ var mainvue_type_template_id_3086e0dc_render = function () {
42603
42603
  },
42604
42604
  [
42605
42605
  _vm._v(
42606
- "\n 修改密码\n "
42606
+ "\n 忘记密码\n "
42607
42607
  ),
42608
42608
  ]
42609
42609
  ),
@@ -42690,7 +42690,7 @@ var mainvue_type_template_id_3086e0dc_render = function () {
42690
42690
  "es-dialog",
42691
42691
  {
42692
42692
  attrs: {
42693
- title: "修改密码",
42693
+ title: _vm.operationCheckCode ? "修改密码" : "密码重置",
42694
42694
  width: "680px",
42695
42695
  height: "auto",
42696
42696
  visible: _vm.showResetPassword,
@@ -42704,7 +42704,7 @@ var mainvue_type_template_id_3086e0dc_render = function () {
42704
42704
  [
42705
42705
  _vm.showResetPassword
42706
42706
  ? _vm._t(
42707
- "user",
42707
+ "resetPassword",
42708
42708
  [
42709
42709
  _c("reset-password", {
42710
42710
  attrs: {
@@ -42807,7 +42807,7 @@ var mainvue_type_template_id_3086e0dc_render = function () {
42807
42807
  )
42808
42808
  : _vm._e()
42809
42809
  }
42810
- var mainvue_type_template_id_3086e0dc_staticRenderFns = [
42810
+ var mainvue_type_template_id_5b545408_staticRenderFns = [
42811
42811
  function () {
42812
42812
  var _vm = this
42813
42813
  var _h = _vm.$createElement
@@ -42822,13 +42822,13 @@ var mainvue_type_template_id_3086e0dc_staticRenderFns = [
42822
42822
  ])
42823
42823
  },
42824
42824
  ]
42825
- mainvue_type_template_id_3086e0dc_render._withStripped = true
42825
+ mainvue_type_template_id_5b545408_render._withStripped = true
42826
42826
 
42827
42827
 
42828
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=3086e0dc&
42828
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=5b545408&
42829
42829
 
42830
- // 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&
42831
- var resetPasswordvue_type_template_id_cab38660_render = function () {
42830
+ // 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=45dccfdc&
42831
+ var resetPasswordvue_type_template_id_45dccfdc_render = function () {
42832
42832
  var _vm = this
42833
42833
  var _h = _vm.$createElement
42834
42834
  var _c = _vm._self._c || _h
@@ -42874,7 +42874,7 @@ var resetPasswordvue_type_template_id_cab38660_render = function () {
42874
42874
  },
42875
42875
  ],
42876
42876
  ref: "pwdForm",
42877
- staticClass: "es-user-info",
42877
+ staticClass: "es-rest-password",
42878
42878
  attrs: {
42879
42879
  "element-loading-text": "修改中...",
42880
42880
  "element-loading-spinner": "el-icon-loading",
@@ -42889,11 +42889,11 @@ var resetPasswordvue_type_template_id_cab38660_render = function () {
42889
42889
  1
42890
42890
  )
42891
42891
  }
42892
- var resetPasswordvue_type_template_id_cab38660_staticRenderFns = []
42893
- resetPasswordvue_type_template_id_cab38660_render._withStripped = true
42892
+ var resetPasswordvue_type_template_id_45dccfdc_staticRenderFns = []
42893
+ resetPasswordvue_type_template_id_45dccfdc_render._withStripped = true
42894
42894
 
42895
42895
 
42896
- // CONCATENATED MODULE: ./packages/login/src/resetPassword.vue?vue&type=template&id=cab38660&
42896
+ // CONCATENATED MODULE: ./packages/login/src/resetPassword.vue?vue&type=template&id=45dccfdc&
42897
42897
 
42898
42898
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=script&lang=js&
42899
42899
  var resetPasswordvue_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; };
@@ -43173,14 +43173,21 @@ function resetPasswordvue_type_script_lang_js_objectWithoutProperties(obj, keys)
43173
43173
  };
43174
43174
  },
43175
43175
  created: function created() {
43176
+ var _this = this;
43177
+
43176
43178
  this.getInitModifyPassword();
43177
43179
  if (this.type) {
43178
43180
  var types = this.type.split(',');
43179
43181
  if (types.length) {
43180
- this.activeIndex = types[0];
43182
+ types.forEach(function (item) {
43183
+ if (item != '0' && (item == '11' || item == '6')) {
43184
+ _this.activeIndex = item;
43185
+ return;
43186
+ }
43187
+ });
43181
43188
  }
43182
43189
  } else {
43183
- this.activeIndex = '0';
43190
+ this.activeIndex = this.operationCheckCode ? '0' : '';
43184
43191
  }
43185
43192
  },
43186
43193
  destroyed: function destroyed() {
@@ -43197,7 +43204,7 @@ function resetPasswordvue_type_script_lang_js_objectWithoutProperties(obj, keys)
43197
43204
  }
43198
43205
  },
43199
43206
  getInitModifyPassword: function getInitModifyPassword() {
43200
- var _this = this;
43207
+ var _this2 = this;
43201
43208
 
43202
43209
  utils_util["a" /* default */].ajax({
43203
43210
  url: api["Y" /* initModifyPassword */]
@@ -43205,23 +43212,23 @@ function resetPasswordvue_type_script_lang_js_objectWithoutProperties(obj, keys)
43205
43212
  if (res.rCode === 0) {
43206
43213
  var results = JSON.parse(JSON.stringify(res.results));
43207
43214
  if (results.checkPassword) {
43208
- _this.checkPassword = new RegExp(results.checkPassword);
43215
+ _this2.checkPassword = new RegExp(results.checkPassword);
43209
43216
  }
43210
43217
  if (results.checkPasswordMsg) {
43211
- _this.checkPasswordMsg = results.checkPasswordMsg;
43218
+ _this2.checkPasswordMsg = results.checkPasswordMsg;
43212
43219
  }
43213
43220
  } else {
43214
43221
  var msg = res.msg || '系统错误,请联系管理员!';
43215
- _this.$message.error(msg);
43222
+ _this2.$message.error(msg);
43216
43223
  }
43217
43224
  }).catch(function (err) {
43218
43225
  if (err.message && err.message !== 'canceled') {
43219
- _this.$message.error(err.message);
43226
+ _this2.$message.error(err.message);
43220
43227
  }
43221
43228
  });
43222
43229
  },
43223
43230
  getVerificationCode: function getVerificationCode() {
43224
- var _this2 = this;
43231
+ var _this3 = this;
43225
43232
 
43226
43233
  if (this.countdown) {
43227
43234
  return false;
@@ -43244,45 +43251,45 @@ function resetPasswordvue_type_script_lang_js_objectWithoutProperties(obj, keys)
43244
43251
  this.countdown = 60;
43245
43252
  this.getCode(data);
43246
43253
  this.timer = setInterval(function () {
43247
- if (_this2.countdown > 0) {
43248
- _this2.countdown--;
43249
- _this2.disabled = true;
43250
- _this2.btnText = '重新获取' + _this2.countdown + 's';
43254
+ if (_this3.countdown > 0) {
43255
+ _this3.countdown--;
43256
+ _this3.disabled = true;
43257
+ _this3.btnText = '重新获取' + _this3.countdown + 's';
43251
43258
  } else {
43252
- _this2.btnText = '获取验证码';
43253
- _this2.disabled = false;
43254
- clearInterval(_this2.timer);
43259
+ _this3.btnText = '获取验证码';
43260
+ _this3.disabled = false;
43261
+ clearInterval(_this3.timer);
43255
43262
  }
43256
43263
  }, 1000);
43257
43264
  }
43258
43265
  },
43259
43266
  getCode: function getCode(params) {
43260
- var _this3 = this;
43267
+ var _this4 = this;
43261
43268
 
43262
43269
  utils_util["a" /* default */].ajax({
43263
43270
  url: api["G" /* getModifyPassCode */],
43264
43271
  params: params
43265
43272
  }).then(function (res) {
43266
43273
  if (res.rCode === 0) {
43267
- _this3.$message.success(res.msg);
43274
+ _this4.$message.success(res.msg);
43268
43275
  } else {
43269
43276
  var msg = res.msg || '系统错误,请联系管理员!';
43270
43277
  if (res.rCode === 2) {
43271
- _this3.btnText = '获取验证码';
43272
- _this3.disabled = false;
43273
- _this3.countdown = 0;
43274
- clearInterval(_this3.timer);
43278
+ _this4.btnText = '获取验证码';
43279
+ _this4.disabled = false;
43280
+ _this4.countdown = 0;
43281
+ clearInterval(_this4.timer);
43275
43282
  }
43276
- _this3.$message.error(msg);
43283
+ _this4.$message.error(msg);
43277
43284
  }
43278
43285
  }).catch(function (err) {
43279
43286
  if (err.message && err.message !== 'canceled') {
43280
- _this3.$message.error(err.message);
43287
+ _this4.$message.error(err.message);
43281
43288
  }
43282
43289
  });
43283
43290
  },
43284
43291
  handleSubmit: function handleSubmit(res) {
43285
- var _this4 = this;
43292
+ var _this5 = this;
43286
43293
 
43287
43294
  this.submit = true;
43288
43295
 
@@ -43308,20 +43315,20 @@ function resetPasswordvue_type_script_lang_js_objectWithoutProperties(obj, keys)
43308
43315
  url: api["cb" /* loginModifyPassword */],
43309
43316
  data: data
43310
43317
  }).then(function (res) {
43311
- _this4.submit = false;
43318
+ _this5.submit = false;
43312
43319
  if (res.rCode === 0) {
43313
- _this4.$message.success(res.msg);
43314
- _this4.$emit('success');
43320
+ _this5.$message.success(res.msg);
43321
+ _this5.$emit('success');
43315
43322
  } else {
43316
43323
  var msg = res.msg || '系统错误,请联系管理员!';
43317
- _this4.$message.error(msg);
43318
- _this4.disabled = false;
43319
- delete _this4.formData.verificationCode;
43320
- clearInterval(_this4.timer);
43324
+ _this5.$message.error(msg);
43325
+ _this5.disabled = false;
43326
+ delete _this5.formData.verificationCode;
43327
+ clearInterval(_this5.timer);
43321
43328
  }
43322
43329
  }).catch(function (err) {
43323
43330
  if (err.message && err.message !== 'canceled') {
43324
- _this4.$message.error(err.message);
43331
+ _this5.$message.error(err.message);
43325
43332
  }
43326
43333
  });
43327
43334
  } else {
@@ -43335,21 +43342,21 @@ function resetPasswordvue_type_script_lang_js_objectWithoutProperties(obj, keys)
43335
43342
  url: api["d" /* codeModifyPass */],
43336
43343
  data: data
43337
43344
  }).then(function (res) {
43338
- _this4.submit = false;
43345
+ _this5.submit = false;
43339
43346
  if (res.rCode === 0) {
43340
- _this4.$message.success(res.msg);
43341
- _this4.$emit('success');
43347
+ _this5.$message.success(res.msg);
43348
+ _this5.$emit('success');
43342
43349
  } else {
43343
43350
  var msg = res.msg || '系统错误,请联系管理员!';
43344
- _this4.btnText = '获取验证码';
43345
- _this4.disabled = false;
43346
- clearInterval(_this4.timer);
43347
- delete _this4.formData.verificationCode;
43348
- _this4.$message.error(msg);
43351
+ _this5.btnText = '获取验证码';
43352
+ _this5.disabled = false;
43353
+ clearInterval(_this5.timer);
43354
+ delete _this5.formData.verificationCode;
43355
+ _this5.$message.error(msg);
43349
43356
  }
43350
43357
  }).catch(function (err) {
43351
43358
  if (err.message && err.message !== 'canceled') {
43352
- _this4.$message.error(err.message);
43359
+ _this5.$message.error(err.message);
43353
43360
  }
43354
43361
  });
43355
43362
  }
@@ -43375,8 +43382,8 @@ function resetPasswordvue_type_script_lang_js_objectWithoutProperties(obj, keys)
43375
43382
 
43376
43383
  var resetPassword_component = normalizeComponent(
43377
43384
  src_resetPasswordvue_type_script_lang_js_,
43378
- resetPasswordvue_type_template_id_cab38660_render,
43379
- resetPasswordvue_type_template_id_cab38660_staticRenderFns,
43385
+ resetPasswordvue_type_template_id_45dccfdc_render,
43386
+ resetPasswordvue_type_template_id_45dccfdc_staticRenderFns,
43380
43387
  false,
43381
43388
  null,
43382
43389
  null,
@@ -44166,6 +44173,9 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
44166
44173
  _launchImage: function _launchImage() {
44167
44174
  var img = utils_util["a" /* default */].isObject(this.launchImages) ? this.launchImages[this.launchKey] : this.launchImages;
44168
44175
  return { 'background-image': 'url(' + img + ')' };
44176
+ },
44177
+ showForget: function showForget() {
44178
+ return this.forget === true && (this.loginModel.indexOf('11') > -1 || this.loginModel.indexOf('6') > -1);
44169
44179
  }
44170
44180
  },
44171
44181
  watch: {
@@ -45151,8 +45161,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
45151
45161
 
45152
45162
  var login_src_main_component = normalizeComponent(
45153
45163
  packages_login_src_mainvue_type_script_lang_js_,
45154
- mainvue_type_template_id_3086e0dc_render,
45155
- mainvue_type_template_id_3086e0dc_staticRenderFns,
45164
+ mainvue_type_template_id_5b545408_render,
45165
+ mainvue_type_template_id_5b545408_staticRenderFns,
45156
45166
  false,
45157
45167
  null,
45158
45168
  null,
@@ -48007,8 +48017,8 @@ uservue_type_template_id_edaa0dc4_scoped_true_render._withStripped = true
48007
48017
 
48008
48018
  // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=edaa0dc4&scoped=true&
48009
48019
 
48010
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=9a76ed7c&
48011
- var userinfovue_type_template_id_9a76ed7c_render = function () {
48020
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=9d115418&
48021
+ var userinfovue_type_template_id_9d115418_render = function () {
48012
48022
  var _vm = this
48013
48023
  var _h = _vm.$createElement
48014
48024
  var _c = _vm._self._c || _h
@@ -48024,11 +48034,11 @@ var userinfovue_type_template_id_9a76ed7c_render = function () {
48024
48034
  2
48025
48035
  )
48026
48036
  }
48027
- var userinfovue_type_template_id_9a76ed7c_staticRenderFns = []
48028
- userinfovue_type_template_id_9a76ed7c_render._withStripped = true
48037
+ var userinfovue_type_template_id_9d115418_staticRenderFns = []
48038
+ userinfovue_type_template_id_9d115418_render._withStripped = true
48029
48039
 
48030
48040
 
48031
- // CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=9a76ed7c&
48041
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=9d115418&
48032
48042
 
48033
48043
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=script&lang=js&
48034
48044
  //
@@ -48120,7 +48130,7 @@ userinfovue_type_template_id_9a76ed7c_render._withStripped = true
48120
48130
  },
48121
48131
  col: 6
48122
48132
  }, {
48123
- name: 'officetel',
48133
+ name: 'officeTel',
48124
48134
  placeholder: '座机号',
48125
48135
  label: '座机号',
48126
48136
  type: 'text',
@@ -48258,6 +48268,8 @@ userinfovue_type_template_id_9a76ed7c_render._withStripped = true
48258
48268
  utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
48259
48269
  }
48260
48270
  }).catch(function (e) {});
48271
+ } else {
48272
+ _this2.$message.success(res.msg);
48261
48273
  }
48262
48274
  } else {
48263
48275
  var msg = res.msg || '系统错误,请联系管理员!';
@@ -48287,8 +48299,8 @@ userinfovue_type_template_id_9a76ed7c_render._withStripped = true
48287
48299
 
48288
48300
  var userinfo_component = normalizeComponent(
48289
48301
  simplicity_userinfovue_type_script_lang_js_,
48290
- userinfovue_type_template_id_9a76ed7c_render,
48291
- userinfovue_type_template_id_9a76ed7c_staticRenderFns,
48302
+ userinfovue_type_template_id_9d115418_render,
48303
+ userinfovue_type_template_id_9d115418_staticRenderFns,
48292
48304
  false,
48293
48305
  null,
48294
48306
  null,
@@ -77392,7 +77404,7 @@ if (typeof window !== 'undefined' && window.Vue) {
77392
77404
  }
77393
77405
 
77394
77406
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
77395
- version: '0.6.21',
77407
+ version: '0.6.22',
77396
77408
  install: install,
77397
77409
  Button: packages_button,
77398
77410
  ButtonGroup: button_group,