eoss-ui 0.5.81-beta5 → 0.5.81-beta7

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 (38) hide show
  1. package/lib/data-table.js +143 -124
  2. package/lib/eoss-ui.common.js +371 -281
  3. package/lib/index.js +1 -1
  4. package/lib/login.js +8 -6
  5. package/lib/main.js +206 -137
  6. package/lib/select.js +1 -1
  7. package/lib/theme-chalk/base.css +1 -1
  8. package/lib/theme-chalk/index.css +1 -1
  9. package/lib/theme-chalk/main.css +1 -1
  10. package/lib/theme-chalk/menu.css +1 -1
  11. package/lib/theme-chalk/simplicity.css +1 -1
  12. package/lib/theme-chalk/sizer.css +1 -1
  13. package/lib/theme-chalk/tree.css +1 -1
  14. package/lib/theme-chalk/upload.css +1 -1
  15. package/package.json +2 -2
  16. package/packages/data-table/src/main.vue +50 -26
  17. package/packages/login/src/main.vue +10 -4
  18. package/packages/main/src/default/index.vue +1 -1
  19. package/packages/main/src/main.vue +8 -3
  20. package/packages/main/src/simplicity/index.vue +81 -76
  21. package/packages/main/src/simplicity/menu-list.vue +46 -17
  22. package/packages/main/src/simplicity/sub-menu.vue +2 -1
  23. package/packages/main/src/simplicity/user.vue +1 -0
  24. package/packages/select/src/main.vue +4 -1
  25. package/packages/theme-chalk/lib/base.css +1 -1
  26. package/packages/theme-chalk/lib/index.css +1 -1
  27. package/packages/theme-chalk/lib/main.css +1 -1
  28. package/packages/theme-chalk/lib/menu.css +1 -1
  29. package/packages/theme-chalk/lib/simplicity.css +1 -1
  30. package/packages/theme-chalk/lib/sizer.css +1 -1
  31. package/packages/theme-chalk/lib/tree.css +1 -1
  32. package/packages/theme-chalk/lib/upload.css +1 -1
  33. package/packages/theme-chalk/src/base.scss +3 -0
  34. package/packages/theme-chalk/src/common/var.scss +4 -0
  35. package/packages/theme-chalk/src/login.scss +2 -2
  36. package/packages/theme-chalk/src/simplicity.scss +5 -5
  37. package/packages/theme-chalk/src/tree.scss +4 -2
  38. package/src/index.js +1 -1
@@ -6879,8 +6879,8 @@ clients_src_main.install = function (Vue) {
6879
6879
  };
6880
6880
 
6881
6881
  /* harmony default export */ var clients = (clients_src_main);
6882
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=04c7a78c&
6883
- var mainvue_type_template_id_04c7a78c_render = function () {
6882
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=15de25d9&
6883
+ var mainvue_type_template_id_15de25d9_render = function () {
6884
6884
  var _vm = this
6885
6885
  var _h = _vm.$createElement
6886
6886
  var _c = _vm._self._c || _h
@@ -6901,7 +6901,7 @@ var mainvue_type_template_id_04c7a78c_render = function () {
6901
6901
  attrs: {
6902
6902
  "label-width": "0",
6903
6903
  "element-loading-background": "rgba(0, 0, 0, 0.65)",
6904
- model: _vm.tag === "div" ? "" : _vm.datas,
6904
+ model: _vm.tag === "div" ? "" : _vm.list,
6905
6905
  "element-loading-text": _vm.tableLoadingText,
6906
6906
  },
6907
6907
  },
@@ -6967,10 +6967,10 @@ var mainvue_type_template_id_04c7a78c_render = function () {
6967
6967
  (_vm.theadBorder && _vm.border != "none"
6968
6968
  ? " es-thead-border"
6969
6969
  : ""),
6970
- attrs: { data: _vm.datas },
6970
+ attrs: { data: _vm.list },
6971
6971
  on: {
6972
6972
  "update:data": function ($event) {
6973
- _vm.datas = $event
6973
+ _vm.list = $event
6974
6974
  },
6975
6975
  },
6976
6976
  },
@@ -7152,7 +7152,7 @@ var mainvue_type_template_id_04c7a78c_render = function () {
7152
7152
  _vm._v("共" + _vm._s(_vm.config.totalCount) + "条,"),
7153
7153
  ]),
7154
7154
  _c("span", [
7155
- _vm._v("已加载" + _vm._s(_vm.datas.length) + "条"),
7155
+ _vm._v("已加载" + _vm._s(_vm.list.length) + "条"),
7156
7156
  ]),
7157
7157
  ])
7158
7158
  : _vm.page
@@ -7190,11 +7190,11 @@ var mainvue_type_template_id_04c7a78c_render = function () {
7190
7190
  1
7191
7191
  )
7192
7192
  }
7193
- var mainvue_type_template_id_04c7a78c_staticRenderFns = []
7194
- mainvue_type_template_id_04c7a78c_render._withStripped = true
7193
+ var mainvue_type_template_id_15de25d9_staticRenderFns = []
7194
+ mainvue_type_template_id_15de25d9_render._withStripped = true
7195
7195
 
7196
7196
 
7197
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=04c7a78c&
7197
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=15de25d9&
7198
7198
 
7199
7199
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/children.vue?vue&type=template&id=44b7ff61&
7200
7200
  var childrenvue_type_template_id_44b7ff61_render = function () {
@@ -9715,6 +9715,14 @@ var mainvue_type_script_lang_js_components, _watch;
9715
9715
  return this.data;
9716
9716
  },
9717
9717
  set: function set(val) {
9718
+ var _this3 = this;
9719
+
9720
+ if (this.list && this.list.length) {
9721
+ this.$nextTick(function () {
9722
+ _this3.list = val;
9723
+ });
9724
+ console.log(val, 7777788);
9725
+ }
9718
9726
  this.$emit('update:data', val);
9719
9727
  return val;
9720
9728
  }
@@ -9773,18 +9781,12 @@ var mainvue_type_script_lang_js_components, _watch;
9773
9781
  this.doLayout();
9774
9782
  },
9775
9783
 
9776
- // data: {
9777
- // deep: true,
9778
- // handler(val) {
9779
- // if (
9780
- // this.page &&
9781
- // typeof this.page === 'object' &&
9782
- // !Object.prototype.hasOwnProperty.call(this.page, 'totalCount')
9783
- // ) {
9784
- // this.config.totalCount = val.length - this.lose;
9785
- // }
9786
- // }
9787
- // },
9784
+ data: {
9785
+ deep: true,
9786
+ handler: function handler() {
9787
+ this.list = this.setData();
9788
+ }
9789
+ },
9788
9790
  page: function page() {
9789
9791
  this.resetHeight();
9790
9792
  this.doLayout();
@@ -9808,7 +9810,7 @@ var mainvue_type_script_lang_js_components, _watch;
9808
9810
  }
9809
9811
  },
9810
9812
  checked: function checked(newVal) {
9811
- this.datas.length && this.checkSelect(newVal);
9813
+ this.list.length && this.checkSelect(newVal);
9812
9814
  },
9813
9815
 
9814
9816
  thead: {
@@ -9850,6 +9852,7 @@ var mainvue_type_script_lang_js_components, _watch;
9850
9852
  }, _watch['config.pageNum'] = function configPageNum() {
9851
9853
  if (this.data.length) {
9852
9854
  this.$refs.oaTable && this.$refs.oaTable.resetScroll && this.$refs.oaTable.resetScroll(0, 0);
9855
+ this.list = this.setData();
9853
9856
  }
9854
9857
  }, _watch.height = {
9855
9858
  immediate: true,
@@ -9872,10 +9875,10 @@ var mainvue_type_script_lang_js_components, _watch;
9872
9875
  }
9873
9876
  }, _watch),
9874
9877
  beforeCreate: function beforeCreate() {
9875
- var _this3 = this;
9878
+ var _this4 = this;
9876
9879
 
9877
9880
  this.getTableData = Object(external_throttle_debounce_["debounce"])(500, function (res) {
9878
- _this3.getTableDatas(res);
9881
+ _this4.getTableDatas(res);
9879
9882
  });
9880
9883
  },
9881
9884
  created: function created() {
@@ -9886,11 +9889,27 @@ var mainvue_type_script_lang_js_components, _watch;
9886
9889
  this.chekOpenTotalArea();
9887
9890
  },
9888
9891
  mounted: function mounted() {
9889
- this.datas.length && this.checkSelect(this.checked);
9892
+ if (this.data.length) {
9893
+ this.list = this.setData();
9894
+ }
9895
+ this.list.length && this.checkSelect(this.checked);
9890
9896
  this.resetHeight();
9891
9897
  },
9892
9898
 
9893
9899
  methods: {
9900
+ setData: function setData() {
9901
+ var _this5 = this;
9902
+
9903
+ if (this.page && (mainvue_type_script_lang_js_typeof(this.page) === 'object' && (!Object.prototype.hasOwnProperty.call(this.page, 'totalCount') || this.page.totalCount == 0) || this.page === true)) {
9904
+ this.config.totalCount = this.data.length - this.lose;
9905
+ }
9906
+ if (this.page && this.data.length > this.config.pageSize) {
9907
+ return this.data.filter(function (item, index) {
9908
+ return index > (_this5.config.pageNum - 1) * _this5.config.pageSize - 1 && index < _this5.config.pageNum * _this5.config.pageSize;
9909
+ });
9910
+ }
9911
+ return this.data;
9912
+ },
9894
9913
  getRequestKey: function getRequestKey(config) {
9895
9914
  var method = config.method,
9896
9915
  url = config.url,
@@ -9900,55 +9919,55 @@ var mainvue_type_script_lang_js_components, _watch;
9900
9919
  return [method, url, external_qs_default.a.stringify(params), external_qs_default.a.stringify(data)].join('&');
9901
9920
  },
9902
9921
  getOptions: function getOptions(res) {
9903
- var _this4 = this;
9922
+ var _this6 = this;
9904
9923
 
9905
9924
  var sysCodes = [];
9906
9925
  res.forEach(function (item) {
9907
9926
  if (item.sysCode || item.url) {
9908
9927
  item.sysCode && sysCodes.push(item.sysCode);
9909
9928
  var params = utils_util["a" /* default */].extend({}, item.sysCode ? { sysAppCode: item.sysCode, code: item.sysCode } : {}, item.param ? item.param : {});
9910
- var key = _this4.getRequestKey({
9911
- method: _this4.method,
9912
- url: item.sysCode ? _this4.findCode : item.url,
9929
+ var key = _this6.getRequestKey({
9930
+ method: _this6.method,
9931
+ url: item.sysCode ? _this6.findCode : item.url,
9913
9932
  params: params,
9914
9933
  data: {}
9915
9934
  });
9916
- if (!_this4.requests.includes(key)) {
9935
+ if (!_this6.requests.includes(key)) {
9917
9936
  utils_util["a" /* default */].ajax({
9918
- url: item.sysCode ? _this4.findCode : item.url,
9919
- method: _this4.method,
9937
+ url: item.sysCode ? _this6.findCode : item.url,
9938
+ method: _this6.method,
9920
9939
  params: params,
9921
9940
  data: params
9922
9941
  }).then(function (res) {
9923
9942
  if (res.rCode === 0) {
9924
9943
  if (item.type == 'ganged') {
9925
- _this4.$set(_this4.options, item.sysCode || item.field || item.prop, [JSON.parse(JSON.stringify(res.results))]);
9944
+ _this6.$set(_this6.options, item.sysCode || item.field || item.prop, [JSON.parse(JSON.stringify(res.results))]);
9926
9945
  if (item.sysCode) {
9927
- bus.$emit(item.sysCode, JSON.parse(JSON.stringify(_this4.options[item.sysCode])));
9946
+ bus.$emit(item.sysCode, JSON.parse(JSON.stringify(_this6.options[item.sysCode])));
9928
9947
  }
9929
9948
  } else {
9930
- _this4.$set(_this4.options, item.sysCode || item.field || item.prop, JSON.parse(JSON.stringify(res.results)));
9949
+ _this6.$set(_this6.options, item.sysCode || item.field || item.prop, JSON.parse(JSON.stringify(res.results)));
9931
9950
  if (item.sysCode) {
9932
9951
  bus.$emit(item.sysCode, JSON.parse(JSON.stringify(res.results)));
9933
9952
  }
9934
9953
  }
9935
- _this4.requests.push(key);
9954
+ _this6.requests.push(key);
9936
9955
  } else {
9937
9956
  var msg = res.msg || '系统错误,请联系管理员!';
9938
- _this4.$message.error(msg);
9957
+ _this6.$message.error(msg);
9939
9958
  }
9940
9959
  }).catch(function (err) {
9941
9960
  if (err.message && err.message !== 'canceled') {
9942
- _this4.$message.error(err.message);
9961
+ _this6.$message.error(err.message);
9943
9962
  }
9944
9963
  });
9945
9964
  }
9946
9965
  } else {
9947
9966
  if (item.childHead && item.childHead.length) {
9948
- _this4.getOptions(item.childHead);
9967
+ _this6.getOptions(item.childHead);
9949
9968
  }
9950
9969
  if (item.children && item.children.length) {
9951
- _this4.getOptions(item.children);
9970
+ _this6.getOptions(item.children);
9952
9971
  }
9953
9972
  }
9954
9973
  });
@@ -9960,7 +9979,7 @@ var mainvue_type_script_lang_js_components, _watch;
9960
9979
  return utils_util["a" /* default */].getObjectType(item) === 'object';
9961
9980
  },
9962
9981
  chekOpenTotalArea: function chekOpenTotalArea() {
9963
- var _this5 = this;
9982
+ var _this7 = this;
9964
9983
 
9965
9984
  if (this.total || this.showSummary) {
9966
9985
  this.showTotal = true;
@@ -9969,7 +9988,7 @@ var mainvue_type_script_lang_js_components, _watch;
9969
9988
  var arr = JSON.parse(JSON.stringify(this.theads));
9970
9989
  arr.forEach(function (item) {
9971
9990
  if (item.total) {
9972
- _this5.showTotal = true;
9991
+ _this7.showTotal = true;
9973
9992
  }
9974
9993
  });
9975
9994
  },
@@ -10016,13 +10035,13 @@ var mainvue_type_script_lang_js_components, _watch;
10016
10035
  }
10017
10036
  },
10018
10037
  getRow: function getRow(thead, obj) {
10019
- var _this6 = this;
10038
+ var _this8 = this;
10020
10039
 
10021
10040
  thead.forEach(function (item) {
10022
10041
  if (item.field) {
10023
10042
  obj[item['field']] = item.defaultValue || '';
10024
10043
  } else if (item.children && item.children.length) {
10025
- _this6.getRow(item.children, obj);
10044
+ _this8.getRow(item.children, obj);
10026
10045
  }
10027
10046
  });
10028
10047
  },
@@ -10049,27 +10068,27 @@ var mainvue_type_script_lang_js_components, _watch;
10049
10068
  });
10050
10069
  },
10051
10070
  checkSelect: function checkSelect(newVal) {
10052
- var _this7 = this;
10071
+ var _this9 = this;
10053
10072
 
10054
10073
  this.$nextTick(function () {
10055
10074
  if (utils_util["a" /* default */].getObjectType(newVal) === 'array') {
10056
10075
  newVal.forEach(function (row) {
10057
10076
  if (utils_util["a" /* default */].isObject(row)) {
10058
- _this7.$refs.oaTable.toggleRowSelection(row, true);
10059
- } else _this7.datas.forEach(function (item) {
10060
- if (item[_this7.checkedKey] === row) {
10061
- _this7.$refs.oaTable.toggleRowSelection(item, true);
10077
+ _this9.$refs.oaTable.toggleRowSelection(row, true);
10078
+ } else _this9.list.forEach(function (item) {
10079
+ if (item[_this9.checkedKey] === row) {
10080
+ _this9.$refs.oaTable.toggleRowSelection(item, true);
10062
10081
  return;
10063
10082
  }
10064
10083
  });
10065
10084
  });
10066
10085
  } else if (newVal === true) {
10067
- _this7.toggleAllSelection();
10086
+ _this9.toggleAllSelection();
10068
10087
  }
10069
10088
  });
10070
10089
  },
10071
10090
  getTheads: function getTheads() {
10072
- var _this8 = this;
10091
+ var _this10 = this;
10073
10092
 
10074
10093
  utils_util["a" /* default */].ajax({
10075
10094
  url: this.thead,
@@ -10081,27 +10100,27 @@ var mainvue_type_script_lang_js_components, _watch;
10081
10100
  if (res.rCode === 0) {
10082
10101
  var results = res.results;
10083
10102
  if (Array.isArray(results)) {
10084
- _this8.theadData = results;
10103
+ _this10.theadData = results;
10085
10104
  } else {
10086
- _this8.theadData = results.theadData || [];
10087
- _this8.list = results.data || results.records || [];
10088
- _this8.config.totalCount = results.count || results.total || results.totalCount;
10089
- _this8.getOptions(_this8.theadData);
10105
+ _this10.theadData = results.theadData || [];
10106
+ _this10.list = results.data || results.records || [];
10107
+ _this10.config.totalCount = results.count || results.total || results.totalCount;
10108
+ _this10.getOptions(_this10.theadData);
10090
10109
  }
10091
10110
  } else {
10092
- _this8.theadData = [];
10111
+ _this10.theadData = [];
10093
10112
  var msg = res.msg || '系统错误,请联系管理员!';
10094
- _this8.$message.error(msg);
10113
+ _this10.$message.error(msg);
10095
10114
  }
10096
- _this8.$emit('success', res);
10115
+ _this10.$emit('success', res);
10097
10116
  }).catch(function (err) {
10098
10117
  if (err.message && err.message !== 'canceled') {
10099
- _this8.$message.error(err.message);
10118
+ _this10.$message.error(err.message);
10100
10119
  }
10101
10120
  });
10102
10121
  },
10103
10122
  getTableDatas: function getTableDatas(res) {
10104
- var _this9 = this;
10123
+ var _this11 = this;
10105
10124
 
10106
10125
  var where = void 0;
10107
10126
  var first = void 0;
@@ -10141,42 +10160,42 @@ var mainvue_type_script_lang_js_components, _watch;
10141
10160
  params: reqData,
10142
10161
  data: reqData
10143
10162
  })).then(function (res) {
10144
- _this9.tableLoading = false;
10163
+ _this11.tableLoading = false;
10145
10164
  if (res.rCode === 0 || res.status === 'success') {
10146
- if (_this9.isReload) {
10147
- _this9.list = [];
10148
- _this9.isReload = false;
10165
+ if (_this11.isReload) {
10166
+ _this11.list = [];
10167
+ _this11.isReload = false;
10149
10168
  }
10150
- var results = _this9.parseData !== undefined ? _this9.parseData(res.results || res.data || res) : res.results || res.data;
10151
- if (_this9.infiniteScroll) {
10152
- _this9.list = _this9.list.concat(results.data || results.records || results.list);
10153
- _this9.config.pageNum += 1;
10169
+ var results = _this11.parseData !== undefined ? _this11.parseData(res.results || res.data || res) : res.results || res.data;
10170
+ if (_this11.infiniteScroll) {
10171
+ _this11.list = _this11.list.concat(results.data || results.records || results.list);
10172
+ _this11.config.pageNum += 1;
10154
10173
  } else {
10155
- _this9.list = results.data || results.records || results.list;
10156
- _this9.$nextTick(function () {
10157
- _this9.$refs.oaTable && _this9.$refs.oaTable.resetScroll && _this9.$refs.oaTable.resetScroll(0, 0);
10174
+ _this11.list = results.data || results.records || results.list;
10175
+ _this11.$nextTick(function () {
10176
+ _this11.$refs.oaTable && _this11.$refs.oaTable.resetScroll && _this11.$refs.oaTable.resetScroll(0, 0);
10158
10177
  });
10159
10178
  }
10160
- _this9.config.totalCount = results.count || results.total || results.totalCount;
10161
- _this9.checked && _this9.$nextTick(function () {
10162
- _this9.checkSelect(_this9.checked);
10179
+ _this11.config.totalCount = results.count || results.total || results.totalCount;
10180
+ _this11.checked && _this11.$nextTick(function () {
10181
+ _this11.checkSelect(_this11.checked);
10163
10182
  });
10164
- if (_this9.infiniteScroll && _this9.config.totalCount === _this9.list.length) {
10165
- _this9.infiniteDisabled = true;
10183
+ if (_this11.infiniteScroll && _this11.config.totalCount === _this11.list.length) {
10184
+ _this11.infiniteDisabled = true;
10166
10185
  }
10167
10186
  } else {
10168
- _this9.list = [];
10187
+ _this11.list = [];
10169
10188
  //this.tableHeight = false;
10170
10189
  var msg = res.msg || '系统错误,请联系管理员!';
10171
- _this9.$message.error(msg);
10190
+ _this11.$message.error(msg);
10172
10191
  }
10173
- _this9.$emit('success', res);
10192
+ _this11.$emit('success', res);
10174
10193
  }).catch(function (err) {
10175
10194
  //this.tableHeight = false;
10176
10195
  if (err.message && err.message !== 'canceled') {
10177
- _this9.$message.error(err.message);
10196
+ _this11.$message.error(err.message);
10178
10197
  }
10179
- _this9.tableLoading = false;
10198
+ _this11.tableLoading = false;
10180
10199
  });
10181
10200
  },
10182
10201
  selectionChange: function selectionChange(data) {
@@ -10211,17 +10230,17 @@ var mainvue_type_script_lang_js_components, _watch;
10211
10230
  this.$refs.oaTable.sort(prop, order);
10212
10231
  },
10213
10232
  formBlur: function formBlur(data) {
10214
- this.$emit('blur', data, this.datas);
10233
+ this.$emit('blur', data, this.list);
10215
10234
  },
10216
10235
  formFocus: function formFocus(data) {
10217
- this.$emit('focus', data, this.datas);
10236
+ this.$emit('focus', data, this.list);
10218
10237
  },
10219
10238
  formChange: function formChange(data) {
10220
- this.$emit('edit', data, this.datas);
10221
- this.$emit('change', data, this.datas);
10239
+ this.$emit('edit', data, this.list);
10240
+ this.$emit('change', data, this.list);
10222
10241
  },
10223
10242
  handleAjax: function handleAjax(handle, row) {
10224
- var _this10 = this;
10243
+ var _this12 = this;
10225
10244
 
10226
10245
  this.changeLoading(true, handle.text + '\u4E2D...');
10227
10246
  var params = handle.param || {};
@@ -10277,9 +10296,9 @@ var mainvue_type_script_lang_js_components, _watch;
10277
10296
  method: handle.method,
10278
10297
  format: handle.format
10279
10298
  })).then(function (res) {
10280
- _this10.changeLoading(false);
10299
+ _this12.changeLoading(false);
10281
10300
  if (res.rCode === 0) {
10282
- _this10.$message({
10301
+ _this12.$message({
10283
10302
  message: handle.text + '\u6210\u529F',
10284
10303
  duration: 2000,
10285
10304
  type: 'success',
@@ -10287,17 +10306,17 @@ var mainvue_type_script_lang_js_components, _watch;
10287
10306
  var first = Object.prototype.hasOwnProperty.call(handle, 'first') ? handle.first : false;
10288
10307
  var reload = handle.reload || true;
10289
10308
  if (reload) {
10290
- _this10.reload({}, first);
10309
+ _this12.reload({}, first);
10291
10310
  }
10292
10311
  }
10293
10312
  });
10294
10313
  } else {
10295
- _this10.$message.error(res.msg || handle.text + '\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\uFF01');
10314
+ _this12.$message.error(res.msg || handle.text + '\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\uFF01');
10296
10315
  }
10297
10316
  }).catch(function (err) {
10298
- _this10.changeLoading(false);
10317
+ _this12.changeLoading(false);
10299
10318
  if (err.message && err.message !== 'canceled') {
10300
- _this10.$message.error(err.message);
10319
+ _this12.$message.error(err.message);
10301
10320
  }
10302
10321
  });
10303
10322
  },
@@ -10322,7 +10341,7 @@ var mainvue_type_script_lang_js_components, _watch;
10322
10341
  return data_table_src_mainvue_type_script_lang_js_extends({}, obj, item);
10323
10342
  },
10324
10343
  handleClick: function handleClick(res) {
10325
- var _this11 = this;
10344
+ var _this13 = this;
10326
10345
 
10327
10346
  var row = res.row,
10328
10347
  handle = res.handle;
@@ -10358,7 +10377,7 @@ var mainvue_type_script_lang_js_components, _watch;
10358
10377
  cancelButtonText: '取消',
10359
10378
  type: 'warning'
10360
10379
  }).then(function () {
10361
- _this11.handleAjax(handle, rows);
10380
+ _this13.handleAjax(handle, rows);
10362
10381
  }).catch(function () {});
10363
10382
  } else {
10364
10383
  this.handleAjax(handle, rows);
@@ -10368,7 +10387,7 @@ var mainvue_type_script_lang_js_components, _watch;
10368
10387
  handle.event(data_table_src_mainvue_type_script_lang_js_extends({
10369
10388
  ele: this,
10370
10389
  thead: thead,
10371
- data: this.datas,
10390
+ data: this.list,
10372
10391
  selected: rows
10373
10392
  }, res));
10374
10393
  } else if (handle.event === 'add' || handle.event === 'edit' || handle.event === 'look') {
@@ -10446,18 +10465,18 @@ var mainvue_type_script_lang_js_components, _watch;
10446
10465
  var type = ['selection', 'index', 'expand'];
10447
10466
  thead = thead.map(function (item) {
10448
10467
  return item.filter(function (ele) {
10449
- return !type.includes(ele.type) && ele.label !== text && !_this11.exportExcludeLabel.includes(ele.label);
10468
+ return !type.includes(ele.type) && ele.label !== text && !_this13.exportExcludeLabel.includes(ele.label);
10450
10469
  });
10451
10470
  });
10452
10471
  utils_util["a" /* default */].exportXls({
10453
10472
  thead: thead,
10454
- data: this.datas,
10473
+ data: this.list,
10455
10474
  name: this.fileName,
10456
10475
  option: this.optionDatas
10457
10476
  });
10458
10477
  }
10459
- this.$emit('btnClick', res, this.datas, thead, rows);
10460
- this.$emit('btn-click', res, this.datas, thead, rows);
10478
+ this.$emit('btnClick', res, this.list, thead, rows);
10479
+ this.$emit('btn-click', res, this.list, thead, rows);
10461
10480
  }
10462
10481
  },
10463
10482
  sizeChange: function sizeChange(res) {
@@ -10547,40 +10566,40 @@ var mainvue_type_script_lang_js_components, _watch;
10547
10566
  }
10548
10567
  },
10549
10568
  resetHeight: function resetHeight(warn) {
10550
- var _this12 = this;
10569
+ var _this14 = this;
10551
10570
 
10552
10571
  this.$nextTick(function () {
10553
- if (_this12.full && !_this12.height && !_this12.maxHeight) {
10554
- var height = _this12.$el.parentNode.offsetHeight;
10572
+ if (_this14.full && !_this14.height && !_this14.maxHeight) {
10573
+ var height = _this14.$el.parentNode.offsetHeight;
10555
10574
  if (height) {
10556
- height = parseInt(utils_util["a" /* default */].getStyle(_this12.$el.parentNode, 'height', '%'), 10);
10557
- height = (height == NaN ? 0 : height) - parseInt(utils_util["a" /* default */].getStyle(_this12.$el.parentNode, 'padding-top'), 10) - parseInt(utils_util["a" /* default */].getStyle(_this12.$el.parentNode, 'padding-bottom'), 10);
10558
- for (var i = 0; i < _this12.$el.parentNode.childNodes.length; i++) {
10559
- var ele = _this12.$el.parentNode.childNodes[i];
10560
- if (ele !== _this12.$el && ele.offsetHeight !== undefined) {
10575
+ height = parseInt(utils_util["a" /* default */].getStyle(_this14.$el.parentNode, 'height', '%'), 10);
10576
+ height = (height == NaN ? 0 : height) - parseInt(utils_util["a" /* default */].getStyle(_this14.$el.parentNode, 'padding-top'), 10) - parseInt(utils_util["a" /* default */].getStyle(_this14.$el.parentNode, 'padding-bottom'), 10);
10577
+ for (var i = 0; i < _this14.$el.parentNode.childNodes.length; i++) {
10578
+ var ele = _this14.$el.parentNode.childNodes[i];
10579
+ if (ele !== _this14.$el && ele.offsetHeight !== undefined) {
10561
10580
  height = height - ele.offsetHeight - parseInt(utils_util["a" /* default */].getStyle(ele, 'margin-top'), 10) - parseInt(utils_util["a" /* default */].getStyle(ele, 'margin-bottom'), 10);
10562
10581
  }
10563
10582
  }
10564
- height -= _this12.showToolbar ? 45 : 0;
10565
- height -= _this12.page === false ? 0 : 46;
10566
- height -= _this12.title ? _this12.$refs.title.offsetHeight : 0;
10567
- height -= parseInt(utils_util["a" /* default */].getStyle(_this12.$refs.esTableContent, 'padding-top'), 10);
10568
- height -= parseInt(utils_util["a" /* default */].getStyle(_this12.$refs.esTableContent, 'padding-bottom'), 10);
10569
- var emptyText = _this12.$refs.esTableContent.querySelector('.el-table__empty-text');
10583
+ height -= _this14.showToolbar ? 45 : 0;
10584
+ height -= _this14.page === false ? 0 : 46;
10585
+ height -= _this14.title ? _this14.$refs.title.offsetHeight : 0;
10586
+ height -= parseInt(utils_util["a" /* default */].getStyle(_this14.$refs.esTableContent, 'padding-top'), 10);
10587
+ height -= parseInt(utils_util["a" /* default */].getStyle(_this14.$refs.esTableContent, 'padding-bottom'), 10);
10588
+ var emptyText = _this14.$refs.esTableContent.querySelector('.el-table__empty-text');
10570
10589
  var eht = 0;
10571
10590
  if (emptyText) {
10572
10591
  eht = emptyText.offsetHeight;
10573
- var thead = _this12.$refs.esTableContent.querySelector('.el-table__header');
10592
+ var thead = _this14.$refs.esTableContent.querySelector('.el-table__header');
10574
10593
  thead && (eht += thead.offsetHeight);
10575
10594
  }
10576
10595
  if (height > 1 && height - eht > 1) {
10577
- _this12.tableHeight = height;
10596
+ _this14.tableHeight = height;
10578
10597
  } else {
10579
- console.warn(_this12.$el.parentNode, '\u83B7\u53D6\u4E0D\u5230\u9AD8\u5EA6\uFF01');
10598
+ console.warn(_this14.$el.parentNode, '\u83B7\u53D6\u4E0D\u5230\u9AD8\u5EA6\uFF01');
10580
10599
  }
10581
10600
  } else if (!warn) {
10582
10601
  setTimeout(function () {
10583
- _this12.resetHeight(true);
10602
+ _this14.resetHeight(true);
10584
10603
  }, 1000);
10585
10604
  }
10586
10605
  }
@@ -10613,31 +10632,31 @@ var mainvue_type_script_lang_js_components, _watch;
10613
10632
  this.$emit('update-drag-sort', data, event);
10614
10633
  },
10615
10634
  mergeThead: function mergeThead(res) {
10616
- var _this13 = this;
10635
+ var _this15 = this;
10617
10636
 
10618
10637
  this.theadData = res;
10619
10638
  this.icon = true;
10620
10639
  setTimeout(function () {
10621
- _this13.show = true;
10640
+ _this15.show = true;
10622
10641
  }, 100);
10623
10642
  },
10624
10643
  setOptions: function setOptions(val, sysCode) {
10625
10644
  this.$set(this.options, sysCode, val);
10626
10645
  },
10627
10646
  bindEventBus: function bindEventBus() {
10628
- var _this14 = this;
10647
+ var _this16 = this;
10629
10648
 
10630
10649
  this.sysCodes.forEach(function (item) {
10631
10650
  bus.$on(item, function (val) {
10632
- _this14.setOptions(val, item);
10651
+ _this16.setOptions(val, item);
10633
10652
  });
10634
10653
  });
10635
10654
  },
10636
10655
  unbindEventBus: function unbindEventBus() {
10637
- var _this15 = this;
10656
+ var _this17 = this;
10638
10657
 
10639
10658
  this.sysCodes.forEach(function (item) {
10640
- bus.$off(item, _this15.setOptions);
10659
+ bus.$off(item, _this17.setOptions);
10641
10660
  });
10642
10661
  },
10643
10662
  reset: function reset() {
@@ -10657,8 +10676,8 @@ var mainvue_type_script_lang_js_components, _watch;
10657
10676
 
10658
10677
  var data_table_src_main_component = normalizeComponent(
10659
10678
  packages_data_table_src_mainvue_type_script_lang_js_,
10660
- mainvue_type_template_id_04c7a78c_render,
10661
- mainvue_type_template_id_04c7a78c_staticRenderFns,
10679
+ mainvue_type_template_id_15de25d9_render,
10680
+ mainvue_type_template_id_15de25d9_staticRenderFns,
10662
10681
  false,
10663
10682
  null,
10664
10683
  null,
@@ -47880,8 +47899,8 @@ layout_src_main.install = function (Vue) {
47880
47899
  };
47881
47900
 
47882
47901
  /* harmony default export */ var layout = (layout_src_main);
47883
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=bf93bbba&
47884
- var mainvue_type_template_id_bf93bbba_render = function () {
47902
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=584ce1fc&
47903
+ var mainvue_type_template_id_584ce1fc_render = function () {
47885
47904
  var _vm = this
47886
47905
  var _h = _vm.$createElement
47887
47906
  var _c = _vm._self._c || _h
@@ -48825,11 +48844,11 @@ var mainvue_type_template_id_bf93bbba_render = function () {
48825
48844
  )
48826
48845
  : _vm._e()
48827
48846
  }
48828
- var mainvue_type_template_id_bf93bbba_staticRenderFns = []
48829
- mainvue_type_template_id_bf93bbba_render._withStripped = true
48847
+ var mainvue_type_template_id_584ce1fc_staticRenderFns = []
48848
+ mainvue_type_template_id_584ce1fc_render._withStripped = true
48830
48849
 
48831
48850
 
48832
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=bf93bbba&
48851
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=584ce1fc&
48833
48852
 
48834
48853
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=579bc87d&
48835
48854
  var resetPasswordvue_type_template_id_579bc87d_render = function () {
@@ -49953,6 +49972,7 @@ function login_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return fun
49953
49972
  type: String,
49954
49973
  default: 'center'
49955
49974
  },
49975
+ translate: String,
49956
49976
  useResults: {
49957
49977
  type: Boolean,
49958
49978
  default: true
@@ -49965,31 +49985,32 @@ function login_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return fun
49965
49985
  },
49966
49986
  computed: {
49967
49987
  transform: function transform() {
49988
+ var translate = this.translate ? this.translate : this.align === 'center' ? '-50%, -51%' : '-51%';
49968
49989
  if (this.align.indexOf('%') > -1) {
49969
49990
  return {
49970
49991
  left: this.align,
49971
49992
  top: '50%',
49972
- transform: 'translateY(-51%)'
49993
+ transform: 'translateY(' + translate + ')'
49973
49994
  };
49974
49995
  }
49975
49996
  if (this.align === 'left') {
49976
49997
  return {
49977
49998
  left: '30%',
49978
49999
  top: '50%',
49979
- transform: 'translateY(-51%)'
50000
+ transform: 'translateY(' + translate + ')'
49980
50001
  };
49981
50002
  }
49982
50003
  if (this.align === 'right') {
49983
50004
  return {
49984
50005
  left: '70%',
49985
50006
  top: '50%',
49986
- transform: 'translateY(-51%)'
50007
+ transform: 'translateY(' + translate + ')'
49987
50008
  };
49988
50009
  }
49989
50010
  return {
49990
50011
  left: '50%',
49991
50012
  top: '50%',
49992
- transform: 'translate(-50%, -51%)'
50013
+ transform: 'translate(' + translate + ')'
49993
50014
  };
49994
50015
  },
49995
50016
  redirectUri: function redirectUri() {
@@ -50927,8 +50948,8 @@ function login_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return fun
50927
50948
 
50928
50949
  var login_src_main_component = normalizeComponent(
50929
50950
  packages_login_src_mainvue_type_script_lang_js_,
50930
- mainvue_type_template_id_bf93bbba_render,
50931
- mainvue_type_template_id_bf93bbba_staticRenderFns,
50951
+ mainvue_type_template_id_584ce1fc_render,
50952
+ mainvue_type_template_id_584ce1fc_staticRenderFns,
50932
50953
  false,
50933
50954
  null,
50934
50955
  null,
@@ -50945,8 +50966,8 @@ login_src_main.install = function (Vue) {
50945
50966
  };
50946
50967
 
50947
50968
  /* harmony default export */ var login = (login_src_main);
50948
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=a0d885fc&
50949
- var mainvue_type_template_id_a0d885fc_render = function () {
50969
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=6aa3a502&
50970
+ var mainvue_type_template_id_6aa3a502_render = function () {
50950
50971
  var _vm = this
50951
50972
  var _h = _vm.$createElement
50952
50973
  var _c = _vm._self._c || _h
@@ -50968,9 +50989,9 @@ var mainvue_type_template_id_a0d885fc_render = function () {
50968
50989
  )
50969
50990
  )
50970
50991
  : _c(
50971
- "main",
50992
+ "main-default",
50972
50993
  _vm._g(
50973
- _vm._b({ ref: "main" }, "main", _vm.$attrs, false),
50994
+ _vm._b({ ref: "main" }, "main-default", _vm.$attrs, false),
50974
50995
  _vm.$listeners
50975
50996
  )
50976
50997
  ),
@@ -50978,14 +50999,14 @@ var mainvue_type_template_id_a0d885fc_render = function () {
50978
50999
  1
50979
51000
  )
50980
51001
  }
50981
- var mainvue_type_template_id_a0d885fc_staticRenderFns = []
50982
- mainvue_type_template_id_a0d885fc_render._withStripped = true
51002
+ var mainvue_type_template_id_6aa3a502_staticRenderFns = []
51003
+ mainvue_type_template_id_6aa3a502_render._withStripped = true
50983
51004
 
50984
51005
 
50985
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=a0d885fc&
51006
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6aa3a502&
50986
51007
 
50987
- // 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=672540fb&scoped=true&
50988
- var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
51008
+ // 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=f80eb4e8&scoped=true&
51009
+ var simplicityvue_type_template_id_f80eb4e8_scoped_true_render = function () {
50989
51010
  var _vm = this
50990
51011
  var _h = _vm.$createElement
50991
51012
  var _c = _vm._self._c || _h
@@ -51001,7 +51022,13 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
51001
51022
  })
51002
51023
  : _vm._e(),
51003
51024
  _c("div", { staticClass: "es-simplicity-org-name" }, [
51004
- _vm._v(_vm._s(_vm.userModel.orgName)),
51025
+ _vm._v(
51026
+ "\n " +
51027
+ _vm._s(
51028
+ _vm.simpleUserInfo.orgShortName || _vm.simpleUserInfo.orgName
51029
+ ) +
51030
+ "\n "
51031
+ ),
51005
51032
  ]),
51006
51033
  _c(
51007
51034
  "el-popover",
@@ -51017,7 +51044,11 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
51017
51044
  notify: _vm.notify,
51018
51045
  contents: _vm.userInfoContents,
51019
51046
  },
51020
- on: { change: _vm.handleChangeConfig, close: _vm.handlerClose },
51047
+ on: {
51048
+ success: _vm.handleSuccess,
51049
+ change: _vm.handleChangeConfig,
51050
+ close: _vm.handlerClose,
51051
+ },
51021
51052
  }),
51022
51053
  _c("avatar", {
51023
51054
  attrs: { slot: "reference", user: _vm.user },
@@ -51179,6 +51210,7 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
51179
51210
  color: _vm.menuColor,
51180
51211
  backgroundColor: _vm.menuBackgroundColor,
51181
51212
  "menu-icon": _vm.menuIcon,
51213
+ active: _vm.subActive,
51182
51214
  },
51183
51215
  on: {
51184
51216
  "update:visible": function ($event) {
@@ -51352,7 +51384,7 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
51352
51384
  {
51353
51385
  staticClass: "es-simplicity-iframe",
51354
51386
  class: { "is-open": _vm.showMenu, "is-fold": _vm.fold },
51355
- attrs: { closable: "", "hide-bar": "" },
51387
+ attrs: { closable: "", "hide-bar": "", opacity: "" },
51356
51388
  on: {
51357
51389
  "tab-remove": _vm.handleRemove,
51358
51390
  "tab-contextmenu": _vm.handleContextmenu,
@@ -51527,11 +51559,11 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
51527
51559
  ),
51528
51560
  ])
51529
51561
  }
51530
- var simplicityvue_type_template_id_672540fb_scoped_true_staticRenderFns = []
51531
- simplicityvue_type_template_id_672540fb_scoped_true_render._withStripped = true
51562
+ var simplicityvue_type_template_id_f80eb4e8_scoped_true_staticRenderFns = []
51563
+ simplicityvue_type_template_id_f80eb4e8_scoped_true_render._withStripped = true
51532
51564
 
51533
51565
 
51534
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=672540fb&scoped=true&
51566
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=f80eb4e8&scoped=true&
51535
51567
 
51536
51568
  // 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=2597c13a&scoped=true&
51537
51569
  var avatarvue_type_template_id_2597c13a_scoped_true_render = function () {
@@ -51943,8 +51975,8 @@ var handler_component = normalizeComponent(
51943
51975
  )
51944
51976
 
51945
51977
  /* harmony default export */ var simplicity_handler = (handler_component.exports);
51946
- // 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/sub-menu.vue?vue&type=template&id=e591bf96&scoped=true&
51947
- var sub_menuvue_type_template_id_e591bf96_scoped_true_render = function () {
51978
+ // 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/sub-menu.vue?vue&type=template&id=427b4bf6&scoped=true&
51979
+ var sub_menuvue_type_template_id_427b4bf6_scoped_true_render = function () {
51948
51980
  var _vm = this
51949
51981
  var _h = _vm.$createElement
51950
51982
  var _c = _vm._self._c || _h
@@ -52024,6 +52056,7 @@ var sub_menuvue_type_template_id_e591bf96_scoped_true_render = function () {
52024
52056
  _c("menu-list", {
52025
52057
  ref: "menus",
52026
52058
  attrs: {
52059
+ active: _vm.active,
52027
52060
  data: _vm.menus,
52028
52061
  menuIcon: _vm.menuIcon,
52029
52062
  color: _vm.color,
@@ -52040,14 +52073,14 @@ var sub_menuvue_type_template_id_e591bf96_scoped_true_render = function () {
52040
52073
  ]
52041
52074
  )
52042
52075
  }
52043
- var sub_menuvue_type_template_id_e591bf96_scoped_true_staticRenderFns = []
52044
- sub_menuvue_type_template_id_e591bf96_scoped_true_render._withStripped = true
52076
+ var sub_menuvue_type_template_id_427b4bf6_scoped_true_staticRenderFns = []
52077
+ sub_menuvue_type_template_id_427b4bf6_scoped_true_render._withStripped = true
52045
52078
 
52046
52079
 
52047
- // CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=e591bf96&scoped=true&
52080
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=427b4bf6&scoped=true&
52048
52081
 
52049
- // 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=118643de&scoped=true&
52050
- var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
52082
+ // 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=6e724ce5&scoped=true&
52083
+ var menu_listvue_type_template_id_6e724ce5_scoped_true_render = function () {
52051
52084
  var _vm = this
52052
52085
  var _h = _vm.$createElement
52053
52086
  var _c = _vm._self._c || _h
@@ -52068,27 +52101,43 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
52068
52101
  "popper-class": "es-simplicity-menus-sub",
52069
52102
  width: _vm.width,
52070
52103
  },
52104
+ on: { show: _vm.handleShow, hide: _vm.handleHide },
52105
+ scopedSlots: _vm._u([
52106
+ {
52107
+ key: "default",
52108
+ fn: function (ref) {
52109
+ var parent = ref.parent
52110
+ return [
52111
+ _c("menu-list", {
52112
+ ref: "menus",
52113
+ refInFor: true,
52114
+ attrs: {
52115
+ parent: parent,
52116
+ active: _vm.active,
52117
+ popover: _vm.show,
52118
+ data: (item.children || []).concat(
52119
+ item.fourthTabs || []
52120
+ ),
52121
+ menuIcon: _vm.menuIcon,
52122
+ color: _vm.color,
52123
+ backgroundColor: _vm.backgroundColor,
52124
+ width: _vm.width,
52125
+ },
52126
+ on: { command: _vm.handleClick },
52127
+ }),
52128
+ ]
52129
+ },
52130
+ },
52131
+ ]),
52071
52132
  },
52072
52133
  [
52073
- _c("menu-list", {
52074
- ref: "menus",
52075
- refInFor: true,
52076
- attrs: {
52077
- data: (item.children || []).concat(item.fourthTabs || []),
52078
- menuIcon: _vm.menuIcon,
52079
- color: _vm.color,
52080
- backgroundColor: _vm.backgroundColor,
52081
- width: _vm.width,
52082
- },
52083
- on: { command: _vm.handleClick },
52084
- }),
52085
52134
  _c(
52086
52135
  "div",
52087
52136
  {
52088
52137
  key: item.id,
52089
52138
  staticClass: "es-simplicity-menus-item",
52090
52139
  class: {
52091
- "is-active": _vm.active === item.id,
52140
+ "is-active": _vm.defaultActive === item.id,
52092
52141
  "is-fold": _vm.fold,
52093
52142
  },
52094
52143
  attrs: {
@@ -52165,8 +52214,7 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
52165
52214
  ],
52166
52215
  2
52167
52216
  ),
52168
- ],
52169
- 1
52217
+ ]
52170
52218
  )
52171
52219
  : _c(
52172
52220
  "div",
@@ -52174,7 +52222,7 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
52174
52222
  key: item.id,
52175
52223
  staticClass: "es-simplicity-menus-item",
52176
52224
  class: {
52177
- "is-active": _vm.active === item.id,
52225
+ "is-active": _vm.defaultActive === item.id,
52178
52226
  "is-fold": _vm.fold,
52179
52227
  },
52180
52228
  attrs: { title: _vm.fold ? item.text || item.name : "" },
@@ -52255,11 +52303,11 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
52255
52303
  2
52256
52304
  )
52257
52305
  }
52258
- var menu_listvue_type_template_id_118643de_scoped_true_staticRenderFns = []
52259
- menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
52306
+ var menu_listvue_type_template_id_6e724ce5_scoped_true_staticRenderFns = []
52307
+ menu_listvue_type_template_id_6e724ce5_scoped_true_render._withStripped = true
52260
52308
 
52261
52309
 
52262
- // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=118643de&scoped=true&
52310
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=6e724ce5&scoped=true&
52263
52311
 
52264
52312
  // 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&
52265
52313
  //
@@ -52350,26 +52398,46 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
52350
52398
  //
52351
52399
  //
52352
52400
  //
52401
+ //
52402
+ //
52403
+ //
52404
+ //
52405
+ //
52406
+ //
52407
+ //
52353
52408
 
52354
52409
  /* harmony default export */ var menu_listvue_type_script_lang_js_ = ({
52355
52410
  name: 'MenuList',
52356
52411
  components: {},
52357
52412
  props: {
52413
+ active: String,
52358
52414
  menuIcon: String,
52359
52415
  color: [String, Array],
52360
52416
  backgroundColor: [String, Array],
52361
52417
  data: Array,
52362
52418
  fold: Boolean,
52363
- width: Number
52419
+ width: Number,
52420
+ popover: Boolean,
52421
+ parent: Object
52364
52422
  },
52365
52423
  data: function data() {
52366
52424
  return {
52367
- active: ''
52425
+ defaultActive: this.active,
52426
+ show: false,
52427
+ height: document.body.offsetHeight - 44
52368
52428
  };
52369
52429
  },
52370
52430
 
52371
52431
  computed: {},
52372
- watch: {},
52432
+ watch: {
52433
+ popover: function popover() {
52434
+ if (this.$el.offsetHeight > this.height) {
52435
+ this.$el.style.height = this.height + 'px';
52436
+ } else {
52437
+ this.$el.style.height = '';
52438
+ }
52439
+ }
52440
+ },
52373
52441
  created: function created() {},
52374
52442
  mounted: function mounted() {},
52375
52443
 
@@ -52394,7 +52462,7 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
52394
52462
  return obj;
52395
52463
  },
52396
52464
  handleClick: function handleClick(res) {
52397
- this.active = res.id;
52465
+ this.defaultActive = res.id;
52398
52466
  if (res.url) {
52399
52467
  if (res.urlopenmode == 1) {
52400
52468
  util.win.open(res.url);
@@ -52406,8 +52474,17 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
52406
52474
  }
52407
52475
  this.$emit('command', res);
52408
52476
  },
52409
- clearActive: function clearActive() {
52410
- this.active = '';
52477
+ handleShow: function handleShow() {
52478
+ this.show = true;
52479
+ if (this.parent) {
52480
+ this.parent.changeContinue(true);
52481
+ }
52482
+ },
52483
+ handleHide: function handleHide() {
52484
+ if (this.parent) {
52485
+ this.parent.changeContinue(false);
52486
+ //this.parent.hidePopper();
52487
+ }
52411
52488
  }
52412
52489
  }
52413
52490
  });
@@ -52423,11 +52500,11 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
52423
52500
 
52424
52501
  var menu_list_component = normalizeComponent(
52425
52502
  simplicity_menu_listvue_type_script_lang_js_,
52426
- menu_listvue_type_template_id_118643de_scoped_true_render,
52427
- menu_listvue_type_template_id_118643de_scoped_true_staticRenderFns,
52503
+ menu_listvue_type_template_id_6e724ce5_scoped_true_render,
52504
+ menu_listvue_type_template_id_6e724ce5_scoped_true_staticRenderFns,
52428
52505
  false,
52429
52506
  null,
52430
- "118643de",
52507
+ "6e724ce5",
52431
52508
  null
52432
52509
 
52433
52510
  )
@@ -52479,6 +52556,7 @@ var menu_list_component = normalizeComponent(
52479
52556
  //
52480
52557
  //
52481
52558
  //
52559
+ //
52482
52560
 
52483
52561
 
52484
52562
  /* harmony default export */ var sub_menuvue_type_script_lang_js_ = ({
@@ -52486,6 +52564,7 @@ var menu_list_component = normalizeComponent(
52486
52564
  components: { MenuList: menu_list },
52487
52565
  props: {
52488
52566
  title: String,
52567
+ active: String,
52489
52568
  color: {
52490
52569
  type: [String, Array],
52491
52570
  default: '#fff'
@@ -52520,7 +52599,6 @@ var menu_list_component = normalizeComponent(
52520
52599
  return {
52521
52600
  fold: false,
52522
52601
  width: this.size,
52523
- active: '',
52524
52602
  subMenus: []
52525
52603
  };
52526
52604
  },
@@ -52575,11 +52653,11 @@ var menu_list_component = normalizeComponent(
52575
52653
 
52576
52654
  var sub_menu_component = normalizeComponent(
52577
52655
  simplicity_sub_menuvue_type_script_lang_js_,
52578
- sub_menuvue_type_template_id_e591bf96_scoped_true_render,
52579
- sub_menuvue_type_template_id_e591bf96_scoped_true_staticRenderFns,
52656
+ sub_menuvue_type_template_id_427b4bf6_scoped_true_render,
52657
+ sub_menuvue_type_template_id_427b4bf6_scoped_true_staticRenderFns,
52580
52658
  false,
52581
52659
  null,
52582
- "e591bf96",
52660
+ "427b4bf6",
52583
52661
  null
52584
52662
 
52585
52663
  )
@@ -53374,8 +53452,8 @@ var apps_component = normalizeComponent(
53374
53452
  )
53375
53453
 
53376
53454
  /* harmony default export */ var simplicity_apps = (apps_component.exports);
53377
- // 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/user.vue?vue&type=template&id=4f9acb61&scoped=true&
53378
- var uservue_type_template_id_4f9acb61_scoped_true_render = function () {
53455
+ // 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/user.vue?vue&type=template&id=7b281bbe&scoped=true&
53456
+ var uservue_type_template_id_7b281bbe_scoped_true_render = function () {
53379
53457
  var _vm = this
53380
53458
  var _h = _vm.$createElement
53381
53459
  var _c = _vm._self._c || _h
@@ -53530,11 +53608,11 @@ var uservue_type_template_id_4f9acb61_scoped_true_render = function () {
53530
53608
  1
53531
53609
  )
53532
53610
  }
53533
- var uservue_type_template_id_4f9acb61_scoped_true_staticRenderFns = []
53534
- uservue_type_template_id_4f9acb61_scoped_true_render._withStripped = true
53611
+ var uservue_type_template_id_7b281bbe_scoped_true_staticRenderFns = []
53612
+ uservue_type_template_id_7b281bbe_scoped_true_render._withStripped = true
53535
53613
 
53536
53614
 
53537
- // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=4f9acb61&scoped=true&
53615
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=7b281bbe&scoped=true&
53538
53616
 
53539
53617
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=0dbd4cc6&
53540
53618
  var userinfovue_type_template_id_0dbd4cc6_render = function () {
@@ -53961,6 +54039,7 @@ var userinfo_component = normalizeComponent(
53961
54039
  _this2.checkPassword = results.checkPassword;
53962
54040
  _this2.checkPasswordMsg = results.checkPasswordMsg;
53963
54041
  _this2.headImgCode = results.headImgCode || undefined;
54042
+ _this2.$emit('success', results);
53964
54043
  } else {
53965
54044
  var msg = res.msg || '系统错误,请联系管理员!';
53966
54045
  _this2.$message.error(msg);
@@ -54075,11 +54154,11 @@ var userinfo_component = normalizeComponent(
54075
54154
 
54076
54155
  var user_component = normalizeComponent(
54077
54156
  simplicity_uservue_type_script_lang_js_,
54078
- uservue_type_template_id_4f9acb61_scoped_true_render,
54079
- uservue_type_template_id_4f9acb61_scoped_true_staticRenderFns,
54157
+ uservue_type_template_id_7b281bbe_scoped_true_render,
54158
+ uservue_type_template_id_7b281bbe_scoped_true_staticRenderFns,
54080
54159
  false,
54081
54160
  null,
54082
- "4f9acb61",
54161
+ "7b281bbe",
54083
54162
  null
54084
54163
 
54085
54164
  )
@@ -55485,6 +55564,11 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
55485
55564
  //
55486
55565
  //
55487
55566
  //
55567
+ //
55568
+ //
55569
+ //
55570
+ //
55571
+ //
55488
55572
 
55489
55573
 
55490
55574
 
@@ -55662,6 +55746,8 @@ var events = [function (tabs, index, that) {
55662
55746
  subMenus: null,
55663
55747
  //展示菜单导航
55664
55748
  showMenu: false,
55749
+ //子菜单选中
55750
+ subActive: '',
55665
55751
  //折叠菜单
55666
55752
  fold: false,
55667
55753
  //人工智能配置
@@ -55724,7 +55810,7 @@ var events = [function (tabs, index, that) {
55724
55810
  //选中菜单
55725
55811
  active: '',
55726
55812
  //单位名称
55727
- orgName: ''
55813
+ simpleUserInfo: {}
55728
55814
  };
55729
55815
  },
55730
55816
 
@@ -56031,49 +56117,63 @@ var events = [function (tabs, index, that) {
56031
56117
  var tab = _this2.setIframeType(obj);
56032
56118
  _this2.tabs = [tab];
56033
56119
  _this2.activeName = tab.id;
56034
- // if (tab.method == 'router') {
56035
- // let params = util.getParams({ url: tab.url });
56036
- // this.$router.push({
56037
- // path: tab.path,
56038
- // query: { ...this.$parent.params, ...params }
56039
- // });
56040
- // }
56041
56120
  }
56042
56121
  }
56043
56122
  }
56044
- if (_this2.tabs.length == 0) {
56045
- var subMenus = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
56046
- if (subMenus) {
56047
- // this.subMenus = subMenus;
56048
- // this.showMenu = true;
56123
+ var subMenus = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
56124
+ if (subMenus) {
56125
+ if (_this2.tabs.length == 0) {
56049
56126
  var _obj = _this2.getFirst(subMenus);
56050
56127
  if (_obj) {
56128
+ _this2.subActive = _obj.id;
56051
56129
  var _tab = _this2.setIframeType(_obj);
56052
56130
  _this2.tabs = [_tab];
56053
56131
  _this2.activeName = _tab.id;
56054
- // if (tab.method == 'router') {
56055
- // let params = util.getParams({ url: tab.url });
56132
+ } else {
56133
+ _this2.subActive = '';
56134
+ }
56135
+ }
56136
+ _this2.subMenus = subMenus;
56137
+ _this2.showMenu = true;
56138
+ } else {
56139
+ _this2.subMenus = null;
56140
+ _this2.showMenu = false;
56141
+ }
56142
+ } else {
56143
+ if (_this2.indexUrl) {
56144
+ var _obj2 = _this2.getMenu(_this2.menus, _this2.indexUrl);
56145
+ if (_obj2) {
56146
+ if (!_this2.appCode) {
56147
+ var _tab2 = _this2.setIframeType(_obj2);
56148
+ _this2.tabs = [_tab2];
56149
+ _this2.activeName = _tab2.id;
56150
+ }
56151
+ _this2.homePage = _obj2;
56152
+ } else {
56153
+ _this2.homePage = _this2.setIframeType({
56154
+ url: _this2.indexUrl,
56155
+ text: '工作台',
56156
+ id: '0',
56157
+ appCode: 'indexUrl'
56158
+ });
56159
+ if (!_this2.appCode) {
56160
+ _this2.tabs = [_this2.homePage];
56161
+ _this2.activeName = '0';
56162
+ // if (this.homePage.method == 'router') {
56163
+ // let params = util.getParams({ url: this.homePage.url });
56056
56164
  // this.$router.push({
56057
- // path: tab.path,
56165
+ // path: this.homePage.path,
56058
56166
  // query: { ...this.$parent.params, ...params }
56059
56167
  // });
56060
56168
  // }
56061
56169
  }
56062
- } else {
56063
- _this2.subMenus = null;
56064
- _this2.showMenu = false;
56065
56170
  }
56066
- }
56067
- // this.width = this.menuWidth;
56068
- // this.$refs.subMenus && this.$refs.subMenus.clearSubmenu();
56069
- }
56070
- if (_this2.indexUrl) {
56071
- var _obj2 = _this2.getMenu(_this2.menus, _this2.indexUrl);
56072
- if (_obj2) {
56073
- if (!_this2.appCode) {
56074
- var _tab2 = _this2.setIframeType(_obj2);
56075
- _this2.tabs = [_tab2];
56076
- _this2.activeName = _tab2.id;
56171
+ } else if (_this2.initApps && _this2.initApps.length && !_this2.appCode) {
56172
+ var _obj3 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
56173
+ if (_obj3) {
56174
+ var _tab3 = _this2.setIframeType(_obj3);
56175
+ _this2.tabs.push(_tab3);
56176
+ _this2.activeName = _tab3.id;
56077
56177
  // if (tab.method == 'router') {
56078
56178
  // let params = util.getParams({ url: tab.url });
56079
56179
  // this.$router.push({
@@ -56082,39 +56182,6 @@ var events = [function (tabs, index, that) {
56082
56182
  // });
56083
56183
  // }
56084
56184
  }
56085
- _this2.homePage = _obj2;
56086
- } else {
56087
- _this2.homePage = _this2.setIframeType({
56088
- url: _this2.indexUrl,
56089
- text: '工作台',
56090
- id: '0',
56091
- appCode: 'indexUrl'
56092
- });
56093
- if (!_this2.appCode) {
56094
- _this2.tabs = [_this2.homePage];
56095
- _this2.activeName = '0';
56096
- // if (this.homePage.method == 'router') {
56097
- // let params = util.getParams({ url: this.homePage.url });
56098
- // this.$router.push({
56099
- // path: this.homePage.path,
56100
- // query: { ...this.$parent.params, ...params }
56101
- // });
56102
- // }
56103
- }
56104
- }
56105
- } else if (_this2.initApps && _this2.initApps.length && !_this2.appCode) {
56106
- var _obj3 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
56107
- if (_obj3) {
56108
- var _tab3 = _this2.setIframeType(_obj3);
56109
- _this2.tabs.push(_tab3);
56110
- _this2.activeName = _tab3.id;
56111
- // if (tab.method == 'router') {
56112
- // let params = util.getParams({ url: tab.url });
56113
- // this.$router.push({
56114
- // path: tab.path,
56115
- // query: { ...this.$parent.params, ...params }
56116
- // });
56117
- // }
56118
56185
  }
56119
56186
  }
56120
56187
  } else {
@@ -56268,8 +56335,9 @@ var events = [function (tabs, index, that) {
56268
56335
  return flag;
56269
56336
  }
56270
56337
  } else {
56271
- if (this.menuTips[obj.id] && Number(this.menuTips[obj.id])) {
56272
- this.$set(obj, 'tips', Number(this.menuTips[obj.id]));
56338
+ var num = this.menuTips[obj.id] || this.menuTips[obj.code];
56339
+ if (num && Number(num)) {
56340
+ this.$set(obj, 'tips', Number(num));
56273
56341
  return this.menuTips[obj.id];
56274
56342
  }
56275
56343
  }
@@ -56432,6 +56500,16 @@ var events = [function (tabs, index, that) {
56432
56500
  }
56433
56501
  },
56434
56502
 
56503
+
56504
+ /**
56505
+ * @desc:用户详情请求成功
56506
+ * @author huangbo
56507
+ * @date 2024年9月7日
56508
+ **/
56509
+ handleSuccess: function handleSuccess(res) {
56510
+ this.simpleUserInfo = res.simpleUserInfo;
56511
+ },
56512
+
56435
56513
  /**
56436
56514
  * @desc:修改用户配置
56437
56515
  * @author huangbo
@@ -56468,7 +56546,14 @@ var events = [function (tabs, index, that) {
56468
56546
  * @date 2024年9月7日
56469
56547
  **/
56470
56548
  handleRefresh: function handleRefresh() {
56471
- this.handleTab();
56549
+ var tab = this.tabs[this.activeName];
56550
+ if (tab.method === 'iframe') {
56551
+ tab.url = utils_util["a" /* default */].handlerUrl(tab.url);
56552
+ }
56553
+ tab.refresh = false;
56554
+ this.$nextTick(function () {
56555
+ tab.refresh = true;
56556
+ });
56472
56557
  },
56473
56558
 
56474
56559
  /**
@@ -56866,18 +56951,18 @@ var events = [function (tabs, index, that) {
56866
56951
 
56867
56952
  var simplicity_component = normalizeComponent(
56868
56953
  src_simplicityvue_type_script_lang_js_,
56869
- simplicityvue_type_template_id_672540fb_scoped_true_render,
56870
- simplicityvue_type_template_id_672540fb_scoped_true_staticRenderFns,
56954
+ simplicityvue_type_template_id_f80eb4e8_scoped_true_render,
56955
+ simplicityvue_type_template_id_f80eb4e8_scoped_true_staticRenderFns,
56871
56956
  false,
56872
56957
  null,
56873
- "672540fb",
56958
+ "f80eb4e8",
56874
56959
  null
56875
56960
 
56876
56961
  )
56877
56962
 
56878
56963
  /* harmony default export */ var simplicity = (simplicity_component.exports);
56879
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=1606367c&
56880
- var defaultvue_type_template_id_1606367c_render = function () {
56964
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=4cc95bd1&
56965
+ var defaultvue_type_template_id_4cc95bd1_render = function () {
56881
56966
  var _vm = this
56882
56967
  var _h = _vm.$createElement
56883
56968
  var _c = _vm._self._c || _h
@@ -57257,11 +57342,11 @@ var defaultvue_type_template_id_1606367c_render = function () {
57257
57342
  1
57258
57343
  )
57259
57344
  }
57260
- var defaultvue_type_template_id_1606367c_staticRenderFns = []
57261
- defaultvue_type_template_id_1606367c_render._withStripped = true
57345
+ var defaultvue_type_template_id_4cc95bd1_staticRenderFns = []
57346
+ defaultvue_type_template_id_4cc95bd1_render._withStripped = true
57262
57347
 
57263
57348
 
57264
- // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=1606367c&
57349
+ // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=4cc95bd1&
57265
57350
 
57266
57351
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=bd3da0e0&
57267
57352
  var userinfovue_type_template_id_bd3da0e0_render = function () {
@@ -59178,7 +59263,7 @@ var defaultvue_type_script_lang_js_isIE = navigator.userAgent.indexOf('MSIE') !=
59178
59263
  var log = utils_util["a" /* default */].getParams('console');
59179
59264
  var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["a" /* default */].getParams('appcode');
59180
59265
  /* harmony default export */ var defaultvue_type_script_lang_js_ = ({
59181
- name: 'Main',
59266
+ name: 'MainDefault',
59182
59267
  inheritAttrs: false,
59183
59268
  provide: function provide() {
59184
59269
  return {
@@ -60986,8 +61071,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
60986
61071
 
60987
61072
  var default_component = normalizeComponent(
60988
61073
  src_defaultvue_type_script_lang_js_,
60989
- defaultvue_type_template_id_1606367c_render,
60990
- defaultvue_type_template_id_1606367c_staticRenderFns,
61074
+ defaultvue_type_template_id_4cc95bd1_render,
61075
+ defaultvue_type_template_id_4cc95bd1_staticRenderFns,
60991
61076
  false,
60992
61077
  null,
60993
61078
  null,
@@ -61009,6 +61094,11 @@ var default_component = normalizeComponent(
61009
61094
  //
61010
61095
  //
61011
61096
  //
61097
+ //
61098
+ //
61099
+ //
61100
+ //
61101
+ //
61012
61102
 
61013
61103
 
61014
61104
 
@@ -61024,7 +61114,7 @@ var default_component = normalizeComponent(
61024
61114
 
61025
61115
  components: {
61026
61116
  Simplicity: simplicity,
61027
- Main: src_default
61117
+ MainDefault: src_default
61028
61118
  },
61029
61119
  props: {
61030
61120
  type: String
@@ -61078,8 +61168,8 @@ var default_component = normalizeComponent(
61078
61168
 
61079
61169
  var main_src_main_component = normalizeComponent(
61080
61170
  packages_main_src_mainvue_type_script_lang_js_,
61081
- mainvue_type_template_id_a0d885fc_render,
61082
- mainvue_type_template_id_a0d885fc_staticRenderFns,
61171
+ mainvue_type_template_id_6aa3a502_render,
61172
+ mainvue_type_template_id_6aa3a502_staticRenderFns,
61083
61173
  false,
61084
61174
  null,
61085
61175
  null,
@@ -65126,7 +65216,7 @@ function src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys) { va
65126
65216
  }
65127
65217
  }
65128
65218
  } else {
65129
- if (typeof data === 'string' || !data.length) {
65219
+ if (typeof data === 'string' || !data.length && !this.sysCode && !this.url) {
65130
65220
  return value;
65131
65221
  }
65132
65222
  if (Array.isArray(data) && data.length) {
@@ -81318,7 +81408,7 @@ if (typeof window !== 'undefined' && window.Vue) {
81318
81408
  }
81319
81409
 
81320
81410
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
81321
- version: '0.5.81-beta5',
81411
+ version: '0.5.81-beta7',
81322
81412
  install: install,
81323
81413
  Button: packages_button,
81324
81414
  ButtonGroup: button_group,