eoss-ui 0.5.81-beta17 → 0.5.81-beta19

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.
package/lib/main.js CHANGED
@@ -3975,8 +3975,8 @@ render._withStripped = true
3975
3975
 
3976
3976
  // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=d62e142c&
3977
3977
 
3978
- // 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=41b0483a&scoped=true&
3979
- var simplicityvue_type_template_id_41b0483a_scoped_true_render = function () {
3978
+ // 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=5d3b4020&scoped=true&
3979
+ var simplicityvue_type_template_id_5d3b4020_scoped_true_render = function () {
3980
3980
  var _vm = this
3981
3981
  var _h = _vm.$createElement
3982
3982
  var _c = _vm._self._c || _h
@@ -4459,8 +4459,8 @@ var simplicityvue_type_template_id_41b0483a_scoped_true_render = function () {
4459
4459
  ? [
4460
4460
  _c("iframe", {
4461
4461
  attrs: {
4462
- id: _vm.iframeId,
4463
- name: _vm.iframeId,
4462
+ id: _vm.activeName == item.id ? _vm.iframeId : "",
4463
+ name: _vm.activeName == item.id ? _vm.iframeId : "",
4464
4464
  frameborder: "0",
4465
4465
  width: "100%",
4466
4466
  height: "100%",
@@ -4585,11 +4585,11 @@ var simplicityvue_type_template_id_41b0483a_scoped_true_render = function () {
4585
4585
  ),
4586
4586
  ])
4587
4587
  }
4588
- var simplicityvue_type_template_id_41b0483a_scoped_true_staticRenderFns = []
4589
- simplicityvue_type_template_id_41b0483a_scoped_true_render._withStripped = true
4588
+ var simplicityvue_type_template_id_5d3b4020_scoped_true_staticRenderFns = []
4589
+ simplicityvue_type_template_id_5d3b4020_scoped_true_render._withStripped = true
4590
4590
 
4591
4591
 
4592
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=41b0483a&scoped=true&
4592
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=5d3b4020&scoped=true&
4593
4593
 
4594
4594
  // 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&
4595
4595
  var avatarvue_type_template_id_1560e8bf_scoped_true_render = function () {
@@ -4639,7 +4639,7 @@ avatarvue_type_template_id_1560e8bf_scoped_true_render._withStripped = true
4639
4639
  // CONCATENATED MODULE: ./packages/main/src/simplicity/avatar.vue?vue&type=template&id=1560e8bf&scoped=true&
4640
4640
 
4641
4641
  // EXTERNAL MODULE: ./src/utils/util.js
4642
- var utils_util = __webpack_require__(0);
4642
+ var util = __webpack_require__(0);
4643
4643
 
4644
4644
  // EXTERNAL MODULE: ./src/config/api.js
4645
4645
  var api = __webpack_require__(1);
@@ -4713,7 +4713,7 @@ var api = __webpack_require__(1);
4713
4713
  methods: {
4714
4714
  handleSuccess: function handleSuccess(response, file) {
4715
4715
  var res = file.response;
4716
- if (res.url && utils_util["a" /* default */].startWith(res.url, ['http', 'https', '/'])) {
4716
+ if (res.url && util["a" /* default */].startWith(res.url, ['http', 'https', '/'])) {
4717
4717
  this.userHead = res.url;
4718
4718
  } else {
4719
4719
  this.userHead = api["r" /* downloadByAdjunctId */] + '?adjunctId=' + res.adjunctId;
@@ -4984,14 +4984,14 @@ var doorIndex = sessionStorage.getItem('doorIndex');
4984
4984
  });
4985
4985
  },
4986
4986
  isClick: function isClick() {
4987
- var useCaseCodes = utils_util["a" /* default */].getStorage('useCaseCodes');
4987
+ var useCaseCodes = util["a" /* default */].getStorage('useCaseCodes');
4988
4988
  return useCaseCodes && useCaseCodes.includes('sys_user_onlineList');
4989
4989
  }
4990
4990
  },
4991
4991
  watch: {},
4992
4992
  created: function created() {
4993
4993
  //this.time = util.timeCycle() + '好!';
4994
- this.date = utils_util["a" /* default */].formatDate('', 'yyyy年M月d日');
4994
+ this.date = util["a" /* default */].formatDate('', 'yyyy年M月d日');
4995
4995
  },
4996
4996
  mounted: function mounted() {
4997
4997
  this.getTime();
@@ -5003,7 +5003,7 @@ var doorIndex = sessionStorage.getItem('doorIndex');
5003
5003
 
5004
5004
  this.timer && clearInterval(this.timer);
5005
5005
  this.timer = setInterval(function () {
5006
- _this2.time = utils_util["a" /* default */].formatDate('', 'HH:mm:ss');
5006
+ _this2.time = util["a" /* default */].formatDate('', 'HH:mm:ss');
5007
5007
  });
5008
5008
  },
5009
5009
  isShow: function isShow(res) {
@@ -5214,8 +5214,8 @@ sub_menuvue_type_template_id_629b4bf1_scoped_true_render._withStripped = true
5214
5214
 
5215
5215
  // CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=629b4bf1&scoped=true&
5216
5216
 
5217
- // 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/menu-list.vue?vue&type=template&id=225f2794&scoped=true&
5218
- var menu_listvue_type_template_id_225f2794_scoped_true_render = function () {
5217
+ // 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/menu-list.vue?vue&type=template&id=43b0ff18&scoped=true&
5218
+ var menu_listvue_type_template_id_43b0ff18_scoped_true_render = function () {
5219
5219
  var _vm = this
5220
5220
  var _h = _vm.$createElement
5221
5221
  var _c = _vm._self._c || _h
@@ -5317,11 +5317,11 @@ var menu_listvue_type_template_id_225f2794_scoped_true_render = function () {
5317
5317
  ),
5318
5318
  ])
5319
5319
  }
5320
- var menu_listvue_type_template_id_225f2794_scoped_true_staticRenderFns = []
5321
- menu_listvue_type_template_id_225f2794_scoped_true_render._withStripped = true
5320
+ var menu_listvue_type_template_id_43b0ff18_scoped_true_staticRenderFns = []
5321
+ menu_listvue_type_template_id_43b0ff18_scoped_true_render._withStripped = true
5322
5322
 
5323
5323
 
5324
- // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=225f2794&scoped=true&
5324
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=43b0ff18&scoped=true&
5325
5325
 
5326
5326
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/menu-list.vue?vue&type=script&lang=js&
5327
5327
  //
@@ -5370,6 +5370,7 @@ menu_listvue_type_template_id_225f2794_scoped_true_render._withStripped = true
5370
5370
  //
5371
5371
  //
5372
5372
 
5373
+
5373
5374
  /* harmony default export */ var menu_listvue_type_script_lang_js_ = ({
5374
5375
  name: 'MenuList',
5375
5376
  components: {},
@@ -5429,10 +5430,10 @@ menu_listvue_type_template_id_225f2794_scoped_true_render._withStripped = true
5429
5430
  this.defaultActive = res.id;
5430
5431
  if (res.url) {
5431
5432
  if (res.urlopenmode == 1) {
5432
- util.win.open(res.url);
5433
+ util["a" /* default */].win.open(res.url);
5433
5434
  return;
5434
5435
  } else if (res.urlopenmode == 2) {
5435
- util.win.location.href = res.url;
5436
+ util["a" /* default */].win.open(res.url, '_self');
5436
5437
  return;
5437
5438
  }
5438
5439
  this.$emit('command', res);
@@ -5461,11 +5462,11 @@ menu_listvue_type_template_id_225f2794_scoped_true_render._withStripped = true
5461
5462
 
5462
5463
  var menu_list_component = Object(componentNormalizer["a" /* default */])(
5463
5464
  simplicity_menu_listvue_type_script_lang_js_,
5464
- menu_listvue_type_template_id_225f2794_scoped_true_render,
5465
- menu_listvue_type_template_id_225f2794_scoped_true_staticRenderFns,
5465
+ menu_listvue_type_template_id_43b0ff18_scoped_true_render,
5466
+ menu_listvue_type_template_id_43b0ff18_scoped_true_staticRenderFns,
5466
5467
  false,
5467
5468
  null,
5468
- "225f2794",
5469
+ "43b0ff18",
5469
5470
  null
5470
5471
 
5471
5472
  )
@@ -6879,19 +6880,19 @@ userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
6879
6880
  handleFormSubmit: function handleFormSubmit() {
6880
6881
  var _this2 = this;
6881
6882
 
6882
- var initLogin = utils_util["a" /* default */].getStorage('initLogin');
6883
+ var initLogin = util["a" /* default */].getStorage('initLogin');
6883
6884
  initLogin && (initLogin = JSON.parse(initLogin));
6884
- utils_util["a" /* default */].ajax({
6885
+ util["a" /* default */].ajax({
6885
6886
  url: api["Yb" /* updateUserInfo */],
6886
6887
  params: {
6887
6888
  email: this.model.email,
6888
6889
  officeTel: this.model.officeTel,
6889
6890
  phone: this.model.phone,
6890
- oldPassword: this.secret && initLogin && initLogin.secret && this.model.oldpassword ? utils_util["a" /* default */].esmEncrypt({
6891
+ oldPassword: this.secret && initLogin && initLogin.secret && this.model.oldpassword ? util["a" /* default */].esmEncrypt({
6891
6892
  data: this.model.oldpassword,
6892
6893
  key: initLogin.secret
6893
6894
  }) : this.model.oldpassword,
6894
- password: this.secret && initLogin && initLogin.secret && this.model.password ? utils_util["a" /* default */].esmEncrypt({
6895
+ password: this.secret && initLogin && initLogin.secret && this.model.password ? util["a" /* default */].esmEncrypt({
6895
6896
  data: this.model.password,
6896
6897
  key: initLogin.secret
6897
6898
  }) : this.model.password
@@ -6905,12 +6906,12 @@ userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
6905
6906
  closeOnClickModal: false,
6906
6907
  type: 'warning'
6907
6908
  }).then(function () {
6908
- var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
6909
+ var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
6909
6910
  try {
6910
6911
  if (loginPage) {
6911
6912
  var src = void 0;
6912
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
6913
- var pathname = utils_util["a" /* default */].win.top.location.pathname;
6913
+ if (!util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
6914
+ var pathname = util["a" /* default */].win.top.location.pathname;
6914
6915
  if (pathname !== '/') {
6915
6916
  pathname = pathname.split('/');
6916
6917
  pathname.splice(pathname.length - 1);
@@ -6922,20 +6923,20 @@ userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
6922
6923
  } else {
6923
6924
  src = loginPage;
6924
6925
  }
6925
- utils_util["a" /* default */].win.top.location.href = src;
6926
- } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
6927
- utils_util["a" /* default */].win.top.location.href = './login.html';
6926
+ util["a" /* default */].win.top.location.href = src;
6927
+ } else if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
6928
+ util["a" /* default */].win.top.location.href = './login.html';
6928
6929
  } else {
6929
- var hash = utils_util["a" /* default */].win.top.location.hash;
6930
+ var hash = util["a" /* default */].win.top.location.hash;
6930
6931
  if (hash) {
6931
- var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
6932
- utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
6932
+ var len = util["a" /* default */].win.top.location.href.indexOf(hash);
6933
+ util["a" /* default */].win.top.location.href = util["a" /* default */].win.location.href.slice(0, len) + '#/login';
6933
6934
  } else {
6934
- utils_util["a" /* default */].win.top.location.href = '/login.html';
6935
+ util["a" /* default */].win.top.location.href = '/login.html';
6935
6936
  }
6936
6937
  }
6937
6938
  } catch (error) {
6938
- utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
6939
+ util["a" /* default */].win.postMessage({ type: 1 }, '*');
6939
6940
  }
6940
6941
  }).catch(function (e) {});
6941
6942
  }
@@ -6947,7 +6948,7 @@ userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
6947
6948
  },
6948
6949
  repassword: function repassword(rule, value, callback) {
6949
6950
  if (this.model.oldpassword && this.model.password && value) {
6950
- utils_util["a" /* default */].identical({ value: [value, this.model.password], callback: callback });
6951
+ util["a" /* default */].identical({ value: [value, this.model.password], callback: callback });
6951
6952
  } else {
6952
6953
  callback();
6953
6954
  return true;
@@ -7104,7 +7105,7 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7104
7105
  getData: function getData() {
7105
7106
  var _this2 = this;
7106
7107
 
7107
- utils_util["a" /* default */].ajax({
7108
+ util["a" /* default */].ajax({
7108
7109
  url: api["ab" /* initUserSet */]
7109
7110
  }).then(function (res) {
7110
7111
  if (res.rCode === 0) {
@@ -7144,7 +7145,7 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7144
7145
  var _this3 = this;
7145
7146
 
7146
7147
  var notify = this.checked.join(',');
7147
- utils_util["a" /* default */].ajax({
7148
+ util["a" /* default */].ajax({
7148
7149
  method: 'post',
7149
7150
  url: api["Xb" /* updateUserCustomInfo */],
7150
7151
  data: {
@@ -7174,25 +7175,25 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7174
7175
  var _this4 = this;
7175
7176
 
7176
7177
  if (this.user.identityId !== res.id) {
7177
- utils_util["a" /* default */].ajax({
7178
+ util["a" /* default */].ajax({
7178
7179
  method: 'post',
7179
7180
  url: api["vb" /* switchUserTo */],
7180
7181
  data: { userId: res.value }
7181
7182
  }).then(function (res) {
7182
7183
  if (res.rCode == 0) {
7183
7184
  _this4.$emit('close');
7184
- utils_util["a" /* default */].setStorage({
7185
+ util["a" /* default */].setStorage({
7185
7186
  type: _this4.storage,
7186
7187
  key: 'userId',
7187
7188
  value: res.value
7188
7189
  });
7189
- utils_util["a" /* default */].removeStorage(['mainConfig', 'jump']);
7190
+ util["a" /* default */].removeStorage(['mainConfig', 'jump']);
7190
7191
  _this4.$message({
7191
7192
  message: res.msg,
7192
7193
  type: 'success',
7193
7194
  duration: 500,
7194
7195
  onClose: function onClose() {
7195
- if (utils_util["a" /* default */].win.location.href.indexOf('#/main') > -1 || utils_util["a" /* default */].win.location.href.indexOf('/main.html') > -1) {
7196
+ if (util["a" /* default */].win.location.href.indexOf('#/main') > -1 || util["a" /* default */].win.location.href.indexOf('/main.html') > -1) {
7196
7197
  location.reload();
7197
7198
  } else {
7198
7199
  _this4.$router.replace('/main');
@@ -7551,7 +7552,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7551
7552
  };
7552
7553
  },
7553
7554
  mounted: function mounted() {
7554
- utils_util["a" /* default */].win.deleteMsg = this.handleRemove;
7555
+ util["a" /* default */].win.deleteMsg = this.handleRemove;
7555
7556
  },
7556
7557
 
7557
7558
  methods: {
@@ -7561,7 +7562,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7561
7562
 
7562
7563
  if (this.pageNum <= this.pageCount) {
7563
7564
  this.loading = true;
7564
- utils_util["a" /* default */].ajax({
7565
+ util["a" /* default */].ajax({
7565
7566
  url: api["wb" /* sysMsgPage */],
7566
7567
  params: {
7567
7568
  pageNum: reload ? 1 : this.pageNum,
@@ -7594,7 +7595,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7594
7595
  handleIgnore: function handleIgnore(res, i) {
7595
7596
  var _this2 = this;
7596
7597
 
7597
- utils_util["a" /* default */].ajax({
7598
+ util["a" /* default */].ajax({
7598
7599
  url: api["W" /* ignoreSysMsg */],
7599
7600
  params: {
7600
7601
  id: res.id
@@ -7614,7 +7615,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7614
7615
  handleIgnoreAll: function handleIgnoreAll() {
7615
7616
  var _this3 = this;
7616
7617
 
7617
- utils_util["a" /* default */].ajax({
7618
+ util["a" /* default */].ajax({
7618
7619
  url: api["V" /* ignoreAllSysMsg */]
7619
7620
  }).then(function (res) {
7620
7621
  _this3.count = 0;
@@ -7632,7 +7633,7 @@ messagevue_type_template_id_0ee7ab90_render._withStripped = true
7632
7633
  this.count -= 1;
7633
7634
  this.msgs.splice(index, 1);
7634
7635
  if (this.winopen) {
7635
- utils_util["a" /* default */].win.open(item.handlerUrl);
7636
+ util["a" /* default */].win.open(item.handlerUrl);
7636
7637
  } else {
7637
7638
  this.dialog = {
7638
7639
  show: true,
@@ -7959,7 +7960,7 @@ noticevue_type_template_id_1c74f5bb_render._withStripped = true
7959
7960
  handleIgnore: function handleIgnore(res, i) {
7960
7961
  var _this = this;
7961
7962
 
7962
- utils_util["a" /* default */].ajax({
7963
+ util["a" /* default */].ajax({
7963
7964
  url: api["W" /* ignoreSysMsg */],
7964
7965
  params: {
7965
7966
  id: res.id
@@ -7978,7 +7979,7 @@ noticevue_type_template_id_1c74f5bb_render._withStripped = true
7978
7979
  handleIgnoreAll: function handleIgnoreAll() {
7979
7980
  var _this2 = this;
7980
7981
 
7981
- utils_util["a" /* default */].ajax({
7982
+ util["a" /* default */].ajax({
7982
7983
  url: api["V" /* ignoreAllSysMsg */]
7983
7984
  }).then(function (res) {
7984
7985
  _this2.msgs = [];
@@ -7994,7 +7995,7 @@ noticevue_type_template_id_1c74f5bb_render._withStripped = true
7994
7995
  //处理消息
7995
7996
  handleMessage: function handleMessage(item, index) {
7996
7997
  if (item.urlopenmode === 1 || this.winopen) {
7997
- utils_util["a" /* default */].win.open(item.handlerUrl);
7998
+ util["a" /* default */].win.open(item.handlerUrl);
7998
7999
  } else {
7999
8000
  this.dialog = {
8000
8001
  show: true,
@@ -8230,7 +8231,7 @@ settingsvue_type_template_id_48437ba0_render._withStripped = true
8230
8231
  res = res.toLowerCase();
8231
8232
  // const rgb = util.getRgb(res);
8232
8233
  // const luma = 0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2];
8233
- utils_util["a" /* default */].updateTheme(res);
8234
+ util["a" /* default */].updateTheme(res);
8234
8235
  this.color = res;
8235
8236
  this.$emit('change', { type: 'theme', value: res });
8236
8237
  //this.setTheme(res);
@@ -8326,7 +8327,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
8326
8327
  },
8327
8328
  created: function created() {},
8328
8329
  mounted: function mounted() {
8329
- this.params = utils_util["a" /* default */].getParams({ url: this.url });
8330
+ this.params = util["a" /* default */].getParams({ url: this.url });
8330
8331
  this.jump();
8331
8332
  },
8332
8333
 
@@ -8793,7 +8794,6 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
8793
8794
  //
8794
8795
  //
8795
8796
 
8796
- var dataTableMode = utils_util["a" /* default */].win.dataTableMode || 'default';
8797
8797
 
8798
8798
 
8799
8799
 
@@ -8808,11 +8808,12 @@ var dataTableMode = utils_util["a" /* default */].win.dataTableMode || 'default'
8808
8808
 
8809
8809
 
8810
8810
  var isIE = navigator.userAgent.indexOf('MSIE') != -1;
8811
+ var dataTableMode = util["a" /* default */].win.dataTableMode || 'default';
8811
8812
  var events = [function (tabs, index, that) {
8812
8813
  var tab = tabs[index];
8813
8814
 
8814
8815
  if (tab.method == 'iframe') {
8815
- tabs[index].url = utils_util["a" /* default */].handlerUrl(tab.url);
8816
+ tabs[index].url = util["a" /* default */].handlerUrl(tab.url);
8816
8817
  } else {
8817
8818
  tabs[index].refresh = false;
8818
8819
  that.$nextTick(function () {
@@ -8821,7 +8822,7 @@ var events = [function (tabs, index, that) {
8821
8822
  }
8822
8823
  return tabs;
8823
8824
  }, function (tabs, index, that) {
8824
- var i = utils_util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
8825
+ var i = util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
8825
8826
  if (tabs.length == 1) {
8826
8827
  that.activeName = '';
8827
8828
  } else if (i == index) {
@@ -8838,14 +8839,14 @@ var events = [function (tabs, index, that) {
8838
8839
  that.activeName = tab[0].id;
8839
8840
  return tab;
8840
8841
  }, function (tabs, index, that) {
8841
- var i = utils_util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
8842
+ var i = util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
8842
8843
  if (i < index) {
8843
8844
  that.activeName = tabs[index].id;
8844
8845
  }
8845
8846
  tabs.splice(0, index);
8846
8847
  return tabs;
8847
8848
  }, function (tabs, index, that) {
8848
- var i = utils_util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
8849
+ var i = util["a" /* default */].indexOfObj(tabs, that.activeName, 'id');
8849
8850
  if (i > index) {
8850
8851
  that.activeName = tabs[index].id;
8851
8852
  }
@@ -9104,7 +9105,7 @@ var events = [function (tabs, index, that) {
9104
9105
  }
9105
9106
  },
9106
9107
  created: function created() {
9107
- var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
9108
+ var mainConfig = util["a" /* default */].getStorage('mainConfig');
9108
9109
  if (mainConfig) {
9109
9110
  var results = JSON.parse(mainConfig);
9110
9111
  if (Object.keys(results).length) {
@@ -9183,7 +9184,7 @@ var events = [function (tabs, index, that) {
9183
9184
  this.initWebSocket();
9184
9185
  }
9185
9186
  sessionStorage.setItem('mainConfig', JSON.stringify(results));
9186
- utils_util["a" /* default */].setStorage({
9187
+ util["a" /* default */].setStorage({
9187
9188
  type: this.storage,
9188
9189
  key: {
9189
9190
  userId: results.userModel.userId,
@@ -9205,22 +9206,22 @@ var events = [function (tabs, index, that) {
9205
9206
  this.indexUrl = results[i];
9206
9207
  }
9207
9208
  if (i === 'doorIndex' && results[i]) {
9208
- utils_util["a" /* default */].win.open(results[i]);
9209
+ util["a" /* default */].win.open(results[i]);
9209
9210
  }
9210
9211
  if (i === 'subsystemName' && results[i]) {
9211
9212
  document.title = results[i];
9212
9213
  }
9213
9214
  if (i === 'loginPage' && results[i]) {
9214
- utils_util["a" /* default */].setStorage('loginPage', results[i]);
9215
+ util["a" /* default */].setStorage('loginPage', results[i]);
9215
9216
  }
9216
9217
  if (i === 'sysLogoIco' && results[i]) {
9217
9218
  sessionStorage.setItem('sysLogoIco', results[i]);
9218
- utils_util["a" /* default */].setFavicon(results[i]);
9219
+ util["a" /* default */].setFavicon(results[i]);
9219
9220
  }
9220
9221
  if (i === 'userStyle' && results[i]) {
9221
9222
  if (results[i].color) {
9222
9223
  var color = unescape(results[i].color).toLowerCase();
9223
- if (utils_util["a" /* default */].startWith(color, '#')) {
9224
+ if (util["a" /* default */].startWith(color, '#')) {
9224
9225
  this.themeColor = color;
9225
9226
  }
9226
9227
  }
@@ -9230,7 +9231,7 @@ var events = [function (tabs, index, that) {
9230
9231
  if (i === 'subsystemExtend' && results[i]) {
9231
9232
  if (results[i].themeColor) {
9232
9233
  var _color = unescape(results[i].themeColor).toLowerCase();
9233
- if (utils_util["a" /* default */].startWith(_color, '#')) {
9234
+ if (util["a" /* default */].startWith(_color, '#')) {
9234
9235
  this.themeColor = _color;
9235
9236
  }
9236
9237
  }
@@ -9239,14 +9240,14 @@ var events = [function (tabs, index, that) {
9239
9240
  }
9240
9241
  if (results[i].webPageWatermark) {
9241
9242
  try {
9242
- utils_util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
9243
- utils_util["a" /* default */].watermark(results[i].webPageWatermark);
9243
+ util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
9244
+ util["a" /* default */].watermark(results[i].webPageWatermark);
9244
9245
  } catch (error) {
9245
- utils_util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
9246
+ util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
9246
9247
  }
9247
9248
  }
9248
9249
  if (results[i].loginPage) {
9249
- utils_util["a" /* default */].setStorage('loginPage', results[i].loginPage);
9250
+ util["a" /* default */].setStorage('loginPage', results[i].loginPage);
9250
9251
  }
9251
9252
  if (results[i].aiConfig) {
9252
9253
  if (typeof results[i].aiConfig == 'string') {
@@ -9262,7 +9263,7 @@ var events = [function (tabs, index, that) {
9262
9263
  }
9263
9264
  if (i === 'userModel' && results[i]) {
9264
9265
  if (results[i].userHeadUrl) {
9265
- results[i].userHeadUrl = utils_util["a" /* default */].jointUrl({
9266
+ results[i].userHeadUrl = util["a" /* default */].jointUrl({
9266
9267
  url: results[i].userHeadUrl,
9267
9268
  reg: '/main2'
9268
9269
  });
@@ -9286,8 +9287,8 @@ var events = [function (tabs, index, that) {
9286
9287
  getApplications: function getApplications() {
9287
9288
  var _this = this;
9288
9289
 
9289
- var loading = utils_util["a" /* default */].loading('', '加载中...');
9290
- utils_util["a" /* default */].ajax({
9290
+ var loading = util["a" /* default */].loading('', '加载中...');
9291
+ util["a" /* default */].ajax({
9291
9292
  url: this.appsUrl,
9292
9293
  defaults: true
9293
9294
  }).then(function (res) {
@@ -9334,7 +9335,7 @@ var events = [function (tabs, index, that) {
9334
9335
  getMenus: function getMenus(loading) {
9335
9336
  var _this2 = this;
9336
9337
 
9337
- utils_util["a" /* default */].ajax({ url: this._menuUrl }).then(function (res) {
9338
+ util["a" /* default */].ajax({ url: this._menuUrl }).then(function (res) {
9338
9339
  loading.close();
9339
9340
  if (res.rCode === 0) {
9340
9341
  if (res.results && res.results.length) {
@@ -9450,7 +9451,7 @@ var events = [function (tabs, index, that) {
9450
9451
  res.method = 'router';
9451
9452
  res.path = path;
9452
9453
  } else {
9453
- var urlopenmode = utils_util["a" /* default */].getParams({
9454
+ var urlopenmode = util["a" /* default */].getParams({
9454
9455
  url: url,
9455
9456
  name: 'urlopenmode'
9456
9457
  });
@@ -9599,7 +9600,7 @@ var events = [function (tabs, index, that) {
9599
9600
  initWebSocket: function initWebSocket() {
9600
9601
  var _this4 = this;
9601
9602
 
9602
- this.webSocket = utils_util["a" /* default */].socket({
9603
+ this.webSocket = util["a" /* default */].socket({
9603
9604
  url: api["ec" /* wss */],
9604
9605
  take: api["Ub" /* topic */],
9605
9606
  success: function success(res) {
@@ -9634,8 +9635,8 @@ var events = [function (tabs, index, that) {
9634
9635
  if (_this4.$eventBus) {
9635
9636
  _this4.$eventBus.$emit('websocket', data);
9636
9637
  }
9637
- if (utils_util["a" /* default */].win.eventBus) {
9638
- utils_util["a" /* default */].win.eventBus.$emit('websocket', data);
9638
+ if (util["a" /* default */].win.eventBus) {
9639
+ util["a" /* default */].win.eventBus.$emit('websocket', data);
9639
9640
  }
9640
9641
  }
9641
9642
  });
@@ -9659,7 +9660,7 @@ var events = [function (tabs, index, that) {
9659
9660
  if (res.permission === false) {
9660
9661
  return false;
9661
9662
  }
9662
- var i = utils_util["a" /* default */].indexOfObj(this.newApps, res, 'id');
9663
+ var i = util["a" /* default */].indexOfObj(this.newApps, res, 'id');
9663
9664
  if (i == -1) {
9664
9665
  this.newApps.push(res);
9665
9666
  }
@@ -9688,24 +9689,24 @@ var events = [function (tabs, index, that) {
9688
9689
  if (res.url) {
9689
9690
  if (res.urlopenmode == 1 || res.openModel == 1) {
9690
9691
  set = false;
9691
- utils_util["a" /* default */].win.open(res.url);
9692
+ util["a" /* default */].win.open(res.url);
9692
9693
  } else if (res.urlopenmode == 2 || res.openModel == 2) {
9693
9694
  set = false;
9694
- utils_util["a" /* default */].win.location.href = res.url;
9695
+ util["a" /* default */].win.open(res.url, '_self');
9695
9696
  } else {
9696
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, res, 'id');
9697
+ var i = util["a" /* default */].indexOfObj(this.tabs, res, 'id');
9697
9698
  this.activeName = res.id;
9698
9699
  if (i == -1) {
9699
9700
  var obj = this.getMenu(this.menus, res.url);
9700
9701
  if (obj) {
9701
- var n = utils_util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
9702
+ var n = util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
9702
9703
  if (n == -1) {
9703
9704
  var tab = this.setIframeType(obj);
9704
9705
  this.tabs.push(tab);
9705
9706
  this.activeName = tab.id;
9706
9707
  } else {
9707
9708
  if (obj.method == 'iframe') {
9708
- obj.url = utils_util["a" /* default */].handlerUrl(obj.url);
9709
+ obj.url = util["a" /* default */].handlerUrl(obj.url);
9709
9710
  }
9710
9711
  }
9711
9712
  } else {
@@ -9715,7 +9716,7 @@ var events = [function (tabs, index, that) {
9715
9716
  }
9716
9717
  } else {
9717
9718
  if (res.method == 'iframe') {
9718
- res.url = utils_util["a" /* default */].handlerUrl(res.url);
9719
+ res.url = util["a" /* default */].handlerUrl(res.url);
9719
9720
  }
9720
9721
  }
9721
9722
  }
@@ -9727,14 +9728,14 @@ var events = [function (tabs, index, that) {
9727
9728
  this.showMenu = subMenus !== false;
9728
9729
  this.showApps = false;
9729
9730
  if (subMenus && subMenus.url) {
9730
- var _i = utils_util["a" /* default */].indexOfObj(this.tabs, subMenus, 'id');
9731
+ var _i = util["a" /* default */].indexOfObj(this.tabs, subMenus, 'id');
9731
9732
  this.activeName = subMenus.id;
9732
9733
  if (_i == -1) {
9733
9734
  var _tab5 = this.setIframeType(subMenus);
9734
9735
  this.tabs.push(_tab5);
9735
9736
  } else {
9736
9737
  if (subMenus.method == 'iframe') {
9737
- subMenus.url = utils_util["a" /* default */].handlerUrl(subMenus.url);
9738
+ subMenus.url = util["a" /* default */].handlerUrl(subMenus.url);
9738
9739
  }
9739
9740
  }
9740
9741
  }
@@ -9755,7 +9756,7 @@ var events = [function (tabs, index, that) {
9755
9756
  this.drawer.mounted = res.mounted;
9756
9757
  this.drawer.url = res.url;
9757
9758
  if (res.mounted === 'wujie') {
9758
- this.drawer.name = res.name || utils_util["a" /* default */].uuid();
9759
+ this.drawer.name = res.name || util["a" /* default */].uuid();
9759
9760
  }
9760
9761
  },
9761
9762
 
@@ -9777,7 +9778,7 @@ var events = [function (tabs, index, that) {
9777
9778
  var _this5 = this;
9778
9779
 
9779
9780
  if (this.recordApp) {
9780
- utils_util["a" /* default */].ajax({
9781
+ util["a" /* default */].ajax({
9781
9782
  url: api["mb" /* recordUserApp */],
9782
9783
  params: {
9783
9784
  userId: this.user.userId,
@@ -9787,18 +9788,18 @@ var events = [function (tabs, index, that) {
9787
9788
  }
9788
9789
  this.showMsg = false;
9789
9790
  this.showSet = false;
9790
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, res, 'id');
9791
+ var i = util["a" /* default */].indexOfObj(this.tabs, res, 'id');
9791
9792
  this.activeName = res.id;
9792
9793
  if (i == -1) {
9793
9794
  var tab = this.setIframeType(res);
9794
9795
  this.tabs.push(tab);
9795
9796
  } else {
9796
9797
  if (res.method == 'iframe') {
9797
- res.url = utils_util["a" /* default */].handlerUrl(res.url);
9798
+ res.url = util["a" /* default */].handlerUrl(res.url);
9798
9799
  } else {
9799
9800
  var _tab6 = this.tabs[i];
9800
9801
  if (_tab6.method === 'iframe') {
9801
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab6.url));
9802
+ this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab6.url));
9802
9803
  } else {
9803
9804
  this.$set(this.tabs[i], 'refresh', false);
9804
9805
  this.$nextTick(function () {
@@ -9857,14 +9858,14 @@ var events = [function (tabs, index, that) {
9857
9858
  handleRefresh: function handleRefresh() {
9858
9859
  var _this6 = this;
9859
9860
 
9860
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
9861
+ var i = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
9861
9862
  var tab = this.tabs[i];
9862
9863
  if (tab.method === 'iframe') {
9863
- tab.url = utils_util["a" /* default */].handlerUrl(tab.url);
9864
+ tab.url = util["a" /* default */].handlerUrl(tab.url);
9864
9865
  } else {
9865
9866
  var _tab7 = this.tabs[i];
9866
9867
  if (_tab7.method === 'iframe') {
9867
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab7.url));
9868
+ this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab7.url));
9868
9869
  } else {
9869
9870
  this.$set(this.tabs[i], 'refresh', false);
9870
9871
  this.$nextTick(function () {
@@ -9881,7 +9882,7 @@ var events = [function (tabs, index, that) {
9881
9882
  **/
9882
9883
  handleRemove: function handleRemove(name) {
9883
9884
  var len = this.tabs.length - 1;
9884
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, name, 'id');
9885
+ var i = util["a" /* default */].indexOfObj(this.tabs, name, 'id');
9885
9886
  if (i > -1) {
9886
9887
  this.tabs.splice(i, 1);
9887
9888
  if (this.tabs.length == 0) {
@@ -9959,9 +9960,9 @@ var events = [function (tabs, index, that) {
9959
9960
  if (event) {
9960
9961
  event();
9961
9962
  } else if (open) {
9962
- utils_util["a" /* default */].win.open(open);
9963
+ util["a" /* default */].win.open(open);
9963
9964
  } else if (link) {
9964
- utils_util["a" /* default */].win.open(link, '_self');
9965
+ util["a" /* default */].win.open(link, '_self');
9965
9966
  } else {
9966
9967
  switch (type) {
9967
9968
  case 'quit':
@@ -9985,13 +9986,13 @@ var events = [function (tabs, index, that) {
9985
9986
  this.showMsg = false;
9986
9987
  break;
9987
9988
  case 'home':
9988
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, this.homePage.id, 'id');
9989
+ var i = util["a" /* default */].indexOfObj(this.tabs, this.homePage.id, 'id');
9989
9990
  if (i == -1) {
9990
9991
  this.tabs.unshift(this.homePage);
9991
9992
  } else {
9992
9993
  var tab = this.tabs[i];
9993
9994
  if (tab.method === 'iframe') {
9994
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(tab.url));
9995
+ this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(tab.url));
9995
9996
  } else {
9996
9997
  this.$set(this.tabs[i], 'refresh', false);
9997
9998
  this.$nextTick(function () {
@@ -10009,7 +10010,7 @@ var events = [function (tabs, index, that) {
10009
10010
  this.showSet = false;
10010
10011
  break;
10011
10012
  case 'goView':
10012
- utils_util["a" /* default */].win.open(res.path, '_blank');
10013
+ util["a" /* default */].win.open(res.path, '_blank');
10013
10014
  break;
10014
10015
  }
10015
10016
  }
@@ -10029,18 +10030,18 @@ var events = [function (tabs, index, that) {
10029
10030
  cancelButtonText: '取消',
10030
10031
  type: 'warning'
10031
10032
  }).then(function () {
10032
- utils_util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
10033
+ util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
10033
10034
  if (res.rCode == 0) {
10034
- utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
10035
+ util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
10035
10036
  if (_this8.onQuit && typeof _this8.onQuit === 'function') {
10036
10037
  _this8.onQuit();
10037
10038
  } else {
10038
10039
  try {
10039
- var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
10040
+ var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
10040
10041
  if (loginPage) {
10041
10042
  var src = void 0;
10042
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
10043
- var pathname = utils_util["a" /* default */].win.top.location.pathname;
10043
+ if (!util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
10044
+ var pathname = util["a" /* default */].win.top.location.pathname;
10044
10045
  if (pathname !== '/') {
10045
10046
  pathname = pathname.split('/');
10046
10047
  pathname.splice(pathname.length - 1);
@@ -10052,20 +10053,20 @@ var events = [function (tabs, index, that) {
10052
10053
  } else {
10053
10054
  src = loginPage;
10054
10055
  }
10055
- utils_util["a" /* default */].win.top.location.href = src;
10056
- } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
10057
- utils_util["a" /* default */].win.top.location.href = './login.html';
10056
+ util["a" /* default */].win.top.location.href = src;
10057
+ } else if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
10058
+ util["a" /* default */].win.top.location.href = './login.html';
10058
10059
  } else {
10059
- var hash = utils_util["a" /* default */].win.top.location.hash;
10060
+ var hash = util["a" /* default */].win.top.location.hash;
10060
10061
  if (hash) {
10061
- var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
10062
- utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
10062
+ var len = util["a" /* default */].win.top.location.href.indexOf(hash);
10063
+ util["a" /* default */].win.top.location.href = util["a" /* default */].win.location.href.slice(0, len) + '#/login';
10063
10064
  } else {
10064
- utils_util["a" /* default */].win.top.location.href = '/login.html';
10065
+ util["a" /* default */].win.top.location.href = '/login.html';
10065
10066
  }
10066
10067
  }
10067
10068
  } catch (error) {
10068
- utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
10069
+ util["a" /* default */].win.postMessage({ type: 1 }, '*');
10069
10070
  }
10070
10071
  }
10071
10072
  }
@@ -10137,8 +10138,8 @@ var events = [function (tabs, index, that) {
10137
10138
  }
10138
10139
  var obj = this.getMenu(this.menus, apps[apps.length - 1]);
10139
10140
  if (obj) {
10140
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
10141
- var n = utils_util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
10141
+ var i = util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
10142
+ var n = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
10142
10143
  this.activeName = obj.id;
10143
10144
  if (i == -1) {
10144
10145
  var tab = this.setIframeType(obj);
@@ -10146,7 +10147,7 @@ var events = [function (tabs, index, that) {
10146
10147
  } else {
10147
10148
  var _tab8 = this.tabs[i];
10148
10149
  if (_tab8.method === 'iframe') {
10149
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab8.url));
10150
+ this.$set(this.tabs[i], 'url', util["a" /* default */].handlerUrl(_tab8.url));
10150
10151
  } else {
10151
10152
  this.$set(this.tabs[i], 'refresh', false);
10152
10153
  this.$nextTick(function () {
@@ -10163,7 +10164,7 @@ var events = [function (tabs, index, that) {
10163
10164
  handleListener: function handleListener() {
10164
10165
  var _this11 = this;
10165
10166
 
10166
- utils_util["a" /* default */].win.addEventListener('message', function (e) {
10167
+ util["a" /* default */].win.addEventListener('message', function (e) {
10167
10168
  var msg = e.data;
10168
10169
  if (msg.key == 'jump_Menu') {
10169
10170
  var res = msg.data1;
@@ -10192,11 +10193,11 @@ var events = [function (tabs, index, that) {
10192
10193
 
10193
10194
  var simplicity_component = Object(componentNormalizer["a" /* default */])(
10194
10195
  src_simplicityvue_type_script_lang_js_,
10195
- simplicityvue_type_template_id_41b0483a_scoped_true_render,
10196
- simplicityvue_type_template_id_41b0483a_scoped_true_staticRenderFns,
10196
+ simplicityvue_type_template_id_5d3b4020_scoped_true_render,
10197
+ simplicityvue_type_template_id_5d3b4020_scoped_true_staticRenderFns,
10197
10198
  false,
10198
10199
  null,
10199
- "41b0483a",
10200
+ "5d3b4020",
10200
10201
  null
10201
10202
 
10202
10203
  )
@@ -10856,12 +10857,12 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
10856
10857
 
10857
10858
  methods: {
10858
10859
  getQrcode: function getQrcode() {
10859
- this.qrcode = utils_util["a" /* default */].getStorage('host') + this.userScanBindImgUrl + '&_tt=' + Math.random().toString().split('.')[1];
10860
+ this.qrcode = util["a" /* default */].getStorage('host') + this.userScanBindImgUrl + '&_tt=' + Math.random().toString().split('.')[1];
10860
10861
  },
10861
10862
  getData: function getData() {
10862
10863
  var _this2 = this;
10863
10864
 
10864
- utils_util["a" /* default */].ajax({
10865
+ util["a" /* default */].ajax({
10865
10866
  url: api["ab" /* initUserSet */]
10866
10867
  }).then(function (res) {
10867
10868
  if (res.rCode === 0) {
@@ -10882,7 +10883,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
10882
10883
  // this.values.officeTel = results.simpleUserInfo.officeTel;
10883
10884
  if (results.userScanBindImgUrl) {
10884
10885
  _this2.userScanBindImgUrl = results.userScanBindImgUrl;
10885
- _this2.qrcode = utils_util["a" /* default */].getStorage('host') + results.userScanBindImgUrl;
10886
+ _this2.qrcode = util["a" /* default */].getStorage('host') + results.userScanBindImgUrl;
10886
10887
  } else {
10887
10888
  _this2.qrcode = '';
10888
10889
  }
@@ -10911,20 +10912,20 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
10911
10912
 
10912
10913
  switch (type) {
10913
10914
  case 'job':
10914
- utils_util["a" /* default */].ajax({ url: api["vb" /* switchUserTo */], params: { userId: value.value } }).then(function (res) {
10915
+ util["a" /* default */].ajax({ url: api["vb" /* switchUserTo */], params: { userId: value.value } }).then(function (res) {
10915
10916
  if (res.rCode == 0) {
10916
- utils_util["a" /* default */].setStorage({
10917
+ util["a" /* default */].setStorage({
10917
10918
  type: _this3.storage,
10918
10919
  key: 'userId',
10919
10920
  value: value.value
10920
10921
  });
10921
- utils_util["a" /* default */].removeStorage(['mainConfig', 'jump']);
10922
+ util["a" /* default */].removeStorage(['mainConfig', 'jump']);
10922
10923
  _this3.$message({
10923
10924
  message: res.msg,
10924
10925
  type: 'success',
10925
10926
  duration: 500,
10926
10927
  onClose: function onClose() {
10927
- if (utils_util["a" /* default */].win.location.href.indexOf('#/main') > -1 || utils_util["a" /* default */].win.location.href.indexOf('/main.html') > -1) {
10928
+ if (util["a" /* default */].win.location.href.indexOf('#/main') > -1 || util["a" /* default */].win.location.href.indexOf('/main.html') > -1) {
10928
10929
  location.reload();
10929
10930
  } else {
10930
10931
  _this3.$router.replace('/main');
@@ -10949,19 +10950,19 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
10949
10950
  handleFormSubmit: function handleFormSubmit() {
10950
10951
  var _this4 = this;
10951
10952
 
10952
- var initLogin = utils_util["a" /* default */].getStorage('initLogin');
10953
+ var initLogin = util["a" /* default */].getStorage('initLogin');
10953
10954
  initLogin && (initLogin = JSON.parse(initLogin));
10954
- utils_util["a" /* default */].ajax({
10955
+ util["a" /* default */].ajax({
10955
10956
  url: api["Yb" /* updateUserInfo */],
10956
10957
  params: {
10957
10958
  email: this.values.email,
10958
10959
  officeTel: this.values.officeTel,
10959
10960
  phone: this.values.phone,
10960
- oldPassword: this.secret && initLogin && initLogin.secret && this.values.oldpassword ? utils_util["a" /* default */].esmEncrypt({
10961
+ oldPassword: this.secret && initLogin && initLogin.secret && this.values.oldpassword ? util["a" /* default */].esmEncrypt({
10961
10962
  data: this.values.oldpassword,
10962
10963
  key: initLogin.secret
10963
10964
  }) : this.values.oldpassword,
10964
- password: this.secret && initLogin && initLogin.secret && this.values.password ? utils_util["a" /* default */].esmEncrypt({
10965
+ password: this.secret && initLogin && initLogin.secret && this.values.password ? util["a" /* default */].esmEncrypt({
10965
10966
  data: this.values.password,
10966
10967
  key: initLogin.secret
10967
10968
  }) : this.values.password
@@ -10975,12 +10976,12 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
10975
10976
  closeOnClickModal: false,
10976
10977
  type: 'warning'
10977
10978
  }).then(function () {
10978
- var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
10979
+ var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
10979
10980
  try {
10980
10981
  if (loginPage) {
10981
10982
  var src = void 0;
10982
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
10983
- var pathname = utils_util["a" /* default */].win.top.location.pathname;
10983
+ if (!util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
10984
+ var pathname = util["a" /* default */].win.top.location.pathname;
10984
10985
  if (pathname !== '/') {
10985
10986
  pathname = pathname.split('/');
10986
10987
  pathname.splice(pathname.length - 1);
@@ -10992,27 +10993,27 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
10992
10993
  } else {
10993
10994
  src = loginPage;
10994
10995
  }
10995
- utils_util["a" /* default */].win.top.location.href = src;
10996
- } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
10997
- utils_util["a" /* default */].win.top.location.href = './login.html';
10996
+ util["a" /* default */].win.top.location.href = src;
10997
+ } else if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
10998
+ util["a" /* default */].win.top.location.href = './login.html';
10998
10999
  } else {
10999
- var hash = utils_util["a" /* default */].win.top.location.hash;
11000
+ var hash = util["a" /* default */].win.top.location.hash;
11000
11001
  if (hash) {
11001
- var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
11002
- utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
11002
+ var len = util["a" /* default */].win.top.location.href.indexOf(hash);
11003
+ util["a" /* default */].win.top.location.href = util["a" /* default */].win.location.href.slice(0, len) + '#/login';
11003
11004
  } else {
11004
- utils_util["a" /* default */].win.top.location.href = '/login.html';
11005
+ util["a" /* default */].win.top.location.href = '/login.html';
11005
11006
  }
11006
11007
  }
11007
11008
  } catch (error) {
11008
- utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
11009
+ util["a" /* default */].win.postMessage({ type: 1 }, '*');
11009
11010
  }
11010
11011
  }).catch(function (e) {});
11011
11012
  } else {
11012
11013
  _this4.$emit('reGetConfig');
11013
11014
  var notify = _this4.values.notify.sort().join(',');
11014
11015
  if (notify != _this4.notify.split(',').sort().join(',')) {
11015
- utils_util["a" /* default */].ajax({
11016
+ util["a" /* default */].ajax({
11016
11017
  url: api["Xb" /* updateUserCustomInfo */],
11017
11018
  params: {
11018
11019
  notify: notify
@@ -11041,7 +11042,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
11041
11042
  },
11042
11043
  repassword: function repassword(rule, value, callback) {
11043
11044
  if (this.values.oldpassword && this.values.password && value) {
11044
- utils_util["a" /* default */].identical({ value: [value, this.values.password], callback: callback });
11045
+ util["a" /* default */].identical({ value: [value, this.values.password], callback: callback });
11045
11046
  } else {
11046
11047
  callback();
11047
11048
  return true;
@@ -11534,7 +11535,7 @@ settingsvue_type_template_id_2d7a058d_render._withStripped = true
11534
11535
  res = res.toLowerCase();
11535
11536
  // const rgb = util.getRgb(res);
11536
11537
  // const luma = 0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2];
11537
- utils_util["a" /* default */].updateTheme(res);
11538
+ util["a" /* default */].updateTheme(res);
11538
11539
  this.color = res;
11539
11540
  this.$emit('change', { type: 'theme', value: res });
11540
11541
  //this.setTheme(res);
@@ -11843,7 +11844,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
11843
11844
  };
11844
11845
  },
11845
11846
  mounted: function mounted() {
11846
- utils_util["a" /* default */].win.deleteMsg = this.handleRemove;
11847
+ util["a" /* default */].win.deleteMsg = this.handleRemove;
11847
11848
  },
11848
11849
 
11849
11850
  methods: {
@@ -11853,7 +11854,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
11853
11854
 
11854
11855
  if (this.pageNum <= this.pageCount) {
11855
11856
  this.loading = true;
11856
- utils_util["a" /* default */].ajax({
11857
+ util["a" /* default */].ajax({
11857
11858
  url: api["wb" /* sysMsgPage */],
11858
11859
  params: {
11859
11860
  pageNum: reload ? 1 : this.pageNum,
@@ -11886,7 +11887,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
11886
11887
  handleIgnore: function handleIgnore(res, i) {
11887
11888
  var _this2 = this;
11888
11889
 
11889
- utils_util["a" /* default */].ajax({
11890
+ util["a" /* default */].ajax({
11890
11891
  url: api["W" /* ignoreSysMsg */],
11891
11892
  params: {
11892
11893
  id: res.id
@@ -11906,7 +11907,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
11906
11907
  handleIgnoreAll: function handleIgnoreAll() {
11907
11908
  var _this3 = this;
11908
11909
 
11909
- utils_util["a" /* default */].ajax({
11910
+ util["a" /* default */].ajax({
11910
11911
  url: api["V" /* ignoreAllSysMsg */]
11911
11912
  }).then(function (res) {
11912
11913
  _this3.count = 0;
@@ -11924,7 +11925,7 @@ messagevue_type_template_id_503171a2_render._withStripped = true
11924
11925
  this.count -= 1;
11925
11926
  this.msgs.splice(index, 1);
11926
11927
  if (this.winopen) {
11927
- utils_util["a" /* default */].win.open(item.handlerUrl);
11928
+ util["a" /* default */].win.open(item.handlerUrl);
11928
11929
  } else {
11929
11930
  this.dialog = {
11930
11931
  show: true,
@@ -12226,7 +12227,7 @@ noticevue_type_template_id_2f7f31eb_render._withStripped = true
12226
12227
  handleIgnoreAll: function handleIgnoreAll() {
12227
12228
  var _this = this;
12228
12229
 
12229
- utils_util["a" /* default */].ajax({
12230
+ util["a" /* default */].ajax({
12230
12231
  url: api["V" /* ignoreAllSysMsg */]
12231
12232
  }).then(function (res) {
12232
12233
  _this.count = 0;
@@ -12243,7 +12244,7 @@ noticevue_type_template_id_2f7f31eb_render._withStripped = true
12243
12244
  //处理消息
12244
12245
  handleMessage: function handleMessage(item, index) {
12245
12246
  if (item.urlopenmode === 1 || this.winopen) {
12246
- utils_util["a" /* default */].win.open(item.handlerUrl);
12247
+ util["a" /* default */].win.open(item.handlerUrl);
12247
12248
  } else {
12248
12249
  this.dialog = {
12249
12250
  show: true,
@@ -12508,8 +12509,8 @@ var defaultvue_type_script_lang_js_extends = Object.assign || function (target)
12508
12509
 
12509
12510
 
12510
12511
  var defaultvue_type_script_lang_js_isIE = navigator.userAgent.indexOf('MSIE') != -1;
12511
- var log = utils_util["a" /* default */].getParams('console');
12512
- var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["a" /* default */].getParams('appcode');
12512
+ var log = util["a" /* default */].getParams('console');
12513
+ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* default */].getParams('appcode');
12513
12514
  /* harmony default export */ var defaultvue_type_script_lang_js_ = ({
12514
12515
  name: 'MainDefault',
12515
12516
  inheritAttrs: false,
@@ -12585,7 +12586,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
12585
12586
  storage: {
12586
12587
  type: String,
12587
12588
  default: function _default() {
12588
- return utils_util["a" /* default */].getStorage('storage');
12589
+ return util["a" /* default */].getStorage('storage');
12589
12590
  }
12590
12591
  },
12591
12592
  //是否启用子应用菜单接口
@@ -12694,11 +12695,11 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
12694
12695
  return this.isSide !== null ? this.isSide : this.sideNav;
12695
12696
  },
12696
12697
  isHomePage: function isHomePage() {
12697
- if (utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId')) {
12698
+ if (util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId')) {
12698
12699
  return false;
12699
12700
  }
12700
- if (utils_util["a" /* default */].getStorage('mainConfig')) {
12701
- var hash = utils_util["a" /* default */].win.location.hash;
12701
+ if (util["a" /* default */].getStorage('mainConfig')) {
12702
+ var hash = util["a" /* default */].win.location.hash;
12702
12703
  if (hash && hash.split('?')[0] !== '#/' && hash.split('?')[0] !== '#/main') {
12703
12704
  return false;
12704
12705
  }
@@ -12742,7 +12743,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
12742
12743
 
12743
12744
  //隐藏操作按键
12744
12745
  hide: function hide() {
12745
- var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
12746
+ var mainConfig = util["a" /* default */].getStorage('mainConfig');
12746
12747
  mainConfig = mainConfig ? JSON.parse(mainConfig) : mainConfig;
12747
12748
  var topRightToolHide = '';
12748
12749
  if (mainConfig && mainConfig.subsystemExtend && mainConfig.subsystemExtend.topRightToolHide) {
@@ -12830,7 +12831,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
12830
12831
  handler: function handler(val) {
12831
12832
  if (this.set) {
12832
12833
  localStorage.setItem('theme', val);
12833
- utils_util["a" /* default */].updateTheme(val);
12834
+ util["a" /* default */].updateTheme(val);
12834
12835
  }
12835
12836
  }
12836
12837
  }
@@ -12901,7 +12902,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
12901
12902
  //显示设置面板
12902
12903
  showSet: false,
12903
12904
  //当前设置的主题
12904
- color: utils_util["a" /* default */].getStorage('theme') ? utils_util["a" /* default */].getStorage('theme') : this.theme,
12905
+ color: util["a" /* default */].getStorage('theme') ? util["a" /* default */].getStorage('theme') : this.theme,
12905
12906
  //显示用户信息
12906
12907
  showUserInfo: false,
12907
12908
  userInfoContents: undefined,
@@ -12929,15 +12930,15 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
12929
12930
  };
12930
12931
  },
12931
12932
  created: function created() {
12932
- var params = utils_util["a" /* default */].getParams() || {};
12933
+ var params = util["a" /* default */].getParams() || {};
12933
12934
  if (typeof this.loadHomePage === 'string') {
12934
12935
  this.homePage = this.loadHomePage;
12935
12936
  }
12936
12937
  this.isHeader = params.header;
12937
12938
  var sysLogoIco = sessionStorage.getItem('sysLogoIco');
12938
- sysLogoIco && utils_util["a" /* default */].setFavicon(sysLogoIco);
12939
+ sysLogoIco && util["a" /* default */].setFavicon(sysLogoIco);
12939
12940
 
12940
- var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
12941
+ var mainConfig = util["a" /* default */].getStorage('mainConfig');
12941
12942
  if (mainConfig) {
12942
12943
  var results = JSON.parse(mainConfig);
12943
12944
  if (Object.keys(results).length) {
@@ -12947,12 +12948,12 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
12947
12948
  },
12948
12949
  mounted: function mounted() {
12949
12950
  this.handleListener();
12950
- utils_util["a" /* default */].win.addEventListener('popstate', this.stateHandle, false);
12951
+ util["a" /* default */].win.addEventListener('popstate', this.stateHandle, false);
12951
12952
  },
12952
12953
 
12953
12954
  methods: {
12954
12955
  stateHandle: function stateHandle() {
12955
- utils_util["a" /* default */].win.location.reload();
12956
+ util["a" /* default */].win.location.reload();
12956
12957
  },
12957
12958
  menuSuccess: function menuSuccess(res) {
12958
12959
  this.menuType = 'custom';
@@ -12991,7 +12992,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
12991
12992
  renderMenu: function renderMenu() {
12992
12993
  if (this.data !== undefined && this.data.length) {
12993
12994
  this.menus = JSON.parse(JSON.stringify(this.data));
12994
- var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
12995
+ var applicationid = util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId');
12995
12996
  if (applicationid) {
12996
12997
  var ids = this.getId(this.menus, applicationid);
12997
12998
  if (ids) {
@@ -13006,13 +13007,13 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13006
13007
  //this.navIds = ids;
13007
13008
  this.setTitle(_ids[0]);
13008
13009
  }
13009
- } else if (utils_util["a" /* default */].win.location.hash) {
13010
- var hash = utils_util["a" /* default */].win.location.hash;
13010
+ } else if (util["a" /* default */].win.location.hash) {
13011
+ var hash = util["a" /* default */].win.location.hash;
13011
13012
  if (hash) {
13012
13013
  hash = hash.split('?')[0];
13013
13014
  }
13014
13015
  if (hash !== '#/' && hash !== '#/main') {
13015
- var _ids2 = this.getId(this.menus, utils_util["a" /* default */].win.location.hash);
13016
+ var _ids2 = this.getId(this.menus, util["a" /* default */].win.location.hash);
13016
13017
  if (_ids2) {
13017
13018
  this.defaultActive = _ids2;
13018
13019
  //this.navIds = ids;
@@ -13038,7 +13039,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13038
13039
  if (!color) {
13039
13040
  return;
13040
13041
  }
13041
- utils_util["a" /* default */].ajax({
13042
+ util["a" /* default */].ajax({
13042
13043
  url: api["Xb" /* updateUserCustomInfo */],
13043
13044
  params: { color: escape(color.toLowerCase()) },
13044
13045
  data: { color: escape(color.toLowerCase()) }
@@ -13046,7 +13047,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13046
13047
  if (res.rCode === 0) {
13047
13048
  _this.color = color;
13048
13049
  localStorage.setItem('theme', color);
13049
- var _mainConfig = JSON.parse(utils_util["a" /* default */].getStorage('mainConfig'));
13050
+ var _mainConfig = JSON.parse(util["a" /* default */].getStorage('mainConfig'));
13050
13051
  _mainConfig.userStyle.color = _this.color;
13051
13052
  sessionStorage.setItem('mainConfig', JSON.stringify(_mainConfig));
13052
13053
  _this.$emit('setting', 'theme', _this.color);
@@ -13082,7 +13083,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13082
13083
  this.initWebSocket();
13083
13084
  }
13084
13085
  sessionStorage.setItem('mainConfig', JSON.stringify(results));
13085
- utils_util["a" /* default */].setStorage({
13086
+ util["a" /* default */].setStorage({
13086
13087
  type: this.storage,
13087
13088
  key: {
13088
13089
  userId: results.userModel.userId,
@@ -13101,8 +13102,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13101
13102
  this.results[i] = results[i].split(',');
13102
13103
  }
13103
13104
  if (i === 'indexUrl' && results[i] && this.loadHomePage) {
13104
- var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
13105
- var hash = utils_util["a" /* default */].win.location.hash;
13105
+ var applicationid = util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId');
13106
+ var hash = util["a" /* default */].win.location.hash;
13106
13107
  if (hash) {
13107
13108
  hash = hash.split('?')[0];
13108
13109
  }
@@ -13132,15 +13133,15 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13132
13133
  document.title = results[i];
13133
13134
  }
13134
13135
  if (i === 'loginPage' && results[i]) {
13135
- utils_util["a" /* default */].setStorage('loginPage', results[i]);
13136
+ util["a" /* default */].setStorage('loginPage', results[i]);
13136
13137
  }
13137
13138
  if (i === 'sysLogoIco' && results[i]) {
13138
13139
  sessionStorage.setItem('sysLogoIco', results[i]);
13139
- utils_util["a" /* default */].setFavicon(results[i]);
13140
+ util["a" /* default */].setFavicon(results[i]);
13140
13141
  }
13141
13142
  if (i === 'userStyle' && results[i] && results[i].color) {
13142
13143
  var color = unescape(results[i].color).toLowerCase();
13143
- if (utils_util["a" /* default */].startWith(color, '#')) {
13144
+ if (util["a" /* default */].startWith(color, '#')) {
13144
13145
  this.color = color;
13145
13146
  }
13146
13147
  }
@@ -13153,14 +13154,14 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13153
13154
  }
13154
13155
  if (results[i].webPageWatermark) {
13155
13156
  try {
13156
- utils_util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
13157
- utils_util["a" /* default */].watermark(results[i].webPageWatermark);
13157
+ util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
13158
+ util["a" /* default */].watermark(results[i].webPageWatermark);
13158
13159
  } catch (error) {
13159
- utils_util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
13160
+ util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
13160
13161
  }
13161
13162
  }
13162
13163
  if (results[i].loginPage) {
13163
- utils_util["a" /* default */].setStorage('loginPage', results[i].loginPage);
13164
+ util["a" /* default */].setStorage('loginPage', results[i].loginPage);
13164
13165
  }
13165
13166
  }
13166
13167
  store["a" /* default */].set(i, results[i]);
@@ -13180,7 +13181,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13180
13181
  reGetConfig: function reGetConfig() {
13181
13182
  var _this2 = this;
13182
13183
 
13183
- utils_util["a" /* default */].ajax({ url: this.mainConfig }).then(function (res) {
13184
+ util["a" /* default */].ajax({ url: this.mainConfig }).then(function (res) {
13184
13185
  if (res && res.rCode === 0) {
13185
13186
  var results = JSON.parse(JSON.stringify(res.results));
13186
13187
  _this2.setConfig(results, 1);
@@ -13211,9 +13212,9 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13211
13212
  this.hideSubMenu = hide;
13212
13213
  }
13213
13214
  var option = { url: res, isUrl: isUrl, param: param };
13214
- if (utils_util["a" /* default */].isObject(res)) {
13215
+ if (util["a" /* default */].isObject(res)) {
13215
13216
  if (res.urlopenmode == 1) {
13216
- utils_util["a" /* default */].win.open(res.url);
13217
+ util["a" /* default */].win.open(res.url);
13217
13218
  return;
13218
13219
  } else if (res.urlopenmode == 2) {
13219
13220
  location.href = res.url;
@@ -13238,7 +13239,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13238
13239
  if (routes) {
13239
13240
  var path = this.hasRouter(routes, option.url);
13240
13241
  if (path) {
13241
- var params = utils_util["a" /* default */].getParams({ url: option.url });
13242
+ var params = util["a" /* default */].getParams({ url: option.url });
13242
13243
  this.$router.push({
13243
13244
  path: path,
13244
13245
  query: params
@@ -13369,7 +13370,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13369
13370
 
13370
13371
  var param = this.menuCode ? { menuCode: this.menuCode } : {};
13371
13372
  var params = defaultvue_type_script_lang_js_extends({}, this.param, param);
13372
- utils_util["a" /* default */].ajax({ url: this.action, params: params }).then(function (res) {
13373
+ util["a" /* default */].ajax({ url: this.action, params: params }).then(function (res) {
13373
13374
  if (res.rCode === 0) {
13374
13375
  if (res.results && res.results.length) {
13375
13376
  _this4.menus = JSON.parse(JSON.stringify(res.results));
@@ -13392,19 +13393,19 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13392
13393
 
13393
13394
  //设置默认左侧导航
13394
13395
  setMenu: function setMenu(res) {
13395
- var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
13396
+ var applicationid = util["a" /* default */].getParams('applicationid') || util["a" /* default */].getParams('applicationId');
13396
13397
  if (applicationid) {
13397
13398
  var ids = this.getId(this.menus, applicationid);
13398
13399
  if (ids) {
13399
13400
  this.defaultActive = ids;
13400
13401
  }
13401
- } else if (utils_util["a" /* default */].win.location.hash) {
13402
- var hash = utils_util["a" /* default */].win.location.hash;
13402
+ } else if (util["a" /* default */].win.location.hash) {
13403
+ var hash = util["a" /* default */].win.location.hash;
13403
13404
  if (hash) {
13404
13405
  hash = hash.split('?')[0];
13405
13406
  }
13406
13407
  if (hash !== '#/' && hash !== '#/main') {
13407
- var _ids4 = this.getId(this.menus, utils_util["a" /* default */].win.location.hash);
13408
+ var _ids4 = this.getId(this.menus, util["a" /* default */].win.location.hash);
13408
13409
  if (_ids4) {
13409
13410
  this.defaultActive = _ids4;
13410
13411
  //this.navIds = ids;
@@ -13423,7 +13424,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13423
13424
  this.isDefault = false;
13424
13425
  this.setDefault(res, this.defaultActive);
13425
13426
  } else {
13426
- if (this.homePage || !utils_util["a" /* default */].getStorage('mainConfig')) {
13427
+ if (this.homePage || !util["a" /* default */].getStorage('mainConfig')) {
13427
13428
  this.isDefault = true;
13428
13429
  if (this.homePage && (!this.defaultActive || !this.defaultActive.length)) {
13429
13430
  var _ids6 = this.getId(this.menus, this.homePage);
@@ -13490,7 +13491,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13490
13491
  if (id && this.menu[0].id !== id) {
13491
13492
  this.active.push(id);
13492
13493
  } else {
13493
- var _hash = utils_util["a" /* default */].win.location.hash;
13494
+ var _hash = util["a" /* default */].win.location.hash;
13494
13495
  if (_hash) {
13495
13496
  _hash = _hash.split('?')[0];
13496
13497
  if (_hash !== '#/' && _hash !== '#/main') {
@@ -13674,14 +13675,14 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13674
13675
  },
13675
13676
  setUrl: function setUrl(url, param) {
13676
13677
  var obj = param ? param : {};
13677
- var params = utils_util["a" /* default */].getParams({ url: url }, true);
13678
+ var params = util["a" /* default */].getParams({ url: url }, true);
13678
13679
  for (var i in params) {
13679
13680
  if (i != 'model' && i != 'view' && i != '_baseUrl') {
13680
13681
  obj[i] = params[i];
13681
13682
  }
13682
13683
  }
13683
13684
  var _url = params._baseUrl ? params._baseUrl : './primary.html';
13684
- return utils_util["a" /* default */].urlJoinParams({ url: _url, param: obj });
13685
+ return util["a" /* default */].urlJoinParams({ url: _url, param: obj });
13685
13686
  },
13686
13687
 
13687
13688
  //应用导航交互
@@ -13915,7 +13916,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13915
13916
  this.handleSet();
13916
13917
  break;
13917
13918
  case 'goView':
13918
- utils_util["a" /* default */].win.open(res.path, '_blank');
13919
+ util["a" /* default */].win.open(res.path, '_blank');
13919
13920
  break;
13920
13921
  }
13921
13922
  this.$emit('handler-click', res);
@@ -13926,7 +13927,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13926
13927
  var _this8 = this;
13927
13928
 
13928
13929
  if (this.method === 'iframe') {
13929
- this.page = utils_util["a" /* default */].handlerUrl(this.page);
13930
+ this.page = util["a" /* default */].handlerUrl(this.page);
13930
13931
  } else {
13931
13932
  this.refresh = false;
13932
13933
  this.$nextTick(function () {
@@ -13950,18 +13951,18 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13950
13951
  this.pid = res.pid;
13951
13952
  }
13952
13953
  }
13953
- if (utils_util["a" /* default */].win.location.hash === page && prevPage === page) {
13954
+ if (util["a" /* default */].win.location.hash === page && prevPage === page) {
13954
13955
  this.refresh = true;
13955
13956
  return;
13956
13957
  }
13957
13958
  if (type == 1) {
13958
- utils_util["a" /* default */].win.open(page);
13959
+ util["a" /* default */].win.open(page);
13959
13960
  } else if (type == 2) {
13960
13961
  location.href = page;
13961
13962
  } else if (type == 3 || this.loadWujie === false || this.downgrade && defaultvue_type_script_lang_js_isIE) {
13962
13963
  this.method = 'iframe';
13963
13964
  this.refresh = false;
13964
- this.page = utils_util["a" /* default */].handlerUrl(page, param);
13965
+ this.page = util["a" /* default */].handlerUrl(page, param);
13965
13966
  } else if (page) {
13966
13967
  var urls = page.split('?');
13967
13968
  if (urls[0].indexOf('.js') > 1) {
@@ -13974,19 +13975,19 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13974
13975
  } else if (urls[0].indexOf('.dhtml') > 0 || urls[0].indexOf('.html') > 0 && urls[0].indexOf('.html#') === -1) {
13975
13976
  this.method = 'iframe';
13976
13977
  this.refresh = false;
13977
- this.page = utils_util["a" /* default */].handlerUrl(page, param);
13978
+ this.page = util["a" /* default */].handlerUrl(page, param);
13978
13979
  } else {
13979
13980
  if (urls[0].indexOf('.html') === -1 && urls[0].indexOf('#/') === -1) {
13980
13981
  this.method = 'iframe';
13981
13982
  this.refresh = false;
13982
- this.page = utils_util["a" /* default */].handlerUrl(page, param);
13983
+ this.page = util["a" /* default */].handlerUrl(page, param);
13983
13984
  } else {
13984
13985
  this.method = 'router';
13985
13986
  var routes = this.$router.options.routes;
13986
13987
  if (routes) {
13987
13988
  var path = this.hasRouter(routes, urls[0]);
13988
13989
  if (path) {
13989
- var params = utils_util["a" /* default */].getParams({ url: page });
13990
+ var params = util["a" /* default */].getParams({ url: page });
13990
13991
  if (param) {
13991
13992
  params = defaultvue_type_script_lang_js_extends({}, params, param);
13992
13993
  }
@@ -14004,14 +14005,14 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14004
14005
  _this9.refresh = true;
14005
14006
  });
14006
14007
  } else {
14007
- var urlopenmode = utils_util["a" /* default */].getParams({
14008
+ var urlopenmode = util["a" /* default */].getParams({
14008
14009
  url: page,
14009
14010
  name: 'urlopenmode'
14010
14011
  });
14011
14012
  if (this.loadWujie === false || this.downgrade && defaultvue_type_script_lang_js_isIE || urlopenmode == 3) {
14012
14013
  this.method = 'iframe';
14013
14014
  this.refresh = false;
14014
- this.page = utils_util["a" /* default */].handlerUrl(page, param);
14015
+ this.page = util["a" /* default */].handlerUrl(page, param);
14015
14016
  } else {
14016
14017
  this.method = 'wujie';
14017
14018
  this.wjName = res && res.appCode ? res.appCode : 'application';
@@ -14024,7 +14025,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14024
14025
  } else {
14025
14026
  this.method = 'iframe';
14026
14027
  this.refresh = false;
14027
- this.page = utils_util["a" /* default */].handlerUrl(page, param);
14028
+ this.page = util["a" /* default */].handlerUrl(page, param);
14028
14029
  this.$nextTick(function () {
14029
14030
  _this9.refresh = true;
14030
14031
  });
@@ -14147,7 +14148,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14147
14148
  handleListener: function handleListener() {
14148
14149
  var _this10 = this;
14149
14150
 
14150
- utils_util["a" /* default */].win.addEventListener('message', function (e) {
14151
+ util["a" /* default */].win.addEventListener('message', function (e) {
14151
14152
  var msg = e.data;
14152
14153
  if (msg.key == 'jump_Menu') {
14153
14154
  var res = msg.data1;
@@ -14163,7 +14164,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14163
14164
  initWebSocket: function initWebSocket() {
14164
14165
  var _this11 = this;
14165
14166
 
14166
- this.webSocket = utils_util["a" /* default */].socket({
14167
+ this.webSocket = util["a" /* default */].socket({
14167
14168
  url: api["ec" /* wss */],
14168
14169
  take: api["Ub" /* topic */],
14169
14170
  success: function success(res) {
@@ -14198,8 +14199,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14198
14199
  if (_this11.$eventBus) {
14199
14200
  _this11.$eventBus.$emit('websocket', data);
14200
14201
  }
14201
- if (utils_util["a" /* default */].win.eventBus) {
14202
- utils_util["a" /* default */].win.eventBus.$emit('websocket', data);
14202
+ if (util["a" /* default */].win.eventBus) {
14203
+ util["a" /* default */].win.eventBus.$emit('websocket', data);
14203
14204
  }
14204
14205
  }
14205
14206
  });
@@ -14238,7 +14239,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
14238
14239
  if (this.webSocket) {
14239
14240
  this.webSocket.destroy();
14240
14241
  }
14241
- utils_util["a" /* default */].win.removeEventListener('popstate', this.tateHandle);
14242
+ util["a" /* default */].win.removeEventListener('popstate', this.tateHandle);
14242
14243
  }
14243
14244
  });
14244
14245
  // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=script&lang=js&
@@ -14310,20 +14311,20 @@ var default_component = Object(componentNormalizer["a" /* default */])(
14310
14311
  };
14311
14312
  },
14312
14313
  created: function created() {
14313
- this.params = utils_util["a" /* default */].getParams() || {};
14314
+ this.params = util["a" /* default */].getParams() || {};
14314
14315
  this.appCode = this.params.appCode;
14315
14316
  this.getConfig(this.params);
14316
14317
  },
14317
14318
  mounted: function mounted() {
14318
- if (utils_util["a" /* default */].win.$wujie) {
14319
- utils_util["a" /* default */].win.$wujie.bus.$on('changeTheme', function (res) {
14320
- utils_util["a" /* default */].updateTheme(res);
14319
+ if (util["a" /* default */].win.$wujie) {
14320
+ util["a" /* default */].win.$wujie.bus.$on('changeTheme', function (res) {
14321
+ util["a" /* default */].updateTheme(res);
14321
14322
  });
14322
14323
  }
14323
- utils_util["a" /* default */].win.reLogin = this.handleReLogin;
14324
- utils_util["a" /* default */].win.windowOpen = this.openPage;
14325
- utils_util["a" /* default */].win.refresh = this.$refs.main.handleRefresh;
14326
- utils_util["a" /* default */].win.jumpMenu = this.$refs.main.jumpMenu;
14324
+ util["a" /* default */].win.reLogin = this.handleReLogin;
14325
+ util["a" /* default */].win.windowOpen = this.openPage;
14326
+ util["a" /* default */].win.refresh = this.$refs.main.handleRefresh;
14327
+ util["a" /* default */].win.jumpMenu = this.$refs.main.jumpMenu;
14327
14328
  },
14328
14329
 
14329
14330
  methods: {
@@ -14365,13 +14366,13 @@ var default_component = Object(componentNormalizer["a" /* default */])(
14365
14366
  console.log('handleReLogin');
14366
14367
  sessionStorage.setItem('remind', 1);
14367
14368
  _this.$confirm(msg, btn).then(function () {
14368
- utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
14369
- var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
14369
+ util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
14370
+ var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
14370
14371
  try {
14371
14372
  if (loginPage) {
14372
14373
  var src = void 0;
14373
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
14374
- var pathname = utils_util["a" /* default */].win.top.location.pathname;
14374
+ if (!util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
14375
+ var pathname = util["a" /* default */].win.top.location.pathname;
14375
14376
  if (pathname !== '/') {
14376
14377
  pathname = pathname.split('/');
14377
14378
  pathname.splice(pathname.length - 1);
@@ -14383,20 +14384,20 @@ var default_component = Object(componentNormalizer["a" /* default */])(
14383
14384
  } else {
14384
14385
  src = loginPage;
14385
14386
  }
14386
- utils_util["a" /* default */].win.top.location.href = src;
14387
- } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
14388
- utils_util["a" /* default */].win.top.location.href = './login.html';
14387
+ util["a" /* default */].win.top.location.href = src;
14388
+ } else if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
14389
+ util["a" /* default */].win.top.location.href = './login.html';
14389
14390
  } else {
14390
- var hash = utils_util["a" /* default */].win.top.location.hash;
14391
+ var hash = util["a" /* default */].win.top.location.hash;
14391
14392
  if (hash) {
14392
- var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
14393
- utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
14393
+ var len = util["a" /* default */].win.top.location.href.indexOf(hash);
14394
+ util["a" /* default */].win.top.location.href = util["a" /* default */].win.location.href.slice(0, len) + '#/login';
14394
14395
  } else {
14395
- utils_util["a" /* default */].win.top.location.href = '/login.html';
14396
+ util["a" /* default */].win.top.location.href = '/login.html';
14396
14397
  }
14397
14398
  }
14398
14399
  } catch (error) {
14399
- utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
14400
+ util["a" /* default */].win.postMessage({ type: 1 }, '*');
14400
14401
  }
14401
14402
  }).catch(function (e) {
14402
14403
  sessionStorage.removeItem('remind');
@@ -14413,13 +14414,13 @@ var default_component = Object(componentNormalizer["a" /* default */])(
14413
14414
  getConfig: function getConfig(query) {
14414
14415
  var _this2 = this;
14415
14416
 
14416
- var token = utils_util["a" /* default */].getStorage('token') || utils_util["a" /* default */].getStorage('Authorization');
14417
+ var token = util["a" /* default */].getStorage('token') || util["a" /* default */].getStorage('Authorization');
14417
14418
  if (!token && Object.prototype.hasOwnProperty.call(query, 'serverId') && Object.prototype.hasOwnProperty.call(query, 'authType')) {
14418
14419
  return false;
14419
14420
  }
14420
- var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
14421
+ var mainConfig = util["a" /* default */].getStorage('mainConfig');
14421
14422
  if (!mainConfig || mainConfig == '{}') {
14422
- utils_util["a" /* default */].getMainConfig(function (res) {
14423
+ util["a" /* default */].getMainConfig(function (res) {
14423
14424
  _this2.$refs.main.init(res);
14424
14425
  });
14425
14426
  }
@@ -14432,7 +14433,7 @@ var default_component = Object(componentNormalizer["a" /* default */])(
14432
14433
  **/
14433
14434
  openPage: function openPage(url, name, width, height) {
14434
14435
  var src = url;
14435
- if (!utils_util["a" /* default */].startWith(url, ['http', '/'], true)) {
14436
+ if (!util["a" /* default */].startWith(url, ['http', '/'], true)) {
14436
14437
  var pathname = window.location.pathname;
14437
14438
  if (pathname !== '/') {
14438
14439
  pathname = pathname.split('/');
@@ -14445,15 +14446,15 @@ var default_component = Object(componentNormalizer["a" /* default */])(
14445
14446
  var w = 0;
14446
14447
  var h = 0;
14447
14448
  try {
14448
- w = width ? width : utils_util["a" /* default */].win.top.screen.availWidth - 10;
14449
- h = height ? height : utils_util["a" /* default */].win.top.screen.availHeight - 60;
14449
+ w = width ? width : util["a" /* default */].win.top.screen.availWidth - 10;
14450
+ h = height ? height : util["a" /* default */].win.top.screen.availHeight - 60;
14450
14451
  } catch (error) {
14451
- w = width ? width : utils_util["a" /* default */].win.screen.availWidth - 10;
14452
- h = height ? height : utils_util["a" /* default */].win.screen.availHeight - 60;
14452
+ w = width ? width : util["a" /* default */].win.screen.availWidth - 10;
14453
+ h = height ? height : util["a" /* default */].win.screen.availHeight - 60;
14453
14454
  }
14454
- return utils_util["a" /* default */].win.open(src, name, 'width=' + w + 'px,height=' + h + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
14455
+ return util["a" /* default */].win.open(src, name, 'width=' + w + 'px,height=' + h + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
14455
14456
  } else {
14456
- return utils_util["a" /* default */].win.open(src);
14457
+ return util["a" /* default */].win.open(src);
14457
14458
  }
14458
14459
  }
14459
14460
  },