eoss-ui 0.5.85 → 0.5.87

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 (61) hide show
  1. package/lib/button-group.js +4 -4
  2. package/lib/button.js +4 -4
  3. package/lib/checkbox-group.js +4 -4
  4. package/lib/data-table-form.js +4 -4
  5. package/lib/data-table.js +25 -13
  6. package/lib/date-picker.js +4 -4
  7. package/lib/dialog.js +4 -4
  8. package/lib/eoss-ui.common.js +277 -219
  9. package/lib/flow-group.js +4 -4
  10. package/lib/flow-list.js +4 -4
  11. package/lib/flow.js +4 -4
  12. package/lib/form.js +4 -4
  13. package/lib/handle-user.js +4 -4
  14. package/lib/handler.js +4 -4
  15. package/lib/icon.js +4 -4
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +4 -4
  18. package/lib/input.js +4 -4
  19. package/lib/login.js +41 -9
  20. package/lib/main.js +439 -425
  21. package/lib/nav.js +4 -4
  22. package/lib/page.js +4 -4
  23. package/lib/pagination.js +4 -4
  24. package/lib/player.js +4 -4
  25. package/lib/qr-code.js +4 -4
  26. package/lib/radio-group.js +4 -4
  27. package/lib/retrial-auth.js +4 -4
  28. package/lib/select-ganged.js +4 -4
  29. package/lib/select.js +4 -4
  30. package/lib/selector-panel.js +4 -4
  31. package/lib/selector.js +4 -4
  32. package/lib/sizer.js +4 -4
  33. package/lib/steps.js +4 -4
  34. package/lib/switch.js +4 -4
  35. package/lib/table-form.js +4 -4
  36. package/lib/tabs.js +4 -4
  37. package/lib/theme-chalk/button-group.css +1 -1
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/main.css +1 -1
  40. package/lib/theme-chalk/simplicity.css +1 -1
  41. package/lib/tips.js +4 -4
  42. package/lib/tree-group.js +4 -4
  43. package/lib/tree.js +4 -4
  44. package/lib/upload.js +4 -4
  45. package/lib/utils/util.js +4 -4
  46. package/lib/wujie.js +4 -4
  47. package/lib/wxlogin.js +4 -4
  48. package/package.json +1 -1
  49. package/packages/data-table/src/main.vue +16 -5
  50. package/packages/login/src/main.vue +27 -3
  51. package/packages/main/src/public/search.vue +66 -72
  52. package/packages/main/src/simplicity/apps.vue +1 -0
  53. package/packages/main/src/simplicity/index.vue +6 -2
  54. package/packages/theme-chalk/lib/button-group.css +1 -1
  55. package/packages/theme-chalk/lib/index.css +1 -1
  56. package/packages/theme-chalk/lib/main.css +1 -1
  57. package/packages/theme-chalk/lib/simplicity.css +1 -1
  58. package/packages/theme-chalk/src/button-group.scss +3 -0
  59. package/packages/theme-chalk/src/simplicity.scss +6 -1
  60. package/src/index.js +1 -1
  61. package/src/utils/util.js +4 -4
package/lib/main.js CHANGED
@@ -2015,19 +2015,19 @@ var identical = function identical(_ref7) {
2015
2015
  * @date 2022年5月7日
2016
2016
  * @param {Array} [arry] - 被查找的数组
2017
2017
  * @param {Object} [target] - 目标对象
2018
- * @param {String} [key] - 目标对象的属性名
2018
+ * @param {String/Array} [key] - 目标对象的属性名
2019
2019
  **/
2020
2020
  var indexOfObj = function indexOfObj(arry, target, key) {
2021
2021
  for (var i = 0; i < arry.length; i++) {
2022
2022
  if (key) {
2023
- if (key.indexOf(',') > -1) {
2024
- var keys = key.split(',');
2023
+ if (key.indexOf(',') > -1 || Array.isArray(key)) {
2024
+ var keys = key.indexOf(',') > -1 ? key.split(',') : key;
2025
2025
  for (var n = 0; n < keys.length; n++) {
2026
2026
  var k = keys[n];
2027
2027
  if (typeof target === 'string' && arry[i][k] === target) {
2028
2028
  return i;
2029
2029
  }
2030
- if (target[k] === arry[i][k]) {
2030
+ if (target[k] && arry[i][k] && target[k] === arry[i][k]) {
2031
2031
  return i;
2032
2032
  }
2033
2033
  }
@@ -4039,8 +4039,8 @@ render._withStripped = true
4039
4039
 
4040
4040
  // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=a3c25372&
4041
4041
 
4042
- // 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=7b4d5e88&scoped=true&
4043
- var simplicityvue_type_template_id_7b4d5e88_scoped_true_render = function () {
4042
+ // 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=d7dbfbf8&scoped=true&
4043
+ var simplicityvue_type_template_id_d7dbfbf8_scoped_true_render = function () {
4044
4044
  var _vm = this
4045
4045
  var _h = _vm.$createElement
4046
4046
  var _c = _vm._self._c || _h
@@ -4410,7 +4410,7 @@ var simplicityvue_type_template_id_7b4d5e88_scoped_true_render = function () {
4410
4410
  class: { "is-disabled": _vm.isDisabled.other },
4411
4411
  on: {
4412
4412
  click: function ($event) {
4413
- _vm.isDisabled.left ? "" : _vm.handleTabsEvents(2)
4413
+ _vm.isDisabled.other ? "" : _vm.handleTabsEvents(2)
4414
4414
  },
4415
4415
  },
4416
4416
  },
@@ -4611,6 +4611,7 @@ var simplicityvue_type_template_id_7b4d5e88_scoped_true_render = function () {
4611
4611
  _c(
4612
4612
  "es-dialog",
4613
4613
  {
4614
+ staticClass: "es-public-search-dialog",
4614
4615
  attrs: { visible: _vm.showSearch, size: "lg" },
4615
4616
  on: {
4616
4617
  "update:visible": function ($event) {
@@ -4665,11 +4666,11 @@ var simplicityvue_type_template_id_7b4d5e88_scoped_true_render = function () {
4665
4666
  ),
4666
4667
  ])
4667
4668
  }
4668
- var simplicityvue_type_template_id_7b4d5e88_scoped_true_staticRenderFns = []
4669
- simplicityvue_type_template_id_7b4d5e88_scoped_true_render._withStripped = true
4669
+ var simplicityvue_type_template_id_d7dbfbf8_scoped_true_staticRenderFns = []
4670
+ simplicityvue_type_template_id_d7dbfbf8_scoped_true_render._withStripped = true
4670
4671
 
4671
4672
 
4672
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=7b4d5e88&scoped=true&
4673
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=d7dbfbf8&scoped=true&
4673
4674
 
4674
4675
  // 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=1560e8bf&scoped=true&
4675
4676
  var avatarvue_type_template_id_1560e8bf_scoped_true_render = function () {
@@ -4719,7 +4720,7 @@ avatarvue_type_template_id_1560e8bf_scoped_true_render._withStripped = true
4719
4720
  // CONCATENATED MODULE: ./packages/main/src/simplicity/avatar.vue?vue&type=template&id=1560e8bf&scoped=true&
4720
4721
 
4721
4722
  // EXTERNAL MODULE: ./src/utils/util.js
4722
- var utils_util = __webpack_require__(0);
4723
+ var util = __webpack_require__(0);
4723
4724
 
4724
4725
  // EXTERNAL MODULE: ./src/config/api.js
4725
4726
  var api = __webpack_require__(1);
@@ -4793,7 +4794,7 @@ var api = __webpack_require__(1);
4793
4794
  methods: {
4794
4795
  handleSuccess: function handleSuccess(response, file) {
4795
4796
  var res = file.response;
4796
- if (res.url && utils_util["a" /* default */].startWith(res.url, ['http', 'https', '/'])) {
4797
+ if (res.url && util["a" /* default */].startWith(res.url, ['http', 'https', '/'])) {
4797
4798
  this.userHead = res.url;
4798
4799
  } else {
4799
4800
  this.userHead = api["r" /* downloadByAdjunctId */] + '?adjunctId=' + res.adjunctId;
@@ -5062,14 +5063,14 @@ handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
5062
5063
  });
5063
5064
  },
5064
5065
  isClick: function isClick() {
5065
- var useCaseCodes = utils_util["a" /* default */].getStorage('useCaseCodes');
5066
+ var useCaseCodes = util["a" /* default */].getStorage('useCaseCodes');
5066
5067
  return useCaseCodes && useCaseCodes.includes('sys_user_onlineList');
5067
5068
  }
5068
5069
  },
5069
5070
  watch: {},
5070
5071
  created: function created() {
5071
5072
  //this.time = util.timeCycle() + '好!';
5072
- this.date = utils_util["a" /* default */].formatDate('', 'yyyy年M月d日');
5073
+ this.date = util["a" /* default */].formatDate('', 'yyyy年M月d日');
5073
5074
  },
5074
5075
  mounted: function mounted() {
5075
5076
  this.getTime();
@@ -5081,7 +5082,7 @@ handlervue_type_template_id_7eac3976_scoped_true_render._withStripped = true
5081
5082
 
5082
5083
  this.timer && clearInterval(this.timer);
5083
5084
  this.timer = setInterval(function () {
5084
- _this2.time = utils_util["a" /* default */].formatDate('', 'HH:mm:ss');
5085
+ _this2.time = util["a" /* default */].formatDate('', 'HH:mm:ss');
5085
5086
  });
5086
5087
  },
5087
5088
  isShow: function isShow(res) {
@@ -5508,10 +5509,10 @@ menu_listvue_type_template_id_43b0ff18_scoped_true_render._withStripped = true
5508
5509
  this.defaultActive = res.id;
5509
5510
  if (res.url) {
5510
5511
  if (res.urlopenmode == 1) {
5511
- utils_util["a" /* default */].win.open(res.url);
5512
+ util["a" /* default */].win.open(res.url);
5512
5513
  return;
5513
5514
  } else if (res.urlopenmode == 2) {
5514
- utils_util["a" /* default */].win.open(res.url, '_self');
5515
+ util["a" /* default */].win.open(res.url, '_self');
5515
5516
  return;
5516
5517
  }
5517
5518
  this.$emit('command', res);
@@ -5808,8 +5809,8 @@ var sub_menu_component = Object(componentNormalizer["a" /* default */])(
5808
5809
  )
5809
5810
 
5810
5811
  /* harmony default export */ var sub_menu = (sub_menu_component.exports);
5811
- // 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/apps.vue?vue&type=template&id=37754599&scoped=true&
5812
- var appsvue_type_template_id_37754599_scoped_true_render = function () {
5812
+ // 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/apps.vue?vue&type=template&id=71b9cb14&scoped=true&
5813
+ var appsvue_type_template_id_71b9cb14_scoped_true_render = function () {
5813
5814
  var this$1 = this
5814
5815
  var _vm = this
5815
5816
  var _h = _vm.$createElement
@@ -6221,11 +6222,11 @@ var appsvue_type_template_id_37754599_scoped_true_render = function () {
6221
6222
  ]
6222
6223
  )
6223
6224
  }
6224
- var appsvue_type_template_id_37754599_scoped_true_staticRenderFns = []
6225
- appsvue_type_template_id_37754599_scoped_true_render._withStripped = true
6225
+ var appsvue_type_template_id_71b9cb14_scoped_true_staticRenderFns = []
6226
+ appsvue_type_template_id_71b9cb14_scoped_true_render._withStripped = true
6226
6227
 
6227
6228
 
6228
- // CONCATENATED MODULE: ./packages/main/src/simplicity/apps.vue?vue&type=template&id=37754599&scoped=true&
6229
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/apps.vue?vue&type=template&id=71b9cb14&scoped=true&
6229
6230
 
6230
6231
  // EXTERNAL MODULE: external "throttle-debounce"
6231
6232
  var external_throttle_debounce_ = __webpack_require__(11);
@@ -6426,6 +6427,7 @@ var external_throttle_debounce_ = __webpack_require__(11);
6426
6427
 
6427
6428
 
6428
6429
 
6430
+
6429
6431
  /* harmony default export */ var appsvue_type_script_lang_js_ = ({
6430
6432
  name: 'Apps',
6431
6433
  components: {},
@@ -6575,7 +6577,7 @@ var external_throttle_debounce_ = __webpack_require__(11);
6575
6577
  }
6576
6578
  },
6577
6579
  handleClick: function handleClick(res) {
6578
- util.ajax({
6580
+ util["a" /* default */].ajax({
6579
6581
  url: api["mb" /* recordUserApp */],
6580
6582
  params: {
6581
6583
  userId: this.user.userId,
@@ -6615,11 +6617,11 @@ var external_throttle_debounce_ = __webpack_require__(11);
6615
6617
 
6616
6618
  var apps_component = Object(componentNormalizer["a" /* default */])(
6617
6619
  simplicity_appsvue_type_script_lang_js_,
6618
- appsvue_type_template_id_37754599_scoped_true_render,
6619
- appsvue_type_template_id_37754599_scoped_true_staticRenderFns,
6620
+ appsvue_type_template_id_71b9cb14_scoped_true_render,
6621
+ appsvue_type_template_id_71b9cb14_scoped_true_staticRenderFns,
6620
6622
  false,
6621
6623
  null,
6622
- "37754599",
6624
+ "71b9cb14",
6623
6625
  null
6624
6626
 
6625
6627
  )
@@ -6984,19 +6986,19 @@ userinfovue_type_template_id_9a76ed7c_render._withStripped = true
6984
6986
  handleFormSubmit: function handleFormSubmit() {
6985
6987
  var _this2 = this;
6986
6988
 
6987
- var initLogin = utils_util["a" /* default */].getStorage('initLogin');
6989
+ var initLogin = util["a" /* default */].getStorage('initLogin');
6988
6990
  initLogin && (initLogin = JSON.parse(initLogin));
6989
- utils_util["a" /* default */].ajax({
6991
+ util["a" /* default */].ajax({
6990
6992
  url: api["Zb" /* updateUserInfo */],
6991
6993
  params: {
6992
6994
  email: this.model.email,
6993
6995
  officeTel: this.model.officeTel,
6994
6996
  phone: this.model.phone,
6995
- oldPassword: this.secret && initLogin && initLogin.secret && this.model.oldpassword ? utils_util["a" /* default */].esmEncrypt({
6997
+ oldPassword: this.secret && initLogin && initLogin.secret && this.model.oldpassword ? util["a" /* default */].esmEncrypt({
6996
6998
  data: this.model.oldpassword,
6997
6999
  key: initLogin.secret
6998
7000
  }) : this.model.oldpassword,
6999
- password: this.secret && initLogin && initLogin.secret && this.model.password ? utils_util["a" /* default */].esmEncrypt({
7001
+ password: this.secret && initLogin && initLogin.secret && this.model.password ? util["a" /* default */].esmEncrypt({
7000
7002
  data: this.model.password,
7001
7003
  key: initLogin.secret
7002
7004
  }) : this.model.password
@@ -7010,12 +7012,12 @@ userinfovue_type_template_id_9a76ed7c_render._withStripped = true
7010
7012
  closeOnClickModal: false,
7011
7013
  type: 'warning'
7012
7014
  }).then(function () {
7013
- var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
7015
+ var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
7014
7016
  try {
7015
7017
  if (loginPage) {
7016
7018
  var src = void 0;
7017
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
7018
- var pathname = utils_util["a" /* default */].win.top.location.pathname;
7019
+ if (!util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
7020
+ var pathname = util["a" /* default */].win.top.location.pathname;
7019
7021
  if (pathname !== '/') {
7020
7022
  pathname = pathname.split('/');
7021
7023
  pathname.splice(pathname.length - 1);
@@ -7027,20 +7029,20 @@ userinfovue_type_template_id_9a76ed7c_render._withStripped = true
7027
7029
  } else {
7028
7030
  src = loginPage;
7029
7031
  }
7030
- utils_util["a" /* default */].win.top.location.href = src;
7031
- } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
7032
- utils_util["a" /* default */].win.top.location.href = './login.html';
7032
+ util["a" /* default */].win.top.location.href = src;
7033
+ } else if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
7034
+ util["a" /* default */].win.top.location.href = './login.html';
7033
7035
  } else {
7034
- var hash = utils_util["a" /* default */].win.top.location.hash;
7036
+ var hash = util["a" /* default */].win.top.location.hash;
7035
7037
  if (hash) {
7036
- var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
7037
- utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
7038
+ var len = util["a" /* default */].win.top.location.href.indexOf(hash);
7039
+ util["a" /* default */].win.top.location.href = util["a" /* default */].win.location.href.slice(0, len) + '#/login';
7038
7040
  } else {
7039
- utils_util["a" /* default */].win.top.location.href = '/login.html';
7041
+ util["a" /* default */].win.top.location.href = '/login.html';
7040
7042
  }
7041
7043
  }
7042
7044
  } catch (error) {
7043
- utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
7045
+ util["a" /* default */].win.postMessage({ type: 1 }, '*');
7044
7046
  }
7045
7047
  }).catch(function (e) {});
7046
7048
  }
@@ -7052,7 +7054,7 @@ userinfovue_type_template_id_9a76ed7c_render._withStripped = true
7052
7054
  },
7053
7055
  repassword: function repassword(rule, value, callback) {
7054
7056
  if (this.model.oldpassword && this.model.password && value) {
7055
- utils_util["a" /* default */].identical({ value: [value, this.model.password], callback: callback });
7057
+ util["a" /* default */].identical({ value: [value, this.model.password], callback: callback });
7056
7058
  } else {
7057
7059
  callback();
7058
7060
  return true;
@@ -7209,7 +7211,7 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7209
7211
  getData: function getData() {
7210
7212
  var _this2 = this;
7211
7213
 
7212
- utils_util["a" /* default */].ajax({
7214
+ util["a" /* default */].ajax({
7213
7215
  url: api["ab" /* initUserSet */]
7214
7216
  }).then(function (res) {
7215
7217
  if (res.rCode === 0) {
@@ -7249,7 +7251,7 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7249
7251
  var _this3 = this;
7250
7252
 
7251
7253
  var notify = this.checked.join(',');
7252
- utils_util["a" /* default */].ajax({
7254
+ util["a" /* default */].ajax({
7253
7255
  method: 'post',
7254
7256
  url: api["Yb" /* updateUserCustomInfo */],
7255
7257
  data: {
@@ -7279,25 +7281,25 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7279
7281
  var _this4 = this;
7280
7282
 
7281
7283
  if (this.user.identityId !== res.id) {
7282
- utils_util["a" /* default */].ajax({
7284
+ util["a" /* default */].ajax({
7283
7285
  method: 'post',
7284
7286
  url: api["wb" /* switchUserTo */],
7285
7287
  data: { userId: res.value }
7286
7288
  }).then(function (res) {
7287
7289
  if (res.rCode == 0) {
7288
7290
  _this4.$emit('close');
7289
- utils_util["a" /* default */].setStorage({
7291
+ util["a" /* default */].setStorage({
7290
7292
  type: _this4.storage,
7291
7293
  key: 'userId',
7292
7294
  value: res.value
7293
7295
  });
7294
- utils_util["a" /* default */].removeStorage(['mainConfig', 'jump']);
7296
+ util["a" /* default */].removeStorage(['mainConfig', 'jump']);
7295
7297
  _this4.$message({
7296
7298
  message: res.msg,
7297
7299
  type: 'success',
7298
7300
  duration: 500,
7299
7301
  onClose: function onClose() {
7300
- if (utils_util["a" /* default */].win.location.href.indexOf('#/main') > -1 || utils_util["a" /* default */].win.location.href.indexOf('/main.html') > -1) {
7302
+ if (util["a" /* default */].win.location.href.indexOf('#/main') > -1 || util["a" /* default */].win.location.href.indexOf('/main.html') > -1) {
7301
7303
  location.reload();
7302
7304
  } else {
7303
7305
  _this4.$router.replace('/main');
@@ -7656,7 +7658,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7656
7658
  };
7657
7659
  },
7658
7660
  mounted: function mounted() {
7659
- utils_util["a" /* default */].win.deleteMsg = this.handleRemove;
7661
+ util["a" /* default */].win.deleteMsg = this.handleRemove;
7660
7662
  },
7661
7663
 
7662
7664
  methods: {
@@ -7666,7 +7668,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7666
7668
 
7667
7669
  if (this.pageNum <= this.pageCount) {
7668
7670
  this.loading = true;
7669
- utils_util["a" /* default */].ajax({
7671
+ util["a" /* default */].ajax({
7670
7672
  url: api["xb" /* sysMsgPage */],
7671
7673
  params: {
7672
7674
  pageNum: reload ? 1 : this.pageNum,
@@ -7699,7 +7701,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7699
7701
  handleIgnore: function handleIgnore(res, i) {
7700
7702
  var _this2 = this;
7701
7703
 
7702
- utils_util["a" /* default */].ajax({
7704
+ util["a" /* default */].ajax({
7703
7705
  url: api["W" /* ignoreSysMsg */],
7704
7706
  params: {
7705
7707
  id: res.id
@@ -7719,7 +7721,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7719
7721
  handleIgnoreAll: function handleIgnoreAll() {
7720
7722
  var _this3 = this;
7721
7723
 
7722
- utils_util["a" /* default */].ajax({
7724
+ util["a" /* default */].ajax({
7723
7725
  url: api["V" /* ignoreAllSysMsg */]
7724
7726
  }).then(function (res) {
7725
7727
  _this3.count = 0;
@@ -7737,7 +7739,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7737
7739
  this.count -= 1;
7738
7740
  this.msgs.splice(index, 1);
7739
7741
  if (this.winopen) {
7740
- utils_util["a" /* default */].win.open(item.handlerUrl);
7742
+ util["a" /* default */].win.open(item.handlerUrl);
7741
7743
  } else {
7742
7744
  this.dialog = {
7743
7745
  show: true,
@@ -8064,7 +8066,7 @@ noticevue_type_template_id_1c74f5bb_render._withStripped = true
8064
8066
  handleIgnore: function handleIgnore(res, i) {
8065
8067
  var _this = this;
8066
8068
 
8067
- utils_util["a" /* default */].ajax({
8069
+ util["a" /* default */].ajax({
8068
8070
  url: api["W" /* ignoreSysMsg */],
8069
8071
  params: {
8070
8072
  id: res.id
@@ -8083,7 +8085,7 @@ noticevue_type_template_id_1c74f5bb_render._withStripped = true
8083
8085
  handleIgnoreAll: function handleIgnoreAll() {
8084
8086
  var _this2 = this;
8085
8087
 
8086
- utils_util["a" /* default */].ajax({
8088
+ util["a" /* default */].ajax({
8087
8089
  url: api["V" /* ignoreAllSysMsg */]
8088
8090
  }).then(function (res) {
8089
8091
  _this2.msgs = [];
@@ -8099,7 +8101,7 @@ noticevue_type_template_id_1c74f5bb_render._withStripped = true
8099
8101
  //处理消息
8100
8102
  handleMessage: function handleMessage(item, index) {
8101
8103
  if (item.urlopenmode === 1 || this.winopen) {
8102
- utils_util["a" /* default */].win.open(item.handlerUrl);
8104
+ util["a" /* default */].win.open(item.handlerUrl);
8103
8105
  } else {
8104
8106
  this.dialog = {
8105
8107
  show: true,
@@ -8335,7 +8337,7 @@ settingsvue_type_template_id_48437ba0_render._withStripped = true
8335
8337
  res = res.toLowerCase();
8336
8338
  // const rgb = util.getRgb(res);
8337
8339
  // const luma = 0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2];
8338
- utils_util["a" /* default */].updateTheme(res);
8340
+ util["a" /* default */].updateTheme(res);
8339
8341
  this.color = res;
8340
8342
  this.$emit('change', { type: 'theme', value: res });
8341
8343
  //this.setTheme(res);
@@ -8427,7 +8429,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
8427
8429
 
8428
8430
  methods: {
8429
8431
  jump: function jump() {
8430
- var params = utils_util["a" /* default */].getParams({ url: this.url });
8432
+ var params = util["a" /* default */].getParams({ url: this.url });
8431
8433
  this.$router.push({
8432
8434
  path: this.path,
8433
8435
  query: _extends({}, this.query, params)
@@ -8573,8 +8575,8 @@ var online_component = Object(componentNormalizer["a" /* default */])(
8573
8575
  )
8574
8576
 
8575
8577
  /* harmony default export */ var online = (online_component.exports);
8576
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=template&id=13661892&
8577
- var searchvue_type_template_id_13661892_render = function () {
8578
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=template&id=2a1fa976&
8579
+ var searchvue_type_template_id_2a1fa976_render = function () {
8578
8580
  var _vm = this
8579
8581
  var _h = _vm.$createElement
8580
8582
  var _c = _vm._self._c || _h
@@ -8613,22 +8615,7 @@ var searchvue_type_template_id_13661892_render = function () {
8613
8615
  [
8614
8616
  _c(
8615
8617
  "el-tab-pane",
8616
- {
8617
- directives: [
8618
- {
8619
- name: "loading",
8620
- rawName: "v-loading",
8621
- value: _vm.loading,
8622
- expression: "loading",
8623
- },
8624
- ],
8625
- attrs: {
8626
- label: "综合",
8627
- name: "0",
8628
- "element-loading-background": "rgba(0, 0, 0, 0.01)",
8629
- "element-loading-text": "加载中...",
8630
- },
8631
- },
8618
+ { attrs: { label: "综合", name: "0" } },
8632
8619
  [
8633
8620
  _c(
8634
8621
  "el-scrollbar",
@@ -8797,150 +8784,179 @@ var searchvue_type_template_id_13661892_render = function () {
8797
8784
  1
8798
8785
  ),
8799
8786
  _vm._l(_vm.types, function (item, index) {
8800
- return _c(
8801
- "el-tab-pane",
8802
- {
8803
- directives: [
8804
- {
8805
- name: "loading",
8806
- rawName: "v-loading",
8807
- value: _vm.loadings[item.id || String(index)],
8808
- expression: "loadings[item.id || String(index)]",
8809
- },
8810
- {
8811
- name: "show",
8812
- rawName: "v-show",
8813
- value: _vm.hides.includes(item.name),
8814
- expression: "hides.includes(item.name)",
8815
- },
8816
- ],
8817
- key: item.id,
8818
- attrs: {
8819
- lazy: "",
8820
- label: item.name,
8821
- name: item.id || String(index + 1),
8822
- "element-loading-background": "rgba(0, 0, 0, 0.01)",
8823
- "element-loading-text": "加载中...",
8824
- },
8825
- },
8826
- [
8827
- _c(
8828
- "el-scrollbar",
8829
- {
8830
- staticClass: "es-scrollbar es-public-search-scrollbar",
8831
- attrs: {
8832
- "infinite-scroll": function () {
8833
- _vm.handleSearchd(item, index)
8787
+ return [
8788
+ !_vm.hides.includes(item.name)
8789
+ ? _c(
8790
+ "el-tab-pane",
8791
+ {
8792
+ directives: [
8793
+ {
8794
+ name: "loading",
8795
+ rawName: "v-loading",
8796
+ value: _vm.loadings[item.id || String(index)],
8797
+ expression: "loadings[item.id || String(index)]",
8798
+ },
8799
+ ],
8800
+ key: item.id,
8801
+ attrs: {
8802
+ label: item.name,
8803
+ name: item.id || String(index + 1),
8804
+ "element-loading-background": "rgba(0, 0, 0, 0.01)",
8805
+ "element-loading-text": "加载中...",
8834
8806
  },
8835
- "infinite-scroll-disabled": _vm.disabled,
8836
- "infinite-scroll-immediate": false,
8837
8807
  },
8838
- },
8839
- [
8840
- _c("div", { staticClass: "es-public-search-info" }, [
8841
- _vm._v(
8842
- "\n " + _vm._s(item.totalCount) + '条与"'
8843
- ),
8808
+ [
8844
8809
  _c(
8845
- "span",
8846
- { staticClass: "es-public-search-more-quote" },
8847
- [_vm._v(_vm._s(_vm.keyWords))]
8848
- ),
8849
- _vm._v('"相关的搜索结果\n '),
8850
- ]),
8851
- _c(
8852
- "ul",
8853
- { staticClass: "es-public-search-lists" },
8854
- _vm._l(item.records, function (ele) {
8855
- return _c(
8856
- "li",
8857
- {
8858
- key: ele.id,
8859
- staticClass: "es-public-search-list-item",
8860
- on: {
8861
- click: function ($event) {
8862
- _vm.handleClick(ele, item)
8863
- },
8810
+ "el-scrollbar",
8811
+ {
8812
+ staticClass:
8813
+ "es-scrollbar es-public-search-scrollbar",
8814
+ attrs: {
8815
+ "infinite-scroll": function () {
8816
+ _vm.handleSearchd(item, index)
8864
8817
  },
8818
+ "infinite-scroll-disabled": _vm.disabled,
8819
+ "infinite-scroll-immediate": false,
8865
8820
  },
8866
- [
8867
- _c(
8868
- "es-icon",
8869
- _vm._b(
8821
+ },
8822
+ [
8823
+ _c(
8824
+ "div",
8825
+ {
8826
+ directives: [
8870
8827
  {
8871
- staticClass: "es-public-search-item-icon",
8872
- style: _vm.setStyle(ele, index),
8828
+ name: "show",
8829
+ rawName: "v-show",
8830
+ value: _vm.keyWords,
8831
+ expression: "keyWords",
8873
8832
  },
8874
- "es-icon",
8875
- _vm.getIcon(ele, item),
8876
- false
8877
- )
8878
- ),
8879
- _c(
8880
- "div",
8881
- { staticClass: "es-public-search-item-name" },
8882
- [
8883
- _vm._v(
8884
- "\n " +
8885
- _vm._s(ele.name || ele.title || ele.text) +
8886
- "\n "
8887
- ),
8888
- ]
8889
- ),
8890
- ele.summary
8891
- ? _c(
8892
- "div",
8893
- {
8894
- staticClass: "es-public-search-item-texts",
8833
+ ],
8834
+ staticClass: "es-public-search-info",
8835
+ },
8836
+ [
8837
+ _vm._v(
8838
+ "\n " +
8839
+ _vm._s(item.totalCount) +
8840
+ '条与"'
8841
+ ),
8842
+ _c(
8843
+ "span",
8844
+ { staticClass: "es-public-search-more-quote" },
8845
+ [_vm._v(_vm._s(_vm.keyWords))]
8846
+ ),
8847
+ _vm._v('"相关的搜索结果\n '),
8848
+ ]
8849
+ ),
8850
+ _c(
8851
+ "ul",
8852
+ { staticClass: "es-public-search-lists" },
8853
+ _vm._l(item.records, function (ele) {
8854
+ return _c(
8855
+ "li",
8856
+ {
8857
+ key: ele.id,
8858
+ staticClass: "es-public-search-list-item",
8859
+ on: {
8860
+ click: function ($event) {
8861
+ _vm.handleClick(ele, item)
8862
+ },
8895
8863
  },
8896
- [
8897
- _vm._v(
8898
- "\n " +
8899
- _vm._s(ele.summary) +
8900
- "\n "
8901
- ),
8902
- ]
8903
- )
8904
- : _vm._e(),
8905
- _c(
8906
- "div",
8907
- { staticClass: "es-public-search-item-texts" },
8908
- [
8909
- Array.isArray(ele.infos || ele.footer)
8910
- ? _vm._l(
8911
- ele.infos || ele.footer,
8912
- function (text, idx) {
8913
- return _c(
8914
- "span",
8915
- {
8916
- key: idx,
8917
- staticClass:
8918
- "es-public-search-item-text",
8919
- },
8920
- [_vm._v(_vm._s(text))]
8921
- )
8922
- }
8864
+ },
8865
+ [
8866
+ _c(
8867
+ "es-icon",
8868
+ _vm._b(
8869
+ {
8870
+ staticClass:
8871
+ "es-public-search-item-icon",
8872
+ style: _vm.setStyle(ele, index),
8873
+ },
8874
+ "es-icon",
8875
+ _vm.getIcon(ele, item),
8876
+ false
8923
8877
  )
8924
- : [_vm._v(_vm._s(ele.infos || ele.footer))],
8925
- ],
8926
- 2
8927
- ),
8928
- ],
8929
- 1
8930
- )
8931
- }),
8932
- 0
8933
- ),
8934
- _vm.noMore[item.id || String(index)]
8935
- ? _c("p", { staticClass: "es-public-search-no-more" }, [
8936
- _vm._v("\n 没有更多了\n "),
8937
- ])
8938
- : _vm._e(),
8939
- ]
8940
- ),
8941
- ],
8942
- 1
8943
- )
8878
+ ),
8879
+ _c(
8880
+ "div",
8881
+ {
8882
+ staticClass: "es-public-search-item-name",
8883
+ },
8884
+ [
8885
+ _vm._v(
8886
+ "\n " +
8887
+ _vm._s(
8888
+ ele.name || ele.title || ele.text
8889
+ ) +
8890
+ "\n "
8891
+ ),
8892
+ ]
8893
+ ),
8894
+ ele.summary
8895
+ ? _c(
8896
+ "div",
8897
+ {
8898
+ staticClass:
8899
+ "es-public-search-item-texts",
8900
+ },
8901
+ [
8902
+ _vm._v(
8903
+ "\n " +
8904
+ _vm._s(ele.summary) +
8905
+ "\n "
8906
+ ),
8907
+ ]
8908
+ )
8909
+ : _vm._e(),
8910
+ _c(
8911
+ "div",
8912
+ {
8913
+ staticClass:
8914
+ "es-public-search-item-texts",
8915
+ },
8916
+ [
8917
+ Array.isArray(ele.infos || ele.footer)
8918
+ ? _vm._l(
8919
+ ele.infos || ele.footer,
8920
+ function (text, idx) {
8921
+ return _c(
8922
+ "span",
8923
+ {
8924
+ key: idx,
8925
+ staticClass:
8926
+ "es-public-search-item-text",
8927
+ },
8928
+ [_vm._v(_vm._s(text))]
8929
+ )
8930
+ }
8931
+ )
8932
+ : [
8933
+ _vm._v(
8934
+ _vm._s(ele.infos || ele.footer)
8935
+ ),
8936
+ ],
8937
+ ],
8938
+ 2
8939
+ ),
8940
+ ],
8941
+ 1
8942
+ )
8943
+ }),
8944
+ 0
8945
+ ),
8946
+ _vm.noMore[item.id || String(index)]
8947
+ ? _c(
8948
+ "p",
8949
+ { staticClass: "es-public-search-no-more" },
8950
+ [_vm._v("\n 没有更多了\n ")]
8951
+ )
8952
+ : _vm._e(),
8953
+ ]
8954
+ ),
8955
+ ],
8956
+ 1
8957
+ )
8958
+ : _vm._e(),
8959
+ ]
8944
8960
  }),
8945
8961
  ],
8946
8962
  2
@@ -8949,11 +8965,11 @@ var searchvue_type_template_id_13661892_render = function () {
8949
8965
  1
8950
8966
  )
8951
8967
  }
8952
- var searchvue_type_template_id_13661892_staticRenderFns = []
8953
- searchvue_type_template_id_13661892_render._withStripped = true
8968
+ var searchvue_type_template_id_2a1fa976_staticRenderFns = []
8969
+ searchvue_type_template_id_2a1fa976_render._withStripped = true
8954
8970
 
8955
8971
 
8956
- // CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=template&id=13661892&
8972
+ // CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=template&id=2a1fa976&
8957
8973
 
8958
8974
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=script&lang=js&
8959
8975
  var searchvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -9093,12 +9109,6 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
9093
9109
  //
9094
9110
  //
9095
9111
  //
9096
- //
9097
- //
9098
- //
9099
- //
9100
- //
9101
- //
9102
9112
 
9103
9113
 
9104
9114
 
@@ -9240,7 +9250,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
9240
9250
  getTypes: function getTypes() {
9241
9251
  var _this2 = this;
9242
9252
 
9243
- utils_util["a" /* default */].ajax({
9253
+ util["a" /* default */].ajax({
9244
9254
  url: this.searchType,
9245
9255
  method: 'post',
9246
9256
  format: false,
@@ -9266,34 +9276,34 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
9266
9276
  },
9267
9277
  searchAll: function searchAll(keyWords) {
9268
9278
  for (var i = 0; i < this.types.length; i++) {
9279
+ var item = this.types[i];
9269
9280
  if (keyWords) {
9270
- var _item = this.types[i];
9271
- if (_item.name == '菜单' && this.menus.length) {
9281
+ if (item.name == '菜单' && this.menus.length) {
9272
9282
  this.isLoading = false;
9273
9283
  this.types[i].records = this.searchData(this.menus, keyWords);
9274
9284
  this.types[i].totalCount = this.types[i].records.length;
9275
9285
  this.types[i].pageCount = Math.ceil(this.types[i].records.length / this.pageSize);
9276
9286
  this.types[i].pageNum = 0;
9277
- this.$set(this.loadings, _item.id || String(i), false);
9278
- this.$set(this.noMore, _item.id || String(i), true);
9279
- } else if (_item.name == '应用' && this.apps.length) {
9287
+ this.$set(this.loadings, item.id || String(i), false);
9288
+ this.$set(this.noMore, item.id || String(i), true);
9289
+ } else if (item.name == '应用' && this.apps.length) {
9280
9290
  this.isLoading = false;
9281
9291
  this.types[i].records = this.searchData(this.apps, keyWords);
9282
9292
  this.types[i].totalCount = this.types[i].records.length;
9283
9293
  this.types[i].pageCount = Math.ceil(this.types[i].records.length / this.pageSize);
9284
9294
  this.types[i].pageNum = 0;
9285
- this.$set(this.loadings, _item.id || String(i), false);
9286
- this.$set(this.noMore, _item.id || String(i), true);
9287
- } else if (_item.dataRequestUrl) {
9295
+ this.$set(this.loadings, item.id || String(i), false);
9296
+ this.$set(this.noMore, item.id || String(i), true);
9297
+ } else if (item.dataRequestUrl) {
9288
9298
  this.isLoading = true;
9289
- this.handleSearch(_item, i);
9299
+ this.handleSearch(item, i);
9290
9300
  } else {
9291
9301
  this.types[i].records = [];
9292
9302
  this.types[i].totalCount = 0;
9293
9303
  this.types[i].pageCount = 1;
9294
9304
  this.types[i].pageNum = 0;
9295
- this.$set(this.loadings, _item.id || String(i), false);
9296
- this.$set(this.noMore, _item.id || String(i), true);
9305
+ this.$set(this.loadings, item.id || String(i), false);
9306
+ this.$set(this.noMore, item.id || String(i), true);
9297
9307
  }
9298
9308
  } else {
9299
9309
  this.isLoading = false;
@@ -9332,7 +9342,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
9332
9342
  if (this.active == '0') {
9333
9343
  this.isLoading = true;
9334
9344
  }
9335
- utils_util["a" /* default */].ajax({
9345
+ util["a" /* default */].ajax({
9336
9346
  url: obj.dataRequestUrl,
9337
9347
  method: 'post',
9338
9348
  data: {
@@ -9402,8 +9412,8 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
9402
9412
 
9403
9413
  var search_component = Object(componentNormalizer["a" /* default */])(
9404
9414
  public_searchvue_type_script_lang_js_,
9405
- searchvue_type_template_id_13661892_render,
9406
- searchvue_type_template_id_13661892_staticRenderFns,
9415
+ searchvue_type_template_id_2a1fa976_render,
9416
+ searchvue_type_template_id_2a1fa976_staticRenderFns,
9407
9417
  false,
9408
9418
  null,
9409
9419
  null,
@@ -9731,6 +9741,10 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
9731
9741
  //
9732
9742
  //
9733
9743
  //
9744
+ //
9745
+ //
9746
+ //
9747
+ //
9734
9748
 
9735
9749
 
9736
9750
 
@@ -9747,12 +9761,12 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
9747
9761
 
9748
9762
 
9749
9763
  var isIE = navigator.userAgent.indexOf('MSIE') != -1;
9750
- var systemMode = utils_util["a" /* default */].win.systemMode || 'default';
9764
+ var systemMode = util["a" /* default */].win.systemMode || 'default';
9751
9765
  var events = [function (tabs, index, that) {
9752
9766
  var tab = tabs[index];
9753
9767
 
9754
9768
  if (tab.method == 'iframe') {
9755
- tabs[index].url = utils_util["a" /* default */].handlerUrl(tab.url);
9769
+ tabs[index].url = util["a" /* default */].handlerUrl(tab.url);
9756
9770
  } else {
9757
9771
  tabs[index].refresh = false;
9758
9772
  that.$nextTick(function () {
@@ -9761,7 +9775,7 @@ var events = [function (tabs, index, that) {
9761
9775
  }
9762
9776
  return tabs;
9763
9777
  }, function (tabs, index, that) {
9764
- var i = utils_util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
9778
+ var i = util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
9765
9779
  if (tabs.length == 1) {
9766
9780
  that.activeName = '';
9767
9781
  } else if (i == index) {
@@ -9778,14 +9792,14 @@ var events = [function (tabs, index, that) {
9778
9792
  that.activeName = tab[0].id;
9779
9793
  return tab;
9780
9794
  }, function (tabs, index, that) {
9781
- var i = utils_util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
9795
+ var i = util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
9782
9796
  if (i < index) {
9783
9797
  that.activeName = tabs[index].id;
9784
9798
  }
9785
9799
  tabs.splice(0, index);
9786
9800
  return tabs;
9787
9801
  }, function (tabs, index, that) {
9788
- var i = utils_util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
9802
+ var i = util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
9789
9803
  if (i > index) {
9790
9804
  that.activeName = tabs[index].id;
9791
9805
  }
@@ -10077,7 +10091,7 @@ var events = [function (tabs, index, that) {
10077
10091
  }
10078
10092
  },
10079
10093
  created: function created() {
10080
- var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
10094
+ var mainConfig = util["a" /* default */].getStorage('mainConfig');
10081
10095
  if (mainConfig) {
10082
10096
  var results = JSON.parse(mainConfig);
10083
10097
  if (Object.keys(results).length) {
@@ -10156,7 +10170,7 @@ var events = [function (tabs, index, that) {
10156
10170
  this.initWebSocket();
10157
10171
  }
10158
10172
  sessionStorage.setItem('mainConfig', JSON.stringify(results));
10159
- utils_util["a" /* default */].setStorage({
10173
+ util["a" /* default */].setStorage({
10160
10174
  type: this.storage,
10161
10175
  key: {
10162
10176
  depId: results.userModel.depId,
@@ -10180,23 +10194,23 @@ var events = [function (tabs, index, that) {
10180
10194
  this.indexUrl = results[i];
10181
10195
  }
10182
10196
  if (i === 'doorIndex' && results[i]) {
10183
- utils_util["a" /* default */].win.open(results[i]);
10197
+ util["a" /* default */].win.open(results[i]);
10184
10198
  this.doorIndex = results[i];
10185
10199
  }
10186
10200
  if (i === 'subsystemName' && results[i]) {
10187
10201
  document.title = results[i];
10188
10202
  }
10189
10203
  if (i === 'loginPage' && results[i]) {
10190
- utils_util["a" /* default */].setStorage('loginPage', results[i]);
10204
+ util["a" /* default */].setStorage('loginPage', results[i]);
10191
10205
  }
10192
10206
  if (i === 'sysLogoIco' && results[i]) {
10193
10207
  sessionStorage.setItem('sysLogoIco', results[i]);
10194
- utils_util["a" /* default */].setFavicon(results[i]);
10208
+ util["a" /* default */].setFavicon(results[i]);
10195
10209
  }
10196
10210
  if (i === 'userStyle' && results[i]) {
10197
10211
  if (results[i].color) {
10198
10212
  var color = unescape(results[i].color).toLowerCase();
10199
- if (utils_util["a" /* default */].startWith(color, '#')) {
10213
+ if (util["a" /* default */].startWith(color, '#')) {
10200
10214
  this.themeColor = color;
10201
10215
  }
10202
10216
  }
@@ -10206,7 +10220,7 @@ var events = [function (tabs, index, that) {
10206
10220
  if (i === 'subsystemExtend' && results[i]) {
10207
10221
  if (results[i].themeColor) {
10208
10222
  var _color = unescape(results[i].themeColor).toLowerCase();
10209
- if (utils_util["a" /* default */].startWith(_color, '#')) {
10223
+ if (util["a" /* default */].startWith(_color, '#')) {
10210
10224
  this.themeColor = _color;
10211
10225
  }
10212
10226
  }
@@ -10215,14 +10229,14 @@ var events = [function (tabs, index, that) {
10215
10229
  }
10216
10230
  if (results[i].webPageWatermark) {
10217
10231
  try {
10218
- utils_util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
10219
- utils_util["a" /* default */].watermark(results[i].webPageWatermark);
10232
+ util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
10233
+ util["a" /* default */].watermark(results[i].webPageWatermark);
10220
10234
  } catch (error) {
10221
- utils_util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
10235
+ util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
10222
10236
  }
10223
10237
  }
10224
10238
  if (results[i].loginPage) {
10225
- utils_util["a" /* default */].setStorage('loginPage', results[i].loginPage);
10239
+ util["a" /* default */].setStorage('loginPage', results[i].loginPage);
10226
10240
  }
10227
10241
  if (results[i].aiConfig) {
10228
10242
  if (typeof results[i].aiConfig == 'string') {
@@ -10244,7 +10258,7 @@ var events = [function (tabs, index, that) {
10244
10258
  }
10245
10259
  if (i === 'userModel' && results[i]) {
10246
10260
  if (results[i].userHeadUrl) {
10247
- results[i].userHeadUrl = utils_util["a" /* default */].jointUrl({
10261
+ results[i].userHeadUrl = util["a" /* default */].jointUrl({
10248
10262
  url: results[i].userHeadUrl,
10249
10263
  reg: '/main2'
10250
10264
  });
@@ -10268,8 +10282,8 @@ var events = [function (tabs, index, that) {
10268
10282
  getApplications: function getApplications() {
10269
10283
  var _this = this;
10270
10284
 
10271
- var loading = utils_util["a" /* default */].loading('', '加载中...');
10272
- utils_util["a" /* default */].ajax({
10285
+ var loading = util["a" /* default */].loading('', '加载中...');
10286
+ util["a" /* default */].ajax({
10273
10287
  url: this.appsUrl,
10274
10288
  defaults: true
10275
10289
  }).then(function (res) {
@@ -10316,7 +10330,7 @@ var events = [function (tabs, index, that) {
10316
10330
  getMenus: function getMenus(loading) {
10317
10331
  var _this2 = this;
10318
10332
 
10319
- utils_util["a" /* default */].ajax({ url: this._menuUrl }).then(function (res) {
10333
+ util["a" /* default */].ajax({ url: this._menuUrl }).then(function (res) {
10320
10334
  loading.close();
10321
10335
  if (res.rCode === 0) {
10322
10336
  if (res.results && res.results.length) {
@@ -10456,7 +10470,7 @@ var events = [function (tabs, index, that) {
10456
10470
  res.method = 'router';
10457
10471
  res.path = path;
10458
10472
  } else {
10459
- var urlopenmode = utils_util["a" /* default */].getParams({
10473
+ var urlopenmode = util["a" /* default */].getParams({
10460
10474
  url: url,
10461
10475
  name: 'urlopenmode'
10462
10476
  });
@@ -10605,7 +10619,7 @@ var events = [function (tabs, index, that) {
10605
10619
  initWebSocket: function initWebSocket() {
10606
10620
  var _this4 = this;
10607
10621
 
10608
- this.webSocket = utils_util["a" /* default */].socket({
10622
+ this.webSocket = util["a" /* default */].socket({
10609
10623
  url: api["fc" /* wss */],
10610
10624
  take: api["Vb" /* topic */],
10611
10625
  success: function success(res) {
@@ -10640,8 +10654,8 @@ var events = [function (tabs, index, that) {
10640
10654
  if (_this4.$eventBus) {
10641
10655
  _this4.$eventBus.$emit('websocket', data);
10642
10656
  }
10643
- if (utils_util["a" /* default */].win.eventBus) {
10644
- utils_util["a" /* default */].win.eventBus.$emit('websocket', data);
10657
+ if (util["a" /* default */].win.eventBus) {
10658
+ util["a" /* default */].win.eventBus.$emit('websocket', data);
10645
10659
  }
10646
10660
  }
10647
10661
  });
@@ -10676,7 +10690,7 @@ var events = [function (tabs, index, that) {
10676
10690
  if (res.permission === false) {
10677
10691
  return false;
10678
10692
  }
10679
- var i = utils_util["a" /* default */].indexOfObj(this.newApps, res, 'id');
10693
+ var i = util["a" /* default */].indexOfObj(this.newApps, res, 'id');
10680
10694
  if (i == -1) {
10681
10695
  this.newApps.push(res);
10682
10696
  }
@@ -10705,24 +10719,24 @@ var events = [function (tabs, index, that) {
10705
10719
  if (res.url) {
10706
10720
  if (res.urlopenmode == 1 || res.openModel == 1) {
10707
10721
  set = false;
10708
- utils_util["a" /* default */].win.open(res.url);
10722
+ util["a" /* default */].win.open(res.url);
10709
10723
  } else if (res.urlopenmode == 2 || res.openModel == 2) {
10710
10724
  set = false;
10711
- utils_util["a" /* default */].win.open(res.url, '_self');
10725
+ util["a" /* default */].win.open(res.url, '_self');
10712
10726
  } else {
10713
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, res, 'id');
10727
+ var i = util["a" /* default */].indexOfObj(this.tabs, res, 'id');
10714
10728
  this.activeName = res.id;
10715
10729
  if (i == -1) {
10716
10730
  var obj = this.getMenu(this.menus, res.url);
10717
10731
  if (obj) {
10718
- var n = utils_util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
10732
+ var n = util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
10719
10733
  if (n == -1) {
10720
10734
  var tab = this.setIframeType(obj);
10721
10735
  this.tabs.push(tab);
10722
10736
  this.activeName = tab.id;
10723
10737
  } else {
10724
10738
  if (obj.method == 'iframe') {
10725
- obj.url = utils_util["a" /* default */].handlerUrl(obj.url);
10739
+ obj.url = util["a" /* default */].handlerUrl(obj.url);
10726
10740
  }
10727
10741
  }
10728
10742
  } else {
@@ -10732,7 +10746,7 @@ var events = [function (tabs, index, that) {
10732
10746
  }
10733
10747
  } else {
10734
10748
  if (res.method == 'iframe') {
10735
- res.url = utils_util["a" /* default */].handlerUrl(res.url);
10749
+ res.url = util["a" /* default */].handlerUrl(res.url);
10736
10750
  }
10737
10751
  }
10738
10752
  }
@@ -10750,14 +10764,14 @@ var events = [function (tabs, index, that) {
10750
10764
  this.showMenu = subMenus !== false;
10751
10765
  this.showApps = false;
10752
10766
  if (subMenus && subMenus.url) {
10753
- var _i = utils_util["a" /* default */].indexOfObj(this.tabs, subMenus, 'id');
10767
+ var _i = util["a" /* default */].indexOfObj(this.tabs, subMenus, 'id');
10754
10768
  this.activeName = subMenus.id;
10755
10769
  if (_i == -1) {
10756
10770
  var _tab6 = this.setIframeType(subMenus);
10757
10771
  this.tabs.push(_tab6);
10758
10772
  } else {
10759
10773
  if (subMenus.method == 'iframe') {
10760
- subMenus.url = utils_util["a" /* default */].handlerUrl(subMenus.url);
10774
+ subMenus.url = util["a" /* default */].handlerUrl(subMenus.url);
10761
10775
  }
10762
10776
  }
10763
10777
  }
@@ -10779,7 +10793,7 @@ var events = [function (tabs, index, that) {
10779
10793
  this.drawer.mounted = res.mounted;
10780
10794
  this.drawer.url = res.url;
10781
10795
  if (res.mounted === 'wujie') {
10782
- this.drawer.name = res.name || utils_util["a" /* default */].uuid();
10796
+ this.drawer.name = res.name || util["a" /* default */].uuid();
10783
10797
  }
10784
10798
  },
10785
10799
 
@@ -10800,7 +10814,7 @@ var events = [function (tabs, index, that) {
10800
10814
  handlerClickMenu: function handlerClickMenu(res) {
10801
10815
  var _this5 = this;
10802
10816
 
10803
- utils_util["a" /* default */].ajax({
10817
+ util["a" /* default */].ajax({
10804
10818
  url: api["mb" /* recordUserApp */],
10805
10819
  params: {
10806
10820
  userId: this.user.userId,
@@ -10809,7 +10823,7 @@ var events = [function (tabs, index, that) {
10809
10823
  }).then(function () {}).catch(function () {});
10810
10824
  this.showMsg = false;
10811
10825
  this.showSet = false;
10812
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, res, 'id');
10826
+ var i = util["a" /* default */].indexOfObj(this.tabs, res, 'id');
10813
10827
  if (i == -1) {
10814
10828
  var tab = this.setIframeType(res);
10815
10829
  this.tabs.push(tab);
@@ -10818,7 +10832,7 @@ var events = [function (tabs, index, that) {
10818
10832
  var _tab7 = this.tabs[i];
10819
10833
  if (_tab7.method === 'iframe') {
10820
10834
  this.activeName = res.id;
10821
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab7.url));
10835
+ this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab7.url));
10822
10836
  } else {
10823
10837
  this.$set(this.tabs[i], 'refresh', false);
10824
10838
  if (_tab7.method === 'wujie') {
@@ -10880,14 +10894,14 @@ var events = [function (tabs, index, that) {
10880
10894
  handleRefresh: function handleRefresh() {
10881
10895
  var _this6 = this;
10882
10896
 
10883
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
10897
+ var i = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
10884
10898
  var tab = this.tabs[i];
10885
10899
  if (tab.method === 'iframe') {
10886
- tab.url = utils_util["a" /* default */].handlerUrl(tab.url);
10900
+ tab.url = util["a" /* default */].handlerUrl(tab.url);
10887
10901
  } else {
10888
10902
  var _tab8 = this.tabs[i];
10889
10903
  if (_tab8.method === 'iframe') {
10890
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab8.url));
10904
+ this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab8.url));
10891
10905
  } else {
10892
10906
  this.$set(this.tabs[i], 'refresh', false);
10893
10907
  this.$nextTick(function () {
@@ -10904,7 +10918,7 @@ var events = [function (tabs, index, that) {
10904
10918
  **/
10905
10919
  handleRemove: function handleRemove(name) {
10906
10920
  var len = this.tabs.length - 1;
10907
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, name, 'id,code,appCode');
10921
+ var i = util["a" /* default */].indexOfObj(this.tabs, name, 'id,code,appCode');
10908
10922
  if (i > -1) {
10909
10923
  this.tabs.splice(i, 1);
10910
10924
  if (this.tabs.length == 0) {
@@ -10982,9 +10996,9 @@ var events = [function (tabs, index, that) {
10982
10996
  if (event) {
10983
10997
  event();
10984
10998
  } else if (open) {
10985
- utils_util["a" /* default */].win.open(open);
10999
+ util["a" /* default */].win.open(open);
10986
11000
  } else if (link) {
10987
- utils_util["a" /* default */].win.open(link, '_self');
11001
+ util["a" /* default */].win.open(link, '_self');
10988
11002
  } else {
10989
11003
  switch (type) {
10990
11004
  case 'quit':
@@ -11004,20 +11018,20 @@ var events = [function (tabs, index, that) {
11004
11018
  this.showSet = false;
11005
11019
  break;
11006
11020
  case 'index':
11007
- utils_util["a" /* default */].win.open(this.doorIndex, '_self');
11021
+ util["a" /* default */].win.open(this.doorIndex, '_self');
11008
11022
  break;
11009
11023
  case 'set':
11010
11024
  this.showSet = !this.showSet;
11011
11025
  this.showMsg = false;
11012
11026
  break;
11013
11027
  case 'home':
11014
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, this.homePage.id, 'id');
11028
+ var i = util["a" /* default */].indexOfObj(this.tabs, this.homePage.id, 'id');
11015
11029
  if (i == -1) {
11016
11030
  this.tabs.unshift(this.homePage);
11017
11031
  } else {
11018
11032
  var tab = this.tabs[i];
11019
11033
  if (tab.method === 'iframe') {
11020
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(tab.url));
11034
+ this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(tab.url));
11021
11035
  } else {
11022
11036
  this.$set(this.tabs[i], 'refresh', false);
11023
11037
  this.$nextTick(function () {
@@ -11039,7 +11053,7 @@ var events = [function (tabs, index, that) {
11039
11053
  this.showSet = false;
11040
11054
  break;
11041
11055
  case 'goView':
11042
- utils_util["a" /* default */].win.open(res.path, '_blank');
11056
+ util["a" /* default */].win.open(res.path, '_blank');
11043
11057
  break;
11044
11058
  }
11045
11059
  }
@@ -11059,18 +11073,18 @@ var events = [function (tabs, index, that) {
11059
11073
  cancelButtonText: '取消',
11060
11074
  type: 'warning'
11061
11075
  }).then(function () {
11062
- utils_util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
11076
+ util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
11063
11077
  if (res.rCode == 0) {
11064
- utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
11078
+ util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
11065
11079
  if (_this8.onQuit && typeof _this8.onQuit === 'function') {
11066
11080
  _this8.onQuit();
11067
11081
  } else {
11068
11082
  try {
11069
- var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
11083
+ var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
11070
11084
  if (loginPage) {
11071
11085
  var src = void 0;
11072
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
11073
- var pathname = utils_util["a" /* default */].win.top.location.pathname;
11086
+ if (!util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
11087
+ var pathname = util["a" /* default */].win.top.location.pathname;
11074
11088
  if (pathname !== '/') {
11075
11089
  pathname = pathname.split('/');
11076
11090
  pathname.splice(pathname.length - 1);
@@ -11082,20 +11096,20 @@ var events = [function (tabs, index, that) {
11082
11096
  } else {
11083
11097
  src = loginPage;
11084
11098
  }
11085
- utils_util["a" /* default */].win.top.location.href = src;
11086
- } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
11087
- utils_util["a" /* default */].win.top.location.href = './login.html';
11099
+ util["a" /* default */].win.top.location.href = src;
11100
+ } else if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
11101
+ util["a" /* default */].win.top.location.href = './login.html';
11088
11102
  } else {
11089
- var hash = utils_util["a" /* default */].win.top.location.hash;
11103
+ var hash = util["a" /* default */].win.top.location.hash;
11090
11104
  if (hash) {
11091
- var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
11092
- utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
11105
+ var len = util["a" /* default */].win.top.location.href.indexOf(hash);
11106
+ util["a" /* default */].win.top.location.href = util["a" /* default */].win.location.href.slice(0, len) + '#/login';
11093
11107
  } else {
11094
- utils_util["a" /* default */].win.top.location.href = '/login.html';
11108
+ util["a" /* default */].win.top.location.href = '/login.html';
11095
11109
  }
11096
11110
  }
11097
11111
  } catch (error) {
11098
- utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
11112
+ util["a" /* default */].win.postMessage({ type: 1 }, '*');
11099
11113
  }
11100
11114
  }
11101
11115
  }
@@ -11167,8 +11181,8 @@ var events = [function (tabs, index, that) {
11167
11181
  }
11168
11182
  var obj = this.getMenu(this.menus, apps[apps.length - 1]);
11169
11183
  if (obj) {
11170
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, obj, 'id,code,appCode');
11171
- var n = utils_util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
11184
+ var i = util["a" /* default */].indexOfObj(this.tabs, obj, 'id,code,appCode');
11185
+ var n = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
11172
11186
  var old = this.activeName;
11173
11187
  this.activeName = obj.id;
11174
11188
  if (i == -1) {
@@ -11177,7 +11191,7 @@ var events = [function (tabs, index, that) {
11177
11191
  } else {
11178
11192
  var _tab9 = this.tabs[i];
11179
11193
  if (_tab9.method === 'iframe') {
11180
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab9.url));
11194
+ this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab9.url));
11181
11195
  } else {
11182
11196
  this.$set(this.tabs[i], 'refresh', false);
11183
11197
  this.$nextTick(function () {
@@ -11189,7 +11203,7 @@ var events = [function (tabs, index, that) {
11189
11203
  if (close === old) {
11190
11204
  this.tabs.splice(n, 0);
11191
11205
  } else {
11192
- var d = utils_util["a" /* default */].indexOfObj(this.tabs, close, 'id,code,appCode');
11206
+ var d = util["a" /* default */].indexOfObj(this.tabs, close, 'id,code,appCode');
11193
11207
  if (d > -1) {
11194
11208
  this.tabs.splice(d, 0);
11195
11209
  }
@@ -11204,7 +11218,7 @@ var events = [function (tabs, index, that) {
11204
11218
  handleListener: function handleListener() {
11205
11219
  var _this11 = this;
11206
11220
 
11207
- utils_util["a" /* default */].win.addEventListener('message', function (e) {
11221
+ util["a" /* default */].win.addEventListener('message', function (e) {
11208
11222
  var msg = e.data;
11209
11223
  if (msg.key == 'jump_Menu') {
11210
11224
  var res = msg.data1;
@@ -11242,11 +11256,11 @@ var events = [function (tabs, index, that) {
11242
11256
 
11243
11257
  var simplicity_component = Object(componentNormalizer["a" /* default */])(
11244
11258
  src_simplicityvue_type_script_lang_js_,
11245
- simplicityvue_type_template_id_7b4d5e88_scoped_true_render,
11246
- simplicityvue_type_template_id_7b4d5e88_scoped_true_staticRenderFns,
11259
+ simplicityvue_type_template_id_d7dbfbf8_scoped_true_render,
11260
+ simplicityvue_type_template_id_d7dbfbf8_scoped_true_staticRenderFns,
11247
11261
  false,
11248
11262
  null,
11249
- "7b4d5e88",
11263
+ "d7dbfbf8",
11250
11264
  null
11251
11265
 
11252
11266
  )
@@ -11911,12 +11925,12 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
11911
11925
 
11912
11926
  methods: {
11913
11927
  getQrcode: function getQrcode() {
11914
- this.qrcode = utils_util["a" /* default */].getStorage('host') + this.userScanBindImgUrl + '&_tt=' + Math.random().toString().split('.')[1];
11928
+ this.qrcode = util["a" /* default */].getStorage('host') + this.userScanBindImgUrl + '&_tt=' + Math.random().toString().split('.')[1];
11915
11929
  },
11916
11930
  getData: function getData() {
11917
11931
  var _this2 = this;
11918
11932
 
11919
- utils_util["a" /* default */].ajax({
11933
+ util["a" /* default */].ajax({
11920
11934
  url: api["ab" /* initUserSet */]
11921
11935
  }).then(function (res) {
11922
11936
  if (res.rCode === 0) {
@@ -11937,7 +11951,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
11937
11951
  // this.values.officeTel = results.simpleUserInfo.officeTel;
11938
11952
  if (results.userScanBindImgUrl) {
11939
11953
  _this2.userScanBindImgUrl = results.userScanBindImgUrl;
11940
- _this2.qrcode = utils_util["a" /* default */].getStorage('host') + results.userScanBindImgUrl;
11954
+ _this2.qrcode = util["a" /* default */].getStorage('host') + results.userScanBindImgUrl;
11941
11955
  } else {
11942
11956
  _this2.qrcode = '';
11943
11957
  }
@@ -11966,20 +11980,20 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
11966
11980
 
11967
11981
  switch (type) {
11968
11982
  case 'job':
11969
- utils_util["a" /* default */].ajax({ url: api["wb" /* switchUserTo */], params: { userId: value.value } }).then(function (res) {
11983
+ util["a" /* default */].ajax({ url: api["wb" /* switchUserTo */], params: { userId: value.value } }).then(function (res) {
11970
11984
  if (res.rCode == 0) {
11971
- utils_util["a" /* default */].setStorage({
11985
+ util["a" /* default */].setStorage({
11972
11986
  type: _this3.storage,
11973
11987
  key: 'userId',
11974
11988
  value: value.value
11975
11989
  });
11976
- utils_util["a" /* default */].removeStorage(['mainConfig', 'jump']);
11990
+ util["a" /* default */].removeStorage(['mainConfig', 'jump']);
11977
11991
  _this3.$message({
11978
11992
  message: res.msg,
11979
11993
  type: 'success',
11980
11994
  duration: 500,
11981
11995
  onClose: function onClose() {
11982
- if (utils_util["a" /* default */].win.location.href.indexOf('#/main') > -1 || utils_util["a" /* default */].win.location.href.indexOf('/main.html') > -1) {
11996
+ if (util["a" /* default */].win.location.href.indexOf('#/main') > -1 || util["a" /* default */].win.location.href.indexOf('/main.html') > -1) {
11983
11997
  location.reload();
11984
11998
  } else {
11985
11999
  _this3.$router.replace('/main');
@@ -12004,19 +12018,19 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
12004
12018
  handleFormSubmit: function handleFormSubmit() {
12005
12019
  var _this4 = this;
12006
12020
 
12007
- var initLogin = utils_util["a" /* default */].getStorage('initLogin');
12021
+ var initLogin = util["a" /* default */].getStorage('initLogin');
12008
12022
  initLogin && (initLogin = JSON.parse(initLogin));
12009
- utils_util["a" /* default */].ajax({
12023
+ util["a" /* default */].ajax({
12010
12024
  url: api["Zb" /* updateUserInfo */],
12011
12025
  params: {
12012
12026
  email: this.values.email,
12013
12027
  officeTel: this.values.officeTel,
12014
12028
  phone: this.values.phone,
12015
- oldPassword: this.secret && initLogin && initLogin.secret && this.values.oldpassword ? utils_util["a" /* default */].esmEncrypt({
12029
+ oldPassword: this.secret && initLogin && initLogin.secret && this.values.oldpassword ? util["a" /* default */].esmEncrypt({
12016
12030
  data: this.values.oldpassword,
12017
12031
  key: initLogin.secret
12018
12032
  }) : this.values.oldpassword,
12019
- password: this.secret && initLogin && initLogin.secret && this.values.password ? utils_util["a" /* default */].esmEncrypt({
12033
+ password: this.secret && initLogin && initLogin.secret && this.values.password ? util["a" /* default */].esmEncrypt({
12020
12034
  data: this.values.password,
12021
12035
  key: initLogin.secret
12022
12036
  }) : this.values.password
@@ -12030,12 +12044,12 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
12030
12044
  closeOnClickModal: false,
12031
12045
  type: 'warning'
12032
12046
  }).then(function () {
12033
- var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
12047
+ var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
12034
12048
  try {
12035
12049
  if (loginPage) {
12036
12050
  var src = void 0;
12037
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
12038
- var pathname = utils_util["a" /* default */].win.top.location.pathname;
12051
+ if (!util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
12052
+ var pathname = util["a" /* default */].win.top.location.pathname;
12039
12053
  if (pathname !== '/') {
12040
12054
  pathname = pathname.split('/');
12041
12055
  pathname.splice(pathname.length - 1);
@@ -12047,27 +12061,27 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
12047
12061
  } else {
12048
12062
  src = loginPage;
12049
12063
  }
12050
- utils_util["a" /* default */].win.top.location.href = src;
12051
- } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
12052
- utils_util["a" /* default */].win.top.location.href = './login.html';
12064
+ util["a" /* default */].win.top.location.href = src;
12065
+ } else if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
12066
+ util["a" /* default */].win.top.location.href = './login.html';
12053
12067
  } else {
12054
- var hash = utils_util["a" /* default */].win.top.location.hash;
12068
+ var hash = util["a" /* default */].win.top.location.hash;
12055
12069
  if (hash) {
12056
- var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
12057
- utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
12070
+ var len = util["a" /* default */].win.top.location.href.indexOf(hash);
12071
+ util["a" /* default */].win.top.location.href = util["a" /* default */].win.location.href.slice(0, len) + '#/login';
12058
12072
  } else {
12059
- utils_util["a" /* default */].win.top.location.href = '/login.html';
12073
+ util["a" /* default */].win.top.location.href = '/login.html';
12060
12074
  }
12061
12075
  }
12062
12076
  } catch (error) {
12063
- utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
12077
+ util["a" /* default */].win.postMessage({ type: 1 }, '*');
12064
12078
  }
12065
12079
  }).catch(function (e) {});
12066
12080
  } else {
12067
12081
  _this4.$emit('reGetConfig');
12068
12082
  var notify = _this4.values.notify.sort().join(',');
12069
12083
  if (notify != _this4.notify.split(',').sort().join(',')) {
12070
- utils_util["a" /* default */].ajax({
12084
+ util["a" /* default */].ajax({
12071
12085
  url: api["Yb" /* updateUserCustomInfo */],
12072
12086
  params: {
12073
12087
  notify: notify
@@ -12096,7 +12110,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
12096
12110
  },
12097
12111
  repassword: function repassword(rule, value, callback) {
12098
12112
  if (this.values.oldpassword && this.values.password && value) {
12099
- utils_util["a" /* default */].identical({ value: [value, this.values.password], callback: callback });
12113
+ util["a" /* default */].identical({ value: [value, this.values.password], callback: callback });
12100
12114
  } else {
12101
12115
  callback();
12102
12116
  return true;
@@ -12589,7 +12603,7 @@ settingsvue_type_template_id_2d7a058d_render._withStripped = true
12589
12603
  res = res.toLowerCase();
12590
12604
  // const rgb = util.getRgb(res);
12591
12605
  // const luma = 0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2];
12592
- utils_util["a" /* default */].updateTheme(res);
12606
+ util["a" /* default */].updateTheme(res);
12593
12607
  this.color = res;
12594
12608
  this.$emit('change', { type: 'theme', value: res });
12595
12609
  //this.setTheme(res);
@@ -12898,7 +12912,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
12898
12912
  };
12899
12913
  },
12900
12914
  mounted: function mounted() {
12901
- utils_util["a" /* default */].win.deleteMsg = this.handleRemove;
12915
+ util["a" /* default */].win.deleteMsg = this.handleRemove;
12902
12916
  },
12903
12917
 
12904
12918
  methods: {
@@ -12908,7 +12922,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
12908
12922
 
12909
12923
  if (this.pageNum <= this.pageCount) {
12910
12924
  this.loading = true;
12911
- utils_util["a" /* default */].ajax({
12925
+ util["a" /* default */].ajax({
12912
12926
  url: api["xb" /* sysMsgPage */],
12913
12927
  params: {
12914
12928
  pageNum: reload ? 1 : this.pageNum,
@@ -12941,7 +12955,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
12941
12955
  handleIgnore: function handleIgnore(res, i) {
12942
12956
  var _this2 = this;
12943
12957
 
12944
- utils_util["a" /* default */].ajax({
12958
+ util["a" /* default */].ajax({
12945
12959
  url: api["W" /* ignoreSysMsg */],
12946
12960
  params: {
12947
12961
  id: res.id
@@ -12961,7 +12975,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
12961
12975
  handleIgnoreAll: function handleIgnoreAll() {
12962
12976
  var _this3 = this;
12963
12977
 
12964
- utils_util["a" /* default */].ajax({
12978
+ util["a" /* default */].ajax({
12965
12979
  url: api["V" /* ignoreAllSysMsg */]
12966
12980
  }).then(function (res) {
12967
12981
  _this3.count = 0;
@@ -12979,7 +12993,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
12979
12993
  this.count -= 1;
12980
12994
  this.msgs.splice(index, 1);
12981
12995
  if (this.winopen) {
12982
- utils_util["a" /* default */].win.open(item.handlerUrl);
12996
+ util["a" /* default */].win.open(item.handlerUrl);
12983
12997
  } else {
12984
12998
  this.dialog = {
12985
12999
  show: true,
@@ -13281,7 +13295,7 @@ noticevue_type_template_id_2f7f31eb_render._withStripped = true
13281
13295
  handleIgnoreAll: function handleIgnoreAll() {
13282
13296
  var _this = this;
13283
13297
 
13284
- utils_util["a" /* default */].ajax({
13298
+ util["a" /* default */].ajax({
13285
13299
  url: api["V" /* ignoreAllSysMsg */]
13286
13300
  }).then(function (res) {
13287
13301
  _this.count = 0;
@@ -13298,7 +13312,7 @@ noticevue_type_template_id_2f7f31eb_render._withStripped = true
13298
13312
  //处理消息
13299
13313
  handleMessage: function handleMessage(item, index) {
13300
13314
  if (item.urlopenmode === 1 || this.winopen) {
13301
- utils_util["a" /* default */].win.open(item.handlerUrl);
13315
+ util["a" /* default */].win.open(item.handlerUrl);
13302
13316
  } else {
13303
13317
  this.dialog = {
13304
13318
  show: true,
@@ -13564,8 +13578,8 @@ var defaultvue_type_script_lang_js_extends = Object.assign || function (target)
13564
13578
 
13565
13579
 
13566
13580
  var defaultvue_type_script_lang_js_isIE = navigator.userAgent.indexOf('MSIE') != -1;
13567
- var log = utils_util["a" /* default */].getParams('console');
13568
- var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["a" /* default */].getParams('appcode');
13581
+ var log = util["a" /* default */].getParams('console');
13582
+ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* default */].getParams('appcode');
13569
13583
  /* harmony default export */ var defaultvue_type_script_lang_js_ = ({
13570
13584
  name: 'MainDefault',
13571
13585
  inheritAttrs: false,
@@ -13648,7 +13662,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13648
13662
  storage: {
13649
13663
  type: String,
13650
13664
  default: function _default() {
13651
- return utils_util["a" /* default */].getStorage('storage');
13665
+ return util["a" /* default */].getStorage('storage');
13652
13666
  }
13653
13667
  },
13654
13668
  //是否启用子应用菜单接口
@@ -13757,11 +13771,11 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13757
13771
  return this.isSide !== null ? this.isSide : this.sideNav;
13758
13772
  },
13759
13773
  isHomePage: function isHomePage() {
13760
- if (utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId')) {
13774
+ if (util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId')) {
13761
13775
  return false;
13762
13776
  }
13763
- if (utils_util["a" /* default */].getStorage('mainConfig')) {
13764
- var hash = utils_util["a" /* default */].win.location.hash;
13777
+ if (util["a" /* default */].getStorage('mainConfig')) {
13778
+ var hash = util["a" /* default */].win.location.hash;
13765
13779
  if (hash && hash.split('?')[0] !== '#/' && hash.split('?')[0] !== '#/main') {
13766
13780
  return false;
13767
13781
  }
@@ -13864,7 +13878,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13864
13878
  handler: function handler(val) {
13865
13879
  if (this.set) {
13866
13880
  localStorage.setItem('theme', val);
13867
- utils_util["a" /* default */].updateTheme(val);
13881
+ util["a" /* default */].updateTheme(val);
13868
13882
  }
13869
13883
  }
13870
13884
  }
@@ -13936,7 +13950,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13936
13950
  //显示设置面板
13937
13951
  showSet: false,
13938
13952
  //当前设置的主题
13939
- color: utils_util["a" /* default */].getStorage('theme') ? utils_util["a" /* default */].getStorage('theme') : this.theme,
13953
+ color: util["a" /* default */].getStorage('theme') ? util["a" /* default */].getStorage('theme') : this.theme,
13940
13954
  //显示用户信息
13941
13955
  showUserInfo: false,
13942
13956
  userInfoContents: undefined,
@@ -13966,15 +13980,15 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13966
13980
  };
13967
13981
  },
13968
13982
  created: function created() {
13969
- var params = utils_util["a" /* default */].getParams() || {};
13983
+ var params = util["a" /* default */].getParams() || {};
13970
13984
  if (typeof this.loadHomePage === 'string') {
13971
13985
  this.homePage = this.loadHomePage;
13972
13986
  }
13973
13987
  this.isHeader = params.header;
13974
13988
  var sysLogoIco = sessionStorage.getItem('sysLogoIco');
13975
- sysLogoIco && utils_util["a" /* default */].setFavicon(sysLogoIco);
13989
+ sysLogoIco && util["a" /* default */].setFavicon(sysLogoIco);
13976
13990
 
13977
- var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
13991
+ var mainConfig = util["a" /* default */].getStorage('mainConfig');
13978
13992
  if (mainConfig) {
13979
13993
  var results = JSON.parse(mainConfig);
13980
13994
  if (Object.keys(results).length) {
@@ -13985,12 +13999,12 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13985
13999
  },
13986
14000
  mounted: function mounted() {
13987
14001
  this.handleListener();
13988
- utils_util["a" /* default */].win.addEventListener('popstate', this.stateHandle, false);
14002
+ util["a" /* default */].win.addEventListener('popstate', this.stateHandle, false);
13989
14003
  },
13990
14004
 
13991
14005
  methods: {
13992
14006
  stateHandle: function stateHandle() {
13993
- utils_util["a" /* default */].win.location.reload();
14007
+ util["a" /* default */].win.location.reload();
13994
14008
  },
13995
14009
  menuSuccess: function menuSuccess(res) {
13996
14010
  this.menuType = 'custom';
@@ -14029,7 +14043,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14029
14043
  renderMenu: function renderMenu() {
14030
14044
  if (this.data !== undefined && this.data.length) {
14031
14045
  this.menus = JSON.parse(JSON.stringify(this.data));
14032
- var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
14046
+ var applicationid = util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId');
14033
14047
  if (applicationid) {
14034
14048
  var ids = this.getId(this.menus, applicationid);
14035
14049
  if (ids) {
@@ -14044,13 +14058,13 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14044
14058
  //this.navIds = ids;
14045
14059
  this.setTitle(_ids[0]);
14046
14060
  }
14047
- } else if (utils_util["a" /* default */].win.location.hash) {
14048
- var hash = utils_util["a" /* default */].win.location.hash;
14061
+ } else if (util["a" /* default */].win.location.hash) {
14062
+ var hash = util["a" /* default */].win.location.hash;
14049
14063
  if (hash) {
14050
14064
  hash = hash.split('?')[0];
14051
14065
  }
14052
14066
  if (hash !== '#/' && hash !== '#/main') {
14053
- var _ids2 = this.getId(this.menus, utils_util["a" /* default */].win.location.hash);
14067
+ var _ids2 = this.getId(this.menus, util["a" /* default */].win.location.hash);
14054
14068
  if (_ids2) {
14055
14069
  this.defaultActive = _ids2;
14056
14070
  //this.navIds = ids;
@@ -14076,7 +14090,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14076
14090
  if (!color) {
14077
14091
  return;
14078
14092
  }
14079
- utils_util["a" /* default */].ajax({
14093
+ util["a" /* default */].ajax({
14080
14094
  url: api["Yb" /* updateUserCustomInfo */],
14081
14095
  params: { color: escape(color.toLowerCase()) },
14082
14096
  data: { color: escape(color.toLowerCase()) }
@@ -14084,7 +14098,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14084
14098
  if (res.rCode === 0) {
14085
14099
  _this.color = color;
14086
14100
  localStorage.setItem('theme', color);
14087
- var _mainConfig = JSON.parse(utils_util["a" /* default */].getStorage('mainConfig'));
14101
+ var _mainConfig = JSON.parse(util["a" /* default */].getStorage('mainConfig'));
14088
14102
  _mainConfig.userStyle.color = _this.color;
14089
14103
  sessionStorage.setItem('mainConfig', JSON.stringify(_mainConfig));
14090
14104
  _this.$emit('setting', 'theme', _this.color);
@@ -14120,7 +14134,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14120
14134
  this.initWebSocket();
14121
14135
  }
14122
14136
  sessionStorage.setItem('mainConfig', JSON.stringify(results));
14123
- utils_util["a" /* default */].setStorage({
14137
+ util["a" /* default */].setStorage({
14124
14138
  type: this.storage,
14125
14139
  key: {
14126
14140
  depId: results.userModel.depId,
@@ -14141,8 +14155,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14141
14155
  this.results[i] = results[i].split(',');
14142
14156
  }
14143
14157
  if (i === 'indexUrl' && results[i] && this.loadHomePage) {
14144
- var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
14145
- var hash = utils_util["a" /* default */].win.location.hash;
14158
+ var applicationid = util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId');
14159
+ var hash = util["a" /* default */].win.location.hash;
14146
14160
  if (hash) {
14147
14161
  hash = hash.split('?')[0];
14148
14162
  }
@@ -14173,15 +14187,15 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14173
14187
  document.title = results[i];
14174
14188
  }
14175
14189
  if (i === 'loginPage' && results[i]) {
14176
- utils_util["a" /* default */].setStorage('loginPage', results[i]);
14190
+ util["a" /* default */].setStorage('loginPage', results[i]);
14177
14191
  }
14178
14192
  if (i === 'sysLogoIco' && results[i]) {
14179
14193
  sessionStorage.setItem('sysLogoIco', results[i]);
14180
- utils_util["a" /* default */].setFavicon(results[i]);
14194
+ util["a" /* default */].setFavicon(results[i]);
14181
14195
  }
14182
14196
  if (i === 'userStyle' && results[i] && results[i].color) {
14183
14197
  var color = unescape(results[i].color).toLowerCase();
14184
- if (utils_util["a" /* default */].startWith(color, '#')) {
14198
+ if (util["a" /* default */].startWith(color, '#')) {
14185
14199
  this.color = color;
14186
14200
  }
14187
14201
  }
@@ -14194,14 +14208,14 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14194
14208
  }
14195
14209
  if (results[i].webPageWatermark) {
14196
14210
  try {
14197
- utils_util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
14198
- utils_util["a" /* default */].watermark(results[i].webPageWatermark);
14211
+ util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
14212
+ util["a" /* default */].watermark(results[i].webPageWatermark);
14199
14213
  } catch (error) {
14200
- utils_util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
14214
+ util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
14201
14215
  }
14202
14216
  }
14203
14217
  if (results[i].loginPage) {
14204
- utils_util["a" /* default */].setStorage('loginPage', results[i].loginPage);
14218
+ util["a" /* default */].setStorage('loginPage', results[i].loginPage);
14205
14219
  }
14206
14220
  if (results[i].portalPage || results[i].portalpage) {
14207
14221
  this.doorIndex = results[i].portalPage || results[i].portalpage;
@@ -14227,7 +14241,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14227
14241
  reGetConfig: function reGetConfig() {
14228
14242
  var _this2 = this;
14229
14243
 
14230
- utils_util["a" /* default */].ajax({ url: this.mainConfig }).then(function (res) {
14244
+ util["a" /* default */].ajax({ url: this.mainConfig }).then(function (res) {
14231
14245
  if (res && res.rCode === 0) {
14232
14246
  var results = JSON.parse(JSON.stringify(res.results));
14233
14247
  _this2.setConfig(results, 1);
@@ -14258,9 +14272,9 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14258
14272
  this.hideSubMenu = hide;
14259
14273
  }
14260
14274
  var option = { url: res, isUrl: isUrl, param: param };
14261
- if (utils_util["a" /* default */].isObject(res)) {
14275
+ if (util["a" /* default */].isObject(res)) {
14262
14276
  if (res.urlopenmode == 1) {
14263
- utils_util["a" /* default */].win.open(res.url);
14277
+ util["a" /* default */].win.open(res.url);
14264
14278
  return;
14265
14279
  } else if (res.urlopenmode == 2) {
14266
14280
  location.href = res.url;
@@ -14285,7 +14299,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14285
14299
  if (routes) {
14286
14300
  var path = this.hasRouter(routes, option.url);
14287
14301
  if (path) {
14288
- var params = utils_util["a" /* default */].getParams({ url: option.url });
14302
+ var params = util["a" /* default */].getParams({ url: option.url });
14289
14303
  this.$router.push({
14290
14304
  path: path,
14291
14305
  query: params
@@ -14416,7 +14430,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14416
14430
 
14417
14431
  var param = this.menuCode ? { menuCode: this.menuCode } : {};
14418
14432
  var params = defaultvue_type_script_lang_js_extends({}, this.param, param);
14419
- utils_util["a" /* default */].ajax({ url: this.action, params: params }).then(function (res) {
14433
+ util["a" /* default */].ajax({ url: this.action, params: params }).then(function (res) {
14420
14434
  if (res.rCode === 0) {
14421
14435
  if (res.results && res.results.length) {
14422
14436
  _this4.menus = JSON.parse(JSON.stringify(res.results));
@@ -14439,19 +14453,19 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14439
14453
 
14440
14454
  //设置默认左侧导航
14441
14455
  setMenu: function setMenu(res) {
14442
- var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
14456
+ var applicationid = util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId');
14443
14457
  if (applicationid) {
14444
14458
  var ids = this.getId(this.menus, applicationid);
14445
14459
  if (ids) {
14446
14460
  this.defaultActive = ids;
14447
14461
  }
14448
- } else if (utils_util["a" /* default */].win.location.hash) {
14449
- var hash = utils_util["a" /* default */].win.location.hash;
14462
+ } else if (util["a" /* default */].win.location.hash) {
14463
+ var hash = util["a" /* default */].win.location.hash;
14450
14464
  if (hash) {
14451
14465
  hash = hash.split('?')[0];
14452
14466
  }
14453
14467
  if (hash !== '#/' && hash !== '#/main') {
14454
- var _ids4 = this.getId(this.menus, utils_util["a" /* default */].win.location.hash);
14468
+ var _ids4 = this.getId(this.menus, util["a" /* default */].win.location.hash);
14455
14469
  if (_ids4) {
14456
14470
  this.defaultActive = _ids4;
14457
14471
  //this.navIds = ids;
@@ -14470,7 +14484,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14470
14484
  this.isDefault = false;
14471
14485
  this.setDefault(res, this.defaultActive);
14472
14486
  } else {
14473
- if (this.homePage || !utils_util["a" /* default */].getStorage('mainConfig')) {
14487
+ if (this.homePage || !util["a" /* default */].getStorage('mainConfig')) {
14474
14488
  this.isDefault = true;
14475
14489
  if (this.homePage && (!this.defaultActive || !this.defaultActive.length)) {
14476
14490
  var _ids6 = this.getId(this.menus, this.homePage);
@@ -14537,7 +14551,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14537
14551
  if (id && this.menu[0].id !== id) {
14538
14552
  this.active.push(id);
14539
14553
  } else {
14540
- var _hash = utils_util["a" /* default */].win.location.hash;
14554
+ var _hash = util["a" /* default */].win.location.hash;
14541
14555
  if (_hash) {
14542
14556
  _hash = _hash.split('?')[0];
14543
14557
  if (_hash !== '#/' && _hash !== '#/main') {
@@ -14721,14 +14735,14 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14721
14735
  },
14722
14736
  setUrl: function setUrl(url, param) {
14723
14737
  var obj = param ? param : {};
14724
- var params = utils_util["a" /* default */].getParams({ url: url }, true);
14738
+ var params = util["a" /* default */].getParams({ url: url }, true);
14725
14739
  for (var i in params) {
14726
14740
  if (i != 'model' && i != 'view' && i != '_baseUrl') {
14727
14741
  obj[i] = params[i];
14728
14742
  }
14729
14743
  }
14730
14744
  var _url = params._baseUrl ? params._baseUrl : './primary.html';
14731
- return utils_util["a" /* default */].urlJoinParams({ url: _url, param: obj });
14745
+ return util["a" /* default */].urlJoinParams({ url: _url, param: obj });
14732
14746
  },
14733
14747
  handleVisibleChange: function handleVisibleChange(res) {
14734
14748
  this.showJobs = res;
@@ -14949,7 +14963,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14949
14963
  });
14950
14964
  break;
14951
14965
  case 'index':
14952
- utils_util["a" /* default */].win.open(this.doorIndex, '_self');
14966
+ util["a" /* default */].win.open(this.doorIndex, '_self');
14953
14967
  break;
14954
14968
  case 'user':
14955
14969
  this.showUserInfo = true;
@@ -14968,7 +14982,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14968
14982
  this.handleSet();
14969
14983
  break;
14970
14984
  case 'goView':
14971
- utils_util["a" /* default */].win.open(res.path, '_blank');
14985
+ util["a" /* default */].win.open(res.path, '_blank');
14972
14986
  break;
14973
14987
  }
14974
14988
  this.$emit('handler-click', res);
@@ -14979,7 +14993,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14979
14993
  var _this8 = this;
14980
14994
 
14981
14995
  if (this.method === 'iframe') {
14982
- this.page = utils_util["a" /* default */].handlerUrl(this.page);
14996
+ this.page = util["a" /* default */].handlerUrl(this.page);
14983
14997
  } else {
14984
14998
  this.refresh = false;
14985
14999
  this.$nextTick(function () {
@@ -15003,18 +15017,18 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
15003
15017
  this.pid = res.pid;
15004
15018
  }
15005
15019
  }
15006
- if (utils_util["a" /* default */].win.location.hash === page && prevPage === page) {
15020
+ if (util["a" /* default */].win.location.hash === page && prevPage === page) {
15007
15021
  this.refresh = true;
15008
15022
  return;
15009
15023
  }
15010
15024
  if (type == 1) {
15011
- utils_util["a" /* default */].win.open(page);
15025
+ util["a" /* default */].win.open(page);
15012
15026
  } else if (type == 2) {
15013
15027
  location.href = page;
15014
15028
  } else if (type == 3 || this.loadWujie === false || this.downgrade && defaultvue_type_script_lang_js_isIE) {
15015
15029
  this.method = 'iframe';
15016
15030
  this.refresh = false;
15017
- this.page = utils_util["a" /* default */].handlerUrl(page, param);
15031
+ this.page = util["a" /* default */].handlerUrl(page, param);
15018
15032
  } else if (page) {
15019
15033
  var urls = page.split('?');
15020
15034
  if (urls[0].indexOf('.js') > 1) {
@@ -15027,19 +15041,19 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
15027
15041
  } else if (urls[0].indexOf('.dhtml') > 0 || urls[0].indexOf('.html') > 0 && urls[0].indexOf('.html#') === -1) {
15028
15042
  this.method = 'iframe';
15029
15043
  this.refresh = false;
15030
- this.page = utils_util["a" /* default */].handlerUrl(page, param);
15044
+ this.page = util["a" /* default */].handlerUrl(page, param);
15031
15045
  } else {
15032
15046
  if (urls[0].indexOf('.html') === -1 && urls[0].indexOf('#/') === -1) {
15033
15047
  this.method = 'iframe';
15034
15048
  this.refresh = false;
15035
- this.page = utils_util["a" /* default */].handlerUrl(page, param);
15049
+ this.page = util["a" /* default */].handlerUrl(page, param);
15036
15050
  } else {
15037
15051
  this.method = 'router';
15038
15052
  var routes = this.$router.options.routes;
15039
15053
  if (routes) {
15040
15054
  var path = this.hasRouter(routes, urls[0]);
15041
15055
  if (path) {
15042
- var params = utils_util["a" /* default */].getParams({ url: page });
15056
+ var params = util["a" /* default */].getParams({ url: page });
15043
15057
  if (param) {
15044
15058
  params = defaultvue_type_script_lang_js_extends({}, params, param);
15045
15059
  }
@@ -15057,14 +15071,14 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
15057
15071
  _this9.refresh = true;
15058
15072
  });
15059
15073
  } else {
15060
- var urlopenmode = utils_util["a" /* default */].getParams({
15074
+ var urlopenmode = util["a" /* default */].getParams({
15061
15075
  url: page,
15062
15076
  name: 'urlopenmode'
15063
15077
  });
15064
15078
  if (this.loadWujie === false || this.downgrade && defaultvue_type_script_lang_js_isIE || urlopenmode == 3) {
15065
15079
  this.method = 'iframe';
15066
15080
  this.refresh = false;
15067
- this.page = utils_util["a" /* default */].handlerUrl(page, param);
15081
+ this.page = util["a" /* default */].handlerUrl(page, param);
15068
15082
  } else {
15069
15083
  this.method = 'wujie';
15070
15084
  this.wjName = res && res.appCode ? res.appCode : 'application';
@@ -15077,7 +15091,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
15077
15091
  } else {
15078
15092
  this.method = 'iframe';
15079
15093
  this.refresh = false;
15080
- this.page = utils_util["a" /* default */].handlerUrl(page, param);
15094
+ this.page = util["a" /* default */].handlerUrl(page, param);
15081
15095
  this.$nextTick(function () {
15082
15096
  _this9.refresh = true;
15083
15097
  });
@@ -15200,7 +15214,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
15200
15214
  handleListener: function handleListener() {
15201
15215
  var _this10 = this;
15202
15216
 
15203
- utils_util["a" /* default */].win.addEventListener('message', function (e) {
15217
+ util["a" /* default */].win.addEventListener('message', function (e) {
15204
15218
  var msg = e.data;
15205
15219
  if (msg.key == 'jump_Menu') {
15206
15220
  var res = msg.data1;
@@ -15216,7 +15230,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
15216
15230
  initWebSocket: function initWebSocket() {
15217
15231
  var _this11 = this;
15218
15232
 
15219
- this.webSocket = utils_util["a" /* default */].socket({
15233
+ this.webSocket = util["a" /* default */].socket({
15220
15234
  url: api["fc" /* wss */],
15221
15235
  take: api["Vb" /* topic */],
15222
15236
  success: function success(res) {
@@ -15251,8 +15265,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
15251
15265
  if (_this11.$eventBus) {
15252
15266
  _this11.$eventBus.$emit('websocket', data);
15253
15267
  }
15254
- if (utils_util["a" /* default */].win.eventBus) {
15255
- utils_util["a" /* default */].win.eventBus.$emit('websocket', data);
15268
+ if (util["a" /* default */].win.eventBus) {
15269
+ util["a" /* default */].win.eventBus.$emit('websocket', data);
15256
15270
  }
15257
15271
  }
15258
15272
  });
@@ -15291,7 +15305,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
15291
15305
  if (this.webSocket) {
15292
15306
  this.webSocket.destroy();
15293
15307
  }
15294
- utils_util["a" /* default */].win.removeEventListener('popstate', this.tateHandle);
15308
+ util["a" /* default */].win.removeEventListener('popstate', this.tateHandle);
15295
15309
  }
15296
15310
  });
15297
15311
  // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=script&lang=js&
@@ -15397,7 +15411,7 @@ var bus = external_wujie_vue2_default.a.bus;
15397
15411
  };
15398
15412
  },
15399
15413
  created: function created() {
15400
- this.params = utils_util["a" /* default */].getParams() || {};
15414
+ this.params = util["a" /* default */].getParams() || {};
15401
15415
  this.sysCode = this.params.sysCode;
15402
15416
  this.appCode = this.params.appCode;
15403
15417
  this.getConfig(this.params);
@@ -15406,16 +15420,16 @@ var bus = external_wujie_vue2_default.a.bus;
15406
15420
  mounted: function mounted() {
15407
15421
  var _this = this;
15408
15422
 
15409
- if (utils_util["a" /* default */].win.$wujie) {
15410
- utils_util["a" /* default */].win.$wujie.bus.$on('changeTheme', function (res) {
15411
- utils_util["a" /* default */].updateTheme(res);
15423
+ if (util["a" /* default */].win.$wujie) {
15424
+ util["a" /* default */].win.$wujie.bus.$on('changeTheme', function (res) {
15425
+ util["a" /* default */].updateTheme(res);
15412
15426
  });
15413
15427
  }
15414
15428
 
15415
- utils_util["a" /* default */].win.reLogin = this.handleReLogin;
15416
- utils_util["a" /* default */].win.windowOpen = this.openPage;
15417
- utils_util["a" /* default */].win.refresh = this.$refs.main.handleRefresh;
15418
- utils_util["a" /* default */].win.jumpMenu = this.$refs.main.jumpMenu;
15429
+ util["a" /* default */].win.reLogin = this.handleReLogin;
15430
+ util["a" /* default */].win.windowOpen = this.openPage;
15431
+ util["a" /* default */].win.refresh = this.$refs.main.handleRefresh;
15432
+ util["a" /* default */].win.jumpMenu = this.$refs.main.jumpMenu;
15419
15433
  bus.$on('reLogin', this.handleReLogin);
15420
15434
  bus.$on('refresh', this.$refs.main.handleRefresh);
15421
15435
  bus.$on('jumpMenu', this.$refs.main.jumpMenu);
@@ -15498,13 +15512,13 @@ var bus = external_wujie_vue2_default.a.bus;
15498
15512
  console.log('handleReLogin');
15499
15513
  sessionStorage.setItem('remind', 1);
15500
15514
  _this2.$confirm(msg, btn).then(function () {
15501
- utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
15502
- var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
15515
+ util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
15516
+ var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
15503
15517
  try {
15504
15518
  if (loginPage) {
15505
15519
  var src = void 0;
15506
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
15507
- var pathname = utils_util["a" /* default */].win.top.location.pathname;
15520
+ if (!util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
15521
+ var pathname = util["a" /* default */].win.top.location.pathname;
15508
15522
  if (pathname !== '/') {
15509
15523
  pathname = pathname.split('/');
15510
15524
  pathname.splice(pathname.length - 1);
@@ -15516,20 +15530,20 @@ var bus = external_wujie_vue2_default.a.bus;
15516
15530
  } else {
15517
15531
  src = loginPage;
15518
15532
  }
15519
- utils_util["a" /* default */].win.top.location.href = src;
15520
- } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
15521
- utils_util["a" /* default */].win.top.location.href = './login.html';
15533
+ util["a" /* default */].win.top.location.href = src;
15534
+ } else if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
15535
+ util["a" /* default */].win.top.location.href = './login.html';
15522
15536
  } else {
15523
- var hash = utils_util["a" /* default */].win.top.location.hash;
15537
+ var hash = util["a" /* default */].win.top.location.hash;
15524
15538
  if (hash) {
15525
- var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
15526
- utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
15539
+ var len = util["a" /* default */].win.top.location.href.indexOf(hash);
15540
+ util["a" /* default */].win.top.location.href = util["a" /* default */].win.location.href.slice(0, len) + '#/login';
15527
15541
  } else {
15528
- utils_util["a" /* default */].win.top.location.href = '/login.html';
15542
+ util["a" /* default */].win.top.location.href = '/login.html';
15529
15543
  }
15530
15544
  }
15531
15545
  } catch (error) {
15532
- utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
15546
+ util["a" /* default */].win.postMessage({ type: 1 }, '*');
15533
15547
  }
15534
15548
  }).catch(function (e) {
15535
15549
  sessionStorage.removeItem('remind');
@@ -15546,13 +15560,13 @@ var bus = external_wujie_vue2_default.a.bus;
15546
15560
  getConfig: function getConfig(query) {
15547
15561
  var _this3 = this;
15548
15562
 
15549
- var token = utils_util["a" /* default */].getStorage('token') || utils_util["a" /* default */].getStorage('Authorization');
15563
+ var token = util["a" /* default */].getStorage('token') || util["a" /* default */].getStorage('Authorization');
15550
15564
  if (!token && Object.prototype.hasOwnProperty.call(query, 'serverId') && Object.prototype.hasOwnProperty.call(query, 'authType')) {
15551
15565
  return false;
15552
15566
  }
15553
- var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
15567
+ var mainConfig = util["a" /* default */].getStorage('mainConfig');
15554
15568
  if (!mainConfig || mainConfig == '{}') {
15555
- utils_util["a" /* default */].getMainConfig(function (res) {
15569
+ util["a" /* default */].getMainConfig(function (res) {
15556
15570
  _this3.$refs.main.init(res);
15557
15571
  });
15558
15572
  }
@@ -15565,7 +15579,7 @@ var bus = external_wujie_vue2_default.a.bus;
15565
15579
  **/
15566
15580
  openPage: function openPage(url, name, width, height) {
15567
15581
  var src = url;
15568
- if (!utils_util["a" /* default */].startWith(url, ['http', '/'], true)) {
15582
+ if (!util["a" /* default */].startWith(url, ['http', '/'], true)) {
15569
15583
  var pathname = window.location.pathname;
15570
15584
  if (pathname !== '/') {
15571
15585
  pathname = pathname.split('/');
@@ -15578,15 +15592,15 @@ var bus = external_wujie_vue2_default.a.bus;
15578
15592
  var w = 0;
15579
15593
  var h = 0;
15580
15594
  try {
15581
- w = width ? width : utils_util["a" /* default */].win.top.screen.availWidth - 10;
15582
- h = height ? height : utils_util["a" /* default */].win.top.screen.availHeight - 60;
15595
+ w = width ? width : util["a" /* default */].win.top.screen.availWidth - 10;
15596
+ h = height ? height : util["a" /* default */].win.top.screen.availHeight - 60;
15583
15597
  } catch (error) {
15584
- w = width ? width : utils_util["a" /* default */].win.screen.availWidth - 10;
15585
- h = height ? height : utils_util["a" /* default */].win.screen.availHeight - 60;
15598
+ w = width ? width : util["a" /* default */].win.screen.availWidth - 10;
15599
+ h = height ? height : util["a" /* default */].win.screen.availHeight - 60;
15586
15600
  }
15587
- return utils_util["a" /* default */].win.open(src, name, 'width=' + w + 'px,height=' + h + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
15601
+ return util["a" /* default */].win.open(src, name, 'width=' + w + 'px,height=' + h + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
15588
15602
  } else {
15589
- return utils_util["a" /* default */].win.open(src);
15603
+ return util["a" /* default */].win.open(src);
15590
15604
  }
15591
15605
  },
15592
15606
 
@@ -15599,7 +15613,7 @@ var bus = external_wujie_vue2_default.a.bus;
15599
15613
  var data = _ref.data,
15600
15614
  attrs = _ref.attrs;
15601
15615
 
15602
- return utils_util["a" /* default */].exclAttribute({ data: data, attrs: attrs });
15616
+ return util["a" /* default */].exclAttribute({ data: data, attrs: attrs });
15603
15617
  },
15604
15618
 
15605
15619
  /**