eoss-ui 0.6.29 → 0.6.31

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 (67) hide show
  1. package/lib/button-group.js +1 -1
  2. package/lib/button.js +1 -1
  3. package/lib/checkbox-group.js +1 -1
  4. package/lib/data-table-form.js +1 -1
  5. package/lib/data-table.js +1 -1
  6. package/lib/date-picker.js +1 -1
  7. package/lib/dialog.js +1 -1
  8. package/lib/eoss-ui.common.js +105 -74
  9. package/lib/flow-group.js +1 -1
  10. package/lib/flow-list.js +1 -1
  11. package/lib/flow.js +1 -1
  12. package/lib/form.js +1 -1
  13. package/lib/handle-user.js +1 -1
  14. package/lib/handler.js +1 -1
  15. package/lib/icon.js +1 -1
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +1 -1
  18. package/lib/input.js +1 -1
  19. package/lib/login.js +10 -7
  20. package/lib/main.js +75 -48
  21. package/lib/nav.js +1 -1
  22. package/lib/page.js +1 -1
  23. package/lib/pagination.js +1 -1
  24. package/lib/player.js +1 -1
  25. package/lib/qr-code.js +1 -1
  26. package/lib/radio-group.js +1 -1
  27. package/lib/retrial-auth.js +1 -1
  28. package/lib/select-ganged.js +1 -1
  29. package/lib/select.js +1 -1
  30. package/lib/selector-panel.js +1 -1
  31. package/lib/selector.js +1 -1
  32. package/lib/sizer.js +1 -1
  33. package/lib/steps.js +1 -1
  34. package/lib/switch.js +1 -1
  35. package/lib/table-form.js +1 -1
  36. package/lib/tabs.js +1 -1
  37. package/lib/theme-chalk/index.css +1 -1
  38. package/lib/theme-chalk/main.css +1 -1
  39. package/lib/theme-chalk/simplicity.css +1 -1
  40. package/lib/tips.js +1 -1
  41. package/lib/tree-group.js +1 -1
  42. package/lib/tree.js +1 -1
  43. package/lib/upload.js +14 -13
  44. package/lib/utils/util.js +1 -1
  45. package/lib/wujie.js +1 -1
  46. package/lib/wxlogin.js +1 -1
  47. package/package.json +1 -1
  48. package/packages/.DS_Store +0 -0
  49. package/packages/checkbox-group/.DS_Store +0 -0
  50. package/packages/data-table/.DS_Store +0 -0
  51. package/packages/dialog/.DS_Store +0 -0
  52. package/packages/handler/.DS_Store +0 -0
  53. package/packages/login/.DS_Store +0 -0
  54. package/packages/login/src/main.vue +13 -5
  55. package/packages/main/.DS_Store +0 -0
  56. package/packages/main/src/.DS_Store +0 -0
  57. package/packages/main/src/default/index.vue +5 -5
  58. package/packages/main/src/simplicity/index.vue +26 -6
  59. package/packages/theme-chalk/lib/index.css +1 -1
  60. package/packages/theme-chalk/lib/main.css +1 -1
  61. package/packages/theme-chalk/lib/simplicity.css +1 -1
  62. package/packages/theme-chalk/src/.DS_Store +0 -0
  63. package/packages/theme-chalk/src/simplicity.scss +6 -0
  64. package/packages/upload/src/main.vue +10 -9
  65. package/src/.DS_Store +0 -0
  66. package/src/index.js +157 -157
  67. package/src/utils/util.js +0 -1
@@ -258,7 +258,7 @@ var ajax = function ajax(_ref) {
258
258
  }
259
259
  if (response.status === 200) {
260
260
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
261
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
261
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
262
  var href = '';
263
263
  try {
264
264
  href = win.top.location.href;
package/lib/button.js CHANGED
@@ -259,7 +259,7 @@ var ajax = function ajax(_ref) {
259
259
  }
260
260
  if (response.status === 200) {
261
261
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
262
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
263
263
  var href = '';
264
264
  try {
265
265
  href = win.top.location.href;
@@ -258,7 +258,7 @@ var ajax = function ajax(_ref) {
258
258
  }
259
259
  if (response.status === 200) {
260
260
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
261
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
261
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
262
  var href = '';
263
263
  try {
264
264
  href = win.top.location.href;
@@ -258,7 +258,7 @@ var ajax = function ajax(_ref) {
258
258
  }
259
259
  if (response.status === 200) {
260
260
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
261
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
261
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
262
  var href = '';
263
263
  try {
264
264
  href = win.top.location.href;
package/lib/data-table.js CHANGED
@@ -258,7 +258,7 @@ var ajax = function ajax(_ref) {
258
258
  }
259
259
  if (response.status === 200) {
260
260
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
261
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
261
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
262
  var href = '';
263
263
  try {
264
264
  href = win.top.location.href;
@@ -259,7 +259,7 @@ var ajax = function ajax(_ref) {
259
259
  }
260
260
  if (response.status === 200) {
261
261
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
262
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
263
263
  var href = '';
264
264
  try {
265
265
  href = win.top.location.href;
package/lib/dialog.js CHANGED
@@ -258,7 +258,7 @@ var ajax = function ajax(_ref) {
258
258
  }
259
259
  if (response.status === 200) {
260
260
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
261
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
261
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
262
  var href = '';
263
263
  try {
264
264
  href = win.top.location.href;
@@ -258,7 +258,7 @@ var ajax = function ajax(_ref) {
258
258
  }
259
259
  if (response.status === 200) {
260
260
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
261
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
261
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
262
  var href = '';
263
263
  try {
264
264
  href = win.top.location.href;
@@ -41735,8 +41735,8 @@ layout_src_main.install = function (Vue) {
41735
41735
  };
41736
41736
 
41737
41737
  /* harmony default export */ var packages_layout = (layout_src_main);
41738
- // 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=2556860e&
41739
- var mainvue_type_template_id_2556860e_render = function () {
41738
+ // 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=1bcb85a7&
41739
+ var mainvue_type_template_id_1bcb85a7_render = function () {
41740
41740
  var _vm = this
41741
41741
  var _h = _vm.$createElement
41742
41742
  var _c = _vm._self._c || _h
@@ -42869,7 +42869,7 @@ var mainvue_type_template_id_2556860e_render = function () {
42869
42869
  )
42870
42870
  : _vm._e()
42871
42871
  }
42872
- var mainvue_type_template_id_2556860e_staticRenderFns = [
42872
+ var mainvue_type_template_id_1bcb85a7_staticRenderFns = [
42873
42873
  function () {
42874
42874
  var _vm = this
42875
42875
  var _h = _vm.$createElement
@@ -42884,10 +42884,10 @@ var mainvue_type_template_id_2556860e_staticRenderFns = [
42884
42884
  ])
42885
42885
  },
42886
42886
  ]
42887
- mainvue_type_template_id_2556860e_render._withStripped = true
42887
+ mainvue_type_template_id_1bcb85a7_render._withStripped = true
42888
42888
 
42889
42889
 
42890
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=2556860e&
42890
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=1bcb85a7&
42891
42891
 
42892
42892
  // 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&
42893
42893
  var resetPasswordvue_type_template_id_45dccfdc_render = function () {
@@ -44255,7 +44255,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
44255
44255
  return { 'background-image': 'url(' + img + ')' };
44256
44256
  },
44257
44257
  showForget: function showForget() {
44258
- return this.forget && typeof this.forget === 'string' ? true : this.forget === true && (this.loginModel.indexOf('11') > -1 || this.loginModel.indexOf('6') > -1);
44258
+ return this.forgetUrl && typeof this.forgetUrl === 'string' ? true : this.forgetUrl === true && (this.loginModel.indexOf('11') > -1 || this.loginModel.indexOf('6') > -1);
44259
44259
  }
44260
44260
  },
44261
44261
  watch: {
@@ -44712,7 +44712,10 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
44712
44712
  res.loginPage && sessionStorage.setItem('loginPage', res.loginPage);
44713
44713
  if (res.subsystemExtend && Object.keys(res.subsystemExtend).length) {
44714
44714
  this.icpInfo = res.subsystemExtend;
44715
- this.forgetUrl = res.subsystemExtend.look_pass_url;
44715
+ //忘记密码地址
44716
+ if (res.subsystemExtend.forgetPassUrl || res.subsystemExtend.look_pass_url) {
44717
+ this.forgetUrl = res.subsystemExtend.forgetPassUrl || res.subsystemExtend.look_pass_url;
44718
+ }
44716
44719
  res.subsystemExtend.loginPage && sessionStorage.setItem('loginPage', res.subsystemExtend.loginPage);
44717
44720
  if (res.subsystemExtend.login_url) {
44718
44721
  this.actionUrl = res.subsystemExtend.login_url;
@@ -45002,7 +45005,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
45002
45005
  });
45003
45006
  },
45004
45007
  handleForget: function handleForget() {
45005
- if (typeof this.forget === 'string') {
45008
+ if (typeof this.forgetUrl === 'string') {
45006
45009
  utils_util["a" /* default */].win.open(this.forgetUrl);
45007
45010
  } else {
45008
45011
  this.showResetPassword = true;
@@ -45125,7 +45128,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
45125
45128
  type: 'warning'
45126
45129
  }).then(function () {
45127
45130
  _this12.operationCheckCode = results.checkCode;
45128
- if (typeof _this12.forget === 'string') {
45131
+ if (typeof _this12.forgetUrl === 'string') {
45129
45132
  utils_util["a" /* default */].win.open(_this12.forgetUrl);
45130
45133
  } else {
45131
45134
  _this12.showResetPassword = true;
@@ -45252,8 +45255,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
45252
45255
 
45253
45256
  var login_src_main_component = normalizeComponent(
45254
45257
  packages_login_src_mainvue_type_script_lang_js_,
45255
- mainvue_type_template_id_2556860e_render,
45256
- mainvue_type_template_id_2556860e_staticRenderFns,
45258
+ mainvue_type_template_id_1bcb85a7_render,
45259
+ mainvue_type_template_id_1bcb85a7_staticRenderFns,
45257
45260
  false,
45258
45261
  null,
45259
45262
  null,
@@ -45370,8 +45373,8 @@ mainvue_type_template_id_43324a71_render._withStripped = true
45370
45373
 
45371
45374
  // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=43324a71&
45372
45375
 
45373
- // 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/index.vue?vue&type=template&id=8c17c664&scoped=true&
45374
- var simplicityvue_type_template_id_8c17c664_scoped_true_render = function () {
45376
+ // 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/index.vue?vue&type=template&id=41fb1477&scoped=true&
45377
+ var simplicityvue_type_template_id_41fb1477_scoped_true_render = function () {
45375
45378
  var _vm = this
45376
45379
  var _h = _vm.$createElement
45377
45380
  var _c = _vm._self._c || _h
@@ -45456,7 +45459,12 @@ var simplicityvue_type_template_id_8c17c664_scoped_true_render = function () {
45456
45459
  [
45457
45460
  _c(
45458
45461
  "el-badge",
45459
- _vm._b({}, "el-badge", _vm.getBadge(item), false),
45462
+ _vm._b(
45463
+ { staticClass: "es-simplicity-side-app-badge" },
45464
+ "el-badge",
45465
+ _vm.getBadge(item),
45466
+ false
45467
+ ),
45460
45468
  [
45461
45469
  _c("es-icon", {
45462
45470
  staticClass: "es-simplicity-side-app-icon",
@@ -46002,11 +46010,11 @@ var simplicityvue_type_template_id_8c17c664_scoped_true_render = function () {
46002
46010
  ),
46003
46011
  ])
46004
46012
  }
46005
- var simplicityvue_type_template_id_8c17c664_scoped_true_staticRenderFns = []
46006
- simplicityvue_type_template_id_8c17c664_scoped_true_render._withStripped = true
46013
+ var simplicityvue_type_template_id_41fb1477_scoped_true_staticRenderFns = []
46014
+ simplicityvue_type_template_id_41fb1477_scoped_true_render._withStripped = true
46007
46015
 
46008
46016
 
46009
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=8c17c664&scoped=true&
46017
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=41fb1477&scoped=true&
46010
46018
 
46011
46019
  // 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/avatar.vue?vue&type=template&id=e722b45c&scoped=true&
46012
46020
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -51582,6 +51590,9 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
51582
51590
  //
51583
51591
  //
51584
51592
  //
51593
+ //
51594
+ //
51595
+ //
51585
51596
 
51586
51597
 
51587
51598
 
@@ -52078,7 +52089,7 @@ var events = [function (tabs, index, that) {
52078
52089
  }
52079
52090
  if (results[i].webPageWatermark) {
52080
52091
  try {
52081
- utils_util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
52092
+ utils_util["a" /* default */].win.webPageWatermark = results[i].webPageWatermark;
52082
52093
  utils_util["a" /* default */].watermark(results[i].webPageWatermark);
52083
52094
  } catch (error) {
52084
52095
  utils_util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
@@ -52451,6 +52462,10 @@ var events = [function (tabs, index, that) {
52451
52462
  });
52452
52463
  if (flag) {
52453
52464
  this.$set(obj, 'tips', flag);
52465
+ this.setDot(this.userApps, obj.appCode);
52466
+ this.setDot(this.applications, obj.appCode);
52467
+ this.setDot(this.business, obj.appCode);
52468
+ this.setDot(this.systems, obj.appCode);
52454
52469
  return flag;
52455
52470
  }
52456
52471
  } else if (obj.fourthTabs && obj.fourthTabs.length) {
@@ -52460,6 +52475,10 @@ var events = [function (tabs, index, that) {
52460
52475
  });
52461
52476
  if (flag) {
52462
52477
  this.$set(obj, 'tips', flag);
52478
+ this.setDot(this.userApps, obj.appCode);
52479
+ this.setDot(this.applications, obj.appCode);
52480
+ this.setDot(this.business, obj.appCode);
52481
+ this.setDot(this.systems, obj.appCode);
52463
52482
  return flag;
52464
52483
  }
52465
52484
  } else {
@@ -52472,6 +52491,17 @@ var events = [function (tabs, index, that) {
52472
52491
  }
52473
52492
  return false;
52474
52493
  },
52494
+ setDot: function setDot(obj, code) {
52495
+ var _this4 = this;
52496
+
52497
+ if (Array.isArray(obj)) {
52498
+ obj.forEach(function (item) {
52499
+ _this4.setDot(item, code);
52500
+ });
52501
+ } else if (obj.code === code) {
52502
+ this.$set(obj, 'tips', true);
52503
+ }
52504
+ },
52475
52505
 
52476
52506
  /**
52477
52507
  * @desc:获取气泡提醒
@@ -52496,7 +52526,7 @@ var events = [function (tabs, index, that) {
52496
52526
  * @date 2024年9月7日
52497
52527
  **/
52498
52528
  initWebSocket: function initWebSocket() {
52499
- var _this4 = this;
52529
+ var _this5 = this;
52500
52530
 
52501
52531
  this.webSocket = utils_util["a" /* default */].socket({
52502
52532
  url: api["fc" /* wss */],
@@ -52506,33 +52536,33 @@ var events = [function (tabs, index, that) {
52506
52536
  for (var i in data) {
52507
52537
  if (data[i] !== null && data[i] !== undefined) {
52508
52538
  if (i === 'onlineUserNums' && data[i] > 0) {
52509
- _this4.userNums = data[i];
52539
+ _this5.userNums = data[i];
52510
52540
  }
52511
- if (i === 'sysMsgNums') {
52512
- _this4.notice = data[i];
52513
- if (_this4.showMsg) {
52514
- _this4.$refs.message.getMsg(true);
52541
+ if (i === 'sysMsgNums' && data[i] !== null) {
52542
+ _this5.notice = data[i];
52543
+ if (_this5.showMsg) {
52544
+ _this5.$refs.message.getMsg(true);
52515
52545
  }
52516
52546
  }
52517
- if (i === 'menuTipsMap') {
52518
- _this4.menuTips = data[i];
52547
+ if (i === 'menuTipsMap' && data[i] !== null) {
52548
+ _this5.menuTips = data[i];
52519
52549
  }
52520
- if (i === 'sysMsgList') {
52521
- _this4.sysMsg = data[i];
52522
- data[i] && data[i].length && _this4.$emit('bus-emit', 'waitdone');
52550
+ if (i === 'sysMsgList' && data[i] !== null) {
52551
+ _this5.sysMsg = data[i];
52552
+ data[i] && data[i].length && _this5.$emit('bus-emit', 'waitdone');
52523
52553
  }
52524
- if (i === 'extraData') {
52525
- _this4.extraData = data[i];
52554
+ if (i === 'extraData' && data[i] !== null) {
52555
+ _this5.extraData = data[i];
52526
52556
  }
52527
52557
  }
52528
52558
  }
52529
- if (_this4.$store) {
52559
+ if (_this5.$store) {
52530
52560
  try {
52531
- _this4.$store.commit('websocket', data);
52561
+ _this5.$store.commit('websocket', data);
52532
52562
  } catch (error) {}
52533
52563
  }
52534
- if (_this4.$eventBus) {
52535
- _this4.$eventBus.$emit('websocket', data);
52564
+ if (_this5.$eventBus) {
52565
+ _this5.$eventBus.$emit('websocket', data);
52536
52566
  }
52537
52567
  if (utils_util["a" /* default */].win.eventBus) {
52538
52568
  utils_util["a" /* default */].win.eventBus.$emit('websocket', data);
@@ -52941,7 +52971,7 @@ var events = [function (tabs, index, that) {
52941
52971
  * @date 2024年9月7日
52942
52972
  **/
52943
52973
  handleQuit: function handleQuit() {
52944
- var _this5 = this;
52974
+ var _this6 = this;
52945
52975
 
52946
52976
  this.$confirm('确定退出吗?', '退出系统', {
52947
52977
  confirmButtonText: '确定',
@@ -52951,8 +52981,8 @@ var events = [function (tabs, index, that) {
52951
52981
  utils_util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
52952
52982
  if (res.rCode == 0) {
52953
52983
  utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
52954
- if (_this5.onQuit && typeof _this5.onQuit === 'function') {
52955
- _this5.onQuit();
52984
+ if (_this6.onQuit && typeof _this6.onQuit === 'function') {
52985
+ _this6.onQuit();
52956
52986
  } else {
52957
52987
  try {
52958
52988
  var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
@@ -52990,7 +53020,7 @@ var events = [function (tabs, index, that) {
52990
53020
  }
52991
53021
  }).catch(function (err) {
52992
53022
  if (err.message && err.message !== 'canceled') {
52993
- _this5.$message.error(err.message);
53023
+ _this6.$message.error(err.message);
52994
53024
  }
52995
53025
  });
52996
53026
  }).catch(function (e) {});
@@ -53047,13 +53077,13 @@ var events = [function (tabs, index, that) {
53047
53077
  * @date 2024年9月7日
53048
53078
  **/
53049
53079
  handleOpened: function handleOpened(res) {
53050
- var _this6 = this;
53080
+ var _this7 = this;
53051
53081
 
53052
53082
  if (res === undefined) {
53053
53083
  this.sysMsg = [];
53054
53084
  } else if (res == false && this.sysMsg.length) {
53055
53085
  this.sysMsgOut = setTimeout(function () {
53056
- _this6.sysMsg = [];
53086
+ _this7.sysMsg = [];
53057
53087
  }, 3000);
53058
53088
  } else if (this.sysMsgOut) {
53059
53089
  clearTimeout(this.sysMsgOut);
@@ -53102,13 +53132,13 @@ var events = [function (tabs, index, that) {
53102
53132
 
53103
53133
  //监听改变菜单
53104
53134
  handleListener: function handleListener() {
53105
- var _this7 = this;
53135
+ var _this8 = this;
53106
53136
 
53107
53137
  utils_util["a" /* default */].win.addEventListener('message', function (e) {
53108
53138
  var msg = e.data;
53109
53139
  if (msg.key == 'jump_Menu') {
53110
53140
  var res = msg.data1;
53111
- _this7.jumpMenu(res);
53141
+ _this8.jumpMenu(res);
53112
53142
  }
53113
53143
  }, false);
53114
53144
  },
@@ -53142,18 +53172,18 @@ var events = [function (tabs, index, that) {
53142
53172
 
53143
53173
  var simplicity_component = normalizeComponent(
53144
53174
  src_simplicityvue_type_script_lang_js_,
53145
- simplicityvue_type_template_id_8c17c664_scoped_true_render,
53146
- simplicityvue_type_template_id_8c17c664_scoped_true_staticRenderFns,
53175
+ simplicityvue_type_template_id_41fb1477_scoped_true_render,
53176
+ simplicityvue_type_template_id_41fb1477_scoped_true_staticRenderFns,
53147
53177
  false,
53148
53178
  null,
53149
- "8c17c664",
53179
+ "41fb1477",
53150
53180
  null
53151
53181
 
53152
53182
  )
53153
53183
 
53154
53184
  /* harmony default export */ var simplicity = (simplicity_component.exports);
53155
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=ccc0ac68&
53156
- var defaultvue_type_template_id_ccc0ac68_render = function () {
53185
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=0e385525&
53186
+ var defaultvue_type_template_id_0e385525_render = function () {
53157
53187
  var _vm = this
53158
53188
  var _h = _vm.$createElement
53159
53189
  var _c = _vm._self._c || _h
@@ -53550,11 +53580,11 @@ var defaultvue_type_template_id_ccc0ac68_render = function () {
53550
53580
  1
53551
53581
  )
53552
53582
  }
53553
- var defaultvue_type_template_id_ccc0ac68_staticRenderFns = []
53554
- defaultvue_type_template_id_ccc0ac68_render._withStripped = true
53583
+ var defaultvue_type_template_id_0e385525_staticRenderFns = []
53584
+ defaultvue_type_template_id_0e385525_render._withStripped = true
53555
53585
 
53556
53586
 
53557
- // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=ccc0ac68&
53587
+ // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=0e385525&
53558
53588
 
53559
53589
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=b6520920&
53560
53590
  var userinfovue_type_template_id_b6520920_render = function () {
@@ -55646,7 +55676,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
55646
55676
  }
55647
55677
  if (results[i].webPageWatermark) {
55648
55678
  try {
55649
- utils_util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
55679
+ utils_util["a" /* default */].win.webPageWatermark = results[i].webPageWatermark;
55650
55680
  utils_util["a" /* default */].watermark(results[i].webPageWatermark);
55651
55681
  } catch (error) {
55652
55682
  utils_util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
@@ -56702,20 +56732,20 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
56702
56732
  if (i === 'onlineUserNums' && data[i] > 0) {
56703
56733
  _this11.online = data[i];
56704
56734
  }
56705
- if (i === 'sysMsgNums') {
56735
+ if (i === 'sysMsgNums' && data[i] !== null) {
56706
56736
  _this11.notice = data[i];
56707
56737
  if (_this11.showMsg) {
56708
56738
  _this11.$refs.message.getMsg(true);
56709
56739
  }
56710
56740
  }
56711
- if (i === 'menuTipsMap') {
56741
+ if (i === 'menuTipsMap' && data[i] !== null) {
56712
56742
  _this11.menuTips = data[i];
56713
56743
  }
56714
- if (i === 'sysMsgList') {
56744
+ if (i === 'sysMsgList' && data[i] !== null) {
56715
56745
  _this11.sysMsg = data[i];
56716
56746
  data[i] && data[i].length && _this11.$emit('bus-emit', 'waitdone');
56717
56747
  }
56718
- if (i === 'extraData') {
56748
+ if (i === 'extraData' && data[i] !== null) {
56719
56749
  _this11.extraData = data[i];
56720
56750
  }
56721
56751
  }
@@ -56783,8 +56813,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
56783
56813
 
56784
56814
  var default_component = normalizeComponent(
56785
56815
  src_defaultvue_type_script_lang_js_,
56786
- defaultvue_type_template_id_ccc0ac68_render,
56787
- defaultvue_type_template_id_ccc0ac68_staticRenderFns,
56816
+ defaultvue_type_template_id_0e385525_render,
56817
+ defaultvue_type_template_id_0e385525_staticRenderFns,
56788
56818
  false,
56789
56819
  null,
56790
56820
  null,
@@ -75592,8 +75622,8 @@ form_src_table.install = function (Vue) {
75592
75622
  };
75593
75623
 
75594
75624
  /* harmony default export */ var table_form = (form_src_table);
75595
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=66136c26&
75596
- var mainvue_type_template_id_66136c26_render = function () {
75625
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=42161038&
75626
+ var mainvue_type_template_id_42161038_render = function () {
75597
75627
  var _vm = this
75598
75628
  var _h = _vm.$createElement
75599
75629
  var _c = _vm._self._c || _h
@@ -75973,11 +76003,11 @@ var mainvue_type_template_id_66136c26_render = function () {
75973
76003
  )
75974
76004
  : _vm._e()
75975
76005
  }
75976
- var mainvue_type_template_id_66136c26_staticRenderFns = []
75977
- mainvue_type_template_id_66136c26_render._withStripped = true
76006
+ var mainvue_type_template_id_42161038_staticRenderFns = []
76007
+ mainvue_type_template_id_42161038_render._withStripped = true
75978
76008
 
75979
76009
 
75980
- // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=66136c26&
76010
+ // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=42161038&
75981
76011
 
75982
76012
  // CONCATENATED MODULE: ./packages/upload/src/picture.js
75983
76013
  /* harmony default export */ var picture = ({
@@ -76533,45 +76563,46 @@ var _props;
76533
76563
  return { success: true, error: true };
76534
76564
  },
76535
76565
  profile: function profile() {
76566
+ var previewAdjunct = this.dochubConfig ? this.dochubConfig.downloadDocumentUrl : this.previewAdjunct;
76536
76567
  if (this.image) {
76537
76568
  if (typeof this.image === 'string') {
76538
76569
  return this.image;
76539
76570
  }
76540
- return this.host + this.previewAdjunct + '?adjunctId=' + this.image.adjunctId;
76571
+ return '' + this.host + previewAdjunct + '?documentId=' + this.image.adjunctId + '&adjunctId=' + this.image.adjunctId;
76541
76572
  }
76542
76573
  if (this.value) {
76543
76574
  if (typeof this.value === 'string') {
76544
76575
  if (this.value.indexOf('data:image/') === 0) {
76545
76576
  return this.value;
76546
- } else if (this.value.indexOf(this.previewAdjunct) > -1) {
76577
+ } else if (this.value.indexOf(previewAdjunct) > -1) {
76547
76578
  var val = this.host + utils_util["a" /* default */].jointUrl({
76548
76579
  url: this.value,
76549
76580
  reg: '/main2'
76550
76581
  });
76551
76582
  return val;
76552
76583
  } else if (this.value.indexOf('/') === -1) {
76553
- return this.host + this.previewAdjunct + '?adjunctId=' + this.value;
76584
+ return '' + this.host + previewAdjunct + '?documentId=' + this.value + '&adjunctId=' + this.value;
76554
76585
  }
76555
76586
  return this.value;
76556
76587
  } else if (Array.isArray(this.value)) {
76557
76588
  var adjunctId = this.value[0].response ? this.value[0].response.adjunctId : this.value[0].adjunctId;
76558
- return this.host + this.previewAdjunct + '?adjunctId=' + adjunctId;
76589
+ return '' + this.host + previewAdjunct + '?documentId=' + adjunctId + '&adjunctId=' + adjunctId;
76559
76590
  } else {
76560
76591
  var _adjunctId = this.value.response ? this.value.response.adjunctId : this.value.adjunctId;
76561
- return this.host + this.previewAdjunct + '?adjunctId=' + _adjunctId;
76592
+ return '' + this.host + previewAdjunct + '?documentId=' + _adjunctId + '&adjunctId=' + _adjunctId;
76562
76593
  }
76563
76594
  }
76564
76595
  if (this.photo && typeof this.photo === 'string') {
76565
76596
  if (this.photo.indexOf('data:image/') === 0) {
76566
76597
  return this.photo;
76567
- } else if (this.photo.indexOf(this.previewAdjunct) > -1) {
76598
+ } else if (this.photo.indexOf(previewAdjunct) > -1) {
76568
76599
  var _val = this.host + utils_util["a" /* default */].jointUrl({
76569
76600
  url: this.value,
76570
76601
  reg: '/main2'
76571
76602
  });
76572
76603
  return _val;
76573
76604
  } else if (this.photo.indexOf('/') === -1) {
76574
- return this.host + this.previewAdjunct + '?adjunctId=' + this.photo;
76605
+ return '' + this.host + previewAdjunct + '?documentId=' + this.photo + '&adjunctId=' + this.photo;
76575
76606
  }
76576
76607
  }
76577
76608
  return this.photo;
@@ -77123,8 +77154,8 @@ var _props;
77123
77154
 
77124
77155
  var upload_src_main_component = normalizeComponent(
77125
77156
  packages_upload_src_mainvue_type_script_lang_js_,
77126
- mainvue_type_template_id_66136c26_render,
77127
- mainvue_type_template_id_66136c26_staticRenderFns,
77157
+ mainvue_type_template_id_42161038_render,
77158
+ mainvue_type_template_id_42161038_staticRenderFns,
77128
77159
  false,
77129
77160
  null,
77130
77161
  null,
@@ -77623,7 +77654,7 @@ if (typeof window !== 'undefined' && window.Vue) {
77623
77654
  }
77624
77655
 
77625
77656
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
77626
- version: '0.6.29',
77657
+ version: '0.6.31',
77627
77658
  install: install,
77628
77659
  Button: packages_button,
77629
77660
  ButtonGroup: button_group,
package/lib/flow-group.js CHANGED
@@ -259,7 +259,7 @@ var ajax = function ajax(_ref) {
259
259
  }
260
260
  if (response.status === 200) {
261
261
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
262
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
263
263
  var href = '';
264
264
  try {
265
265
  href = win.top.location.href;
package/lib/flow-list.js CHANGED
@@ -259,7 +259,7 @@ var ajax = function ajax(_ref) {
259
259
  }
260
260
  if (response.status === 200) {
261
261
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
262
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
263
263
  var href = '';
264
264
  try {
265
265
  href = win.top.location.href;
package/lib/flow.js CHANGED
@@ -258,7 +258,7 @@ var ajax = function ajax(_ref) {
258
258
  }
259
259
  if (response.status === 200) {
260
260
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
261
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
261
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
262
  var href = '';
263
263
  try {
264
264
  href = win.top.location.href;
package/lib/form.js CHANGED
@@ -258,7 +258,7 @@ var ajax = function ajax(_ref) {
258
258
  }
259
259
  if (response.status === 200) {
260
260
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
261
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
261
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
262
  var href = '';
263
263
  try {
264
264
  href = win.top.location.href;
@@ -259,7 +259,7 @@ var ajax = function ajax(_ref) {
259
259
  }
260
260
  if (response.status === 200) {
261
261
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
262
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
263
263
  var href = '';
264
264
  try {
265
265
  href = win.top.location.href;
package/lib/handler.js CHANGED
@@ -259,7 +259,7 @@ var ajax = function ajax(_ref) {
259
259
  }
260
260
  if (response.status === 200) {
261
261
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
262
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
263
263
  var href = '';
264
264
  try {
265
265
  href = win.top.location.href;
package/lib/icon.js CHANGED
@@ -259,7 +259,7 @@ var ajax = function ajax(_ref) {
259
259
  }
260
260
  if (response.status === 200) {
261
261
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
262
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
262
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
263
263
  var href = '';
264
264
  try {
265
265
  href = win.top.location.href;