ecinc-cloud-wappaio 9.6.283 → 9.6.285

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.
@@ -9044,6 +9044,12 @@ function generateTitle(meta, $scope, moduleCode, i18npkg, variables) {
9044
9044
  // debugger
9045
9045
  }
9046
9046
  $scope = $scope || this;
9047
+ if ($scope.$i18n && $scope.$i18n.locale === 'zhCN') {
9048
+ //中文,按钮,忽略语言包
9049
+ if (meta.btnName) {
9050
+ return meta.btnName;
9051
+ }
9052
+ }
9047
9053
  if (meta.i18nCode && $scope.$te(meta.i18nCode)) {
9048
9054
  return $scope.$t(meta.i18nCode, variables);
9049
9055
  }
@@ -41886,7 +41892,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".list-border .more-btn-drop{padding:10
41886
41892
 
41887
41893
  /***/ }),
41888
41894
 
41889
- /***/ 72550:
41895
+ /***/ 55947:
41890
41896
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
41891
41897
 
41892
41898
  "use strict";
@@ -41900,7 +41906,7 @@ __webpack_require__.r(__webpack_exports__);
41900
41906
 
41901
41907
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
41902
41908
  // Module
41903
- ___CSS_LOADER_EXPORT___.push([module.id, ".content-column[data-v-0669bd3e]{cursor:pointer}.column_operate[data-v-0669bd3e],.column_operate[data-v-0669bd3e] .cell{white-space:nowrap!important;overflow:hidden!important;word-break:keep-all}.el-pagination-container[data-v-0669bd3e]{text-align:right;margin-top:10px}.el-pagination-container .selected-rows[data-v-0669bd3e]{float:left;color:#606266;font-size:13px;line-height:28px}.el-pagination[data-v-0669bd3e]{padding-right:0;font-weight:400}.el-icon[data-v-0669bd3e]:before{padding-right:3px}[data-v-0669bd3e] th>.cell{word-break:keep-all;white-space:nowrap}[data-v-0669bd3e] .el-table__header .is-fixed{color:#333;background-color:#f2f5fb}[data-v-0669bd3e] .close-tooltip .cell{word-break:normal}[data-v-0669bd3e] .el-table__body-wrapper::-webkit-scrollbar{width:6px;height:6px}[data-v-0669bd3e] .el-table--scrollable-x{padding-right:2px}[data-v-0669bd3e] .el-table--scrollable-x .el-table__body-wrapper{padding-bottom:2px;margin-bottom:2px;cursor:pointer}[data-v-0669bd3e] .el-table--scrollable-x .el-table__body-wrapper .el-table__body{cursor:default}[data-v-0669bd3e] .el-table__body-wrapper::-webkit-scrollbar-thumb{border-radius:4px;background-color:hsla(220,4%,58%,.3)}[data-v-0669bd3e] .el-table__body-wrapper::-webkit-scrollbar-thumb:hover{background-color:hsla(220,4%,58%,.5);margin-right:2px}#card-table[data-v-0669bd3e]{padding:10px 0 10px 0}#card-table .card-item[data-v-0669bd3e]{background:#f7f9ff;border-radius:2px 0 0 2px;padding:20px;margin-bottom:15px;cursor:pointer}#card-table .card-item .card-top[data-v-0669bd3e]{color:#333;font-size:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;line-height:21px}#card-table .card-item .card-top .card-top-left[data-v-0669bd3e],#card-table .card-item .card-top .card-top-right[data-v-0669bd3e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#card-table .card-item .card-top .card-top-right[data-v-0669bd3e]{text-align:end}#card-table .card-item .card-bottom[data-v-0669bd3e]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;line-height:17px;margin-top:10px;color:#999;font-size:13px}#card-table .card-item .card-bottom[data-v-0669bd3e],#card-table .card-item .card-bottom .card-bottom-left[data-v-0669bd3e]{display:-webkit-box;display:-ms-flexbox;display:flex}#card-table .card-item .card-bottom .card-bottom-left .span-item[data-v-0669bd3e]{margin-right:30px}#card-table .card-item .card-bottom .card-bottom-right[data-v-0669bd3e]{display:-webkit-box;display:-ms-flexbox;display:flex}#card-table .card-item .card-bottom .card-bottom-right .span-item[data-v-0669bd3e]{margin-left:30px}#card-table .card-item[data-v-0669bd3e]:hover{background:#eef3ff}#card-table .card-item[data-v-0669bd3e]:last-child{margin-bottom:0}#card-table .card-empty[data-v-0669bd3e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#card-table .card-empty .empty-message[data-v-0669bd3e]{color:#999;margin-top:10px}", ""]);
41909
+ ___CSS_LOADER_EXPORT___.push([module.id, ".content-column[data-v-6dc45822]{cursor:pointer}.column_operate[data-v-6dc45822],.column_operate[data-v-6dc45822] .cell{white-space:nowrap!important;overflow:hidden!important;word-break:keep-all}.el-pagination-container[data-v-6dc45822]{text-align:right;margin-top:10px}.el-pagination-container .selected-rows[data-v-6dc45822]{float:left;color:#606266;font-size:13px;line-height:28px}.el-pagination[data-v-6dc45822]{padding-right:0;font-weight:400}.el-icon[data-v-6dc45822]:before{padding-right:3px}[data-v-6dc45822] th>.cell{word-break:keep-all;white-space:nowrap}[data-v-6dc45822] .el-table__header .is-fixed{color:#333;background-color:#f2f5fb}[data-v-6dc45822] .close-tooltip .cell{word-break:normal}[data-v-6dc45822] .el-table__body-wrapper::-webkit-scrollbar{width:6px;height:6px}[data-v-6dc45822] .el-table--scrollable-x{padding-right:2px}[data-v-6dc45822] .el-table--scrollable-x .el-table__body-wrapper{padding-bottom:2px;margin-bottom:2px;cursor:pointer}[data-v-6dc45822] .el-table--scrollable-x .el-table__body-wrapper .el-table__body{cursor:default}[data-v-6dc45822] .el-table__body-wrapper::-webkit-scrollbar-thumb{border-radius:4px;background-color:hsla(220,4%,58%,.3)}[data-v-6dc45822] .el-table__body-wrapper::-webkit-scrollbar-thumb:hover{background-color:hsla(220,4%,58%,.5);margin-right:2px}#card-table[data-v-6dc45822]{padding:10px 0 10px 0}#card-table .card-item[data-v-6dc45822]{background:#f7f9ff;border-radius:2px 0 0 2px;padding:20px;margin-bottom:15px;cursor:pointer}#card-table .card-item .card-top[data-v-6dc45822]{color:#333;font-size:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;line-height:21px}#card-table .card-item .card-top .card-top-left[data-v-6dc45822],#card-table .card-item .card-top .card-top-right[data-v-6dc45822]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#card-table .card-item .card-top .card-top-right[data-v-6dc45822]{text-align:end}#card-table .card-item .card-bottom[data-v-6dc45822]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;line-height:17px;margin-top:10px;color:#999;font-size:13px}#card-table .card-item .card-bottom[data-v-6dc45822],#card-table .card-item .card-bottom .card-bottom-left[data-v-6dc45822]{display:-webkit-box;display:-ms-flexbox;display:flex}#card-table .card-item .card-bottom .card-bottom-left .span-item[data-v-6dc45822]{margin-right:30px}#card-table .card-item .card-bottom .card-bottom-right[data-v-6dc45822]{display:-webkit-box;display:-ms-flexbox;display:flex}#card-table .card-item .card-bottom .card-bottom-right .span-item[data-v-6dc45822]{margin-left:30px}#card-table .card-item[data-v-6dc45822]:hover{background:#eef3ff}#card-table .card-item[data-v-6dc45822]:last-child{margin-bottom:0}#card-table .card-empty[data-v-6dc45822]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#card-table .card-empty .empty-message[data-v-6dc45822]{color:#999;margin-top:10px}", ""]);
41904
41910
  // Exports
41905
41911
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
41906
41912
 
@@ -41928,7 +41934,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-45d3134b] .el-dialog__headerbt
41928
41934
 
41929
41935
  /***/ }),
41930
41936
 
41931
- /***/ 48772:
41937
+ /***/ 2536:
41932
41938
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
41933
41939
 
41934
41940
  "use strict";
@@ -41942,7 +41948,7 @@ __webpack_require__.r(__webpack_exports__);
41942
41948
 
41943
41949
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
41944
41950
  // Module
41945
- ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-1cbbd470]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}[data-v-1cbbd470] .el-link--inner{color:#1890ff}.inner-listpage-container[data-v-1cbbd470] .el-table--border{border:0;margin:0 0 -1px 0}.inner-listpage-container[data-v-1cbbd470] .el-table--border:after{display:none}.inner-listpage-container[data-v-1cbbd470] .el-table--border td{padding:10px 0!important;font-weight:400}.inner-listpage-container[data-v-1cbbd470] .el-table--border td:last-child{border-right:0}", ""]);
41951
+ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-2297e85a]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}[data-v-2297e85a] .el-link--inner{color:#1890ff}.inner-listpage-container[data-v-2297e85a] .el-table--border{border:0;margin:0 0 -1px 0}.inner-listpage-container[data-v-2297e85a] .el-table--border:after{display:none}.inner-listpage-container[data-v-2297e85a] .el-table--border td{padding:10px 0!important;font-weight:400}.inner-listpage-container[data-v-2297e85a] .el-table--border td:last-child{border-right:0}", ""]);
41946
41952
  // Exports
41947
41953
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
41948
41954
 
@@ -134644,19 +134650,19 @@ var update = add("7cfc0675", content, true, {"sourceMap":false,"shadowMode":fals
134644
134650
 
134645
134651
  /***/ }),
134646
134652
 
134647
- /***/ 12316:
134653
+ /***/ 54121:
134648
134654
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
134649
134655
 
134650
134656
  // style-loader: Adds some css to the DOM by adding a <style> tag
134651
134657
 
134652
134658
  // load the styles
134653
- var content = __webpack_require__(72550);
134659
+ var content = __webpack_require__(55947);
134654
134660
  if(content.__esModule) content = content.default;
134655
134661
  if(typeof content === 'string') content = [[module.id, content, '']];
134656
134662
  if(content.locals) module.exports = content.locals;
134657
134663
  // add the styles to the DOM
134658
134664
  var add = (__webpack_require__(99548)/* ["default"] */ .A)
134659
- var update = add("2981b955", content, true, {"sourceMap":false,"shadowMode":false});
134665
+ var update = add("1ac763d0", content, true, {"sourceMap":false,"shadowMode":false});
134660
134666
 
134661
134667
  /***/ }),
134662
134668
 
@@ -134676,19 +134682,19 @@ var update = add("f0d01e66", content, true, {"sourceMap":false,"shadowMode":fals
134676
134682
 
134677
134683
  /***/ }),
134678
134684
 
134679
- /***/ 72842:
134685
+ /***/ 23770:
134680
134686
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
134681
134687
 
134682
134688
  // style-loader: Adds some css to the DOM by adding a <style> tag
134683
134689
 
134684
134690
  // load the styles
134685
- var content = __webpack_require__(48772);
134691
+ var content = __webpack_require__(2536);
134686
134692
  if(content.__esModule) content = content.default;
134687
134693
  if(typeof content === 'string') content = [[module.id, content, '']];
134688
134694
  if(content.locals) module.exports = content.locals;
134689
134695
  // add the styles to the DOM
134690
134696
  var add = (__webpack_require__(99548)/* ["default"] */ .A)
134691
- var update = add("68c09c36", content, true, {"sourceMap":false,"shadowMode":false});
134697
+ var update = add("80bd17f2", content, true, {"sourceMap":false,"shadowMode":false});
134692
134698
 
134693
134699
  /***/ }),
134694
134700
 
@@ -150470,8 +150476,8 @@ TaskItemTypeTree.install = function (Vue) {
150470
150476
  };
150471
150477
  var BatchProcessing = BatchProcessing_src;
150472
150478
  var BatchProcessing_TaskItemTypeTree = TaskItemTypeTree;
150473
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/DataTable/src/index.vue?vue&type=template&id=0669bd3e&scoped=true
150474
- var srcvue_type_template_id_0669bd3e_scoped_true_render = function render() {
150479
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/DataTable/src/index.vue?vue&type=template&id=6dc45822&scoped=true
150480
+ var srcvue_type_template_id_6dc45822_scoped_true_render = function render() {
150475
150481
  var _vm = this,
150476
150482
  _c = _vm._self._c;
150477
150483
  return _c('div', {
@@ -150798,7 +150804,7 @@ var srcvue_type_template_id_0669bd3e_scoped_true_render = function render() {
150798
150804
  }
150799
150805
  })], 1) : _vm._e(), _vm.showResPermission ? _c('ResPermission') : _vm._e(), _vm._t("default"), _c('DoingDialog')], 2);
150800
150806
  };
150801
- var srcvue_type_template_id_0669bd3e_scoped_true_staticRenderFns = [];
150807
+ var srcvue_type_template_id_6dc45822_scoped_true_staticRenderFns = [];
150802
150808
 
150803
150809
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/DataTable/src/TableColumn.vue?vue&type=template&id=91f5eb56&scoped=true
150804
150810
  var TableColumnvue_type_template_id_91f5eb56_scoped_true_render = function render() {
@@ -153184,6 +153190,7 @@ var PAGE_INFO = {
153184
153190
  },
153185
153191
  beforeDestroy: function beforeDestroy() {
153186
153192
  this.$bus.off('refreshListData', this.refreshListData);
153193
+ window.removeEventListener('resize', this.setOperateColumn);
153187
153194
  },
153188
153195
  mounted: function mounted() {
153189
153196
  var _this2 = this;
@@ -153221,9 +153228,49 @@ var PAGE_INFO = {
153221
153228
  }
153222
153229
  }
153223
153230
  this.loadListdata();
153231
+ window.addEventListener('resize', this.setOperateColumn);
153224
153232
  },
153225
153233
  updated: function updated() {},
153226
153234
  methods: {
153235
+ setOperateColumn: function setOperateColumn() {
153236
+ var _this3 = this;
153237
+ if (this.tableStyle !== 1) return;
153238
+ var wapper = this.$el.querySelector('.el-table__body-wrapper');
153239
+ var tbBody = this.$el.querySelector('.el-table__body');
153240
+ if (wapper) {
153241
+ var operateCols = this.tbColumns.filter(function (col, index) {
153242
+ if (col.field === 'column_operate') {
153243
+ col.index = index;
153244
+ return true;
153245
+ }
153246
+ });
153247
+ if (operateCols.length > 0) {
153248
+ if (wapper.clientWidth < tbBody.clientWidth) {
153249
+ if (operateCols[0].fixed === undefined || operateCols[0].fixed === null) {
153250
+ operateCols[0].fixed = 'right';
153251
+ if ((operateCols[0].className || '').indexOf(' is-fixed') === -1) {
153252
+ operateCols[0].className = (operateCols[0].className || '') + ' is-fixed';
153253
+ }
153254
+ }
153255
+ var times = 0;
153256
+ var timer = setInterval(function () {
153257
+ console.log(times);
153258
+ var fixedRight = _this3.$el.querySelector('.el-table__fixed-right');
153259
+ if (fixedRight) {
153260
+ fixedRight.style.minHeight = _this3.$el.querySelector('.el-table__header').clientHeight + _this3.$el.querySelector('.el-table__body').clientHeight - 0.5 + 'px';
153261
+ }
153262
+ if (fixedRight || times++ > 20) {
153263
+ clearInterval(timer);
153264
+ }
153265
+ }, 100);
153266
+ } else {
153267
+ operateCols[0].fixed = null;
153268
+ operateCols[0].className = (operateCols[0].className || '').replace(' is-fixed', '');
153269
+ }
153270
+ this.tbColumns.splice(operateCols[0].index, 1, operateCols[0]);
153271
+ }
153272
+ }
153273
+ },
153227
153274
  tableRowClassName: function tableRowClassName(_ref) {
153228
153275
  var row = _ref.row,
153229
153276
  rowIndex = _ref.rowIndex;
@@ -153289,10 +153336,10 @@ var PAGE_INFO = {
153289
153336
  this.tableStyle = tableStyle;
153290
153337
  },
153291
153338
  customComponent: function customComponent(list) {
153292
- var _this3 = this;
153339
+ var _this4 = this;
153293
153340
  list.forEach(function (item) {
153294
153341
  if (item.components.indexOf('component:') > -1) {
153295
- _this3.$options.components['card_' + item.value] = _this3.$loadComponent(item.components.split('component:')[1]);
153342
+ _this4.$options.components['card_' + item.value] = _this4.$loadComponent(item.components.split('component:')[1]);
153296
153343
  item.widget = 'card_' + item.value;
153297
153344
  }
153298
153345
  });
@@ -153336,44 +153383,44 @@ var PAGE_INFO = {
153336
153383
  }
153337
153384
  },
153338
153385
  cardCellClick: function cardCellClick(row) {
153339
- var _this4 = this;
153386
+ var _this5 = this;
153340
153387
  new Promise(function (resolve, reject) {
153341
- if (_this4.onCellDblclick) {
153342
- if (_this4.clickTime) {
153343
- clearTimeout(_this4.clickTime);
153388
+ if (_this5.onCellDblclick) {
153389
+ if (_this5.clickTime) {
153390
+ clearTimeout(_this5.clickTime);
153344
153391
  }
153345
- _this4.clickTime = setTimeout(function () {
153392
+ _this5.clickTime = setTimeout(function () {
153346
153393
  resolve(true);
153347
153394
  }, 300);
153348
153395
  } else {
153349
153396
  resolve(true);
153350
153397
  }
153351
153398
  }).then(function (result) {
153352
- if (_this4.onCellClick !== null) {
153353
- _this4.onCellClick(row);
153399
+ if (_this5.onCellClick !== null) {
153400
+ _this5.onCellClick(row);
153354
153401
  } else {
153355
- if (_this4.moduleInfo.openViewType === '1') {
153356
- var moduleInfo = _this4.moduleInfo;
153402
+ if (_this5.moduleInfo.openViewType === '1') {
153403
+ var moduleInfo = _this5.moduleInfo;
153357
153404
  moduleInfo.addNew = false;
153358
- var formUrl = _this4.moduleInfo.busiFormTemplate ? _this4.moduleInfo.busiFormTemplate : '';
153359
- var innerUrl = _this4.moduleInfo.busiTabFormTabTemplate ? _this4.moduleInfo.busiTabFormTabTemplate : '';
153405
+ var formUrl = _this5.moduleInfo.busiFormTemplate ? _this5.moduleInfo.busiFormTemplate : '';
153406
+ var innerUrl = _this5.moduleInfo.busiTabFormTabTemplate ? _this5.moduleInfo.busiTabFormTabTemplate : '';
153360
153407
  var edit = true;
153361
- if (_this4.operateColumnBtns.length > 0) {
153362
- edit = !_this4.operateColumnBtns.some(function (item) {
153408
+ if (_this5.operateColumnBtns.length > 0) {
153409
+ edit = !_this5.operateColumnBtns.some(function (item) {
153363
153410
  return item.id.indexOf('btn_edit') > -1;
153364
153411
  });
153365
153412
  }
153366
153413
  var title = localStorage.getItem('setSysMenuName');
153367
- var busiInfo = _this4.$vnode.context.formTitle;
153368
- window.open("#/newBusiForm?voId=".concat(row.id, "&moduleInfo=").concat(encodeURIComponent(JSON.stringify(moduleInfo)), "&title=").concat(encodeURIComponent(title), "&busiInfo=").concat(encodeURIComponent(busiInfo), "&formUrl=").concat(formUrl, "&innerUrl=").concat(innerUrl, "&noEdit=").concat(edit, "&editShow=0&sysCode=").concat(_this4.$route.meta.sysCode || ''));
153414
+ var busiInfo = _this5.$vnode.context.formTitle;
153415
+ window.open("#/newBusiForm?voId=".concat(row.id, "&moduleInfo=").concat(encodeURIComponent(JSON.stringify(moduleInfo)), "&title=").concat(encodeURIComponent(title), "&busiInfo=").concat(encodeURIComponent(busiInfo), "&formUrl=").concat(formUrl, "&innerUrl=").concat(innerUrl, "&noEdit=").concat(edit, "&editShow=0&sysCode=").concat(_this5.$route.meta.sysCode || ''));
153369
153416
  } else {
153370
- _this4.$bus.emit('openBusiform', _this4.moduleInfo, row, 0);
153417
+ _this5.$bus.emit('openBusiform', _this5.moduleInfo, row, 0);
153371
153418
  }
153372
153419
  }
153373
153420
  });
153374
153421
  },
153375
153422
  checkBtnPermission: function checkBtnPermission() {
153376
- var _this5 = this;
153423
+ var _this6 = this;
153377
153424
  var _this = this;
153378
153425
  var checkedPermission = {};
153379
153426
  this.toolbarBtns.forEach( /*#__PURE__*/function () {
@@ -153387,7 +153434,7 @@ var PAGE_INFO = {
153387
153434
  } else {
153388
153435
  btn.btnI18nCode = btn.btnI18nCode || (btn.btnPermission || btn.id || btn.btnIcon || btn.btnName).replace('btn_', '').replace('Ids', '').replace('Object', '');
153389
153436
  }
153390
- btn.btnName = _this5.$i18n.generateTitle(btn, _this5.$vnode.context);
153437
+ btn.btnName = _this6.$i18n.generateTitle(btn, _this6.$vnode.context);
153391
153438
  if (!(_this.mode === 'design')) {
153392
153439
  _context.next = 6;
153393
153440
  break;
@@ -153415,7 +153462,7 @@ var PAGE_INFO = {
153415
153462
  break;
153416
153463
  case 13:
153417
153464
  _context.next = 15;
153418
- return _this5.$store.dispatch('user/hasPermission', {
153465
+ return _this6.$store.dispatch('user/hasPermission', {
153419
153466
  href: _this.$route.meta.href,
153420
153467
  pcode: pcode
153421
153468
  });
@@ -153464,7 +153511,7 @@ var PAGE_INFO = {
153464
153511
  }
153465
153512
  },
153466
153513
  initTbColumns: function initTbColumns() {
153467
- var _this6 = this;
153514
+ var _this7 = this;
153468
153515
  var _this = this;
153469
153516
  this.listEdit = this.$vnode.context.formCanEdit;
153470
153517
  var mergeColumns = [];
@@ -153487,24 +153534,26 @@ var PAGE_INFO = {
153487
153534
  } else {
153488
153535
  column.propFormatter = '';
153489
153536
  }
153490
- if (!_this6.showOverflowTooltip) {
153537
+ if (!_this7.showOverflowTooltip) {
153491
153538
  column.className = (column.className || '') + ' close-tooltip';
153492
153539
  }
153493
153540
  if (column.fixed === 'right' || column.fixed === 'left') {
153494
- column.className = (column.className || '') + ' is-fixed';
153541
+ if ((column.className || '').indexOf(' is-fixed') === -1) {
153542
+ column.className = (column.className || '') + ' is-fixed';
153543
+ }
153495
153544
  } else if (column.field === 'column_operate' && (column.fixed === undefined || column.fixed === null)) {
153496
153545
  //column.fixed = 'right'
153497
153546
  //column.className = (column.className || '') + ' is-fixed'
153498
153547
  } else {
153499
153548
  column.fixed = false;
153500
153549
  }
153501
- column.title = (_this6.$i18n.generateTitle(column, _this6) || '').trim();
153550
+ column.title = (_this7.$i18n.generateTitle(column, _this7) || '').trim();
153502
153551
  var colFormater = column.propFormatter || column.elementFormatter;
153503
153552
  if (!colFormater) colFormater = column.elementFormatter || '';
153504
153553
  if (column.field === 'state' && column.title === '') {
153505
153554
  column.width = '45px';
153506
153555
  } else if (column.field === 'index') {
153507
- if (_this6.lazyLoadRowChildren) {
153556
+ if (_this7.lazyLoadRowChildren) {
153508
153557
  column.width = '60px';
153509
153558
  } else {
153510
153559
  column.width = '50px';
@@ -153526,20 +153575,20 @@ var PAGE_INFO = {
153526
153575
  if (!colFormater) colFormater = 'yyyy-MM-dd HH:mm:ss'; // Date类型未设置formatter,默认格式
153527
153576
  if (colFormater.indexOf('yyyy') !== -1 && colFormater.indexOf('HH') === -1 && colFormater.indexOf('mm') === -1) {
153528
153577
  // 包含年月日,不包含时分秒
153529
- if (column.sortable && colFormater.indexOf('yyyy年') !== -1 && parseInt(column.width) < _this6.calculateNewWidth(150, uiFontSize, 'judge')) {
153530
- column.width = _this6.calculateNewWidth(150, uiFontSize);
153531
- } else if (column.sortable && parseInt(column.width) < _this6.calculateNewWidth(120, uiFontSize, 'judge')) {
153532
- column.width = _this6.calculateNewWidth(120, uiFontSize);
153578
+ if (column.sortable && colFormater.indexOf('yyyy年') !== -1 && parseInt(column.width) < _this7.calculateNewWidth(150, uiFontSize, 'judge')) {
153579
+ column.width = _this7.calculateNewWidth(150, uiFontSize);
153580
+ } else if (column.sortable && parseInt(column.width) < _this7.calculateNewWidth(120, uiFontSize, 'judge')) {
153581
+ column.width = _this7.calculateNewWidth(120, uiFontSize);
153533
153582
  }
153534
153583
  } else if (colFormater.indexOf('yyyy') !== -1 && colFormater.indexOf('HH') !== -1 && colFormater.indexOf('ss') !== -1) {
153535
153584
  // 包含年月日,时分秒
153536
- if (column.sortable && parseInt(column.width) < _this6.calculateNewWidth(180, uiFontSize, 'judge')) {
153537
- column.width = _this6.calculateNewWidth(180, uiFontSize);
153585
+ if (column.sortable && parseInt(column.width) < _this7.calculateNewWidth(180, uiFontSize, 'judge')) {
153586
+ column.width = _this7.calculateNewWidth(180, uiFontSize);
153538
153587
  }
153539
153588
  } else if (colFormater.indexOf('yyyy') !== -1 && colFormater.indexOf('HH') !== -1 && colFormater.indexOf('mm') !== -1) {
153540
153589
  // 包含年月日,时分秒
153541
- if (column.sortable && parseInt(column.width) < _this6.calculateNewWidth(150, uiFontSize, 'judge')) {
153542
- column.width = _this6.calculateNewWidth(150, uiFontSize);
153590
+ if (column.sortable && parseInt(column.width) < _this7.calculateNewWidth(150, uiFontSize, 'judge')) {
153591
+ column.width = _this7.calculateNewWidth(150, uiFontSize);
153543
153592
  }
153544
153593
  }
153545
153594
  } else if (/^[\u4e00-\u9fff]+$/.test(column.title)) {
@@ -153549,7 +153598,7 @@ var PAGE_INFO = {
153549
153598
  column.width = '90px';
153550
153599
  }
153551
153600
  }
153552
- if (_this6.isInlineEdit !== 0) {
153601
+ if (_this7.isInlineEdit !== 0) {
153553
153602
  if (column.listAdvSearchElement === 'staffDlg') {
153554
153603
  column.staffDlg = true;
153555
153604
  } else if (column.listAdvSearchElement === 'suborg2Dlg') {
@@ -153618,7 +153667,7 @@ var PAGE_INFO = {
153618
153667
  mergeColumns.forEach(function (mergeCol) {
153619
153668
  var subColumns = mergeCol.propFormatter.split(':')[1].split(',');
153620
153669
  mergeCol.children = [];
153621
- _this6.tbColumns.forEach(function (col) {
153670
+ _this7.tbColumns.forEach(function (col) {
153622
153671
  if (subColumns.indexOf(col.field) !== -1) {
153623
153672
  mergeCol.children.push(col);
153624
153673
  col.isChild = 1;
@@ -153650,7 +153699,7 @@ var PAGE_INFO = {
153650
153699
  this.loadListdata(searchMap, searchAndOr, customBtnVal);
153651
153700
  },
153652
153701
  loadListdata: function loadListdata(searchMap, searchAndOr, customBtnVal, moduleCode) {
153653
- var _this7 = this;
153702
+ var _this8 = this;
153654
153703
  if (moduleCode && this.moduleInfo.moduleCode !== moduleCode) return;
153655
153704
  var _this = this;
153656
153705
  this.emptyText = '';
@@ -153694,51 +153743,51 @@ var PAGE_INFO = {
153694
153743
  _this.setPageInfo(searchMap, searchAndOr, customBtnVal, orderBy);
153695
153744
  _this.$app.listdata(this.moduleInfo.listDataUrl, _this.pageInfo).then(function (res) {
153696
153745
  if (res.code === 'success') {
153697
- _this7.pageInfo.list = [];
153698
- _this7.$nextTick(function () {
153746
+ _this8.pageInfo.list = [];
153747
+ _this8.$nextTick(function () {
153699
153748
  var pageInfo = res.body.pageInfo;
153700
153749
  pageInfo.orderBy = orderBy;
153701
153750
  pageInfo.passenger = res.body.passenger;
153702
- _this7.onListDataLoaded(_this7, pageInfo);
153703
- _this7.pageInfo = pageInfo;
153704
- _this7.emptyText = _this7.$tx('common.noData', '暂无数据');
153705
- _this7.loadingMast.close();
153706
- _this7.loading = false;
153707
- if (_this7.$route.meta && !_this7.moduleInfo.disableCache) {
153751
+ _this8.onListDataLoaded(_this8, pageInfo);
153752
+ _this8.pageInfo = pageInfo;
153753
+ _this8.emptyText = _this8.$tx('common.noData', '暂无数据');
153754
+ _this8.loadingMast.close();
153755
+ _this8.loading = false;
153756
+ if (_this8.$route.meta && !_this8.moduleInfo.disableCache) {
153708
153757
  var view = {
153709
- fullPath: _this7.$route.fullPath,
153710
- pageInfo: _this7.pageInfo,
153711
- listDataUrl: _this7.moduleInfo.listDataUrl
153758
+ fullPath: _this8.$route.fullPath,
153759
+ pageInfo: _this8.pageInfo,
153760
+ listDataUrl: _this8.moduleInfo.listDataUrl
153712
153761
  };
153713
- _this7.$store.dispatch('tagsView/updateVisitedView', view);
153762
+ _this8.$store.dispatch('tagsView/updateVisitedView', view);
153714
153763
  }
153715
- _this7.$bus.emit('setTabFileCount');
153716
- _this7.$nextTick(function () {
153717
- _this7.setScrollPosition();
153718
- _this7.setStyleSelectAll();
153719
- for (var key in _this7.selectedAllRows) {
153720
- _this7.selectedAllRows[key].forEach(function (data) {
153721
- var item = _this7.$refs.listpageDataTable.data.filter(function (dataitem) {
153764
+ _this8.$bus.emit('setTabFileCount');
153765
+ _this8.$nextTick(function () {
153766
+ _this8.setScrollPosition();
153767
+ _this8.setStyleSelectAll();
153768
+ for (var key in _this8.selectedAllRows) {
153769
+ _this8.selectedAllRows[key].forEach(function (data) {
153770
+ var item = _this8.$refs.listpageDataTable.data.filter(function (dataitem) {
153722
153771
  return dataitem.id === data.id;
153723
153772
  });
153724
153773
  if (item.length > 0) {
153725
- _this7.$refs.listpageDataTable.toggleRowSelection(item[0]);
153774
+ _this8.$refs.listpageDataTable.toggleRowSelection(item[0]);
153726
153775
  }
153727
153776
  });
153728
153777
  }
153729
- if (_this7.mode === 'innerTable') {
153730
- _this7.$bus.emit('setSubmitSidebarHeight');
153778
+ if (_this8.mode === 'innerTable') {
153779
+ _this8.$bus.emit('setSubmitSidebarHeight');
153731
153780
  }
153732
- _this7.setOperateColumn();
153781
+ _this8.setOperateColumn();
153733
153782
  });
153734
153783
  });
153735
153784
  } else {
153736
- _this7.$alert(res.message, _this7.$tx('common.operationTip', '操作提示'), {
153785
+ _this8.$alert(res.message, _this8.$tx('common.operationTip', '操作提示'), {
153737
153786
  type: 'error'
153738
153787
  });
153739
- _this7.emptyText = _this7.$tx('common.noData', '暂无数据');
153740
- _this7.loadingMast.close();
153741
- _this7.loading = false;
153788
+ _this8.emptyText = _this8.$tx('common.noData', '暂无数据');
153789
+ _this8.loadingMast.close();
153790
+ _this8.loading = false;
153742
153791
  }
153743
153792
  });
153744
153793
  },
@@ -153803,24 +153852,6 @@ var PAGE_INFO = {
153803
153852
  }
153804
153853
  }
153805
153854
  },
153806
- setOperateColumn: function setOperateColumn() {
153807
- if (this.tableStyle === 1) {
153808
- var operateCol = this.tbColumns.filter(function (column) {
153809
- return column.field === 'column_operate' && column.enabled;
153810
- });
153811
- if (operateCol && operateCol.length > 0) {
153812
- var scrollnone = this.$el.querySelector('.is-scrolling-none');
153813
- if (!scrollnone) {
153814
- //出现了滚动条,将操作列设置为固定右侧
153815
- operateCol[0].fixed = 'right';
153816
- operateCol[0].className = (operateCol[0].className || '') + ' is-fixed';
153817
- } else {
153818
- operateCol[0].fixed = false;
153819
- operateCol[0].className = (operateCol[0].className || '').replace(' is-fixed', '');
153820
- }
153821
- }
153822
- }
153823
- },
153824
153855
  getParentClassNode: function getParentClassNode(element, className) {
153825
153856
  var pNode = element.parentNode;
153826
153857
  if (!pNode) return null;
@@ -153922,14 +153953,14 @@ var PAGE_INFO = {
153922
153953
  _this.selectedRowCount = _this.selectedRows.length;
153923
153954
  },
153924
153955
  handleCellClick: function handleCellClick(row, column, cell, event) {
153925
- var _this8 = this;
153956
+ var _this9 = this;
153926
153957
  if (!this.isInlineEdit) {
153927
153958
  new Promise(function (resolve, reject) {
153928
- if (_this8.onCellDblclick) {
153929
- if (_this8.clickTime) {
153930
- clearTimeout(_this8.clickTime);
153959
+ if (_this9.onCellDblclick) {
153960
+ if (_this9.clickTime) {
153961
+ clearTimeout(_this9.clickTime);
153931
153962
  }
153932
- _this8.clickTime = setTimeout(function () {
153963
+ _this9.clickTime = setTimeout(function () {
153933
153964
  resolve(true);
153934
153965
  }, 300);
153935
153966
  } else {
@@ -153937,25 +153968,25 @@ var PAGE_INFO = {
153937
153968
  }
153938
153969
  }).then(function (result) {
153939
153970
  if (cell.className.indexOf('content-column') !== -1) {
153940
- if (_this8.onCellClick !== null) {
153941
- _this8.onCellClick(row, column, cell.innerText, cell.cellIndex);
153971
+ if (_this9.onCellClick !== null) {
153972
+ _this9.onCellClick(row, column, cell.innerText, cell.cellIndex);
153942
153973
  } else {
153943
- if (_this8.moduleInfo.openViewType === '1') {
153944
- var moduleInfo = _this8.moduleInfo;
153974
+ if (_this9.moduleInfo.openViewType === '1') {
153975
+ var moduleInfo = _this9.moduleInfo;
153945
153976
  moduleInfo.addNew = false;
153946
- var formUrl = _this8.moduleInfo.busiFormTemplate ? _this8.moduleInfo.busiFormTemplate : '';
153947
- var innerUrl = _this8.moduleInfo.busiTabFormTabTemplate ? _this8.moduleInfo.busiTabFormTabTemplate : '';
153977
+ var formUrl = _this9.moduleInfo.busiFormTemplate ? _this9.moduleInfo.busiFormTemplate : '';
153978
+ var innerUrl = _this9.moduleInfo.busiTabFormTabTemplate ? _this9.moduleInfo.busiTabFormTabTemplate : '';
153948
153979
  var edit = true;
153949
- if (_this8.operateColumnBtns.length > 0) {
153950
- edit = !_this8.operateColumnBtns.some(function (item) {
153980
+ if (_this9.operateColumnBtns.length > 0) {
153981
+ edit = !_this9.operateColumnBtns.some(function (item) {
153951
153982
  return item.id.indexOf('btn_edit') > -1;
153952
153983
  });
153953
153984
  }
153954
153985
  var title = localStorage.getItem('setSysMenuName');
153955
- var busiInfo = _this8.$vnode.context.formTitle;
153956
- window.open("#/newBusiForm?voId=".concat(row.id, "&moduleInfo=").concat(encodeURIComponent(JSON.stringify(moduleInfo)), "&title=").concat(encodeURIComponent(title), "&busiInfo=").concat(encodeURIComponent(busiInfo), "&formUrl=").concat(formUrl, "&innerUrl=").concat(innerUrl, "&noEdit=").concat(edit, "&editShow=0&sysCode=").concat(_this8.$route.meta.sysCode || ''));
153986
+ var busiInfo = _this9.$vnode.context.formTitle;
153987
+ window.open("#/newBusiForm?voId=".concat(row.id, "&moduleInfo=").concat(encodeURIComponent(JSON.stringify(moduleInfo)), "&title=").concat(encodeURIComponent(title), "&busiInfo=").concat(encodeURIComponent(busiInfo), "&formUrl=").concat(formUrl, "&innerUrl=").concat(innerUrl, "&noEdit=").concat(edit, "&editShow=0&sysCode=").concat(_this9.$route.meta.sysCode || ''));
153957
153988
  } else {
153958
- _this8.$bus.emit('openBusiform', _this8.moduleInfo, row, 0);
153989
+ _this9.$bus.emit('openBusiform', _this9.moduleInfo, row, 0);
153959
153990
  }
153960
153991
  }
153961
153992
  }
@@ -153986,7 +154017,7 @@ var PAGE_INFO = {
153986
154017
  }
153987
154018
  },
153988
154019
  setColumnEnabled: function setColumnEnabled(val) {
153989
- var _this9 = this;
154020
+ var _this10 = this;
153990
154021
  var enabledColums = val.join(',') + ',';
153991
154022
  var tbColumns = JSON.parse(JSON.stringify(this.tbColumns));
153992
154023
  tbColumns.forEach(function (column) {
@@ -154003,8 +154034,8 @@ var PAGE_INFO = {
154003
154034
  }
154004
154035
  }
154005
154036
  this.$nextTick(function () {
154006
- _this9.tbColumns = tbColumns;
154007
- _this9.setLastColumnWidth();
154037
+ _this10.tbColumns = tbColumns;
154038
+ _this10.setLastColumnWidth();
154008
154039
  });
154009
154040
  },
154010
154041
  // 自定义按钮点击回调事件
@@ -154017,7 +154048,7 @@ var PAGE_INFO = {
154017
154048
  }
154018
154049
  },
154019
154050
  innerListAdd: function innerListAdd() {
154020
- var _this10 = this;
154051
+ var _this11 = this;
154021
154052
  var _this = this;
154022
154053
  if (_this.$vnode.context.$vnode.context.innerAddObject) {
154023
154054
  _this.$vnode.context.$vnode.context.innerAddObject(_this.moduleInfo);
@@ -154030,7 +154061,7 @@ var PAGE_INFO = {
154030
154061
  res.body.vo.isnew = true;
154031
154062
  _this.pageInfo.list.push(res.body.vo);
154032
154063
  } else {
154033
- _this.$alert(res.message, _this10.$tx('common.operationTip', '操作提示'), {
154064
+ _this.$alert(res.message, _this11.$tx('common.operationTip', '操作提示'), {
154034
154065
  type: 'error'
154035
154066
  });
154036
154067
  }
@@ -154041,10 +154072,10 @@ var PAGE_INFO = {
154041
154072
  }
154042
154073
  },
154043
154074
  insertList: function insertList(list) {
154044
- var _this11 = this;
154075
+ var _this12 = this;
154045
154076
  if (list.length > 0) {
154046
154077
  list.forEach(function (item) {
154047
- _this11.pageInfo.list.push(item);
154078
+ _this12.pageInfo.list.push(item);
154048
154079
  });
154049
154080
  this.$vnode.context.$vnode.context.innerListData = this.pageInfo.list;
154050
154081
  } else {
@@ -154057,18 +154088,18 @@ var PAGE_INFO = {
154057
154088
  this.$vnode.context.$vnode.context.innerListData = this.pageInfo.list;
154058
154089
  },
154059
154090
  addObject: function addObject() {
154060
- var _this12 = this;
154091
+ var _this13 = this;
154061
154092
  this.innerTableBtnDisabled = true;
154062
154093
  if (this.mode === 'inner' && this.$vnode.context.$vnode.context.vo.isnew) {
154063
154094
  this.$bus.emit('submitBusiform', this.$vnode.context.$vnode.context.moduleInfo, function (callBack) {
154064
- _this12.$nextTick(function () {
154065
- _this12.innerTableBtnDisabled = false;
154095
+ _this13.$nextTick(function () {
154096
+ _this13.innerTableBtnDisabled = false;
154066
154097
  });
154067
154098
  if (callBack) {
154068
- if (_this12.isInlineEdit !== 0) {
154069
- _this12.innerListAdd();
154099
+ if (_this13.isInlineEdit !== 0) {
154100
+ _this13.innerListAdd();
154070
154101
  } else {
154071
- _this12.$bus.emit('openBusiform', _this12.moduleInfo, null, 1);
154102
+ _this13.$bus.emit('openBusiform', _this13.moduleInfo, null, 1);
154072
154103
  }
154073
154104
  }
154074
154105
  }, 'InnerTableSave');
@@ -154078,20 +154109,20 @@ var PAGE_INFO = {
154078
154109
  btnSubmitClick = this.$vnode.context.$vnode.context.$vnode.context.btnSubmitClick;
154079
154110
  }
154080
154111
  btnSubmitClick('AutoSave', function (saveRst) {
154081
- _this12.$nextTick(function () {
154082
- _this12.innerTableBtnDisabled = false;
154112
+ _this13.$nextTick(function () {
154113
+ _this13.innerTableBtnDisabled = false;
154083
154114
  });
154084
154115
  if (saveRst) {
154085
- if (_this12.isInlineEdit !== 0) {
154086
- _this12.innerListAdd();
154116
+ if (_this13.isInlineEdit !== 0) {
154117
+ _this13.innerListAdd();
154087
154118
  } else {
154088
- _this12.$bus.emit('openBusiform', _this12.moduleInfo, null, 1);
154119
+ _this13.$bus.emit('openBusiform', _this13.moduleInfo, null, 1);
154089
154120
  }
154090
154121
  }
154091
154122
  }, 'InnerTableSave');
154092
154123
  } else {
154093
154124
  this.$nextTick(function () {
154094
- _this12.innerTableBtnDisabled = false;
154125
+ _this13.innerTableBtnDisabled = false;
154095
154126
  });
154096
154127
  if (this.moduleInfo.openViewType === '1') {
154097
154128
  var formUrl = this.moduleInfo.busiFormTemplate ? this.moduleInfo.busiFormTemplate : '';
@@ -154111,7 +154142,7 @@ var PAGE_INFO = {
154111
154142
  }
154112
154143
  },
154113
154144
  innerSave: function innerSave(row, column) {
154114
- var _this13 = this;
154145
+ var _this14 = this;
154115
154146
  var requiredFiled = this.tbColumns.filter(function (item) {
154116
154147
  return item.listTdEdit == 1 && item.listTdRequired == 1;
154117
154148
  });
@@ -154138,9 +154169,9 @@ var PAGE_INFO = {
154138
154169
  this.$app.insert(this.moduleInfo.insertUrl, row).then(function (res) {
154139
154170
  if (res.code === 'success') {
154140
154171
  row.isnew = false;
154141
- _this13.$message.success(res.message);
154172
+ _this14.$message.success(res.message);
154142
154173
  } else {
154143
- _this13.$alert(res.message, _this13.$tx('common.operationTip', '操作提示'), {
154174
+ _this14.$alert(res.message, _this14.$tx('common.operationTip', '操作提示'), {
154144
154175
  type: 'error'
154145
154176
  });
154146
154177
  }
@@ -154148,9 +154179,9 @@ var PAGE_INFO = {
154148
154179
  } else {
154149
154180
  this.$app.update(this.moduleInfo.updateUrl, row).then(function (res) {
154150
154181
  if (res.code === 'success') {
154151
- _this13.$message.success(res.message);
154182
+ _this14.$message.success(res.message);
154152
154183
  } else {
154153
- _this13.$alert(res.message, _this13.$tx('common.operationTip', '操作提示'), {
154184
+ _this14.$alert(res.message, _this14.$tx('common.operationTip', '操作提示'), {
154154
154185
  type: 'error'
154155
154186
  });
154156
154187
  }
@@ -154173,7 +154204,7 @@ var PAGE_INFO = {
154173
154204
  }
154174
154205
  },
154175
154206
  deleteIds: function deleteIds(row, column, value, index, rowIndex) {
154176
- var _this14 = this;
154207
+ var _this15 = this;
154177
154208
  var ids = this.getSelectedRows(row, column, value, index);
154178
154209
  if (ids.length === 0) {
154179
154210
  this.$alert(this.$tx('ecwapp.DataTable.needDeleterRow', '请选择需要删除的数据。'), this.$tx('common.operationTip', '操作提示'), {
@@ -154188,15 +154219,15 @@ var PAGE_INFO = {
154188
154219
  return DataTable_srcvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
154189
154220
  while (1) switch (_context3.prev = _context3.next) {
154190
154221
  case 0:
154191
- if (!(_this14.isInlineEdit !== 0)) {
154222
+ if (!(_this15.isInlineEdit !== 0)) {
154192
154223
  _context3.next = 17;
154193
154224
  break;
154194
154225
  }
154195
- if (!_this14.$vnode.context.$vnode.context.deleteId) {
154226
+ if (!_this15.$vnode.context.$vnode.context.deleteId) {
154196
154227
  _context3.next = 5;
154197
154228
  break;
154198
154229
  }
154199
- _this14.$vnode.context.$vnode.context.deleteId(row, rowIndex);
154230
+ _this15.$vnode.context.$vnode.context.deleteId(row, rowIndex);
154200
154231
  _context3.next = 15;
154201
154232
  break;
154202
154233
  case 5:
@@ -154204,28 +154235,28 @@ var PAGE_INFO = {
154204
154235
  _context3.next = 11;
154205
154236
  break;
154206
154237
  }
154207
- _this14.pageInfo.list = _this14.pageInfo.list.filter(function (item) {
154238
+ _this15.pageInfo.list = _this15.pageInfo.list.filter(function (item) {
154208
154239
  return item.id !== row.id;
154209
154240
  });
154210
- _this14.$vnode.context.$vnode.context.innerListData = _this14.pageInfo.list;
154211
- _this14.$message.success(_this14.$tx('ecwapp.Common.delSuccess', '删除成功'));
154241
+ _this15.$vnode.context.$vnode.context.innerListData = _this15.pageInfo.list;
154242
+ _this15.$message.success(_this15.$tx('ecwapp.Common.delSuccess', '删除成功'));
154212
154243
  _context3.next = 15;
154213
154244
  break;
154214
154245
  case 11:
154215
154246
  _context3.next = 13;
154216
- return _this14.$app.deleteByIds(_this14.moduleInfo.delUrl, ids);
154247
+ return _this15.$app.deleteByIds(_this15.moduleInfo.delUrl, ids);
154217
154248
  case 13:
154218
154249
  res = _context3.sent;
154219
154250
  if (res.code === 'success') {
154220
- _this14.onDeleteSuccessed(_this14, ids);
154221
- _this14.$message({
154251
+ _this15.onDeleteSuccessed(_this15, ids);
154252
+ _this15.$message({
154222
154253
  type: res.code,
154223
154254
  message: res.message,
154224
154255
  showClose: true
154225
154256
  });
154226
- _this14.loadListdata();
154257
+ _this15.loadListdata();
154227
154258
  } else {
154228
- _this14.$alert(res.message, _this14.$tx('common.operationTip', '操作提示'), {
154259
+ _this15.$alert(res.message, _this15.$tx('common.operationTip', '操作提示'), {
154229
154260
  type: 'error'
154230
154261
  });
154231
154262
  }
@@ -154234,19 +154265,19 @@ var PAGE_INFO = {
154234
154265
  break;
154235
154266
  case 17:
154236
154267
  _context3.next = 19;
154237
- return _this14.$app.deleteByIds(_this14.moduleInfo.delUrl, ids);
154268
+ return _this15.$app.deleteByIds(_this15.moduleInfo.delUrl, ids);
154238
154269
  case 19:
154239
154270
  _res = _context3.sent;
154240
154271
  if (_res.code === 'success') {
154241
- _this14.onDeleteSuccessed(_this14, ids);
154242
- _this14.$message({
154272
+ _this15.onDeleteSuccessed(_this15, ids);
154273
+ _this15.$message({
154243
154274
  type: _res.code,
154244
154275
  message: _res.message,
154245
154276
  showClose: true
154246
154277
  });
154247
- _this14.loadListdata();
154278
+ _this15.loadListdata();
154248
154279
  } else if (_res.code === 'confirm') {
154249
- _this14.$confirm(_res.message, _this14.$tx('common.confirmOperate', '确认操作'), {
154280
+ _this15.$confirm(_res.message, _this15.$tx('common.confirmOperate', '确认操作'), {
154250
154281
  type: 'warning'
154251
154282
  }).then( /*#__PURE__*/DataTable_srcvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/DataTable_srcvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
154252
154283
  var res;
@@ -154254,19 +154285,19 @@ var PAGE_INFO = {
154254
154285
  while (1) switch (_context2.prev = _context2.next) {
154255
154286
  case 0:
154256
154287
  _context2.next = 2;
154257
- return _this14.$app.deleteByIds(_this14.moduleInfo.delUrl, ids, true);
154288
+ return _this15.$app.deleteByIds(_this15.moduleInfo.delUrl, ids, true);
154258
154289
  case 2:
154259
154290
  res = _context2.sent;
154260
154291
  if (res.code === 'success') {
154261
- _this14.onDeleteSuccessed(_this14, ids);
154262
- _this14.$message({
154292
+ _this15.onDeleteSuccessed(_this15, ids);
154293
+ _this15.$message({
154263
154294
  type: res.code,
154264
154295
  message: res.message,
154265
154296
  showClose: true
154266
154297
  });
154267
- _this14.loadListdata();
154298
+ _this15.loadListdata();
154268
154299
  } else {
154269
- _this14.$alert(res.message, _this14.$tx('common.operationTip', '操作提示'), {
154300
+ _this15.$alert(res.message, _this15.$tx('common.operationTip', '操作提示'), {
154270
154301
  type: 'error'
154271
154302
  });
154272
154303
  }
@@ -154281,7 +154312,7 @@ var PAGE_INFO = {
154281
154312
  }
154282
154313
  });
154283
154314
  } else {
154284
- _this14.$alert(_res.message, _this14.$tx('common.operationTip', '操作提示'), {
154315
+ _this15.$alert(_res.message, _this15.$tx('common.operationTip', '操作提示'), {
154285
154316
  type: 'error'
154286
154317
  });
154287
154318
  }
@@ -154320,7 +154351,7 @@ var PAGE_INFO = {
154320
154351
  return status;
154321
154352
  },
154322
154353
  setResPermission: function setResPermission(resEntityName, permissionCode, roleFilter) {
154323
- var _this15 = this;
154354
+ var _this16 = this;
154324
154355
  var ids = [];
154325
154356
  var errMsg = '';
154326
154357
  var orgCode = null;
@@ -154330,11 +154361,11 @@ var PAGE_INFO = {
154330
154361
  if (roleFilter === 'sysCode' || !row.orgCode) {
154331
154362
  sysCode = row.sysCode || row.systemCode;
154332
154363
  }
154333
- if (index > 0 && row.orgCode && _this15.selectedRows[0].orgCode !== row.orgCode) {
154334
- errMsg = _this15.$tx('ecwapp.DataTable.onlyOneOrg', '只能设置同属一个机构的数据访问权限。');
154364
+ if (index > 0 && row.orgCode && _this16.selectedRows[0].orgCode !== row.orgCode) {
154365
+ errMsg = _this16.$tx('ecwapp.DataTable.onlyOneOrg', '只能设置同属一个机构的数据访问权限。');
154335
154366
  }
154336
- if (index > 0 && row.sysCode && _this15.selectedRows[0].sysCode !== row.sysCode) {
154337
- errMsg = _this15.$tx('ecwapp.DataTable.onlyOneProduct', '只能设置同属一个产品的数据访问权限。');
154367
+ if (index > 0 && row.sysCode && _this16.selectedRows[0].sysCode !== row.sysCode) {
154368
+ errMsg = _this16.$tx('ecwapp.DataTable.onlyOneProduct', '只能设置同属一个产品的数据访问权限。');
154338
154369
  } else {
154339
154370
  ids.push(row.id + '*' + row.orgCode + '*' + (row.sysCode || row.systemCode) + '*' + (row.sysName || row.systemName));
154340
154371
  }
@@ -154355,7 +154386,7 @@ var PAGE_INFO = {
154355
154386
  var _this = this;
154356
154387
  this.$nextTick(function () {
154357
154388
  var visitType = 1;
154358
- if (_this15.selectedRows.length > 0) visitType = _this.selectedRows[0].visitType;
154389
+ if (_this16.selectedRows.length > 0) visitType = _this.selectedRows[0].visitType;
154359
154390
  _this.$bus.emit('openResPermissionForm', ids, visitType, resEntityName, permissionCode, orgCode, sysCode);
154360
154391
  });
154361
154392
  },
@@ -154363,7 +154394,7 @@ var PAGE_INFO = {
154363
154394
  * 批量导出数据项SQL脚本文件
154364
154395
  */
154365
154396
  exportData: function exportData(tbName) {
154366
- var _this16 = this;
154397
+ var _this17 = this;
154367
154398
  var ids = this.getSelectedRows();
154368
154399
  if (this.pageInfo.total === 0) {
154369
154400
  this.$alert(this.emptyText, this.$tx('common.operationTip', '操作提示'), {
@@ -154395,7 +154426,7 @@ var PAGE_INFO = {
154395
154426
  });
154396
154427
  this.$bus.emit('openListitemDialog', this.$tx('ecwapp.DataTable.targetDatabase', '目标数据库'), dialectList, function (rst) {
154397
154428
  if (rst.code === 'success') {
154398
- _this16.$http({
154429
+ _this17.$http({
154399
154430
  method: 'post',
154400
154431
  params: {
154401
154432
  ids: ids.join(),
@@ -154405,9 +154436,9 @@ var PAGE_INFO = {
154405
154436
  url: 'base/codeGenerate/exportDataItemDbSql'
154406
154437
  }).then(function (res) {
154407
154438
  if (res.code === 'success') {
154408
- _this16.loadListdata();
154439
+ _this17.loadListdata();
154409
154440
  var downloadUrl = '<br/>下载代码:<a href="' + "/apigw" + '/' + encodeURI(res.body.zipurl) + '" target="_blank">' + res.body.zipname + '</a>';
154410
- _this16.$alert(res.message + downloadUrl, _this16.$tx('common.operationTip', '操作提示'), {
154441
+ _this17.$alert(res.message + downloadUrl, _this17.$tx('common.operationTip', '操作提示'), {
154411
154442
  type: 'success',
154412
154443
  dangerouslyUseHTMLString: true,
154413
154444
  callback: function callback(action) {
@@ -154417,7 +154448,7 @@ var PAGE_INFO = {
154417
154448
  }
154418
154449
  });
154419
154450
  } else {
154420
- _this16.$alert(res.message, _this16.$tx('common.operationTip', '操作提示'), {
154451
+ _this17.$alert(res.message, _this17.$tx('common.operationTip', '操作提示'), {
154421
154452
  type: 'error'
154422
154453
  });
154423
154454
  }
@@ -154429,21 +154460,21 @@ var PAGE_INFO = {
154429
154460
  * 批量导出流程表单EXCEL文件
154430
154461
  */
154431
154462
  exportWform: function exportWform(filename, exportAll) {
154432
- var _this17 = this;
154463
+ var _this18 = this;
154433
154464
  return DataTable_srcvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/DataTable_srcvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
154434
154465
  var ids;
154435
154466
  return DataTable_srcvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
154436
154467
  while (1) switch (_context5.prev = _context5.next) {
154437
154468
  case 0:
154438
- ids = _this17.getSelectedRows();
154469
+ ids = _this18.getSelectedRows();
154439
154470
  new Promise(function (resolve, reject) {
154440
- if (_this17.pageInfo.total === 0) {
154441
- _this17.$alert(_this17.emptyText, _this17.$tx('common.operationTip', '操作提示'), {
154471
+ if (_this18.pageInfo.total === 0) {
154472
+ _this18.$alert(_this18.emptyText, _this18.$tx('common.operationTip', '操作提示'), {
154442
154473
  type: 'warning'
154443
154474
  });
154444
- reject(_this17.emptyText);
154475
+ reject(_this18.emptyText);
154445
154476
  } else if (ids.length === 0) {
154446
- _this17.$confirm(_this17.$tx('ecwapp.DataTable.exportTipText', '您是否确认要导出当前列表的全部数据?<br/>如果仅需导出部分数据,请先选择或通过搜索筛选。'), _this17.$tx('common.confirmOperate', '确认操作'), {
154477
+ _this18.$confirm(_this18.$tx('ecwapp.DataTable.exportTipText', '您是否确认要导出当前列表的全部数据?<br/>如果仅需导出部分数据,请先选择或通过搜索筛选。'), _this18.$tx('common.confirmOperate', '确认操作'), {
154447
154478
  type: 'warning',
154448
154479
  dangerouslyUseHTMLString: true
154449
154480
  }).then(function (res) {
@@ -154467,27 +154498,27 @@ var PAGE_INFO = {
154467
154498
  pageSize: 65000,
154468
154499
  pageNum: 1
154469
154500
  };
154470
- orderBy = _this17.pageInfo.orderBy || _this17.moduleInfo.listDefaultOrderBy;
154471
- reqParams.listpageId = _this17.moduleInfo.listpageId;
154472
- reqParams.listpageViewUrl = _this17.moduleInfo.listpageViewUrl;
154501
+ orderBy = _this18.pageInfo.orderBy || _this18.moduleInfo.listDefaultOrderBy;
154502
+ reqParams.listpageId = _this18.moduleInfo.listpageId;
154503
+ reqParams.listpageViewUrl = _this18.moduleInfo.listpageViewUrl;
154473
154504
  reqParams.orderBy = orderBy;
154474
- reqParams.searchAndOr = _this17.searchAndOr;
154475
- reqParams.searchMap = _this17.searchMap;
154476
- if (_this17.mode === 'listpage' && _this17.$route.meta.params !== undefined && _this17.$route.meta.params !== null) {
154477
- params = _this17.$route.meta.params.split('&');
154505
+ reqParams.searchAndOr = _this18.searchAndOr;
154506
+ reqParams.searchMap = _this18.searchMap;
154507
+ if (_this18.mode === 'listpage' && _this18.$route.meta.params !== undefined && _this18.$route.meta.params !== null) {
154508
+ params = _this18.$route.meta.params.split('&');
154478
154509
  params.forEach(function (param) {
154479
154510
  reqParams[param.split('=')[0]] = param.split('=')[1];
154480
154511
  });
154481
154512
  }
154482
154513
  _context4.next = 10;
154483
- return _this17.onListDataBeforeLoad(_this17, reqParams);
154514
+ return _this18.onListDataBeforeLoad(_this18, reqParams);
154484
154515
  case 10:
154485
154516
  urlsearch = reqParams.urlsearch;
154486
154517
  delete reqParams.urlsearch;
154487
154518
  reqParams = lib_default().stringify(reqParams);
154488
- url = "/apigw" + '/' + _this17.moduleInfo.listDataUrl.replace('listdata', 'exportdata').replace('listWfInstance', 'exportWfInstance').replace('joinListdata', 'joinExportdata');
154489
- if (_this17.moduleInfo.exportDataUrl) {
154490
- url = _this17.moduleInfo.exportDataUrl;
154519
+ url = "/apigw" + '/' + _this18.moduleInfo.listDataUrl.replace('listdata', 'exportdata').replace('listWfInstance', 'exportWfInstance').replace('joinListdata', 'joinExportdata');
154520
+ if (_this18.moduleInfo.exportDataUrl) {
154521
+ url = _this18.moduleInfo.exportDataUrl;
154491
154522
  }
154492
154523
  if (url.indexOf('?') === -1) {
154493
154524
  url += '?' + reqParams;
@@ -154495,7 +154526,7 @@ var PAGE_INFO = {
154495
154526
  url += '&' + reqParams;
154496
154527
  }
154497
154528
  exportCols = ''; // 只导出显示列
154498
- _this17.tbColumns.forEach(function (col) {
154529
+ _this18.tbColumns.forEach(function (col) {
154499
154530
  if (col.enabled || exportAll === 'true' || exportAll === true) exportCols += col.field + ',';
154500
154531
  });
154501
154532
  fileName = filename;
@@ -154503,8 +154534,8 @@ var PAGE_INFO = {
154503
154534
  if (document.querySelector('#breadcrumb-container')) {
154504
154535
  fileName = document.querySelector('#breadcrumb-container').innerText.replace('\r\n', '-').replace('\r', '-').replace('\n', '-');
154505
154536
  }
154506
- if (_this17.$route.meta.level === 4) {
154507
- fileName += '-' + _this17.$route.meta.title;
154537
+ if (_this18.$route.meta.level === 4) {
154538
+ fileName += '-' + _this18.$route.meta.title;
154508
154539
  }
154509
154540
  if (!fileName) {
154510
154541
  fileName = document.title;
@@ -154512,7 +154543,7 @@ var PAGE_INFO = {
154512
154543
  }
154513
154544
  url += '&fileName=' + encodeURI(encodeURI(fileName)) + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&exportCols=' + exportCols;
154514
154545
  if (ids.length > 10) {
154515
- _this17.$http({
154546
+ _this18.$http({
154516
154547
  method: 'post',
154517
154548
  contentType: 'application/json',
154518
154549
  data: {
@@ -154559,7 +154590,7 @@ var PAGE_INFO = {
154559
154590
  }))();
154560
154591
  },
154561
154592
  batchSaveAllFiles: function batchSaveAllFiles() {
154562
- var _this18 = this;
154593
+ var _this19 = this;
154563
154594
  this.$bus.emit('showDoingDialog', null, false);
154564
154595
  var orderBy = this.pageInfo.orderBy || this.moduleInfo.listDefaultOrderBy;
154565
154596
  this.setPageInfo(this.searchMap, this.searchAndOr, null, orderBy);
@@ -154597,29 +154628,29 @@ var PAGE_INFO = {
154597
154628
  var busiDataId = res.body.ids[i++];
154598
154629
  var isLast = i === total;
154599
154630
  if (typeof tozip === 'undefined') tozip = true;
154600
- _this18.$http({
154631
+ _this19.$http({
154601
154632
  method: 'post',
154602
154633
  params: {
154603
- module: _this18.moduleInfo.listDataUrl.split('/')[1],
154634
+ module: _this19.moduleInfo.listDataUrl.split('/')[1],
154604
154635
  dataKey: res.body.dataKey,
154605
154636
  webTempPath: res.body.webTempPath,
154606
154637
  busiDataId: busiDataId,
154607
154638
  isLast: isLast,
154608
154639
  tozip: tozip
154609
154640
  },
154610
- url: _this18.moduleInfo.listDataUrl.split('/')[0] + '/webForm/downloadFileToLocal'
154641
+ url: _this19.moduleInfo.listDataUrl.split('/')[0] + '/webForm/downloadFileToLocal'
154611
154642
  }).then(function (res2) {
154612
154643
  downloading = false;
154613
154644
  if (res.code === 'success') {
154614
154645
  if (isLast) {
154615
154646
  clearInterval(eventid);
154616
- _this18.$bus.emit('closeDoingDialog');
154617
- _this18.loadListdata();
154647
+ _this19.$bus.emit('closeDoingDialog');
154648
+ _this19.loadListdata();
154618
154649
  var downloadUrl = '<br/>下载文件:<a href="' + "/apigw" + '/' + encodeURI(res2.body.zipurl) + '" target="_blank">' + res2.body.zipname + '</a>';
154619
154650
  if (!tozip) {
154620
154651
  downloadUrl = '<br/>服务端文件路径:' + res2.body.filepath;
154621
154652
  }
154622
- _this18.$alert(res.message + downloadUrl, _this18.$tx('common.operationTip', '操作提示'), {
154653
+ _this19.$alert(res.message + downloadUrl, _this19.$tx('common.operationTip', '操作提示'), {
154623
154654
  type: 'success',
154624
154655
  dangerouslyUseHTMLString: true,
154625
154656
  callback: function callback(action) {
@@ -154629,21 +154660,21 @@ var PAGE_INFO = {
154629
154660
  }
154630
154661
  });
154631
154662
  } else {
154632
- _this18.$bus.emit('showDoingDialog', '正在打包待下载文件,共' + res.body.count + '份,当前第' + i + '份', false);
154663
+ _this19.$bus.emit('showDoingDialog', '正在打包待下载文件,共' + res.body.count + '份,当前第' + i + '份', false);
154633
154664
  }
154634
154665
  }
154635
154666
  });
154636
154667
  }
154637
154668
  }, 500);
154638
154669
  } else {
154639
- _this18.$alert(res.message, _this18.$tx('common.operationTip', '操作提示'), {
154670
+ _this19.$alert(res.message, _this19.$tx('common.operationTip', '操作提示'), {
154640
154671
  type: 'error'
154641
154672
  });
154642
154673
  }
154643
154674
  });
154644
154675
  },
154645
154676
  batchSaveFiles: function batchSaveFiles() {
154646
- var _this19 = this;
154677
+ var _this20 = this;
154647
154678
  var ids = this.getSelectedRows();
154648
154679
  if (ids.length === 0) {
154649
154680
  this.$alert(this.$tx('ecwapp.DataTable.downloadRow', '请选择需要批量下载的数据。'), this.$tx('common.operationTip', '操作提示'), {
@@ -154661,11 +154692,11 @@ var PAGE_INFO = {
154661
154692
  },
154662
154693
  url: url
154663
154694
  }).then(function (res) {
154664
- _this19.$bus.emit('closeDoingDialog');
154695
+ _this20.$bus.emit('closeDoingDialog');
154665
154696
  if (res.code === 'success') {
154666
- _this19.loadListdata();
154697
+ _this20.loadListdata();
154667
154698
  var downloadUrl = '<br/>下载文件:<a href="' + "/apigw" + '/' + encodeURI(res.body.zipurl) + '" target="_blank">' + res.body.zipname + '</a>';
154668
- _this19.$alert(res.message + downloadUrl, _this19.$tx('common.operationTip', '操作提示'), {
154699
+ _this20.$alert(res.message + downloadUrl, _this20.$tx('common.operationTip', '操作提示'), {
154669
154700
  type: 'success',
154670
154701
  dangerouslyUseHTMLString: true,
154671
154702
  callback: function callback(action) {
@@ -154675,19 +154706,19 @@ var PAGE_INFO = {
154675
154706
  }
154676
154707
  });
154677
154708
  } else {
154678
- _this19.$alert(res.message, _this19.$tx('common.operationTip', '操作提示'), {
154709
+ _this20.$alert(res.message, _this20.$tx('common.operationTip', '操作提示'), {
154679
154710
  type: 'error'
154680
154711
  });
154681
154712
  }
154682
154713
  });
154683
154714
  },
154684
154715
  decryptData: function decryptData(row, model) {
154685
- var _this20 = this;
154716
+ var _this21 = this;
154686
154717
  this.$app.decryptData(row[model]).then(function (res) {
154687
154718
  if (res.code === 'success') {
154688
- _this20.$set(row, model, res.body.data);
154719
+ _this21.$set(row, model, res.body.data);
154689
154720
  } else {
154690
- _this20.$alert(res.message, {
154721
+ _this21.$alert(res.message, {
154691
154722
  type: 'error'
154692
154723
  });
154693
154724
  }
@@ -154697,9 +154728,9 @@ var PAGE_INFO = {
154697
154728
  });
154698
154729
  ;// CONCATENATED MODULE: ./packages/ecwapp/DataTable/src/index.vue?vue&type=script&lang=js
154699
154730
  /* harmony default export */ var ecwapp_DataTable_srcvue_type_script_lang_js = (DataTable_srcvue_type_script_lang_js);
154700
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/DataTable/src/index.vue?vue&type=style&index=0&id=0669bd3e&prod&lang=scss&scoped=true
154701
- var srcvue_type_style_index_0_id_0669bd3e_prod_lang_scss_scoped_true = __webpack_require__(12316);
154702
- ;// CONCATENATED MODULE: ./packages/ecwapp/DataTable/src/index.vue?vue&type=style&index=0&id=0669bd3e&prod&lang=scss&scoped=true
154731
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/DataTable/src/index.vue?vue&type=style&index=0&id=6dc45822&prod&lang=scss&scoped=true
154732
+ var srcvue_type_style_index_0_id_6dc45822_prod_lang_scss_scoped_true = __webpack_require__(54121);
154733
+ ;// CONCATENATED MODULE: ./packages/ecwapp/DataTable/src/index.vue?vue&type=style&index=0&id=6dc45822&prod&lang=scss&scoped=true
154703
154734
 
154704
154735
  ;// CONCATENATED MODULE: ./packages/ecwapp/DataTable/src/index.vue
154705
154736
 
@@ -154712,11 +154743,11 @@ var srcvue_type_style_index_0_id_0669bd3e_prod_lang_scss_scoped_true = __webpack
154712
154743
 
154713
154744
  var DataTable_src_component = (0,componentNormalizer/* default */.A)(
154714
154745
  ecwapp_DataTable_srcvue_type_script_lang_js,
154715
- srcvue_type_template_id_0669bd3e_scoped_true_render,
154716
- srcvue_type_template_id_0669bd3e_scoped_true_staticRenderFns,
154746
+ srcvue_type_template_id_6dc45822_scoped_true_render,
154747
+ srcvue_type_template_id_6dc45822_scoped_true_staticRenderFns,
154717
154748
  false,
154718
154749
  null,
154719
- "0669bd3e",
154750
+ "6dc45822",
154720
154751
  null
154721
154752
 
154722
154753
  )
@@ -155066,17 +155097,14 @@ DoingDialog_src.install = function (Vue) {
155066
155097
  Vue.component(DoingDialog_src.name, DoingDialog_src);
155067
155098
  };
155068
155099
  /* harmony default export */ var DoingDialog = (DoingDialog_src);
155069
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/InnerTable/src/index.vue?vue&type=template&id=1cbbd470&scoped=true
155070
- var srcvue_type_template_id_1cbbd470_scoped_true_render = function render() {
155100
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/InnerTable/src/index.vue?vue&type=template&id=2297e85a&scoped=true
155101
+ var srcvue_type_template_id_2297e85a_scoped_true_render = function render() {
155071
155102
  var _vm = this,
155072
155103
  _c = _vm._self._c;
155073
155104
  return _c('div', {
155074
155105
  staticClass: "inner-app-container"
155075
155106
  }, [_c('div', {
155076
- staticClass: "inner-listpage-container",
155077
- on: {
155078
- "mouseup": _vm.onMouseup
155079
- }
155107
+ staticClass: "inner-listpage-container"
155080
155108
  }, [_vm.moduleInfo !== null ? _c('data-table', {
155081
155109
  ref: "innerListTable",
155082
155110
  attrs: {
@@ -155121,7 +155149,7 @@ var srcvue_type_template_id_1cbbd470_scoped_true_render = function render() {
155121
155149
  }], null, false, 2019936513)
155122
155150
  }) : _vm._e()], 1);
155123
155151
  };
155124
- var srcvue_type_template_id_1cbbd470_scoped_true_staticRenderFns = [];
155152
+ var srcvue_type_template_id_2297e85a_scoped_true_staticRenderFns = [];
155125
155153
 
155126
155154
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/InnerTable/src/index.vue?vue&type=script&lang=js
155127
155155
  function InnerTable_srcvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return InnerTable_srcvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, InnerTable_srcvue_type_script_lang_js_typeof(o); }
@@ -155235,16 +155263,6 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155235
155263
  },
155236
155264
  updated: function updated() {},
155237
155265
  methods: {
155238
- onMouseup: function onMouseup() {
155239
- var _this2 = this;
155240
- setTimeout(function () {
155241
- var fixCol = _this2.$el.querySelector('.el-table__fixed-right');
155242
- if (fixCol) {
155243
- fixCol.style.width = parseInt(fixCol.style.width) - 1 + 'px';
155244
- fixCol.style.height = parseInt(fixCol.style.height) - 2 + 'px';
155245
- }
155246
- }, 0);
155247
- },
155248
155266
  insertPageList: function insertPageList(list) {
155249
155267
  this.$refs.innerListTable.insertList(list);
155250
155268
  },
@@ -155315,7 +155333,7 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155315
155333
  }
155316
155334
  },
155317
155335
  createInnerListpage: function createInnerListpage() {
155318
- var _this3 = this;
155336
+ var _this2 = this;
155319
155337
  var _this = this;
155320
155338
  if (_this.loading) {
155321
155339
  return;
@@ -155347,7 +155365,7 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155347
155365
  tbColumns.splice(i--, 1);
155348
155366
  }
155349
155367
  }
155350
- if (_this3.formCanEdit === 1 && _this3.excludeFields.indexOf('column_operate') === -1) {
155368
+ if (_this2.formCanEdit === 1 && _this2.excludeFields.indexOf('column_operate') === -1) {
155351
155369
  tbColumns[tbColumns.length] = {
155352
155370
  field: 'column_operate',
155353
155371
  title: '操作',
@@ -155356,7 +155374,7 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155356
155374
  valign: 'middle'
155357
155375
  };
155358
155376
  var toolbarBtns = JSON.parse(listpageInfo.listToolBtns);
155359
- var parentVue = _this3.$vnode.context;
155377
+ var parentVue = _this2.$vnode.context;
155360
155378
  var columnHeaderBtn = toolbarBtns.filter(function (btn) {
155361
155379
  if (btn.btnType === 'columnHeaderBtn') {
155362
155380
  btn.btnType = 'tbheader';
@@ -155364,16 +155382,16 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155364
155382
  }
155365
155383
  });
155366
155384
  for (var _i = 0; _i < toolbarBtns.length; _i++) {
155367
- if (!_this3.showToolbar) {
155385
+ if (!_this2.showToolbar) {
155368
155386
  // 不显示列表右上操作按钮,把“新增”按钮显示在“操作”列表头中
155369
- if (columnHeaderBtn.length === 0 && toolbarBtns[_i].btnType === 'toolbar' && toolbarBtns[_i].id === 'btn_add' && _this3.canAdd !== 0) {
155387
+ if (columnHeaderBtn.length === 0 && toolbarBtns[_i].btnType === 'toolbar' && toolbarBtns[_i].id === 'btn_add' && _this2.canAdd !== 0) {
155370
155388
  toolbarBtns[_i].btnType = 'tbheader';
155371
155389
  } else if (toolbarBtns[_i].btnType !== 'column' && toolbarBtns[_i].btnType !== 'tbheader') {
155372
155390
  toolbarBtns.splice(_i--, 1);
155373
155391
  if (_i < 0) _i = 0;
155374
155392
  } else if (toolbarBtns[_i].btnType === 'column') {
155375
155393
  // 操作列只显示新增、删除
155376
- if (!_this3.canEdit && toolbarBtns[_i].btnPermission === 'editObject' || !_this3.canDelete && toolbarBtns[_i].btnPermission === 'deleteIds') {
155394
+ if (!_this2.canEdit && toolbarBtns[_i].btnPermission === 'editObject' || !_this2.canDelete && toolbarBtns[_i].btnPermission === 'deleteIds') {
155377
155395
  toolbarBtns.splice(_i--, 1);
155378
155396
  if (_i < 0) _i = 0;
155379
155397
  }
@@ -155392,15 +155410,15 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155392
155410
  btnParams = btnParams.replace(/'/g, '').split(',');
155393
155411
  toolbarBtns[_i].btnParams = btnParams;
155394
155412
  }
155395
- toolbarBtns[_i].cloumHeaderBtnClick = _this3.onCloumHeaderBtnClick;
155413
+ toolbarBtns[_i].cloumHeaderBtnClick = _this2.onCloumHeaderBtnClick;
155396
155414
  }
155397
155415
  if (typeof parentVue[btnClick.split('(')[0]] === 'function') {
155398
155416
  toolbarBtns[_i].btnClick = parentVue[btnClick.split('(')[0]];
155399
155417
  }
155400
155418
  }
155401
- if (_this3.inLineEdit !== 0) {
155419
+ if (_this2.inLineEdit !== 0) {
155402
155420
  var btnArray = [];
155403
- if (_this3.canEdit === 1 || _this3.canEdit === true) {
155421
+ if (_this2.canEdit === 1 || _this2.canEdit === true) {
155404
155422
  btnArray.push({
155405
155423
  btnClick: 'innerSave(row)',
155406
155424
  btnIcon: '',
@@ -155411,7 +155429,7 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155411
155429
  btnI18nCode: 'save'
155412
155430
  });
155413
155431
  }
155414
- if (_this3.canDelete === 1 || _this3.canDelete === true) {
155432
+ if (_this2.canDelete === 1 || _this2.canDelete === true) {
155415
155433
  btnArray.push({
155416
155434
  btnClick: 'deleteIds(row.id);',
155417
155435
  btnIcon: '',
@@ -155482,7 +155500,6 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155482
155500
  return parentId;
155483
155501
  },
155484
155502
  onListDataBeforeLoad: function onListDataBeforeLoad($scope, qparams) {
155485
- var _this4 = this;
155486
155503
  //urrsearch指定子数据筛选条件
155487
155504
  var parentId = this.getChildDataParentId();
155488
155505
  if (parentId !== null && parentId !== undefined) {
@@ -155504,28 +155521,13 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155504
155521
  if (this.$vnode.context.onInnerTableListDataBeforeLoad) {
155505
155522
  this.$vnode.context.onInnerTableListDataBeforeLoad($scope, qparams);
155506
155523
  }
155507
- setTimeout(function () {
155508
- var fixCol = _this4.$el.querySelector('.el-table__fixed-right');
155509
- if (fixCol) {
155510
- fixCol.style.width = parseInt(fixCol.style.width) - 1 + 'px';
155511
- fixCol.style.height = parseInt(fixCol.style.height) - 2 + 'px';
155512
- }
155513
- }, 0);
155514
155524
  },
155515
155525
  onListDataLoaded: function onListDataLoaded($scope, pageInfo) {
155516
- var _this5 = this;
155517
155526
  if (false) {}
155518
155527
  this.$vnode.context.innerListData = pageInfo.list;
155519
155528
  if (this.$vnode.context.onInnerTableListDataLoaded) {
155520
155529
  this.$vnode.context.onInnerTableListDataLoaded($scope, pageInfo);
155521
155530
  }
155522
- setTimeout(function () {
155523
- var fixCol = _this5.$el.querySelector('.el-table__fixed-right');
155524
- if (fixCol) {
155525
- fixCol.style.width = parseInt(fixCol.style.width) - 1 + 'px';
155526
- fixCol.style.height = parseInt(fixCol.style.height) - 2 + 'px';
155527
- }
155528
- }, 0);
155529
155531
  },
155530
155532
  onCloumHeaderBtnClick: function onCloumHeaderBtnClick(btn) {
155531
155533
  if (btn.btnParams !== null) {
@@ -155535,12 +155537,12 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155535
155537
  }
155536
155538
  },
155537
155539
  onBasicFormBeforeOpen: function onBasicFormBeforeOpen($scope, vo, defer) {
155538
- var _this6 = this;
155540
+ var _this3 = this;
155539
155541
  this.setFormToolbarBtns($scope.canEdit);
155540
155542
  new Promise(function (resolve, reject) {
155541
- if (_this6.$vnode.context.onInnerFormBeforeOpen) {
155542
- $scope.innerModuleInfo = _this6.moduleInfo;
155543
- _this6.$vnode.context.onInnerFormBeforeOpen($scope, vo, {
155543
+ if (_this3.$vnode.context.onInnerFormBeforeOpen) {
155544
+ $scope.innerModuleInfo = _this3.moduleInfo;
155545
+ _this3.$vnode.context.onInnerFormBeforeOpen($scope, vo, {
155544
155546
  resolve: resolve,
155545
155547
  reject: reject
155546
155548
  });
@@ -155550,11 +155552,11 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155550
155552
  }).then(function (result) {
155551
155553
  if (result) {
155552
155554
  console.log($scope.moduleInfo.moduleCode + ' form before open');
155553
- if ($scope.moduleInfo.formTitle) _this6.formTitle = $scope.moduleInfo.formTitle;
155555
+ if ($scope.moduleInfo.formTitle) _this3.formTitle = $scope.moduleInfo.formTitle;
155554
155556
  // 新增子表 打开表单
155555
- var formurl = _this6.moduleInfo.formTemplate;
155557
+ var formurl = _this3.moduleInfo.formTemplate;
155556
155558
  if (formurl.indexOf('@/') === -1 || formurl.indexOf('dcontent') > -1) {
155557
- formurl = _this6.moduleInfo.formTemplate.split('url=')[1];
155559
+ formurl = _this3.moduleInfo.formTemplate.split('url=')[1];
155558
155560
  formurl = formurl.replace(/\//g, '.');
155559
155561
  formurl = '#/dcontent/vuebusiform/W/' + formurl.substring(1).replace('.html', '.vue');
155560
155562
  formurl += '?openMode=innerTable';
@@ -155566,20 +155568,20 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155566
155568
  formurl += '&sysCode=' + $scope.wfInstance.sysCode;
155567
155569
  }
155568
155570
  }
155569
- _this6.$options.components['BusiForm'] = _this6.$loadComponent(formurl);
155571
+ _this3.$options.components['BusiForm'] = _this3.$loadComponent(formurl);
155570
155572
  var parentId = null;
155571
- var parent = _this6.$vnode.context;
155573
+ var parent = _this3.$vnode.context;
155572
155574
  if (parent.vo) {
155573
155575
  parentId = parent.vo.id;
155574
155576
  }
155575
155577
  if (parentId !== null && parentId !== undefined) {
155576
- if (_this6.linkPropName === undefined || _this6.linkPropName === null) {
155578
+ if (_this3.linkPropName === undefined || _this3.linkPropName === null) {
155577
155579
  vo.parentId = parentId;
155578
155580
  } else {
155579
- vo[_this6.linkPropName] = parentId;
155581
+ vo[_this3.linkPropName] = parentId;
155580
155582
  }
155581
155583
  }
155582
- _this6.formVo = vo;
155584
+ _this3.formVo = vo;
155583
155585
  defer.resolve(true);
155584
155586
  } else {
155585
155587
  defer.resolve(false);
@@ -155592,10 +155594,10 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155592
155594
  this.setFormToolbarBtns($scope.canEdit);
155593
155595
  },
155594
155596
  onBasicFormBeforeSubmit: function onBasicFormBeforeSubmit($scope, vo, defer) {
155595
- var _this7 = this;
155597
+ var _this4 = this;
155596
155598
  new Promise(function (resolve, reject) {
155597
- if (_this7.$vnode.context.onInnerBasicFormBeforeSubmit) {
155598
- _this7.$vnode.context.onInnerBasicFormBeforeSubmit($scope, vo, {
155599
+ if (_this4.$vnode.context.onInnerBasicFormBeforeSubmit) {
155600
+ _this4.$vnode.context.onInnerBasicFormBeforeSubmit($scope, vo, {
155599
155601
  resolve: resolve,
155600
155602
  reject: reject
155601
155603
  });
@@ -155616,9 +155618,9 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155616
155618
  });
155617
155619
  ;// CONCATENATED MODULE: ./packages/ecwapp/InnerTable/src/index.vue?vue&type=script&lang=js
155618
155620
  /* harmony default export */ var ecwapp_InnerTable_srcvue_type_script_lang_js = (InnerTable_srcvue_type_script_lang_js);
155619
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/InnerTable/src/index.vue?vue&type=style&index=0&id=1cbbd470&prod&scoped=true&lang=scss
155620
- var srcvue_type_style_index_0_id_1cbbd470_prod_scoped_true_lang_scss = __webpack_require__(72842);
155621
- ;// CONCATENATED MODULE: ./packages/ecwapp/InnerTable/src/index.vue?vue&type=style&index=0&id=1cbbd470&prod&scoped=true&lang=scss
155621
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/InnerTable/src/index.vue?vue&type=style&index=0&id=2297e85a&prod&scoped=true&lang=scss
155622
+ var srcvue_type_style_index_0_id_2297e85a_prod_scoped_true_lang_scss = __webpack_require__(23770);
155623
+ ;// CONCATENATED MODULE: ./packages/ecwapp/InnerTable/src/index.vue?vue&type=style&index=0&id=2297e85a&prod&scoped=true&lang=scss
155622
155624
 
155623
155625
  ;// CONCATENATED MODULE: ./packages/ecwapp/InnerTable/src/index.vue
155624
155626
 
@@ -155631,11 +155633,11 @@ var srcvue_type_style_index_0_id_1cbbd470_prod_scoped_true_lang_scss = __webpack
155631
155633
 
155632
155634
  var InnerTable_src_component = (0,componentNormalizer/* default */.A)(
155633
155635
  ecwapp_InnerTable_srcvue_type_script_lang_js,
155634
- srcvue_type_template_id_1cbbd470_scoped_true_render,
155635
- srcvue_type_template_id_1cbbd470_scoped_true_staticRenderFns,
155636
+ srcvue_type_template_id_2297e85a_scoped_true_render,
155637
+ srcvue_type_template_id_2297e85a_scoped_true_staticRenderFns,
155636
155638
  false,
155637
155639
  null,
155638
- "1cbbd470",
155640
+ "2297e85a",
155639
155641
  null
155640
155642
 
155641
155643
  )