eoss-ui 0.5.62 → 0.5.64

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.
Files changed (73) hide show
  1. package/lib/button-group.js +11 -5
  2. package/lib/button.js +4 -2
  3. package/lib/checkbox-group.js +4 -2
  4. package/lib/data-table-form.js +4 -2
  5. package/lib/data-table.js +4 -2
  6. package/lib/date-picker.js +4 -2
  7. package/lib/dialog.js +4 -2
  8. package/lib/eoss-ui.common.js +543 -412
  9. package/lib/flow-group.js +4 -2
  10. package/lib/flow-list.js +4 -2
  11. package/lib/flow.js +156 -126
  12. package/lib/form.js +9 -4
  13. package/lib/handle-user.js +4 -2
  14. package/lib/handler.js +7 -5
  15. package/lib/icon.js +4 -2
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +4 -2
  18. package/lib/input.js +4 -2
  19. package/lib/label.js +2 -2
  20. package/lib/login.js +127 -61
  21. package/lib/main.js +193 -159
  22. package/lib/menu.js +2 -2
  23. package/lib/nav.js +4 -2
  24. package/lib/page.js +4 -2
  25. package/lib/player.js +4 -2
  26. package/lib/qr-code.js +13 -13
  27. package/lib/radio-group.js +4 -2
  28. package/lib/retrial-auth.js +4 -2
  29. package/lib/select-ganged.js +4 -2
  30. package/lib/select.js +4 -2
  31. package/lib/selector-panel.js +4 -2
  32. package/lib/selector.js +4 -2
  33. package/lib/sizer.js +4 -2
  34. package/lib/steps.js +4 -2
  35. package/lib/switch.js +4 -2
  36. package/lib/table-form.js +4 -2
  37. package/lib/tabs.js +4 -2
  38. package/lib/theme-chalk/form.css +1 -1
  39. package/lib/theme-chalk/index.css +1 -1
  40. package/lib/theme-chalk/login.css +1 -1
  41. package/lib/theme-chalk/menu.css +1 -1
  42. package/lib/theme-chalk/qr-code.css +1 -1
  43. package/lib/tips.js +4 -2
  44. package/lib/tree-group.js +4 -2
  45. package/lib/tree.js +4 -2
  46. package/lib/upload.js +4 -2
  47. package/lib/utils/util.js +4 -2
  48. package/lib/wujie.js +4 -2
  49. package/lib/wxlogin.js +4 -2
  50. package/package.json +1 -1
  51. package/packages/button-group/src/main.vue +7 -1
  52. package/packages/flow/src/main.vue +1 -1
  53. package/packages/flow/src/processForm.vue +32 -4
  54. package/packages/form/src/main.vue +3 -0
  55. package/packages/handler/src/main.vue +1 -1
  56. package/packages/label/src/main.vue +2 -2
  57. package/packages/login/src/main.vue +53 -33
  58. package/packages/main/src/main.vue +21 -15
  59. package/packages/main/src/userinfo.vue +165 -150
  60. package/packages/menu/src/main.vue +2 -2
  61. package/packages/qr-code/src/main.vue +10 -5
  62. package/packages/theme-chalk/lib/form.css +1 -1
  63. package/packages/theme-chalk/lib/index.css +1 -1
  64. package/packages/theme-chalk/lib/login.css +1 -1
  65. package/packages/theme-chalk/lib/menu.css +1 -1
  66. package/packages/theme-chalk/lib/qr-code.css +1 -1
  67. package/packages/theme-chalk/src/form.scss +5 -3
  68. package/packages/theme-chalk/src/login.scss +6 -0
  69. package/packages/theme-chalk/src/menu.scss +1 -1
  70. package/packages/theme-chalk/src/qr-code.scss +1 -1
  71. package/src/index.js +1 -1
  72. package/src/utils/util.js +4 -1
  73. package/CHANGELOG.md +0 -929
@@ -2200,7 +2200,7 @@ var isLogined = function isLogined(_ref8) {
2200
2200
  });
2201
2201
  }
2202
2202
  }).catch(function (e) {});
2203
- } else if (token || to.path === '/' || to.path === '/404' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2203
+ } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2204
2204
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2205
2205
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
2206
2206
  } else {
@@ -2890,7 +2890,9 @@ var toFunction = function toFunction(str) {
2890
2890
  * @param {string} [$color] - 颜色值
2891
2891
  **/
2892
2892
  var updateTheme = function updateTheme(color, send) {
2893
- color = color && startWith(color, '#') ? color : '#409eff';
2893
+ if (!color) {
2894
+ return false;
2895
+ }
2894
2896
 
2895
2897
  if (send === undefined) {
2896
2898
  send = true;
@@ -4175,8 +4177,8 @@ main.install = function (Vue) {
4175
4177
  };
4176
4178
 
4177
4179
  /* harmony default export */ var packages_button = (main);
4178
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=template&id=24005b83&
4179
- var mainvue_type_template_id_24005b83_render = function () {
4180
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=template&id=a336a590&
4181
+ var mainvue_type_template_id_a336a590_render = function () {
4180
4182
  var _vm = this
4181
4183
  var _h = _vm.$createElement
4182
4184
  var _c = _vm._self._c || _h
@@ -4313,11 +4315,11 @@ var mainvue_type_template_id_24005b83_render = function () {
4313
4315
  2
4314
4316
  )
4315
4317
  }
4316
- var mainvue_type_template_id_24005b83_staticRenderFns = []
4317
- mainvue_type_template_id_24005b83_render._withStripped = true
4318
+ var mainvue_type_template_id_a336a590_staticRenderFns = []
4319
+ mainvue_type_template_id_a336a590_render._withStripped = true
4318
4320
 
4319
4321
 
4320
- // CONCATENATED MODULE: ./packages/button-group/src/main.vue?vue&type=template&id=24005b83&
4322
+ // CONCATENATED MODULE: ./packages/button-group/src/main.vue?vue&type=template&id=a336a590&
4321
4323
 
4322
4324
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=script&lang=js&
4323
4325
  var mainvue_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; };
@@ -4418,6 +4420,10 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4418
4420
  size: {
4419
4421
  type: String,
4420
4422
  default: 'mini'
4423
+ },
4424
+ placement: {
4425
+ type: String,
4426
+ default: 'bottom'
4421
4427
  }
4422
4428
  },
4423
4429
  computed: {
@@ -4425,7 +4431,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4425
4431
  return this.getBtns();
4426
4432
  },
4427
4433
  showBtns: function showBtns() {
4428
- return this.btns.slice(0, this.length - 1);
4434
+ return this.btns.length > this.length ? this.btns.slice(0, this.length - 1) : this.btns;
4429
4435
  },
4430
4436
  other: function other() {
4431
4437
  var btns = this.length > 0 && (this.btns.length > this.length || this.length == 1) ? this.btns.slice(this.length - 1, this.btns.length) : [];
@@ -4510,8 +4516,8 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4510
4516
 
4511
4517
  var src_main_component = normalizeComponent(
4512
4518
  packages_button_group_src_mainvue_type_script_lang_js_,
4513
- mainvue_type_template_id_24005b83_render,
4514
- mainvue_type_template_id_24005b83_staticRenderFns,
4519
+ mainvue_type_template_id_a336a590_render,
4520
+ mainvue_type_template_id_a336a590_staticRenderFns,
4515
4521
  false,
4516
4522
  null,
4517
4523
  null,
@@ -13565,8 +13571,8 @@ error_page_src_main.install = function (Vue) {
13565
13571
  };
13566
13572
 
13567
13573
  /* harmony default export */ var error_page = (error_page_src_main);
13568
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=6983cacd&
13569
- var mainvue_type_template_id_6983cacd_render = function () {
13574
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=55faec94&
13575
+ var mainvue_type_template_id_55faec94_render = function () {
13570
13576
  var _vm = this
13571
13577
  var _h = _vm.$createElement
13572
13578
  var _c = _vm._self._c || _h
@@ -25022,11 +25028,11 @@ var mainvue_type_template_id_6983cacd_render = function () {
25022
25028
  )
25023
25029
  : _vm._e()
25024
25030
  }
25025
- var mainvue_type_template_id_6983cacd_staticRenderFns = []
25026
- mainvue_type_template_id_6983cacd_render._withStripped = true
25031
+ var mainvue_type_template_id_55faec94_staticRenderFns = []
25032
+ mainvue_type_template_id_55faec94_render._withStripped = true
25027
25033
 
25028
25034
 
25029
- // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=6983cacd&
25035
+ // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=55faec94&
25030
25036
 
25031
25037
  // CONCATENATED MODULE: ./src/utils/rules.js
25032
25038
  // 手机号
@@ -25040,7 +25046,7 @@ var ip = { pattern: new RegExp('^(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2
25040
25046
  // 银行卡号
25041
25047
  var bankCard = { pattern: new RegExp('^([1-9]{1})(\\d{14}|\\d{18})$'), message: '银行卡号不合法' };
25042
25048
 
25043
- /* harmony default export */ var rules = ({
25049
+ /* harmony default export */ var utils_rules = ({
25044
25050
  phone: phone,
25045
25051
  idCard: idCard,
25046
25052
  telephone: telephone,
@@ -29981,6 +29987,9 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
29981
29987
  var type = arguments[2];
29982
29988
  var validate = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
29983
29989
 
29990
+ if (this.readonly) {
29991
+ return Promise.resolve();
29992
+ }
29984
29993
  if (!handle) {
29985
29994
  handle = this.handles || {};
29986
29995
  }
@@ -30261,20 +30270,20 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
30261
30270
  if (res.rules && !res.hide) {
30262
30271
  if (Array.isArray(res.rules)) {
30263
30272
  return res.rules.map(function (item) {
30264
- if (rules[item.type]) {
30273
+ if (utils_rules[item.type]) {
30265
30274
  return {
30266
- pattern: rules[item.type]['pattern'],
30267
- message: item.message ? item.message : rules[item.type]['message'],
30275
+ pattern: utils_rules[item.type]['pattern'],
30276
+ message: item.message ? item.message : utils_rules[item.type]['message'],
30268
30277
  trigger: item.trigger ? item.trigger : res.fetchSuggestions || res.url || res.data && res.data.length ? 'change' : 'blur'
30269
30278
  };
30270
30279
  }
30271
30280
  return item;
30272
30281
  });
30273
30282
  }
30274
- if (rules[res.rules.type]) {
30283
+ if (utils_rules[res.rules.type]) {
30275
30284
  return {
30276
- pattern: rules[res.rules.type]['pattern'],
30277
- message: res.rules.message ? res.rules.message : rules[res.rules.type]['message'],
30285
+ pattern: utils_rules[res.rules.type]['pattern'],
30286
+ message: res.rules.message ? res.rules.message : utils_rules[res.rules.type]['message'],
30278
30287
  trigger: res.rules.trigger ? res.rules.trigger : res.fetchSuggestions || res.url || res.data && res.data.length ? 'change' : 'blur'
30279
30288
  };
30280
30289
  }
@@ -30321,8 +30330,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
30321
30330
 
30322
30331
  var form_src_main_component = normalizeComponent(
30323
30332
  packages_form_src_mainvue_type_script_lang_js_,
30324
- mainvue_type_template_id_6983cacd_render,
30325
- mainvue_type_template_id_6983cacd_staticRenderFns,
30333
+ mainvue_type_template_id_55faec94_render,
30334
+ mainvue_type_template_id_55faec94_staticRenderFns,
30326
30335
  false,
30327
30336
  null,
30328
30337
  null,
@@ -30339,8 +30348,8 @@ form_src_main.install = function (Vue) {
30339
30348
  };
30340
30349
 
30341
30350
  /* harmony default export */ var packages_form = (form_src_main);
30342
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=66b44e7f&
30343
- var mainvue_type_template_id_66b44e7f_render = function () {
30351
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=4080350e&
30352
+ var mainvue_type_template_id_4080350e_render = function () {
30344
30353
  var _vm = this
30345
30354
  var _h = _vm.$createElement
30346
30355
  var _c = _vm._self._c || _h
@@ -32060,11 +32069,11 @@ var mainvue_type_template_id_66b44e7f_render = function () {
32060
32069
  )
32061
32070
  : _vm._e()
32062
32071
  }
32063
- var mainvue_type_template_id_66b44e7f_staticRenderFns = []
32064
- mainvue_type_template_id_66b44e7f_render._withStripped = true
32072
+ var mainvue_type_template_id_4080350e_staticRenderFns = []
32073
+ mainvue_type_template_id_4080350e_render._withStripped = true
32065
32074
 
32066
32075
 
32067
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=66b44e7f&
32076
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=4080350e&
32068
32077
 
32069
32078
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=28c062bc&
32070
32079
  var CommonOpinionsvue_type_template_id_28c062bc_render = function () {
@@ -33056,8 +33065,8 @@ var CommonOpinions_component = normalizeComponent(
33056
33065
  )
33057
33066
 
33058
33067
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
33059
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=aaac09fe&
33060
- var processFormvue_type_template_id_aaac09fe_render = function () {
33068
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=38d27a4e&
33069
+ var processFormvue_type_template_id_38d27a4e_render = function () {
33061
33070
  var _vm = this
33062
33071
  var _h = _vm.$createElement
33063
33072
  var _c = _vm._self._c || _h
@@ -33523,11 +33532,11 @@ var processFormvue_type_template_id_aaac09fe_render = function () {
33523
33532
  1
33524
33533
  )
33525
33534
  }
33526
- var processFormvue_type_template_id_aaac09fe_staticRenderFns = []
33527
- processFormvue_type_template_id_aaac09fe_render._withStripped = true
33535
+ var processFormvue_type_template_id_38d27a4e_staticRenderFns = []
33536
+ processFormvue_type_template_id_38d27a4e_render._withStripped = true
33528
33537
 
33529
33538
 
33530
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=aaac09fe&
33539
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=38d27a4e&
33531
33540
 
33532
33541
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=db651118&
33533
33542
  var selectUservue_type_template_id_db651118_render = function () {
@@ -35310,6 +35319,7 @@ var processFormvue_type_script_lang_js_components;
35310
35319
  }
35311
35320
  }
35312
35321
  },
35322
+ userModel: {},
35313
35323
  nextUserTabs: {},
35314
35324
  selectPresetUserList: [],
35315
35325
  presetOptions: [],
@@ -35354,12 +35364,39 @@ var processFormvue_type_script_lang_js_components;
35354
35364
  }
35355
35365
  }
35356
35366
  },
35367
+ created: function created() {
35368
+ this.getUserInfo();
35369
+ },
35357
35370
  mounted: function mounted() {
35358
35371
  this.getStartFlow(this.processDefinitionId);
35359
35372
  this.newOpinion = this.opinion;
35360
35373
  },
35361
35374
 
35362
35375
  methods: {
35376
+ getUserInfo: function getUserInfo() {
35377
+ var _this = this;
35378
+
35379
+ var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
35380
+ if (mainConfig) {
35381
+ this.userModel = JSON.parse(mainConfig).userModel;
35382
+ } else {
35383
+ utils_util["a" /* default */].ajax({ url: api["cb" /* loginUserInfo */] }).then(function (res) {
35384
+ var status = res.status,
35385
+ data = res.data;
35386
+
35387
+ if (status == 'success') {
35388
+ _this.userModel = data;
35389
+ } else {
35390
+ var msg = res.msg || '系统错误,请联系管理员!';
35391
+ _this.$message.error(msg);
35392
+ }
35393
+ }).catch(function (err) {
35394
+ if (err.message && err.message !== 'canceled') {
35395
+ _this.$message.error(err.message);
35396
+ }
35397
+ });
35398
+ }
35399
+ },
35363
35400
  getIsShowNextUser: function getIsShowNextUser(val) {
35364
35401
  if (val == 7 || val == 8 || val == 9 || val == 10 || val == 11 || val == 12) {
35365
35402
  this.isShowNextUser = false;
@@ -35445,7 +35482,7 @@ var processFormvue_type_script_lang_js_components;
35445
35482
  this.mixOrgIdList = mixList;
35446
35483
  },
35447
35484
  getNodeType: function getNodeType() {
35448
- var _this = this;
35485
+ var _this2 = this;
35449
35486
 
35450
35487
  utils_util["a" /* default */].ajax({
35451
35488
  url: api["u" /* findCodeValues */],
@@ -35458,19 +35495,19 @@ var processFormvue_type_script_lang_js_components;
35458
35495
  data = res.data;
35459
35496
 
35460
35497
  if (status === 'success') {
35461
- _this.nextNode.noticeList = data;
35498
+ _this2.nextNode.noticeList = data;
35462
35499
  }
35463
35500
  }).catch(function (err) {
35464
- _this.loading = false;
35501
+ _this2.loading = false;
35465
35502
  if (err.message && err.message !== 'canceled') {
35466
- _this.$message.error(err.message);
35503
+ _this2.$message.error(err.message);
35467
35504
  }
35468
35505
  });
35469
35506
  },
35470
35507
 
35471
35508
  //获取通知信息
35472
35509
  getMessage: function getMessage() {
35473
- var _this2 = this;
35510
+ var _this3 = this;
35474
35511
 
35475
35512
  var params = {
35476
35513
  processDefinitionId: this.processDefinitionId,
@@ -35479,12 +35516,12 @@ var processFormvue_type_script_lang_js_components;
35479
35516
  };
35480
35517
  utils_util["a" /* default */].ajax({ url: api["I" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
35481
35518
  if (res.status === 'success') {
35482
- _this2.nextNode.noticeInfo = res.message;
35519
+ _this3.nextNode.noticeInfo = res.message;
35483
35520
  }
35484
35521
  }).catch(function (err) {
35485
- _this2.loading = false;
35522
+ _this3.loading = false;
35486
35523
  if (err.message && err.message !== 'canceled') {
35487
- _this2.$message.error(err.message);
35524
+ _this3.$message.error(err.message);
35488
35525
  }
35489
35526
  });
35490
35527
  },
@@ -35494,11 +35531,11 @@ var processFormvue_type_script_lang_js_components;
35494
35531
  this.saveProcess(formName);
35495
35532
  },
35496
35533
  saveProcess: function saveProcess(formName) {
35497
- var _this3 = this;
35534
+ var _this4 = this;
35498
35535
 
35499
35536
  this.$refs[formName].validate(function (valid) {
35500
35537
  if (valid) {
35501
- var _nextNode = _this3.nextNode,
35538
+ var _nextNode = _this4.nextNode,
35502
35539
  nextNode = _nextNode.nextNode,
35503
35540
  nextUser = _nextNode.nextUser,
35504
35541
  noticeInfo = _nextNode.noticeInfo,
@@ -35510,20 +35547,20 @@ var processFormvue_type_script_lang_js_components;
35510
35547
  newOpinion = _nextNode.newOpinion;
35511
35548
 
35512
35549
  if (noticeType.length === 0) {
35513
- return _this3.$message.warning('请选择通知方式');
35550
+ return _this4.$message.warning('请选择通知方式');
35514
35551
  }
35515
- if (_this3.isShowNextUser) {
35516
- if (nextUser == '' || _this3.multiple && nextUser.length == 0) {
35517
- return _this3.$message.warning('请选择下步办理人');
35552
+ if (_this4.isShowNextUser) {
35553
+ if (nextUser == '' || _this4.multiple && nextUser.length == 0) {
35554
+ return _this4.$message.warning('请选择下步办理人');
35518
35555
  }
35519
35556
  } else {
35520
- if (nextOrgId == '' || _this3.multiple && nextOrgId.length == 0) {
35521
- return _this3.$message.warning('请选择办理对象');
35557
+ if (nextOrgId == '' || _this4.multiple && nextOrgId.length == 0) {
35558
+ return _this4.$message.warning('请选择办理对象');
35522
35559
  }
35523
35560
  }
35524
- _this3.loading = true;
35561
+ _this4.loading = true;
35525
35562
  var newNextUser = [];
35526
- if (_this3.multiple) {
35563
+ if (_this4.multiple) {
35527
35564
  nextUser && nextUser.map(function (item) {
35528
35565
  return newNextUser.push(item);
35529
35566
  });
@@ -35533,37 +35570,37 @@ var processFormvue_type_script_lang_js_components;
35533
35570
  newNoticeType = noticeType.join(',');
35534
35571
  }
35535
35572
  var params = {
35536
- processDefinitionId: _this3.processDefinitionId,
35537
- nextUserId: _this3.multiple ? newNextUser.join(',') : nextUser,
35573
+ processDefinitionId: _this4.processDefinitionId,
35574
+ nextUserId: _this4.multiple ? newNextUser.join(',') : nextUser,
35538
35575
  nextNodeId: nextNode,
35539
- businessId: _this3.businessId,
35576
+ businessId: _this4.businessId,
35540
35577
  notificationType: newNoticeType,
35541
35578
  userId: utils_util["a" /* default */].getStorage('userId'),
35542
35579
  notificationMsg: noticeInfo,
35543
- customPresetUserJson: JSON.stringify(_this3.presetList),
35544
- presetUserJson: JSON.stringify(_this3.presetUserJson),
35545
- nextReadUserId: _this3.readMultiple ? _this3.mixReadList && _this3.mixReadList.join('|') : nextReadUserId,
35546
- nextOrgId: !_this3.isShowNextUser ? _this3.multiple ? _this3.mixOrgIdList && _this3.mixOrgIdList.join('|') : nextOrgId : '',
35580
+ customPresetUserJson: JSON.stringify(_this4.presetList),
35581
+ presetUserJson: JSON.stringify(_this4.presetUserJson),
35582
+ nextReadUserId: _this4.readMultiple ? _this4.mixReadList && _this4.mixReadList.join('|') : nextReadUserId,
35583
+ nextOrgId: !_this4.isShowNextUser ? _this4.multiple ? _this4.mixOrgIdList && _this4.mixOrgIdList.join('|') : nextOrgId : '',
35547
35584
  handleExplain: handleExplain,
35548
- presetReadUserId: _this3.mixPresetList && _this3.mixPresetList.length > 0 ? _this3.mixPresetList.join('|') : presetReadUserId.join(','),
35549
- opinion: _this3.newOpinion || newOpinion
35585
+ presetReadUserId: _this4.mixPresetList && _this4.mixPresetList.length > 0 ? _this4.mixPresetList.join('|') : presetReadUserId.join(','),
35586
+ opinion: _this4.newOpinion || newOpinion
35550
35587
  };
35551
- if (_this3.activeNames != '1') delete params.customPresetUserJson;
35588
+ if (_this4.activeNames != '1') delete params.customPresetUserJson;
35552
35589
  utils_util["a" /* default */].ajax({ url: api["mb" /* register */], method: 'post', data: params }).then(function (res) {
35553
35590
  var status = res.status,
35554
35591
  message = res.message;
35555
35592
 
35556
- _this3.loading = false;
35593
+ _this4.loading = false;
35557
35594
  if (status === 'success') {
35558
- _this3.quit(true);
35559
- _this3.$message.success('操作成功');
35595
+ _this4.quit(true);
35596
+ _this4.$message.success('操作成功');
35560
35597
  } else {
35561
- _this3.$message.error(message || '系统错误,请联系管理员!');
35598
+ _this4.$message.error(message || '系统错误,请联系管理员!');
35562
35599
  }
35563
35600
  }).catch(function (err) {
35564
- _this3.loading = false;
35601
+ _this4.loading = false;
35565
35602
  if (err.message && err.message !== 'canceled') {
35566
- _this3.$message.error(err.message);
35603
+ _this4.$message.error(err.message);
35567
35604
  }
35568
35605
  });
35569
35606
  } else {
@@ -35572,7 +35609,7 @@ var processFormvue_type_script_lang_js_components;
35572
35609
  });
35573
35610
  },
35574
35611
  getNodeInfos: function getNodeInfos(nodeId, index) {
35575
- var _this4 = this;
35612
+ var _this5 = this;
35576
35613
 
35577
35614
  var params = {
35578
35615
  processDefinitionId: this.processDefinitionId,
@@ -35588,63 +35625,63 @@ var processFormvue_type_script_lang_js_components;
35588
35625
  countersignaturetypeText = _res$data.countersignaturetypeText,
35589
35626
  countersignaturetypeCode = _res$data.countersignaturetypeCode;
35590
35627
 
35591
- _this4.loading = false;
35628
+ _this5.loading = false;
35592
35629
  if (status === 'success') {
35593
- _this4.nextNode.userInfo = nextUserList;
35594
- _this4.countersignaturetypeCode = countersignaturetypeCode;
35595
- _this4.nextNode.countersignaturetypeText = countersignaturetypeText;
35596
- _this4.isTaskread = nodeExtAttr.isTaskread;
35597
- _this4.isHandleExplain = nodeExtAttr.isHandleExplain;
35598
- _this4.isCustomUser = nodeExtAttr.isCustomUser; //是否展示选人组件按钮
35599
- _this4.presetEdit = nodeExtAttr.presetEdit; //是否展示备选人
35600
- _this4.isDefSelectedObj = nodeExtAttr.isDefSelectedObj; //是否默认选中
35630
+ _this5.nextNode.userInfo = nextUserList;
35631
+ _this5.countersignaturetypeCode = countersignaturetypeCode;
35632
+ _this5.nextNode.countersignaturetypeText = countersignaturetypeText;
35633
+ _this5.isTaskread = nodeExtAttr.isTaskread;
35634
+ _this5.isHandleExplain = nodeExtAttr.isHandleExplain;
35635
+ _this5.isCustomUser = nodeExtAttr.isCustomUser; //是否展示选人组件按钮
35636
+ _this5.presetEdit = nodeExtAttr.presetEdit; //是否展示备选人
35637
+ _this5.isDefSelectedObj = nodeExtAttr.isDefSelectedObj; //是否默认选中
35601
35638
  if (nodeExtAttr.userSelectionType == 7 || nodeExtAttr.userSelectionType == 8 || nodeExtAttr.userSelectionType == 9 || nodeExtAttr.userSelectionType == 10 || nodeExtAttr.userSelectionType == 11 || nodeExtAttr.userSelectionType == 12) {
35602
- _this4.getIsShowNextUser(nodeExtAttr && nodeExtAttr.userSelectionType);
35639
+ _this5.getIsShowNextUser(nodeExtAttr && nodeExtAttr.userSelectionType);
35603
35640
  } else {
35604
- var _isMultiple = _this4.isMultiple(nodeExtAttr.userSelectionType),
35641
+ var _isMultiple = _this5.isMultiple(nodeExtAttr.userSelectionType),
35605
35642
  multiple = _isMultiple.multiple,
35606
35643
  _params = _isMultiple.params;
35607
35644
 
35608
- _this4.multiple = multiple;
35609
- _this4.params = _params;
35645
+ _this5.multiple = multiple;
35646
+ _this5.params = _params;
35610
35647
  }
35611
35648
  // this.isReadMultiple(nodeExtAttr.userSelectionType);
35612
35649
 
35613
35650
  nextUserList.map(function (item) {
35614
- if (_this4.multiple && nodeExtAttr.isDefSelectedObj == 1 && nextUserList !== undefined) {
35615
- _this4.nextNode.nextUser.push(item.userId);
35616
- _this4.selectUserList.push({
35651
+ if (_this5.multiple && nodeExtAttr.isDefSelectedObj == 1 && nextUserList !== undefined) {
35652
+ _this5.nextNode.nextUser.push(item.userId);
35653
+ _this5.selectUserList.push({
35617
35654
  showname: item.username,
35618
35655
  showid: item.userId
35619
35656
  });
35620
35657
  }
35621
35658
 
35622
- _this4.options.push({
35659
+ _this5.options.push({
35623
35660
  showname: item.username,
35624
35661
  showid: item.userId
35625
35662
  });
35626
35663
  });
35627
- if (_this4.multiple) {
35628
- _this4.nextNode.nextReadUserId = [];
35664
+ if (_this5.multiple) {
35665
+ _this5.nextNode.nextReadUserId = [];
35629
35666
  } else {
35630
- _this4.nextNode.nextReadUserId = '';
35667
+ _this5.nextNode.nextReadUserId = '';
35631
35668
  }
35632
- if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !_this4.multiple) {
35633
- _this4.nextNode.nextUser = nextUserList[0].userId;
35634
- _this4.selectUserList.push({
35669
+ if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !_this5.multiple) {
35670
+ _this5.nextNode.nextUser = nextUserList[0].userId;
35671
+ _this5.selectUserList.push({
35635
35672
  showname: nextUserList[0].username,
35636
35673
  showid: nextUserList[0].userId
35637
35674
  });
35638
35675
  }
35639
- _this4.radioList = _this4.options;
35676
+ _this5.radioList = _this5.options;
35640
35677
  } else {
35641
- _this4.$message.error(message || '系统错误,请联系管理员!');
35678
+ _this5.$message.error(message || '系统错误,请联系管理员!');
35642
35679
  }
35643
- nodeId && _this4.$refs.selectUser[index].changeInfo();
35680
+ nodeId && _this5.$refs.selectUser[index].changeInfo();
35644
35681
  }).catch(function (err) {
35645
- _this4.loading = false;
35682
+ _this5.loading = false;
35646
35683
  if (err.message && err.message !== 'canceled') {
35647
- _this4.$message.error(err.message);
35684
+ _this5.$message.error(err.message);
35648
35685
  }
35649
35686
  });
35650
35687
  },
@@ -35663,7 +35700,7 @@ var processFormvue_type_script_lang_js_components;
35663
35700
  this.$emit('cancel', false);
35664
35701
  },
35665
35702
  getFind: function getFind() {
35666
- var _this5 = this;
35703
+ var _this6 = this;
35667
35704
 
35668
35705
  utils_util["a" /* default */].ajax({
35669
35706
  url: api["w" /* findSysCodes */]
@@ -35672,14 +35709,14 @@ var processFormvue_type_script_lang_js_components;
35672
35709
  message = res.message;
35673
35710
 
35674
35711
  if (status === 'success') {
35675
- _this5.nextNode.noticeType = message.split(',');
35712
+ _this6.nextNode.noticeType = message.split(',');
35676
35713
  } else {
35677
- _this5.$message.error(message || '系统错误,请联系管理员!');
35714
+ _this6.$message.error(message || '系统错误,请联系管理员!');
35678
35715
  }
35679
35716
  }).catch(function (err) {
35680
- _this5.loading = false;
35717
+ _this6.loading = false;
35681
35718
  if (err.message && err.message !== 'canceled') {
35682
- _this5.$message.error(err.message);
35719
+ _this6.$message.error(err.message);
35683
35720
  }
35684
35721
  });
35685
35722
  },
@@ -35697,15 +35734,15 @@ var processFormvue_type_script_lang_js_components;
35697
35734
  multiple = true;
35698
35735
  }
35699
35736
  if (val == 1 || val == 2 || val == 5) {
35700
- params.filid = utils_util["a" /* default */].getStorage('orgId');
35737
+ params.filid = this.userModel.orgId;
35701
35738
  params.only_filid = true;
35702
35739
  if (choiceOrgId) {
35703
35740
  params.filid = choiceOrgId;
35704
35741
  }
35705
35742
  }
35706
35743
  if (val == 5 || val == 6) {
35707
- params.filid = utils_util["a" /* default */].getStorage('orgId');
35708
- params.deptid = utils_util["a" /* default */].getStorage('orgId');
35744
+ params.filid = this.userModel.orgId;
35745
+ params.deptid = this.userModel.orgId;
35709
35746
  if (choiceDeptId) {
35710
35747
  params.deptid = choiceDeptId;
35711
35748
  }
@@ -35714,7 +35751,7 @@ var processFormvue_type_script_lang_js_components;
35714
35751
  }
35715
35752
  }
35716
35753
  if (val == 15 || val == 16) {
35717
- params.filid = utils_util["a" /* default */].getStorage('orgId');
35754
+ params.filid = this.userModel.orgId;
35718
35755
  if (pOrgId) {
35719
35756
  params.filid = pOrgId;
35720
35757
  }
@@ -35722,7 +35759,7 @@ var processFormvue_type_script_lang_js_components;
35722
35759
  return { multiple: multiple, params: params };
35723
35760
  },
35724
35761
  getStartFlow: function getStartFlow(processId) {
35725
- var _this6 = this;
35762
+ var _this7 = this;
35726
35763
 
35727
35764
  if (!processId) {
35728
35765
  return false;
@@ -35742,80 +35779,80 @@ var processFormvue_type_script_lang_js_components;
35742
35779
  data = res.data;
35743
35780
 
35744
35781
  if (status == 'success') {
35745
- data.nodeInfoMap.nodeExtAttr.submitTipsMsg && _this6.$confirm(data.nodeInfoMap.nodeExtAttr.submitTipsMsg, '提示', {
35782
+ data.nodeInfoMap.nodeExtAttr.submitTipsMsg && _this7.$confirm(data.nodeInfoMap.nodeExtAttr.submitTipsMsg, '提示', {
35746
35783
  confirmButtonText: '确定',
35747
35784
  cancelButtonText: '取消',
35748
35785
  type: 'warning'
35749
35786
  }).then(function () {}).catch(function () {
35750
- _this6.quit();
35787
+ _this7.quit();
35751
35788
  });
35752
- _this6.customPresetHintMessage = data.customPresetHintMessage;
35753
- _this6.nextNode.nodeInfo = data.nextNodeList;
35754
- _this6.nextNode.nextNode = data.nextNodeList[0].nodeId;
35755
- _this6.isPreset = data.isPreset;
35756
- _this6.isHideDefaultOperation = data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation;
35757
- _this6.defaultNextNode = data.nodeInfoMap.nodeExtAttr.defaultNextNode;
35758
- _this6.isChooseNextNode = data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
35759
- _this6.isCdjxjTaskHandle = data.isCdjxjTaskHandle;
35760
- if (_this6.isChooseNextNode == 1) {
35761
- _this6.operationList = [{ key: 0, value: '默认', list: [] }, { key: 1, value: '自定义', list: [] }];
35789
+ _this7.customPresetHintMessage = data.customPresetHintMessage;
35790
+ _this7.nextNode.nodeInfo = data.nextNodeList;
35791
+ _this7.nextNode.nextNode = data.nextNodeList[0].nodeId;
35792
+ _this7.isPreset = data.isPreset;
35793
+ _this7.isHideDefaultOperation = data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation;
35794
+ _this7.defaultNextNode = data.nodeInfoMap.nodeExtAttr.defaultNextNode;
35795
+ _this7.isChooseNextNode = data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
35796
+ _this7.isCdjxjTaskHandle = data.isCdjxjTaskHandle;
35797
+ if (_this7.isChooseNextNode == 1) {
35798
+ _this7.operationList = [{ key: 0, value: '默认', list: [] }, { key: 1, value: '自定义', list: [] }];
35762
35799
  var arr = [];
35763
35800
  for (var key in data.taskNodeMap) {
35764
35801
  arr.push({ nodeName: data.taskNodeMap[key], nodeId: key });
35765
35802
  }
35766
- _this6.operationList[0].list = data.nextNodeList;
35767
- _this6.operationList[1].list = arr;
35768
- if (_this6.isHideDefaultOperation != 1) {
35769
- _this6.nextNode.nextOperate = 0;
35770
- _this6.nextNode.nodeInfo = _this6.operationList[0].list;
35771
- if (_this6.nextNode.nodeInfo.length > 0) {
35772
- _this6.nextNode.nextNode = _this6.defaultNextNode || data.nextNodeList[0].nodeId;
35803
+ _this7.operationList[0].list = data.nextNodeList;
35804
+ _this7.operationList[1].list = arr;
35805
+ if (_this7.isHideDefaultOperation != 1) {
35806
+ _this7.nextNode.nextOperate = 0;
35807
+ _this7.nextNode.nodeInfo = _this7.operationList[0].list;
35808
+ if (_this7.nextNode.nodeInfo.length > 0) {
35809
+ _this7.nextNode.nextNode = _this7.defaultNextNode || data.nextNodeList[0].nodeId;
35773
35810
  }
35774
35811
  } else if (data.nodeInfoMap.nodeExtAttr.defaultNextOperate == 1 || data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1) {
35775
35812
  // this.nextNode.nodeInfo = data.nextNodeList
35776
- _this6.nextNode.nextOperate = 1;
35777
- _this6.nextNode.nodeInfo = _this6.operationList[1].list;
35778
- if (_this6.nextNode.nodeInfo.length > 0) {
35779
- _this6.nextNode.nextNode = _this6.defaultNextNode || data.nextNodeList[0].nodeId;
35813
+ _this7.nextNode.nextOperate = 1;
35814
+ _this7.nextNode.nodeInfo = _this7.operationList[1].list;
35815
+ if (_this7.nextNode.nodeInfo.length > 0) {
35816
+ _this7.nextNode.nextNode = _this7.defaultNextNode || data.nextNodeList[0].nodeId;
35780
35817
  }
35781
35818
  }
35782
35819
  }
35783
- _this6.isCustomPreset = data.isCustomPreset;
35784
- _this6.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
35785
- _this6.presetTaskNodeMap = data.presetTaskNodeMap;
35786
- _this6.isSinglePage = data.taskExamine.isSinglePage;
35787
- _this6.isSinglePage && (_this6.nextNode.opinion = data.taskExamine.opinion);
35820
+ _this7.isCustomPreset = data.isCustomPreset;
35821
+ _this7.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
35822
+ _this7.presetTaskNodeMap = data.presetTaskNodeMap;
35823
+ _this7.isSinglePage = data.taskExamine.isSinglePage;
35824
+ _this7.isSinglePage && (_this7.nextNode.opinion = data.taskExamine.opinion);
35788
35825
  // this.nextNode.noticeInfo = data.taskExamine.notificationMsg;
35789
- _this6.nextNode.nodeName = data.taskExamine.nodeName;
35790
- _this6.canPresetRead = data.canPresetRead;
35826
+ _this7.nextNode.nodeName = data.taskExamine.nodeName;
35827
+ _this7.canPresetRead = data.canPresetRead;
35791
35828
  if (data.canPresetRead) {
35792
35829
  var ids = data.nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
35793
35830
  var names = data.nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
35794
35831
  ids.map(function (item, index) {
35795
- _this6.presetReadUserId.push({
35832
+ _this7.presetReadUserId.push({
35796
35833
  showid: item,
35797
35834
  showname: names[index]
35798
35835
  });
35799
- _this6.selectPresetUserList.push({
35836
+ _this7.selectPresetUserList.push({
35800
35837
  showid: item,
35801
35838
  showname: names[index]
35802
35839
  });
35803
- _this6.nextNode.presetReadUserId.push(item);
35840
+ _this7.nextNode.presetReadUserId.push(item);
35804
35841
  });
35805
35842
  }
35806
- _this6.getNodeInfos();
35843
+ _this7.getNodeInfos();
35807
35844
  // this.getPresetFlowInfo();
35808
- _this6.isCustomPreset && _this6.$refs.customPreset.getPresetFlowInfo(_this6.nextNode.nextNode);
35809
- _this6.getFind();
35810
- _this6.getMessage();
35811
- _this6.getNodeType();
35845
+ _this7.isCustomPreset && _this7.$refs.customPreset.getPresetFlowInfo(_this7.nextNode.nextNode);
35846
+ _this7.getFind();
35847
+ _this7.getMessage();
35848
+ _this7.getNodeType();
35812
35849
  } else {
35813
- _this6.$message.error(message || '系统错误,请联系管理员!');
35850
+ _this7.$message.error(message || '系统错误,请联系管理员!');
35814
35851
  }
35815
35852
  }).catch(function (err) {
35816
- _this6.loading = false;
35853
+ _this7.loading = false;
35817
35854
  if (err.message && err.message !== 'canceled') {
35818
- _this6.$message.error(err.message);
35855
+ _this7.$message.error(err.message);
35819
35856
  }
35820
35857
  });
35821
35858
  }
@@ -35833,8 +35870,8 @@ var processFormvue_type_script_lang_js_components;
35833
35870
 
35834
35871
  var processForm_component = normalizeComponent(
35835
35872
  src_processFormvue_type_script_lang_js_,
35836
- processFormvue_type_template_id_aaac09fe_render,
35837
- processFormvue_type_template_id_aaac09fe_staticRenderFns,
35873
+ processFormvue_type_template_id_38d27a4e_render,
35874
+ processFormvue_type_template_id_38d27a4e_staticRenderFns,
35838
35875
  false,
35839
35876
  null,
35840
35877
  null,
@@ -40682,7 +40719,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
40682
40719
  var _this20 = this;
40683
40720
 
40684
40721
  if (this.beforeSubmit != undefined) {
40685
- this.beforeSubmit().then(function (next) {
40722
+ this.beforeSubmit(0).then(function (next) {
40686
40723
  _this20.taskReadType = 'transfer';
40687
40724
  _this20.showTaskRead = true;
40688
40725
  }).catch(function (e) {});
@@ -41556,8 +41593,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
41556
41593
 
41557
41594
  var flow_src_main_component = normalizeComponent(
41558
41595
  packages_flow_src_mainvue_type_script_lang_js_,
41559
- mainvue_type_template_id_66b44e7f_render,
41560
- mainvue_type_template_id_66b44e7f_staticRenderFns,
41596
+ mainvue_type_template_id_4080350e_render,
41597
+ mainvue_type_template_id_4080350e_staticRenderFns,
41561
41598
  false,
41562
41599
  null,
41563
41600
  null,
@@ -45003,8 +45040,8 @@ handle_user_src_main.install = function (Vue) {
45003
45040
  };
45004
45041
 
45005
45042
  /* harmony default export */ var handle_user = (handle_user_src_main);
45006
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=6f2ac1fb&
45007
- var mainvue_type_template_id_6f2ac1fb_render = function () {
45043
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=352a790a&
45044
+ var mainvue_type_template_id_352a790a_render = function () {
45008
45045
  var _vm = this
45009
45046
  var _h = _vm.$createElement
45010
45047
  var _c = _vm._self._c || _h
@@ -45121,7 +45158,7 @@ var mainvue_type_template_id_6f2ac1fb_render = function () {
45121
45158
  class: [
45122
45159
  _vm.unicode(ele.icons)
45123
45160
  ? ele.icons
45124
- : "es-icons",
45161
+ : "es-icon",
45125
45162
  "es-sub-system-icon",
45126
45163
  {
45127
45164
  "es-icon-yingyong": !ele.icons,
@@ -45202,11 +45239,11 @@ var mainvue_type_template_id_6f2ac1fb_render = function () {
45202
45239
  0
45203
45240
  )
45204
45241
  }
45205
- var mainvue_type_template_id_6f2ac1fb_staticRenderFns = []
45206
- mainvue_type_template_id_6f2ac1fb_render._withStripped = true
45242
+ var mainvue_type_template_id_352a790a_staticRenderFns = []
45243
+ mainvue_type_template_id_352a790a_render._withStripped = true
45207
45244
 
45208
45245
 
45209
- // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=6f2ac1fb&
45246
+ // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=352a790a&
45210
45247
 
45211
45248
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=script&lang=js&
45212
45249
  //
@@ -45551,8 +45588,8 @@ mainvue_type_template_id_6f2ac1fb_render._withStripped = true
45551
45588
 
45552
45589
  var handler_src_main_component = normalizeComponent(
45553
45590
  packages_handler_src_mainvue_type_script_lang_js_,
45554
- mainvue_type_template_id_6f2ac1fb_render,
45555
- mainvue_type_template_id_6f2ac1fb_staticRenderFns,
45591
+ mainvue_type_template_id_352a790a_render,
45592
+ mainvue_type_template_id_352a790a_staticRenderFns,
45556
45593
  false,
45557
45594
  null,
45558
45595
  null,
@@ -46003,20 +46040,20 @@ var input_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
46003
46040
  if (this.rules) {
46004
46041
  if (Array.isArray(this.rules)) {
46005
46042
  return this.rules.map(function (item) {
46006
- if (rules[item.type]) {
46043
+ if (utils_rules[item.type]) {
46007
46044
  return {
46008
- pattern: rules[item.type]['pattern'],
46009
- message: item.message ? item.message : rules[item.type]['message'],
46045
+ pattern: utils_rules[item.type]['pattern'],
46046
+ message: item.message ? item.message : utils_rules[item.type]['message'],
46010
46047
  trigger: item.trigger ? item.trigger : _this.fetchSuggestions || _this.url || _this.data.length > 0 ? 'change' : 'blur'
46011
46048
  };
46012
46049
  }
46013
46050
  return item;
46014
46051
  });
46015
46052
  }
46016
- if (rules[this.rules.type]) {
46053
+ if (utils_rules[this.rules.type]) {
46017
46054
  return {
46018
- pattern: rules[this.rules.type]['pattern'],
46019
- message: this.rules.message ? this.rules.message : rules[this.rules.type]['message'],
46055
+ pattern: utils_rules[this.rules.type]['pattern'],
46056
+ message: this.rules.message ? this.rules.message : utils_rules[this.rules.type]['message'],
46020
46057
  trigger: this.rules.trigger ? this.rules.trigger : this.fetchSuggestions || this.url || this.data.length > 0 ? 'change' : 'blur'
46021
46058
  };
46022
46059
  }
@@ -46497,7 +46534,7 @@ var label_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
46497
46534
  }));
46498
46535
  } else if (this.icon.indexOf('&#') > -1) {
46499
46536
  doms.push(h('i', {
46500
- class: ['es-label-icon', 'es-icons', this.events && this.events['icon'] ? 'es-pointer' : ''],
46537
+ class: ['es-label-icon', 'es-icon', this.events && this.events['icon'] ? 'es-pointer' : ''],
46501
46538
  on: {
46502
46539
  click: function click(e) {
46503
46540
  _this.handleClick(e, 'icon');
@@ -46594,7 +46631,7 @@ var label_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
46594
46631
  }));
46595
46632
  } else if (this.contents[_i].indexOf('&#') > -1) {
46596
46633
  doms.push(h('i', {
46597
- class: ['es-label-icon', 'es-icons', this.events && this.events['icon'] ? 'es-pointer' : ''],
46634
+ class: ['es-label-icon', 'es-icon', this.events && this.events['icon'] ? 'es-pointer' : ''],
46598
46635
  on: {
46599
46636
  click: function click(e) {
46600
46637
  _this.handleClick(e, 'icon');
@@ -47035,8 +47072,8 @@ layout_src_main.install = function (Vue) {
47035
47072
  };
47036
47073
 
47037
47074
  /* harmony default export */ var layout = (layout_src_main);
47038
- // 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=1fd3e269&
47039
- var mainvue_type_template_id_1fd3e269_render = function () {
47075
+ // 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=44930eda&
47076
+ var mainvue_type_template_id_44930eda_render = function () {
47040
47077
  var _vm = this
47041
47078
  var _h = _vm.$createElement
47042
47079
  var _c = _vm._self._c || _h
@@ -47094,6 +47131,14 @@ var mainvue_type_template_id_1fd3e269_render = function () {
47094
47131
  },
47095
47132
  },
47096
47133
  [
47134
+ _vm.loginTitleUrl
47135
+ ? _c("div", { staticClass: "es-login-title-image" }, [
47136
+ _c("img", {
47137
+ staticClass: "es-login-title-img",
47138
+ attrs: { src: _vm.loginTitleUrl },
47139
+ }),
47140
+ ])
47141
+ : _vm._e(),
47097
47142
  _vm.switchs > 1
47098
47143
  ? _c(
47099
47144
  "div",
@@ -47147,13 +47192,22 @@ var mainvue_type_template_id_1fd3e269_render = function () {
47147
47192
  attrs: { model: _vm.formData },
47148
47193
  },
47149
47194
  [
47150
- _c("div", { staticClass: "es-login-title" }, [
47151
- _c(
47152
- "span",
47153
- { staticClass: "es-login-title-content" },
47154
- [_vm._v(_vm._s(_vm.title))]
47155
- ),
47156
- ]),
47195
+ !_vm.loginTitleUrl
47196
+ ? _c(
47197
+ "div",
47198
+ { staticClass: "es-login-title" },
47199
+ [
47200
+ _c(
47201
+ "span",
47202
+ {
47203
+ staticClass:
47204
+ "es-login-title-content",
47205
+ },
47206
+ [_vm._v(_vm._s(_vm.title))]
47207
+ ),
47208
+ ]
47209
+ )
47210
+ : _vm._e(),
47157
47211
  _c(
47158
47212
  "el-form-item",
47159
47213
  {
@@ -47449,21 +47503,30 @@ var mainvue_type_template_id_1fd3e269_render = function () {
47449
47503
  "div",
47450
47504
  { staticClass: "es-login-qrcode" },
47451
47505
  [
47452
- _c("div", { staticClass: "es-login-title" }, [
47453
- _c(
47454
- "div",
47455
- { staticClass: "es-login-title-content" },
47456
- [
47457
- _vm._v(
47458
- "\n " +
47459
- _vm._s(
47460
- _vm.iconfonts[_vm.active].name
47461
- ) +
47462
- "\n "
47463
- ),
47464
- ]
47465
- ),
47466
- ]),
47506
+ !_vm.loginTitleUrl
47507
+ ? _c(
47508
+ "div",
47509
+ { staticClass: "es-login-title" },
47510
+ [
47511
+ _c(
47512
+ "div",
47513
+ {
47514
+ staticClass:
47515
+ "es-login-title-content",
47516
+ },
47517
+ [
47518
+ _vm._v(
47519
+ "\n " +
47520
+ _vm._s(
47521
+ _vm.iconfonts[_vm.active].name
47522
+ ) +
47523
+ "\n "
47524
+ ),
47525
+ ]
47526
+ ),
47527
+ ]
47528
+ )
47529
+ : _vm._e(),
47467
47530
  _c(
47468
47531
  "div",
47469
47532
  { staticClass: "es-login-down-app" },
@@ -47527,7 +47590,10 @@ var mainvue_type_template_id_1fd3e269_render = function () {
47527
47590
  ),
47528
47591
  _vm.active == 3 && _vm.identifyingId
47529
47592
  ? _c("es-qr-code", {
47530
- attrs: { content: _vm.identifyingId },
47593
+ attrs: {
47594
+ content: _vm.identifyingId,
47595
+ logo: _vm.qrimg,
47596
+ },
47531
47597
  })
47532
47598
  : _vm._e(),
47533
47599
  _vm.active == 9
@@ -47564,17 +47630,28 @@ var mainvue_type_template_id_1fd3e269_render = function () {
47564
47630
  attrs: { model: _vm.formData },
47565
47631
  },
47566
47632
  [
47567
- _c("div", { staticClass: "es-login-title" }, [
47568
- _c(
47569
- "span",
47570
- { staticClass: "es-login-title-content" },
47571
- [
47572
- _vm._v(
47573
- _vm._s(_vm.iconfonts[_vm.active].name)
47574
- ),
47575
- ]
47576
- ),
47577
- ]),
47633
+ !_vm.loginTitleUrl
47634
+ ? _c(
47635
+ "div",
47636
+ { staticClass: "es-login-title" },
47637
+ [
47638
+ _c(
47639
+ "span",
47640
+ {
47641
+ staticClass:
47642
+ "es-login-title-content",
47643
+ },
47644
+ [
47645
+ _vm._v(
47646
+ _vm._s(
47647
+ _vm.iconfonts[_vm.active].name
47648
+ )
47649
+ ),
47650
+ ]
47651
+ ),
47652
+ ]
47653
+ )
47654
+ : _vm._e(),
47578
47655
  _c(
47579
47656
  "el-form-item",
47580
47657
  {
@@ -47816,7 +47893,7 @@ var mainvue_type_template_id_1fd3e269_render = function () {
47816
47893
  [_vm._v(_vm._s(_vm.icpInfo.copyright_unit))]
47817
47894
  ),
47818
47895
  _c(
47819
- "span",
47896
+ "a",
47820
47897
  {
47821
47898
  staticClass: "es-login-icp-item",
47822
47899
  style: _vm._copyrightStyle,
@@ -47915,11 +47992,11 @@ var mainvue_type_template_id_1fd3e269_render = function () {
47915
47992
  )
47916
47993
  : _vm._e()
47917
47994
  }
47918
- var mainvue_type_template_id_1fd3e269_staticRenderFns = []
47919
- mainvue_type_template_id_1fd3e269_render._withStripped = true
47995
+ var mainvue_type_template_id_44930eda_staticRenderFns = []
47996
+ mainvue_type_template_id_44930eda_render._withStripped = true
47920
47997
 
47921
47998
 
47922
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=1fd3e269&
47999
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=44930eda&
47923
48000
 
47924
48001
  // 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=28f463b9&
47925
48002
  var resetPasswordvue_type_template_id_28f463b9_render = function () {
@@ -48056,7 +48133,7 @@ function resetPasswordvue_type_script_lang_js_objectWithoutProperties(obj, keys)
48056
48133
  required: true,
48057
48134
  message: '请输入手机号',
48058
48135
  trigger: 'blur'
48059
- }, resetPasswordvue_type_script_lang_js_extends({}, rules.phone, {
48136
+ }, resetPasswordvue_type_script_lang_js_extends({}, utils_rules.phone, {
48060
48137
  trigger: 'blur'
48061
48138
  })]
48062
48139
  }, {
@@ -48822,6 +48899,10 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
48822
48899
  //
48823
48900
  //
48824
48901
  //
48902
+ //
48903
+ //
48904
+ //
48905
+ //
48825
48906
 
48826
48907
 
48827
48908
 
@@ -48857,8 +48938,12 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
48857
48938
  loginBackground: [String, Array],
48858
48939
  loginImage: [String, Array],
48859
48940
  loginLogo: String,
48941
+ loginTitle: String,
48860
48942
  loginName: String,
48861
- type: String,
48943
+ type: {
48944
+ type: String,
48945
+ default: '0'
48946
+ },
48862
48947
  //是否加密传输
48863
48948
  isEncrypt: {
48864
48949
  type: Boolean,
@@ -48884,7 +48969,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
48884
48969
  default: function _default() {
48885
48970
  return {
48886
48971
  placeholder: '请输入手机号',
48887
- rules: [{ required: true, message: '手机号不能为空', trigger: 'change' }, login_src_mainvue_type_script_lang_js_extends({}, rules.phone, {
48972
+ rules: [{ required: true, message: '手机号不能为空', trigger: 'change' }, login_src_mainvue_type_script_lang_js_extends({}, utils_rules.phone, {
48888
48973
  trigger: 'change'
48889
48974
  })]
48890
48975
  };
@@ -49020,6 +49105,13 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
49020
49105
  },
49021
49106
  computed: {
49022
49107
  transform: function transform() {
49108
+ if (this.align.indexOf('%') > -1) {
49109
+ return {
49110
+ left: this.align,
49111
+ top: '50%',
49112
+ transform: 'translateY(-51%)'
49113
+ };
49114
+ }
49023
49115
  if (this.align === 'left') {
49024
49116
  return {
49025
49117
  left: '30%',
@@ -49056,26 +49148,20 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
49056
49148
  loginNameUrl: function loginNameUrl() {
49057
49149
  return this.loginNameImg ? this.loginNameImg : this.loginName;
49058
49150
  },
49151
+ loginTitleUrl: function loginTitleUrl() {
49152
+ return this.loginTitleImg ? this.loginTitleImg : this.loginTitle;
49153
+ },
49059
49154
  loginLogoUrl: function loginLogoUrl() {
49060
49155
  return this.loginLogoImg ? this.loginLogoImg : this.loginLogo;
49061
49156
  },
49062
49157
  warnInfo: function warnInfo() {
49063
49158
  return this.warning === false ? false : typeof this.warning === 'string' ? this.warning : '本系统为非涉密系统,禁止上传和处理任何涉密文件';
49064
49159
  },
49065
- loginType: function loginType() {
49066
- if (this.type) {
49067
- return this.type;
49068
- }
49069
- if (this.loginModel) {
49070
- return this.loginModel;
49071
- }
49072
- return '0';
49073
- },
49074
49160
  switchs: function switchs() {
49075
- return Array.isArray(this.loginType) ? this.loginType.length : this.loginType.split(',').length;
49161
+ return Array.isArray(this.loginModel) ? this.loginModel.length : this.loginModel.split(',').length;
49076
49162
  },
49077
49163
  iconfonts: function iconfonts() {
49078
- var types = this.loginType.split(',');
49164
+ var types = this.loginModel.split(',');
49079
49165
  return types.length > 2 ? {
49080
49166
  0: { type: '0', icon: 'es-icon-shuru', name: '账号登录' },
49081
49167
  1: { type: '1', icon: 'es-icon-usb-key', name: '证书登录' },
@@ -49104,7 +49190,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
49104
49190
  var _this = this;
49105
49191
 
49106
49192
  var icon = [];
49107
- var types = this.loginType.split(',');
49193
+ var types = this.loginModel.split(',');
49108
49194
  types.forEach(function (item) {
49109
49195
  icon.push(_this.iconfonts[item]);
49110
49196
  });
@@ -49121,7 +49207,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
49121
49207
  }
49122
49208
  },
49123
49209
  watch: {
49124
- loginType: {
49210
+ loginModel: {
49125
49211
  immediate: true,
49126
49212
  handler: function handler(val) {
49127
49213
  this.active = val.split(',')[0];
@@ -49173,8 +49259,9 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
49173
49259
  loginBackgroundImg: null,
49174
49260
  loginMainImg: null,
49175
49261
  loginNameImg: null,
49262
+ loginTitleImg: null,
49176
49263
  loginLogoImg: null,
49177
- loginModel: null,
49264
+ loginModel: this.type,
49178
49265
  passModifyModel: null,
49179
49266
  active: 0,
49180
49267
  submit: false,
@@ -49378,7 +49465,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
49378
49465
  this.$emit('change-type', res, this.identifyingId);
49379
49466
  },
49380
49467
  isShow: function isShow(res) {
49381
- return this.loginType.indexOf(res) > -1;
49468
+ return this.loginModel.indexOf(res) > -1;
49382
49469
  },
49383
49470
  getLogin: function getLogin() {
49384
49471
  var _this3 = this;
@@ -49416,8 +49503,11 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
49416
49503
  if (res.androidDownloadUrl) {
49417
49504
  downloads['android'] = res.androidDownloadUrl;
49418
49505
  }
49419
- if (res.iosDownloadUrl || res.iosDownloadUrl2) {
49420
- downloads['ios'] = res.iosDownloadUrl || res.iosDownloadUrl2;
49506
+ if (res.iosDownloadUrl) {
49507
+ downloads['ios'] = res.iosDownloadUrl;
49508
+ }
49509
+ if (res.iosDownloadUrl2) {
49510
+ downloads['pad'] = res.iosDownloadUrl2;
49421
49511
  }
49422
49512
  if (res.macDownloadUrl) {
49423
49513
  downloads['mac'] = res.macDownloadUrl;
@@ -49434,8 +49524,12 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
49434
49524
  this.downloadSetup = res.downloadSetup;
49435
49525
  document.title = res.subsystemName;
49436
49526
  this.app = res.appName || res.subsystemName;
49437
- this.qrimg = res.qrimg || res.qrImg;
49438
- this.loginModel = res.loginModel;
49527
+ if (res.qrimg || res.qrImg) {
49528
+ this.qrimg = res.qrimg || res.qrImg;
49529
+ }
49530
+ if (res.loginModel) {
49531
+ this.loginModel = res.loginModel;
49532
+ }
49439
49533
  this.loginBackgroundImg = res.loginBackgroundUrl ? res.loginBackgroundUrl.split(',') : null;
49440
49534
  this.loginLogoImg = res.loginLogoUrl ? res.loginLogoUrl : null;
49441
49535
  res.loginPage && sessionStorage.setItem('loginPage', res.loginPage);
@@ -49449,8 +49543,15 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
49449
49543
  if (res.subsystemExtend.applicationName) {
49450
49544
  localStorage.setItem('appcode', res.subsystemExtend.applicationName);
49451
49545
  }
49452
- this.loginMainImg = res.subsystemExtend.loginBoxBackground ? res.subsystemExtend.loginBoxBackground.split(',') : null;
49453
- this.loginNameImg = res.subsystemExtend.loginBoxName ? res.subsystemExtend.loginBoxName.split(',') : null;
49546
+ if (res.subsystemExtend.loginBoxBackgroun) {
49547
+ this.loginMainImg = res.subsystemExtend.loginBoxBackground.split(',');
49548
+ }
49549
+ if (res.subsystemExtend.loginBoxTitle) {
49550
+ this.loginTitleImg = res.subsystemExtend.loginBoxTitle;
49551
+ }
49552
+ if (res.subsystemExtend.loginBoxName) {
49553
+ this.loginNameImg = res.subsystemExtend.loginBoxName;
49554
+ }
49454
49555
  if (res.subsystemExtend.loginBoxAlign && this.useResults) {
49455
49556
  this.align = res.subsystemExtend.loginBoxAlign;
49456
49557
  }
@@ -49910,8 +50011,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
49910
50011
 
49911
50012
  var login_src_main_component = normalizeComponent(
49912
50013
  packages_login_src_mainvue_type_script_lang_js_,
49913
- mainvue_type_template_id_1fd3e269_render,
49914
- mainvue_type_template_id_1fd3e269_staticRenderFns,
50014
+ mainvue_type_template_id_44930eda_render,
50015
+ mainvue_type_template_id_44930eda_staticRenderFns,
49915
50016
  false,
49916
50017
  null,
49917
50018
  null,
@@ -49928,8 +50029,8 @@ login_src_main.install = function (Vue) {
49928
50029
  };
49929
50030
 
49930
50031
  /* harmony default export */ var login = (login_src_main);
49931
- // 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=fa469480&
49932
- var mainvue_type_template_id_fa469480_render = function () {
50032
+ // 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=5b54252b&
50033
+ var mainvue_type_template_id_5b54252b_render = function () {
49933
50034
  var _vm = this
49934
50035
  var _h = _vm.$createElement
49935
50036
  var _c = _vm._self._c || _h
@@ -50330,6 +50431,7 @@ var mainvue_type_template_id_fa469480_render = function () {
50330
50431
  "userinfo",
50331
50432
  _vm._b(
50332
50433
  {
50434
+ attrs: { contents: _vm.userInfoContents },
50333
50435
  on: {
50334
50436
  change: _vm.handleUserModel,
50335
50437
  reGetConfig: _vm.reGetConfig,
@@ -50355,14 +50457,14 @@ var mainvue_type_template_id_fa469480_render = function () {
50355
50457
  1
50356
50458
  )
50357
50459
  }
50358
- var mainvue_type_template_id_fa469480_staticRenderFns = []
50359
- mainvue_type_template_id_fa469480_render._withStripped = true
50460
+ var mainvue_type_template_id_5b54252b_staticRenderFns = []
50461
+ mainvue_type_template_id_5b54252b_render._withStripped = true
50360
50462
 
50361
50463
 
50362
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=fa469480&
50464
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=5b54252b&
50363
50465
 
50364
- // 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=fc09aaf8&
50365
- var userinfovue_type_template_id_fc09aaf8_render = function () {
50466
+ // 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=75d533de&
50467
+ var userinfovue_type_template_id_75d533de_render = function () {
50366
50468
  var _vm = this
50367
50469
  var _h = _vm.$createElement
50368
50470
  var _c = _vm._self._c || _h
@@ -50378,13 +50480,15 @@ var userinfovue_type_template_id_fc09aaf8_render = function () {
50378
50480
  2
50379
50481
  )
50380
50482
  }
50381
- var userinfovue_type_template_id_fc09aaf8_staticRenderFns = []
50382
- userinfovue_type_template_id_fc09aaf8_render._withStripped = true
50483
+ var userinfovue_type_template_id_75d533de_staticRenderFns = []
50484
+ userinfovue_type_template_id_75d533de_render._withStripped = true
50383
50485
 
50384
50486
 
50385
- // CONCATENATED MODULE: ./packages/main/src/userinfo.vue?vue&type=template&id=fc09aaf8&
50487
+ // CONCATENATED MODULE: ./packages/main/src/userinfo.vue?vue&type=template&id=75d533de&
50386
50488
 
50387
50489
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=script&lang=js&
50490
+ var userinfovue_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; };
50491
+
50388
50492
  //
50389
50493
  //
50390
50494
  //
@@ -50413,6 +50517,102 @@ userinfovue_type_template_id_fc09aaf8_render._withStripped = true
50413
50517
  secret: {
50414
50518
  type: Boolean,
50415
50519
  default: true
50520
+ },
50521
+ contents: {
50522
+ type: Array,
50523
+ default: function _default() {
50524
+ return [{
50525
+ title: '用户信息',
50526
+ contents: [{
50527
+ type: 'upload',
50528
+ name: 'userHeadUrl',
50529
+ label: '头像',
50530
+ portrait: true,
50531
+ code: 'USER_IMG',
50532
+ col: 12,
50533
+ weixinQrcode: true,
50534
+ class: 'es-flex-none'
50535
+ }, {
50536
+ type: 'select',
50537
+ name: 'job',
50538
+ label: '切换职务',
50539
+ valueType: 'object',
50540
+ class: 'es-user-info-job',
50541
+ row: true,
50542
+ col: 12
50543
+ }, {
50544
+ name: 'orgName',
50545
+ label: '所属机构',
50546
+ type: 'text',
50547
+ disabled: true,
50548
+ col: 6
50549
+ }, {
50550
+ name: 'depName',
50551
+ label: '所属部门',
50552
+ type: 'text',
50553
+ disabled: true,
50554
+ col: 6
50555
+ }, {
50556
+ name: 'idCard',
50557
+ label: '身份证号',
50558
+ type: 'text',
50559
+ disabled: true,
50560
+ col: 6
50561
+ }, {
50562
+ name: 'outCode',
50563
+ label: '工号',
50564
+ type: 'text',
50565
+ disabled: true,
50566
+ col: 6
50567
+ }, {
50568
+ name: 'phone',
50569
+ placeholder: '联系电话',
50570
+ label: '联系电话',
50571
+ type: 'text',
50572
+ col: 6
50573
+ }, {
50574
+ name: 'email',
50575
+ placeholder: '电子邮箱',
50576
+ label: '电子邮箱',
50577
+ type: 'text',
50578
+ rules: {
50579
+ type: 'email',
50580
+ message: '请输入正确的邮箱地址',
50581
+ trigger: 'blur'
50582
+ },
50583
+ col: 6
50584
+ }, {
50585
+ name: 'officetel',
50586
+ placeholder: '座机号',
50587
+ label: '座机号',
50588
+ type: 'text',
50589
+ rules: {
50590
+ type: 'telephone'
50591
+ //message: '请输入正确的邮箱地址',
50592
+ //trigger: 'blur'
50593
+ },
50594
+ col: 6
50595
+ }, {
50596
+ name: 'oldpassword',
50597
+ placeholder: '旧密码',
50598
+ label: '旧密码',
50599
+ type: 'text',
50600
+ col: 6
50601
+ }, {
50602
+ name: 'password',
50603
+ placeholder: '新密码',
50604
+ label: '新密码',
50605
+ type: 'text',
50606
+ col: 6
50607
+ }, {
50608
+ name: 'repassword',
50609
+ placeholder: '确认新密码',
50610
+ label: '确认新密码',
50611
+ type: 'text',
50612
+ col: 6
50613
+ }]
50614
+ }];
50615
+ }
50416
50616
  }
50417
50617
  },
50418
50618
  data: function data() {
@@ -50441,123 +50641,52 @@ userinfovue_type_template_id_fc09aaf8_render._withStripped = true
50441
50641
 
50442
50642
  computed: {
50443
50643
  forms: function forms() {
50444
- var page = [{
50445
- title: '用户信息',
50446
- contents: [{
50447
- type: 'upload',
50448
- name: 'userHeadUrl',
50449
- label: '头像',
50450
- portrait: true,
50451
- code: 'USER_IMG',
50452
- ownId: utils_store.get('userModel').personId,
50453
- onSuccess: this.handleUploadSuccess,
50454
- col: 12,
50455
- class: 'es-flex-none',
50456
- inline: this.qrcode ? {
50457
- range: false,
50458
- class: 'weixinQrcode',
50459
- type: 'image',
50460
- url: this.qrcode,
50461
- event: this.getQrcode
50462
- } : ''
50463
- },
50464
- // {
50465
- // type: 'upload',
50466
- // name: 'userQrcode',
50467
- // // label: '微信二维码',
50468
- // portrait: true,
50469
- // code: 'USER_IMG',
50470
- // ownId: 'ddd',
50471
- // class: 'es-qrcode',
50472
- // col: 12
50473
- // },
50474
- {
50475
- type: 'select',
50476
- name: 'job',
50477
- label: '切换职务',
50478
- valueType: 'object',
50479
- data: utils_store.get('userModel').identityList,
50480
- class: 'es-user-info-job',
50481
- row: true,
50482
- col: 12
50483
- }, {
50484
- name: 'orgName',
50485
- label: '所属机构',
50486
- type: 'text',
50487
- disabled: true,
50488
- col: 6
50489
- }, {
50490
- name: 'depName',
50491
- label: '所属部门',
50492
- type: 'text',
50493
- disabled: true,
50494
- col: 6
50495
- }, {
50496
- name: 'idCard',
50497
- label: '身份证号',
50498
- type: 'text',
50499
- disabled: true,
50500
- row: true,
50501
- col: 12
50502
- }, {
50503
- name: 'phone',
50504
- placeholder: '联系电话',
50505
- label: '联系电话',
50506
- type: 'text',
50507
- col: 6
50508
- }, {
50509
- name: 'email',
50510
- placeholder: '电子邮箱',
50511
- label: '电子邮箱',
50512
- type: 'text',
50513
- rules: {
50514
- type: 'email',
50515
- message: '请输入正确的邮箱地址',
50516
- trigger: 'blur'
50517
- },
50518
- col: 6
50519
- }, {
50520
- name: 'officetel',
50521
- placeholder: '座机号',
50522
- label: '座机号',
50523
- type: 'text',
50524
- rules: {
50525
- type: 'telephone'
50526
- //message: '请输入正确的邮箱地址',
50527
- //trigger: 'blur'
50528
- },
50529
- col: 6
50530
- }, {
50531
- name: 'oldpassword',
50532
- placeholder: '旧密码',
50533
- label: '旧密码',
50534
- rules: this.values.password ? { required: true, message: '请输入旧密码' } : {},
50535
- type: 'text',
50536
- col: 6
50537
- }, {
50538
- name: 'password',
50539
- placeholder: '新密码',
50540
- label: '新密码',
50541
- type: 'text',
50542
- rules: [this.checkPassword ? {
50543
- pattern: this.checkPassword,
50544
- message: this.checkPasswordMsg ? this.checkPasswordMsg : '密码格式不合法',
50545
- trigger: 'blur'
50546
- } : {}],
50547
- col: 6
50548
- }, {
50549
- name: 'repassword',
50550
- placeholder: '确认新密码',
50551
- label: '确认新密码',
50552
- type: 'text',
50553
- rules: [this.checkPassword ? {
50554
- pattern: this.checkPassword,
50555
- message: this.checkPasswordMsg ? this.checkPasswordMsg : '密码格式不合法',
50556
- trigger: 'blur'
50557
- } : {}, { validator: this.repassword, trigger: 'blur' }],
50558
- col: 6
50559
- }]
50560
- }];
50644
+ var page = JSON.parse(JSON.stringify(this.contents));
50645
+ for (var i = 0; i < page.length; i++) {
50646
+ for (var x = 0; x < page[i].contents.length; x++) {
50647
+ var item = page[i].contents[x];
50648
+ if (item.name == 'userHeadUrl') {
50649
+ page[i].contents[x].ownId = utils_store.get('userModel').personId;
50650
+ page[i].contents[x].onSuccess = this.handleUploadSuccess;
50651
+ if (item.weixinQrcode && this.qrcode) {
50652
+ page[i].contents[x].inline = {
50653
+ range: false,
50654
+ class: 'weixinQrcode',
50655
+ type: 'image',
50656
+ url: this.qrcode,
50657
+ event: this.getQrcode
50658
+ };
50659
+ }
50660
+ }
50661
+ if (item.name == 'job') {
50662
+ page[i].contents[x].data = utils_store.get('userModel').identityList;
50663
+ }
50664
+ if (item.name == 'oldpassword') {
50665
+ page[i].contents[x].rules = {
50666
+ required: true,
50667
+ message: '请输入旧密码'
50668
+ };
50669
+ }
50670
+ if (item.name == 'password' && this.checkPassword) {
50671
+ page[i].contents[x].rules = {
50672
+ pattern: this.checkPassword,
50673
+ message: this.checkPasswordMsg ? this.checkPasswordMsg : '密码格式不合法',
50674
+ trigger: 'blur'
50675
+ };
50676
+ }
50677
+ if (item.name == 'repassword') {
50678
+ var rules = [{ validator: this.repassword, trigger: 'blur' }];
50679
+ if (this.checkPassword) {
50680
+ rules.push({
50681
+ pattern: this.checkPassword,
50682
+ message: this.checkPasswordMsg ? this.checkPasswordMsg : '密码格式不合法',
50683
+ trigger: 'blur'
50684
+ });
50685
+ }
50686
+ page[i].contents[x].rules = rules;
50687
+ }
50688
+ }
50689
+ }
50561
50690
  if (this.showNotify) {
50562
50691
  page.push({
50563
50692
  title: '接收消息类型',
@@ -50615,12 +50744,13 @@ userinfovue_type_template_id_fc09aaf8_render._withStripped = true
50615
50744
  _this2.checkPasswordMsg = results.checkPasswordMsg;
50616
50745
  }
50617
50746
  _this2.results = results.simpleUserInfo;
50618
- _this2.values.orgName = results.simpleUserInfo.orgName;
50619
- _this2.values.depName = results.simpleUserInfo.depName;
50620
- _this2.values.idCard = results.simpleUserInfo.idCard;
50621
- _this2.values.phone = results.simpleUserInfo.phone;
50622
- _this2.values.email = results.simpleUserInfo.email;
50623
- _this2.values.officeTel = results.simpleUserInfo.officeTel;
50747
+ _this2.values = userinfovue_type_script_lang_js_extends({}, _this2.values, results.simpleUserInfo);
50748
+ // this.values.orgName = results.simpleUserInfo.orgName;
50749
+ // this.values.depName = results.simpleUserInfo.depName;
50750
+ // this.values.idCard = results.simpleUserInfo.idCard;
50751
+ // this.values.phone = results.simpleUserInfo.phone;
50752
+ // this.values.email = results.simpleUserInfo.email;
50753
+ // this.values.officeTel = results.simpleUserInfo.officeTel;
50624
50754
  if (results.userScanBindImgUrl) {
50625
50755
  _this2.userScanBindImgUrl = results.userScanBindImgUrl;
50626
50756
  _this2.qrcode = utils_util["a" /* default */].getStorage('host') + results.userScanBindImgUrl;
@@ -50802,8 +50932,8 @@ userinfovue_type_template_id_fc09aaf8_render._withStripped = true
50802
50932
 
50803
50933
  var userinfo_component = normalizeComponent(
50804
50934
  src_userinfovue_type_script_lang_js_,
50805
- userinfovue_type_template_id_fc09aaf8_render,
50806
- userinfovue_type_template_id_fc09aaf8_staticRenderFns,
50935
+ userinfovue_type_template_id_75d533de_render,
50936
+ userinfovue_type_template_id_75d533de_staticRenderFns,
50807
50937
  false,
50808
50938
  null,
50809
50939
  null,
@@ -52403,6 +52533,7 @@ var main_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
52403
52533
  //
52404
52534
  //
52405
52535
  //
52536
+ //
52406
52537
 
52407
52538
 
52408
52539
 
@@ -52438,10 +52569,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
52438
52569
  //菜单展开关闭
52439
52570
  icons: Object,
52440
52571
  //logo
52441
- logo: {
52442
- type: String,
52443
- default: 'errorlogo'
52444
- },
52572
+ logo: String,
52445
52573
  //菜单显示类型
52446
52574
  scene: {
52447
52575
  type: String,
@@ -52780,6 +52908,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
52780
52908
  color: utils_util["a" /* default */].getStorage('theme') ? utils_util["a" /* default */].getStorage('theme') : this.theme,
52781
52909
  //显示用户信息
52782
52910
  showUserInfo: false,
52911
+ userInfoContents: undefined,
52783
52912
  //是否展示侧边导航
52784
52913
  showMenu: true,
52785
52914
  props: {},
@@ -53065,6 +53194,9 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
53065
53194
  this.color = color;
53066
53195
  }
53067
53196
  }
53197
+ if (i === 'subsystemExtend' && results[i].userInfoContents) {
53198
+ this.userInfoContents = results[i].userInfoContents;
53199
+ }
53068
53200
  if (i === 'subsystemExtend' && results[i].webPageWatermark) {
53069
53201
  try {
53070
53202
  utils_util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
@@ -53724,13 +53856,13 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
53724
53856
  case 'user':
53725
53857
  this.showUserInfo = true;
53726
53858
  break;
53727
- case 'online':
53728
- this.dialog = {
53729
- title: '查看在线人员',
53730
- show: true,
53731
- url: '/main/sysuseronline/list.dhtml'
53732
- };
53733
- break;
53859
+ // case 'online':
53860
+ // this.dialog = {
53861
+ // title: '查看在线人员',
53862
+ // show: true,
53863
+ // url: '/main/sysuseronline/list.dhtml'
53864
+ // };
53865
+ // break;
53734
53866
  case 'notice':
53735
53867
  this.showMsg = !this.showMsg;
53736
53868
  break;
@@ -53780,7 +53912,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
53780
53912
  utils_util["a" /* default */].win.open(page);
53781
53913
  } else if (type == 2) {
53782
53914
  location.href = page;
53783
- } else if (type == 3) {
53915
+ } else if (type == 3 || this.loadWujie === false || this.downgrade && isIE) {
53784
53916
  this.method = 'iframe';
53785
53917
  this.refresh = false;
53786
53918
  this.page = utils_util["a" /* default */].handlerUrl(page, param);
@@ -54035,9 +54167,10 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54035
54167
  clearTimeout(this.sysMsgOut);
54036
54168
  }
54037
54169
  },
54038
- handleDialog: function handleDialog(obj) {
54039
- this.dialog = obj;
54040
- },
54170
+
54171
+ // handleDialog(obj) {
54172
+ // this.dialog = obj;
54173
+ // },
54041
54174
  handleUserModel: function handleUserModel(name, val) {
54042
54175
  this.$set(this.userModel, name, val);
54043
54176
  },
@@ -54168,8 +54301,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54168
54301
 
54169
54302
  var main_src_main_component = normalizeComponent(
54170
54303
  packages_main_src_mainvue_type_script_lang_js_,
54171
- mainvue_type_template_id_fa469480_render,
54172
- mainvue_type_template_id_fa469480_staticRenderFns,
54304
+ mainvue_type_template_id_5b54252b_render,
54305
+ mainvue_type_template_id_5b54252b_staticRenderFns,
54173
54306
  false,
54174
54307
  null,
54175
54308
  null,
@@ -54398,7 +54531,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
54398
54531
  popper = this.popperClass !== undefined ? this.popperClass : ' es-menu-popper-' + this.mode;
54399
54532
  }
54400
54533
  var title = [h('i', {
54401
- class: [item.icons ? this.unicode(item.icons) ? item.icons : 'es-icons iconfont' : 'es-icon-application', 'es-menu-item-icon'],
54534
+ class: [item.icons ? this.unicode(item.icons) ? item.icons : 'es-icon iconfont' : 'es-icon-application', 'es-menu-item-icon'],
54402
54535
  domProps: item.icons === '' || this.unicode(item.icons) ? {} : { innerHTML: item.icons }
54403
54536
  }), h('div', {
54404
54537
  class: ['es-menu-title-text es-menu-title-' + this.mode]
@@ -54489,7 +54622,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
54489
54622
  doms = doms.concat(_this5.getSub(item, h, 'es-sub-menu'));
54490
54623
  } else {
54491
54624
  var title = [h('i', {
54492
- class: [item.icons ? _this5.unicode(item.icons) ? item.icons : 'es-icons iconfont' : 'es-icon-application', 'es-menu-item-icon'],
54625
+ class: [item.icons ? _this5.unicode(item.icons) ? item.icons : 'es-icon iconfont' : 'es-icon-application', 'es-menu-item-icon'],
54493
54626
  domProps: item.icons === '' || _this5.unicode(item.icons) ? {} : { innerHTML: item.icons }
54494
54627
  }), h('div', {
54495
54628
  class: ['es-menu-title-text es-menu-title-' + _this5.mode]
@@ -56362,8 +56495,8 @@ player_src_main.install = function (Vue) {
56362
56495
  };
56363
56496
 
56364
56497
  /* harmony default export */ var player = (player_src_main);
56365
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/qr-code/src/main.vue?vue&type=template&id=31151606&
56366
- var mainvue_type_template_id_31151606_render = function () {
56498
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/qr-code/src/main.vue?vue&type=template&id=28375a46&
56499
+ var mainvue_type_template_id_28375a46_render = function () {
56367
56500
  var _vm = this
56368
56501
  var _h = _vm.$createElement
56369
56502
  var _c = _vm._self._c || _h
@@ -56376,13 +56509,6 @@ var mainvue_type_template_id_31151606_render = function () {
56376
56509
  staticClass: "es-qrcode-img",
56377
56510
  attrs: { width: _vm._width, height: _vm._height, alt: "二维码图片" },
56378
56511
  }),
56379
- _vm.logo
56380
- ? _c("img", {
56381
- ref: "qrcodeLogo",
56382
- staticClass: "es-qrcode-logo",
56383
- attrs: { src: _vm.logo, alt: "二维码logo" },
56384
- })
56385
- : _vm._e(),
56386
56512
  _c("canvas", {
56387
56513
  ref: "canvas",
56388
56514
  staticClass: "canvas",
@@ -56391,11 +56517,11 @@ var mainvue_type_template_id_31151606_render = function () {
56391
56517
  ]
56392
56518
  )
56393
56519
  }
56394
- var mainvue_type_template_id_31151606_staticRenderFns = []
56395
- mainvue_type_template_id_31151606_render._withStripped = true
56520
+ var mainvue_type_template_id_28375a46_staticRenderFns = []
56521
+ mainvue_type_template_id_28375a46_render._withStripped = true
56396
56522
 
56397
56523
 
56398
- // CONCATENATED MODULE: ./packages/qr-code/src/main.vue?vue&type=template&id=31151606&
56524
+ // CONCATENATED MODULE: ./packages/qr-code/src/main.vue?vue&type=template&id=28375a46&
56399
56525
 
56400
56526
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/qr-code/src/main.vue?vue&type=script&lang=js&
56401
56527
  //
@@ -56500,7 +56626,7 @@ var QRCode = __webpack_require__(24);
56500
56626
  var _this3 = this;
56501
56627
 
56502
56628
  var qrcodeImg = this.$refs.qrcodeImg;
56503
- var qrcodeLogo = this.$refs.qrcodeLogo;
56629
+ //let qrcodeLogo = this.$refs.qrcodeLogo;
56504
56630
  var canvas = this.$refs.canvas;
56505
56631
  var option = utils_util["a" /* default */].extend({}, this.option, {
56506
56632
  width: this._width,
@@ -56518,6 +56644,8 @@ var QRCode = __webpack_require__(24);
56518
56644
  //获取图片
56519
56645
  ctx.drawImage(qrcodeImg, 0, 0, _this3._width, _this3._height);
56520
56646
  if (_this3.logo && _this3.logo.indexOf('.') > -1) {
56647
+ var logo = new Image();
56648
+ logo.src = _this3.logo;
56521
56649
  //设置logo大小
56522
56650
  var logoPosition = (_this3._width - 46) / 2; //logo相对于canvas居中定位
56523
56651
  //设置获取的logo将其变为圆角以及添加白色背景
@@ -56535,7 +56663,10 @@ var QRCode = __webpack_require__(24);
56535
56663
  ctx.arcTo(x, y, x + w, y, r);
56536
56664
  ctx.closePath();
56537
56665
  ctx.fill(); */
56538
- ctx.drawImage(qrcodeLogo, logoPosition, logoPosition, 46, 46);
56666
+ logo.onload = function () {
56667
+ ctx.drawImage(logo, logoPosition, logoPosition, 46, 46);
56668
+ qrcodeImg.src = canvas.toDataURL();
56669
+ };
56539
56670
  } else if (_this3.text) {
56540
56671
  //设置字体
56541
56672
  var fpadd = 10; //规定内间距
@@ -56571,8 +56702,8 @@ var QRCode = __webpack_require__(24);
56571
56702
 
56572
56703
  var qr_code_src_main_component = normalizeComponent(
56573
56704
  packages_qr_code_src_mainvue_type_script_lang_js_,
56574
- mainvue_type_template_id_31151606_render,
56575
- mainvue_type_template_id_31151606_staticRenderFns,
56705
+ mainvue_type_template_id_28375a46_render,
56706
+ mainvue_type_template_id_28375a46_staticRenderFns,
56576
56707
  false,
56577
56708
  null,
56578
56709
  null,
@@ -71836,20 +71967,20 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
71836
71967
  if (item.required) {
71837
71968
  _this2.required = item.required;
71838
71969
  }
71839
- if (rules[item.type]) {
71970
+ if (utils_rules[item.type]) {
71840
71971
  return {
71841
- pattern: rules[item.type]['pattern'],
71842
- message: item.message ? item.message : rules[item.type]['message'],
71972
+ pattern: utils_rules[item.type]['pattern'],
71973
+ message: item.message ? item.message : utils_rules[item.type]['message'],
71843
71974
  trigger: item.trigger ? item.trigger : res.fetchSuggestions || res.url || res.data && res.data.length ? 'change' : 'blur'
71844
71975
  };
71845
71976
  }
71846
71977
  return item;
71847
71978
  });
71848
71979
  }
71849
- if (rules[res.rules.type]) {
71980
+ if (utils_rules[res.rules.type]) {
71850
71981
  return {
71851
- pattern: rules[res.rules.type]['pattern'],
71852
- message: res.rules.message ? res.rules.message : rules[res.rules.type]['message'],
71982
+ pattern: utils_rules[res.rules.type]['pattern'],
71983
+ message: res.rules.message ? res.rules.message : utils_rules[res.rules.type]['message'],
71853
71984
  trigger: res.rules.trigger ? res.rules.trigger : res.fetchSuggestions || res.url || res.data && res.data.length ? 'change' : 'blur'
71854
71985
  };
71855
71986
  }
@@ -73935,7 +74066,7 @@ if (typeof window !== 'undefined' && window.Vue) {
73935
74066
  }
73936
74067
 
73937
74068
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
73938
- version: '0.5.62',
74069
+ version: '0.5.64',
73939
74070
  install: install,
73940
74071
  Button: packages_button,
73941
74072
  ButtonGroup: button_group,