eoss-ui 0.5.81-beta6 → 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.
@@ -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,
@@ -50984,8 +51005,8 @@ mainvue_type_template_id_6aa3a502_render._withStripped = true
50984
51005
 
50985
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=4a717394&scoped=true&
50988
- var simplicityvue_type_template_id_4a717394_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_4a717394_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_4a717394_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 },
@@ -51353,7 +51384,7 @@ var simplicityvue_type_template_id_4a717394_scoped_true_render = function () {
51353
51384
  {
51354
51385
  staticClass: "es-simplicity-iframe",
51355
51386
  class: { "is-open": _vm.showMenu, "is-fold": _vm.fold },
51356
- attrs: { closable: "", "hide-bar": "" },
51387
+ attrs: { closable: "", "hide-bar": "", opacity: "" },
51357
51388
  on: {
51358
51389
  "tab-remove": _vm.handleRemove,
51359
51390
  "tab-contextmenu": _vm.handleContextmenu,
@@ -51528,11 +51559,11 @@ var simplicityvue_type_template_id_4a717394_scoped_true_render = function () {
51528
51559
  ),
51529
51560
  ])
51530
51561
  }
51531
- var simplicityvue_type_template_id_4a717394_scoped_true_staticRenderFns = []
51532
- simplicityvue_type_template_id_4a717394_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
51533
51564
 
51534
51565
 
51535
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=4a717394&scoped=true&
51566
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=f80eb4e8&scoped=true&
51536
51567
 
51537
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&
51538
51569
  var avatarvue_type_template_id_2597c13a_scoped_true_render = function () {
@@ -52048,14 +52079,14 @@ sub_menuvue_type_template_id_427b4bf6_scoped_true_render._withStripped = true
52048
52079
 
52049
52080
  // CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=427b4bf6&scoped=true&
52050
52081
 
52051
- // 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=6e16cc62&scoped=true&
52052
- var menu_listvue_type_template_id_6e16cc62_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 () {
52053
52084
  var _vm = this
52054
52085
  var _h = _vm.$createElement
52055
52086
  var _c = _vm._self._c || _h
52056
52087
  return _c(
52057
52088
  "el-scrollbar",
52058
- { ref: "scrollbar", class: { "is-fold": _vm.fold } },
52089
+ { class: { "is-fold": _vm.fold } },
52059
52090
  [
52060
52091
  _vm._l(_vm.data, function (item, index) {
52061
52092
  return [
@@ -52064,37 +52095,42 @@ var menu_listvue_type_template_id_6e16cc62_scoped_true_render = function () {
52064
52095
  ? _c(
52065
52096
  "el-popover",
52066
52097
  {
52067
- key: item.id,
52068
52098
  attrs: {
52069
52099
  placement: "right",
52070
52100
  trigger: "hover",
52071
52101
  "popper-class": "es-simplicity-menus-sub",
52072
52102
  width: _vm.width,
52073
52103
  },
52074
- on: {
52075
- show: function ($event) {
52076
- _vm.show = true
52077
- },
52078
- hide: function ($event) {
52079
- _vm.show = false
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
+ },
52080
52130
  },
52081
- },
52131
+ ]),
52082
52132
  },
52083
52133
  [
52084
- _c("menu-list", {
52085
- ref: "menus",
52086
- refInFor: true,
52087
- attrs: {
52088
- active: _vm.active,
52089
- popover: _vm.show,
52090
- data: (item.children || []).concat(item.fourthTabs || []),
52091
- menuIcon: _vm.menuIcon,
52092
- color: _vm.color,
52093
- backgroundColor: _vm.backgroundColor,
52094
- width: _vm.width,
52095
- },
52096
- on: { command: _vm.handleClick },
52097
- }),
52098
52134
  _c(
52099
52135
  "div",
52100
52136
  {
@@ -52178,8 +52214,7 @@ var menu_listvue_type_template_id_6e16cc62_scoped_true_render = function () {
52178
52214
  ],
52179
52215
  2
52180
52216
  ),
52181
- ],
52182
- 1
52217
+ ]
52183
52218
  )
52184
52219
  : _c(
52185
52220
  "div",
@@ -52268,11 +52303,11 @@ var menu_listvue_type_template_id_6e16cc62_scoped_true_render = function () {
52268
52303
  2
52269
52304
  )
52270
52305
  }
52271
- var menu_listvue_type_template_id_6e16cc62_scoped_true_staticRenderFns = []
52272
- menu_listvue_type_template_id_6e16cc62_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
52273
52308
 
52274
52309
 
52275
- // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=6e16cc62&scoped=true&
52310
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=6e724ce5&scoped=true&
52276
52311
 
52277
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&
52278
52313
  //
@@ -52368,6 +52403,8 @@ menu_listvue_type_template_id_6e16cc62_scoped_true_render._withStripped = true
52368
52403
  //
52369
52404
  //
52370
52405
  //
52406
+ //
52407
+ //
52371
52408
 
52372
52409
  /* harmony default export */ var menu_listvue_type_script_lang_js_ = ({
52373
52410
  name: 'MenuList',
@@ -52380,7 +52417,8 @@ menu_listvue_type_template_id_6e16cc62_scoped_true_render._withStripped = true
52380
52417
  data: Array,
52381
52418
  fold: Boolean,
52382
52419
  width: Number,
52383
- popover: Boolean
52420
+ popover: Boolean,
52421
+ parent: Object
52384
52422
  },
52385
52423
  data: function data() {
52386
52424
  return {
@@ -52395,7 +52433,6 @@ menu_listvue_type_template_id_6e16cc62_scoped_true_render._withStripped = true
52395
52433
  popover: function popover() {
52396
52434
  if (this.$el.offsetHeight > this.height) {
52397
52435
  this.$el.style.height = this.height + 'px';
52398
- this.$refs.scrollbar.update();
52399
52436
  } else {
52400
52437
  this.$el.style.height = '';
52401
52438
  }
@@ -52436,6 +52473,18 @@ menu_listvue_type_template_id_6e16cc62_scoped_true_render._withStripped = true
52436
52473
  }
52437
52474
  }
52438
52475
  this.$emit('command', res);
52476
+ },
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
+ }
52439
52488
  }
52440
52489
  }
52441
52490
  });
@@ -52451,11 +52500,11 @@ menu_listvue_type_template_id_6e16cc62_scoped_true_render._withStripped = true
52451
52500
 
52452
52501
  var menu_list_component = normalizeComponent(
52453
52502
  simplicity_menu_listvue_type_script_lang_js_,
52454
- menu_listvue_type_template_id_6e16cc62_scoped_true_render,
52455
- menu_listvue_type_template_id_6e16cc62_scoped_true_staticRenderFns,
52503
+ menu_listvue_type_template_id_6e724ce5_scoped_true_render,
52504
+ menu_listvue_type_template_id_6e724ce5_scoped_true_staticRenderFns,
52456
52505
  false,
52457
52506
  null,
52458
- "6e16cc62",
52507
+ "6e724ce5",
52459
52508
  null
52460
52509
 
52461
52510
  )
@@ -53403,8 +53452,8 @@ var apps_component = normalizeComponent(
53403
53452
  )
53404
53453
 
53405
53454
  /* harmony default export */ var simplicity_apps = (apps_component.exports);
53406
- // 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&
53407
- 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 () {
53408
53457
  var _vm = this
53409
53458
  var _h = _vm.$createElement
53410
53459
  var _c = _vm._self._c || _h
@@ -53559,11 +53608,11 @@ var uservue_type_template_id_4f9acb61_scoped_true_render = function () {
53559
53608
  1
53560
53609
  )
53561
53610
  }
53562
- var uservue_type_template_id_4f9acb61_scoped_true_staticRenderFns = []
53563
- 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
53564
53613
 
53565
53614
 
53566
- // 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&
53567
53616
 
53568
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&
53569
53618
  var userinfovue_type_template_id_0dbd4cc6_render = function () {
@@ -53990,6 +54039,7 @@ var userinfo_component = normalizeComponent(
53990
54039
  _this2.checkPassword = results.checkPassword;
53991
54040
  _this2.checkPasswordMsg = results.checkPasswordMsg;
53992
54041
  _this2.headImgCode = results.headImgCode || undefined;
54042
+ _this2.$emit('success', results);
53993
54043
  } else {
53994
54044
  var msg = res.msg || '系统错误,请联系管理员!';
53995
54045
  _this2.$message.error(msg);
@@ -54104,11 +54154,11 @@ var userinfo_component = normalizeComponent(
54104
54154
 
54105
54155
  var user_component = normalizeComponent(
54106
54156
  simplicity_uservue_type_script_lang_js_,
54107
- uservue_type_template_id_4f9acb61_scoped_true_render,
54108
- 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,
54109
54159
  false,
54110
54160
  null,
54111
- "4f9acb61",
54161
+ "7b281bbe",
54112
54162
  null
54113
54163
 
54114
54164
  )
@@ -55515,6 +55565,10 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
55515
55565
  //
55516
55566
  //
55517
55567
  //
55568
+ //
55569
+ //
55570
+ //
55571
+ //
55518
55572
 
55519
55573
 
55520
55574
 
@@ -55756,7 +55810,7 @@ var events = [function (tabs, index, that) {
55756
55810
  //选中菜单
55757
55811
  active: '',
55758
55812
  //单位名称
55759
- orgName: ''
55813
+ simpleUserInfo: {}
55760
55814
  };
55761
55815
  },
55762
55816
 
@@ -56446,6 +56500,16 @@ var events = [function (tabs, index, that) {
56446
56500
  }
56447
56501
  },
56448
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
+
56449
56513
  /**
56450
56514
  * @desc:修改用户配置
56451
56515
  * @author huangbo
@@ -56887,11 +56951,11 @@ var events = [function (tabs, index, that) {
56887
56951
 
56888
56952
  var simplicity_component = normalizeComponent(
56889
56953
  src_simplicityvue_type_script_lang_js_,
56890
- simplicityvue_type_template_id_4a717394_scoped_true_render,
56891
- simplicityvue_type_template_id_4a717394_scoped_true_staticRenderFns,
56954
+ simplicityvue_type_template_id_f80eb4e8_scoped_true_render,
56955
+ simplicityvue_type_template_id_f80eb4e8_scoped_true_staticRenderFns,
56892
56956
  false,
56893
56957
  null,
56894
- "4a717394",
56958
+ "f80eb4e8",
56895
56959
  null
56896
56960
 
56897
56961
  )
@@ -65152,7 +65216,7 @@ function src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys) { va
65152
65216
  }
65153
65217
  }
65154
65218
  } else {
65155
- if (typeof data === 'string' || !data.length) {
65219
+ if (typeof data === 'string' || !data.length && !this.sysCode && !this.url) {
65156
65220
  return value;
65157
65221
  }
65158
65222
  if (Array.isArray(data) && data.length) {
@@ -81344,7 +81408,7 @@ if (typeof window !== 'undefined' && window.Vue) {
81344
81408
  }
81345
81409
 
81346
81410
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
81347
- version: '0.5.81-beta6',
81411
+ version: '0.5.81-beta7',
81348
81412
  install: install,
81349
81413
  Button: packages_button,
81350
81414
  ButtonGroup: button_group,