ecinc-cloud-wappaio 9.6.283 → 9.6.284

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
+ /***/ 64134:
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-09d60004]{cursor:pointer}.column_operate[data-v-09d60004],.column_operate[data-v-09d60004] .cell{white-space:nowrap!important;overflow:hidden!important;word-break:keep-all}.el-pagination-container[data-v-09d60004]{text-align:right;margin-top:10px}.el-pagination-container .selected-rows[data-v-09d60004]{float:left;color:#606266;font-size:13px;line-height:28px}.el-pagination[data-v-09d60004]{padding-right:0;font-weight:400}.el-icon[data-v-09d60004]:before{padding-right:3px}[data-v-09d60004] th>.cell{word-break:keep-all;white-space:nowrap}[data-v-09d60004] .el-table__header .is-fixed{color:#333;background-color:#f2f5fb}[data-v-09d60004] .close-tooltip .cell{word-break:normal}[data-v-09d60004] .el-table__body-wrapper::-webkit-scrollbar{width:6px;height:6px}[data-v-09d60004] .el-table--scrollable-x{padding-right:2px}[data-v-09d60004] .el-table--scrollable-x .el-table__body-wrapper{padding-bottom:2px;margin-bottom:2px;cursor:pointer}[data-v-09d60004] .el-table--scrollable-x .el-table__body-wrapper .el-table__body{cursor:default}[data-v-09d60004] .el-table__body-wrapper::-webkit-scrollbar-thumb{border-radius:4px;background-color:hsla(220,4%,58%,.3)}[data-v-09d60004] .el-table__body-wrapper::-webkit-scrollbar-thumb:hover{background-color:hsla(220,4%,58%,.5);margin-right:2px}#card-table[data-v-09d60004]{padding:10px 0 10px 0}#card-table .card-item[data-v-09d60004]{background:#f7f9ff;border-radius:2px 0 0 2px;padding:20px;margin-bottom:15px;cursor:pointer}#card-table .card-item .card-top[data-v-09d60004]{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-09d60004],#card-table .card-item .card-top .card-top-right[data-v-09d60004]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#card-table .card-item .card-top .card-top-right[data-v-09d60004]{text-align:end}#card-table .card-item .card-bottom[data-v-09d60004]{-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-09d60004],#card-table .card-item .card-bottom .card-bottom-left[data-v-09d60004]{display:-webkit-box;display:-ms-flexbox;display:flex}#card-table .card-item .card-bottom .card-bottom-left .span-item[data-v-09d60004]{margin-right:30px}#card-table .card-item .card-bottom .card-bottom-right[data-v-09d60004]{display:-webkit-box;display:-ms-flexbox;display:flex}#card-table .card-item .card-bottom .card-bottom-right .span-item[data-v-09d60004]{margin-left:30px}#card-table .card-item[data-v-09d60004]:hover{background:#eef3ff}#card-table .card-item[data-v-09d60004]:last-child{margin-bottom:0}#card-table .card-empty[data-v-09d60004]{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-09d60004]{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
+ /***/ 44128:
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__(64134);
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("fc06fbda", 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=09d60004&scoped=true
150480
+ var srcvue_type_template_id_09d60004_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_09d60004_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,44 @@ 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
+ } else {
153256
+ operateCols[0].fixed = null;
153257
+ operateCols[0].className = (operateCols[0].className || '').replace(' is-fixed', '');
153258
+ }
153259
+ this.tbColumns.splice(operateCols[0].index, 1, operateCols[0]);
153260
+ setTimeout(function () {
153261
+ var fixedRight = _this3.$el.querySelector('.el-table__fixed-right');
153262
+ if (fixedRight) {
153263
+ fixedRight.style.minHeight = _this3.$el.querySelector('.el-table__header').clientHeight + _this3.$el.querySelector('.el-table__body').clientHeight - 0.5 + 'px';
153264
+ }
153265
+ }, 100);
153266
+ }
153267
+ }
153268
+ },
153227
153269
  tableRowClassName: function tableRowClassName(_ref) {
153228
153270
  var row = _ref.row,
153229
153271
  rowIndex = _ref.rowIndex;
@@ -153289,10 +153331,10 @@ var PAGE_INFO = {
153289
153331
  this.tableStyle = tableStyle;
153290
153332
  },
153291
153333
  customComponent: function customComponent(list) {
153292
- var _this3 = this;
153334
+ var _this4 = this;
153293
153335
  list.forEach(function (item) {
153294
153336
  if (item.components.indexOf('component:') > -1) {
153295
- _this3.$options.components['card_' + item.value] = _this3.$loadComponent(item.components.split('component:')[1]);
153337
+ _this4.$options.components['card_' + item.value] = _this4.$loadComponent(item.components.split('component:')[1]);
153296
153338
  item.widget = 'card_' + item.value;
153297
153339
  }
153298
153340
  });
@@ -153336,44 +153378,44 @@ var PAGE_INFO = {
153336
153378
  }
153337
153379
  },
153338
153380
  cardCellClick: function cardCellClick(row) {
153339
- var _this4 = this;
153381
+ var _this5 = this;
153340
153382
  new Promise(function (resolve, reject) {
153341
- if (_this4.onCellDblclick) {
153342
- if (_this4.clickTime) {
153343
- clearTimeout(_this4.clickTime);
153383
+ if (_this5.onCellDblclick) {
153384
+ if (_this5.clickTime) {
153385
+ clearTimeout(_this5.clickTime);
153344
153386
  }
153345
- _this4.clickTime = setTimeout(function () {
153387
+ _this5.clickTime = setTimeout(function () {
153346
153388
  resolve(true);
153347
153389
  }, 300);
153348
153390
  } else {
153349
153391
  resolve(true);
153350
153392
  }
153351
153393
  }).then(function (result) {
153352
- if (_this4.onCellClick !== null) {
153353
- _this4.onCellClick(row);
153394
+ if (_this5.onCellClick !== null) {
153395
+ _this5.onCellClick(row);
153354
153396
  } else {
153355
- if (_this4.moduleInfo.openViewType === '1') {
153356
- var moduleInfo = _this4.moduleInfo;
153397
+ if (_this5.moduleInfo.openViewType === '1') {
153398
+ var moduleInfo = _this5.moduleInfo;
153357
153399
  moduleInfo.addNew = false;
153358
- var formUrl = _this4.moduleInfo.busiFormTemplate ? _this4.moduleInfo.busiFormTemplate : '';
153359
- var innerUrl = _this4.moduleInfo.busiTabFormTabTemplate ? _this4.moduleInfo.busiTabFormTabTemplate : '';
153400
+ var formUrl = _this5.moduleInfo.busiFormTemplate ? _this5.moduleInfo.busiFormTemplate : '';
153401
+ var innerUrl = _this5.moduleInfo.busiTabFormTabTemplate ? _this5.moduleInfo.busiTabFormTabTemplate : '';
153360
153402
  var edit = true;
153361
- if (_this4.operateColumnBtns.length > 0) {
153362
- edit = !_this4.operateColumnBtns.some(function (item) {
153403
+ if (_this5.operateColumnBtns.length > 0) {
153404
+ edit = !_this5.operateColumnBtns.some(function (item) {
153363
153405
  return item.id.indexOf('btn_edit') > -1;
153364
153406
  });
153365
153407
  }
153366
153408
  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 || ''));
153409
+ var busiInfo = _this5.$vnode.context.formTitle;
153410
+ 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
153411
  } else {
153370
- _this4.$bus.emit('openBusiform', _this4.moduleInfo, row, 0);
153412
+ _this5.$bus.emit('openBusiform', _this5.moduleInfo, row, 0);
153371
153413
  }
153372
153414
  }
153373
153415
  });
153374
153416
  },
153375
153417
  checkBtnPermission: function checkBtnPermission() {
153376
- var _this5 = this;
153418
+ var _this6 = this;
153377
153419
  var _this = this;
153378
153420
  var checkedPermission = {};
153379
153421
  this.toolbarBtns.forEach( /*#__PURE__*/function () {
@@ -153387,7 +153429,7 @@ var PAGE_INFO = {
153387
153429
  } else {
153388
153430
  btn.btnI18nCode = btn.btnI18nCode || (btn.btnPermission || btn.id || btn.btnIcon || btn.btnName).replace('btn_', '').replace('Ids', '').replace('Object', '');
153389
153431
  }
153390
- btn.btnName = _this5.$i18n.generateTitle(btn, _this5.$vnode.context);
153432
+ btn.btnName = _this6.$i18n.generateTitle(btn, _this6.$vnode.context);
153391
153433
  if (!(_this.mode === 'design')) {
153392
153434
  _context.next = 6;
153393
153435
  break;
@@ -153415,7 +153457,7 @@ var PAGE_INFO = {
153415
153457
  break;
153416
153458
  case 13:
153417
153459
  _context.next = 15;
153418
- return _this5.$store.dispatch('user/hasPermission', {
153460
+ return _this6.$store.dispatch('user/hasPermission', {
153419
153461
  href: _this.$route.meta.href,
153420
153462
  pcode: pcode
153421
153463
  });
@@ -153464,7 +153506,7 @@ var PAGE_INFO = {
153464
153506
  }
153465
153507
  },
153466
153508
  initTbColumns: function initTbColumns() {
153467
- var _this6 = this;
153509
+ var _this7 = this;
153468
153510
  var _this = this;
153469
153511
  this.listEdit = this.$vnode.context.formCanEdit;
153470
153512
  var mergeColumns = [];
@@ -153487,24 +153529,26 @@ var PAGE_INFO = {
153487
153529
  } else {
153488
153530
  column.propFormatter = '';
153489
153531
  }
153490
- if (!_this6.showOverflowTooltip) {
153532
+ if (!_this7.showOverflowTooltip) {
153491
153533
  column.className = (column.className || '') + ' close-tooltip';
153492
153534
  }
153493
153535
  if (column.fixed === 'right' || column.fixed === 'left') {
153494
- column.className = (column.className || '') + ' is-fixed';
153536
+ if ((column.className || '').indexOf(' is-fixed') === -1) {
153537
+ column.className = (column.className || '') + ' is-fixed';
153538
+ }
153495
153539
  } else if (column.field === 'column_operate' && (column.fixed === undefined || column.fixed === null)) {
153496
153540
  //column.fixed = 'right'
153497
153541
  //column.className = (column.className || '') + ' is-fixed'
153498
153542
  } else {
153499
153543
  column.fixed = false;
153500
153544
  }
153501
- column.title = (_this6.$i18n.generateTitle(column, _this6) || '').trim();
153545
+ column.title = (_this7.$i18n.generateTitle(column, _this7) || '').trim();
153502
153546
  var colFormater = column.propFormatter || column.elementFormatter;
153503
153547
  if (!colFormater) colFormater = column.elementFormatter || '';
153504
153548
  if (column.field === 'state' && column.title === '') {
153505
153549
  column.width = '45px';
153506
153550
  } else if (column.field === 'index') {
153507
- if (_this6.lazyLoadRowChildren) {
153551
+ if (_this7.lazyLoadRowChildren) {
153508
153552
  column.width = '60px';
153509
153553
  } else {
153510
153554
  column.width = '50px';
@@ -153526,20 +153570,20 @@ var PAGE_INFO = {
153526
153570
  if (!colFormater) colFormater = 'yyyy-MM-dd HH:mm:ss'; // Date类型未设置formatter,默认格式
153527
153571
  if (colFormater.indexOf('yyyy') !== -1 && colFormater.indexOf('HH') === -1 && colFormater.indexOf('mm') === -1) {
153528
153572
  // 包含年月日,不包含时分秒
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);
153573
+ if (column.sortable && colFormater.indexOf('yyyy年') !== -1 && parseInt(column.width) < _this7.calculateNewWidth(150, uiFontSize, 'judge')) {
153574
+ column.width = _this7.calculateNewWidth(150, uiFontSize);
153575
+ } else if (column.sortable && parseInt(column.width) < _this7.calculateNewWidth(120, uiFontSize, 'judge')) {
153576
+ column.width = _this7.calculateNewWidth(120, uiFontSize);
153533
153577
  }
153534
153578
  } else if (colFormater.indexOf('yyyy') !== -1 && colFormater.indexOf('HH') !== -1 && colFormater.indexOf('ss') !== -1) {
153535
153579
  // 包含年月日,时分秒
153536
- if (column.sortable && parseInt(column.width) < _this6.calculateNewWidth(180, uiFontSize, 'judge')) {
153537
- column.width = _this6.calculateNewWidth(180, uiFontSize);
153580
+ if (column.sortable && parseInt(column.width) < _this7.calculateNewWidth(180, uiFontSize, 'judge')) {
153581
+ column.width = _this7.calculateNewWidth(180, uiFontSize);
153538
153582
  }
153539
153583
  } else if (colFormater.indexOf('yyyy') !== -1 && colFormater.indexOf('HH') !== -1 && colFormater.indexOf('mm') !== -1) {
153540
153584
  // 包含年月日,时分秒
153541
- if (column.sortable && parseInt(column.width) < _this6.calculateNewWidth(150, uiFontSize, 'judge')) {
153542
- column.width = _this6.calculateNewWidth(150, uiFontSize);
153585
+ if (column.sortable && parseInt(column.width) < _this7.calculateNewWidth(150, uiFontSize, 'judge')) {
153586
+ column.width = _this7.calculateNewWidth(150, uiFontSize);
153543
153587
  }
153544
153588
  }
153545
153589
  } else if (/^[\u4e00-\u9fff]+$/.test(column.title)) {
@@ -153549,7 +153593,7 @@ var PAGE_INFO = {
153549
153593
  column.width = '90px';
153550
153594
  }
153551
153595
  }
153552
- if (_this6.isInlineEdit !== 0) {
153596
+ if (_this7.isInlineEdit !== 0) {
153553
153597
  if (column.listAdvSearchElement === 'staffDlg') {
153554
153598
  column.staffDlg = true;
153555
153599
  } else if (column.listAdvSearchElement === 'suborg2Dlg') {
@@ -153618,7 +153662,7 @@ var PAGE_INFO = {
153618
153662
  mergeColumns.forEach(function (mergeCol) {
153619
153663
  var subColumns = mergeCol.propFormatter.split(':')[1].split(',');
153620
153664
  mergeCol.children = [];
153621
- _this6.tbColumns.forEach(function (col) {
153665
+ _this7.tbColumns.forEach(function (col) {
153622
153666
  if (subColumns.indexOf(col.field) !== -1) {
153623
153667
  mergeCol.children.push(col);
153624
153668
  col.isChild = 1;
@@ -153650,7 +153694,7 @@ var PAGE_INFO = {
153650
153694
  this.loadListdata(searchMap, searchAndOr, customBtnVal);
153651
153695
  },
153652
153696
  loadListdata: function loadListdata(searchMap, searchAndOr, customBtnVal, moduleCode) {
153653
- var _this7 = this;
153697
+ var _this8 = this;
153654
153698
  if (moduleCode && this.moduleInfo.moduleCode !== moduleCode) return;
153655
153699
  var _this = this;
153656
153700
  this.emptyText = '';
@@ -153694,51 +153738,51 @@ var PAGE_INFO = {
153694
153738
  _this.setPageInfo(searchMap, searchAndOr, customBtnVal, orderBy);
153695
153739
  _this.$app.listdata(this.moduleInfo.listDataUrl, _this.pageInfo).then(function (res) {
153696
153740
  if (res.code === 'success') {
153697
- _this7.pageInfo.list = [];
153698
- _this7.$nextTick(function () {
153741
+ _this8.pageInfo.list = [];
153742
+ _this8.$nextTick(function () {
153699
153743
  var pageInfo = res.body.pageInfo;
153700
153744
  pageInfo.orderBy = orderBy;
153701
153745
  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) {
153746
+ _this8.onListDataLoaded(_this8, pageInfo);
153747
+ _this8.pageInfo = pageInfo;
153748
+ _this8.emptyText = _this8.$tx('common.noData', '暂无数据');
153749
+ _this8.loadingMast.close();
153750
+ _this8.loading = false;
153751
+ if (_this8.$route.meta && !_this8.moduleInfo.disableCache) {
153708
153752
  var view = {
153709
- fullPath: _this7.$route.fullPath,
153710
- pageInfo: _this7.pageInfo,
153711
- listDataUrl: _this7.moduleInfo.listDataUrl
153753
+ fullPath: _this8.$route.fullPath,
153754
+ pageInfo: _this8.pageInfo,
153755
+ listDataUrl: _this8.moduleInfo.listDataUrl
153712
153756
  };
153713
- _this7.$store.dispatch('tagsView/updateVisitedView', view);
153757
+ _this8.$store.dispatch('tagsView/updateVisitedView', view);
153714
153758
  }
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) {
153759
+ _this8.$bus.emit('setTabFileCount');
153760
+ _this8.$nextTick(function () {
153761
+ _this8.setScrollPosition();
153762
+ _this8.setStyleSelectAll();
153763
+ for (var key in _this8.selectedAllRows) {
153764
+ _this8.selectedAllRows[key].forEach(function (data) {
153765
+ var item = _this8.$refs.listpageDataTable.data.filter(function (dataitem) {
153722
153766
  return dataitem.id === data.id;
153723
153767
  });
153724
153768
  if (item.length > 0) {
153725
- _this7.$refs.listpageDataTable.toggleRowSelection(item[0]);
153769
+ _this8.$refs.listpageDataTable.toggleRowSelection(item[0]);
153726
153770
  }
153727
153771
  });
153728
153772
  }
153729
- if (_this7.mode === 'innerTable') {
153730
- _this7.$bus.emit('setSubmitSidebarHeight');
153773
+ if (_this8.mode === 'innerTable') {
153774
+ _this8.$bus.emit('setSubmitSidebarHeight');
153731
153775
  }
153732
- _this7.setOperateColumn();
153776
+ _this8.setOperateColumn();
153733
153777
  });
153734
153778
  });
153735
153779
  } else {
153736
- _this7.$alert(res.message, _this7.$tx('common.operationTip', '操作提示'), {
153780
+ _this8.$alert(res.message, _this8.$tx('common.operationTip', '操作提示'), {
153737
153781
  type: 'error'
153738
153782
  });
153739
- _this7.emptyText = _this7.$tx('common.noData', '暂无数据');
153740
- _this7.loadingMast.close();
153741
- _this7.loading = false;
153783
+ _this8.emptyText = _this8.$tx('common.noData', '暂无数据');
153784
+ _this8.loadingMast.close();
153785
+ _this8.loading = false;
153742
153786
  }
153743
153787
  });
153744
153788
  },
@@ -153803,24 +153847,6 @@ var PAGE_INFO = {
153803
153847
  }
153804
153848
  }
153805
153849
  },
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
153850
  getParentClassNode: function getParentClassNode(element, className) {
153825
153851
  var pNode = element.parentNode;
153826
153852
  if (!pNode) return null;
@@ -153922,14 +153948,14 @@ var PAGE_INFO = {
153922
153948
  _this.selectedRowCount = _this.selectedRows.length;
153923
153949
  },
153924
153950
  handleCellClick: function handleCellClick(row, column, cell, event) {
153925
- var _this8 = this;
153951
+ var _this9 = this;
153926
153952
  if (!this.isInlineEdit) {
153927
153953
  new Promise(function (resolve, reject) {
153928
- if (_this8.onCellDblclick) {
153929
- if (_this8.clickTime) {
153930
- clearTimeout(_this8.clickTime);
153954
+ if (_this9.onCellDblclick) {
153955
+ if (_this9.clickTime) {
153956
+ clearTimeout(_this9.clickTime);
153931
153957
  }
153932
- _this8.clickTime = setTimeout(function () {
153958
+ _this9.clickTime = setTimeout(function () {
153933
153959
  resolve(true);
153934
153960
  }, 300);
153935
153961
  } else {
@@ -153937,25 +153963,25 @@ var PAGE_INFO = {
153937
153963
  }
153938
153964
  }).then(function (result) {
153939
153965
  if (cell.className.indexOf('content-column') !== -1) {
153940
- if (_this8.onCellClick !== null) {
153941
- _this8.onCellClick(row, column, cell.innerText, cell.cellIndex);
153966
+ if (_this9.onCellClick !== null) {
153967
+ _this9.onCellClick(row, column, cell.innerText, cell.cellIndex);
153942
153968
  } else {
153943
- if (_this8.moduleInfo.openViewType === '1') {
153944
- var moduleInfo = _this8.moduleInfo;
153969
+ if (_this9.moduleInfo.openViewType === '1') {
153970
+ var moduleInfo = _this9.moduleInfo;
153945
153971
  moduleInfo.addNew = false;
153946
- var formUrl = _this8.moduleInfo.busiFormTemplate ? _this8.moduleInfo.busiFormTemplate : '';
153947
- var innerUrl = _this8.moduleInfo.busiTabFormTabTemplate ? _this8.moduleInfo.busiTabFormTabTemplate : '';
153972
+ var formUrl = _this9.moduleInfo.busiFormTemplate ? _this9.moduleInfo.busiFormTemplate : '';
153973
+ var innerUrl = _this9.moduleInfo.busiTabFormTabTemplate ? _this9.moduleInfo.busiTabFormTabTemplate : '';
153948
153974
  var edit = true;
153949
- if (_this8.operateColumnBtns.length > 0) {
153950
- edit = !_this8.operateColumnBtns.some(function (item) {
153975
+ if (_this9.operateColumnBtns.length > 0) {
153976
+ edit = !_this9.operateColumnBtns.some(function (item) {
153951
153977
  return item.id.indexOf('btn_edit') > -1;
153952
153978
  });
153953
153979
  }
153954
153980
  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 || ''));
153981
+ var busiInfo = _this9.$vnode.context.formTitle;
153982
+ 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
153983
  } else {
153958
- _this8.$bus.emit('openBusiform', _this8.moduleInfo, row, 0);
153984
+ _this9.$bus.emit('openBusiform', _this9.moduleInfo, row, 0);
153959
153985
  }
153960
153986
  }
153961
153987
  }
@@ -153986,7 +154012,7 @@ var PAGE_INFO = {
153986
154012
  }
153987
154013
  },
153988
154014
  setColumnEnabled: function setColumnEnabled(val) {
153989
- var _this9 = this;
154015
+ var _this10 = this;
153990
154016
  var enabledColums = val.join(',') + ',';
153991
154017
  var tbColumns = JSON.parse(JSON.stringify(this.tbColumns));
153992
154018
  tbColumns.forEach(function (column) {
@@ -154003,8 +154029,8 @@ var PAGE_INFO = {
154003
154029
  }
154004
154030
  }
154005
154031
  this.$nextTick(function () {
154006
- _this9.tbColumns = tbColumns;
154007
- _this9.setLastColumnWidth();
154032
+ _this10.tbColumns = tbColumns;
154033
+ _this10.setLastColumnWidth();
154008
154034
  });
154009
154035
  },
154010
154036
  // 自定义按钮点击回调事件
@@ -154017,7 +154043,7 @@ var PAGE_INFO = {
154017
154043
  }
154018
154044
  },
154019
154045
  innerListAdd: function innerListAdd() {
154020
- var _this10 = this;
154046
+ var _this11 = this;
154021
154047
  var _this = this;
154022
154048
  if (_this.$vnode.context.$vnode.context.innerAddObject) {
154023
154049
  _this.$vnode.context.$vnode.context.innerAddObject(_this.moduleInfo);
@@ -154030,7 +154056,7 @@ var PAGE_INFO = {
154030
154056
  res.body.vo.isnew = true;
154031
154057
  _this.pageInfo.list.push(res.body.vo);
154032
154058
  } else {
154033
- _this.$alert(res.message, _this10.$tx('common.operationTip', '操作提示'), {
154059
+ _this.$alert(res.message, _this11.$tx('common.operationTip', '操作提示'), {
154034
154060
  type: 'error'
154035
154061
  });
154036
154062
  }
@@ -154041,10 +154067,10 @@ var PAGE_INFO = {
154041
154067
  }
154042
154068
  },
154043
154069
  insertList: function insertList(list) {
154044
- var _this11 = this;
154070
+ var _this12 = this;
154045
154071
  if (list.length > 0) {
154046
154072
  list.forEach(function (item) {
154047
- _this11.pageInfo.list.push(item);
154073
+ _this12.pageInfo.list.push(item);
154048
154074
  });
154049
154075
  this.$vnode.context.$vnode.context.innerListData = this.pageInfo.list;
154050
154076
  } else {
@@ -154057,18 +154083,18 @@ var PAGE_INFO = {
154057
154083
  this.$vnode.context.$vnode.context.innerListData = this.pageInfo.list;
154058
154084
  },
154059
154085
  addObject: function addObject() {
154060
- var _this12 = this;
154086
+ var _this13 = this;
154061
154087
  this.innerTableBtnDisabled = true;
154062
154088
  if (this.mode === 'inner' && this.$vnode.context.$vnode.context.vo.isnew) {
154063
154089
  this.$bus.emit('submitBusiform', this.$vnode.context.$vnode.context.moduleInfo, function (callBack) {
154064
- _this12.$nextTick(function () {
154065
- _this12.innerTableBtnDisabled = false;
154090
+ _this13.$nextTick(function () {
154091
+ _this13.innerTableBtnDisabled = false;
154066
154092
  });
154067
154093
  if (callBack) {
154068
- if (_this12.isInlineEdit !== 0) {
154069
- _this12.innerListAdd();
154094
+ if (_this13.isInlineEdit !== 0) {
154095
+ _this13.innerListAdd();
154070
154096
  } else {
154071
- _this12.$bus.emit('openBusiform', _this12.moduleInfo, null, 1);
154097
+ _this13.$bus.emit('openBusiform', _this13.moduleInfo, null, 1);
154072
154098
  }
154073
154099
  }
154074
154100
  }, 'InnerTableSave');
@@ -154078,20 +154104,20 @@ var PAGE_INFO = {
154078
154104
  btnSubmitClick = this.$vnode.context.$vnode.context.$vnode.context.btnSubmitClick;
154079
154105
  }
154080
154106
  btnSubmitClick('AutoSave', function (saveRst) {
154081
- _this12.$nextTick(function () {
154082
- _this12.innerTableBtnDisabled = false;
154107
+ _this13.$nextTick(function () {
154108
+ _this13.innerTableBtnDisabled = false;
154083
154109
  });
154084
154110
  if (saveRst) {
154085
- if (_this12.isInlineEdit !== 0) {
154086
- _this12.innerListAdd();
154111
+ if (_this13.isInlineEdit !== 0) {
154112
+ _this13.innerListAdd();
154087
154113
  } else {
154088
- _this12.$bus.emit('openBusiform', _this12.moduleInfo, null, 1);
154114
+ _this13.$bus.emit('openBusiform', _this13.moduleInfo, null, 1);
154089
154115
  }
154090
154116
  }
154091
154117
  }, 'InnerTableSave');
154092
154118
  } else {
154093
154119
  this.$nextTick(function () {
154094
- _this12.innerTableBtnDisabled = false;
154120
+ _this13.innerTableBtnDisabled = false;
154095
154121
  });
154096
154122
  if (this.moduleInfo.openViewType === '1') {
154097
154123
  var formUrl = this.moduleInfo.busiFormTemplate ? this.moduleInfo.busiFormTemplate : '';
@@ -154111,7 +154137,7 @@ var PAGE_INFO = {
154111
154137
  }
154112
154138
  },
154113
154139
  innerSave: function innerSave(row, column) {
154114
- var _this13 = this;
154140
+ var _this14 = this;
154115
154141
  var requiredFiled = this.tbColumns.filter(function (item) {
154116
154142
  return item.listTdEdit == 1 && item.listTdRequired == 1;
154117
154143
  });
@@ -154138,9 +154164,9 @@ var PAGE_INFO = {
154138
154164
  this.$app.insert(this.moduleInfo.insertUrl, row).then(function (res) {
154139
154165
  if (res.code === 'success') {
154140
154166
  row.isnew = false;
154141
- _this13.$message.success(res.message);
154167
+ _this14.$message.success(res.message);
154142
154168
  } else {
154143
- _this13.$alert(res.message, _this13.$tx('common.operationTip', '操作提示'), {
154169
+ _this14.$alert(res.message, _this14.$tx('common.operationTip', '操作提示'), {
154144
154170
  type: 'error'
154145
154171
  });
154146
154172
  }
@@ -154148,9 +154174,9 @@ var PAGE_INFO = {
154148
154174
  } else {
154149
154175
  this.$app.update(this.moduleInfo.updateUrl, row).then(function (res) {
154150
154176
  if (res.code === 'success') {
154151
- _this13.$message.success(res.message);
154177
+ _this14.$message.success(res.message);
154152
154178
  } else {
154153
- _this13.$alert(res.message, _this13.$tx('common.operationTip', '操作提示'), {
154179
+ _this14.$alert(res.message, _this14.$tx('common.operationTip', '操作提示'), {
154154
154180
  type: 'error'
154155
154181
  });
154156
154182
  }
@@ -154173,7 +154199,7 @@ var PAGE_INFO = {
154173
154199
  }
154174
154200
  },
154175
154201
  deleteIds: function deleteIds(row, column, value, index, rowIndex) {
154176
- var _this14 = this;
154202
+ var _this15 = this;
154177
154203
  var ids = this.getSelectedRows(row, column, value, index);
154178
154204
  if (ids.length === 0) {
154179
154205
  this.$alert(this.$tx('ecwapp.DataTable.needDeleterRow', '请选择需要删除的数据。'), this.$tx('common.operationTip', '操作提示'), {
@@ -154188,15 +154214,15 @@ var PAGE_INFO = {
154188
154214
  return DataTable_srcvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
154189
154215
  while (1) switch (_context3.prev = _context3.next) {
154190
154216
  case 0:
154191
- if (!(_this14.isInlineEdit !== 0)) {
154217
+ if (!(_this15.isInlineEdit !== 0)) {
154192
154218
  _context3.next = 17;
154193
154219
  break;
154194
154220
  }
154195
- if (!_this14.$vnode.context.$vnode.context.deleteId) {
154221
+ if (!_this15.$vnode.context.$vnode.context.deleteId) {
154196
154222
  _context3.next = 5;
154197
154223
  break;
154198
154224
  }
154199
- _this14.$vnode.context.$vnode.context.deleteId(row, rowIndex);
154225
+ _this15.$vnode.context.$vnode.context.deleteId(row, rowIndex);
154200
154226
  _context3.next = 15;
154201
154227
  break;
154202
154228
  case 5:
@@ -154204,28 +154230,28 @@ var PAGE_INFO = {
154204
154230
  _context3.next = 11;
154205
154231
  break;
154206
154232
  }
154207
- _this14.pageInfo.list = _this14.pageInfo.list.filter(function (item) {
154233
+ _this15.pageInfo.list = _this15.pageInfo.list.filter(function (item) {
154208
154234
  return item.id !== row.id;
154209
154235
  });
154210
- _this14.$vnode.context.$vnode.context.innerListData = _this14.pageInfo.list;
154211
- _this14.$message.success(_this14.$tx('ecwapp.Common.delSuccess', '删除成功'));
154236
+ _this15.$vnode.context.$vnode.context.innerListData = _this15.pageInfo.list;
154237
+ _this15.$message.success(_this15.$tx('ecwapp.Common.delSuccess', '删除成功'));
154212
154238
  _context3.next = 15;
154213
154239
  break;
154214
154240
  case 11:
154215
154241
  _context3.next = 13;
154216
- return _this14.$app.deleteByIds(_this14.moduleInfo.delUrl, ids);
154242
+ return _this15.$app.deleteByIds(_this15.moduleInfo.delUrl, ids);
154217
154243
  case 13:
154218
154244
  res = _context3.sent;
154219
154245
  if (res.code === 'success') {
154220
- _this14.onDeleteSuccessed(_this14, ids);
154221
- _this14.$message({
154246
+ _this15.onDeleteSuccessed(_this15, ids);
154247
+ _this15.$message({
154222
154248
  type: res.code,
154223
154249
  message: res.message,
154224
154250
  showClose: true
154225
154251
  });
154226
- _this14.loadListdata();
154252
+ _this15.loadListdata();
154227
154253
  } else {
154228
- _this14.$alert(res.message, _this14.$tx('common.operationTip', '操作提示'), {
154254
+ _this15.$alert(res.message, _this15.$tx('common.operationTip', '操作提示'), {
154229
154255
  type: 'error'
154230
154256
  });
154231
154257
  }
@@ -154234,19 +154260,19 @@ var PAGE_INFO = {
154234
154260
  break;
154235
154261
  case 17:
154236
154262
  _context3.next = 19;
154237
- return _this14.$app.deleteByIds(_this14.moduleInfo.delUrl, ids);
154263
+ return _this15.$app.deleteByIds(_this15.moduleInfo.delUrl, ids);
154238
154264
  case 19:
154239
154265
  _res = _context3.sent;
154240
154266
  if (_res.code === 'success') {
154241
- _this14.onDeleteSuccessed(_this14, ids);
154242
- _this14.$message({
154267
+ _this15.onDeleteSuccessed(_this15, ids);
154268
+ _this15.$message({
154243
154269
  type: _res.code,
154244
154270
  message: _res.message,
154245
154271
  showClose: true
154246
154272
  });
154247
- _this14.loadListdata();
154273
+ _this15.loadListdata();
154248
154274
  } else if (_res.code === 'confirm') {
154249
- _this14.$confirm(_res.message, _this14.$tx('common.confirmOperate', '确认操作'), {
154275
+ _this15.$confirm(_res.message, _this15.$tx('common.confirmOperate', '确认操作'), {
154250
154276
  type: 'warning'
154251
154277
  }).then( /*#__PURE__*/DataTable_srcvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/DataTable_srcvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
154252
154278
  var res;
@@ -154254,19 +154280,19 @@ var PAGE_INFO = {
154254
154280
  while (1) switch (_context2.prev = _context2.next) {
154255
154281
  case 0:
154256
154282
  _context2.next = 2;
154257
- return _this14.$app.deleteByIds(_this14.moduleInfo.delUrl, ids, true);
154283
+ return _this15.$app.deleteByIds(_this15.moduleInfo.delUrl, ids, true);
154258
154284
  case 2:
154259
154285
  res = _context2.sent;
154260
154286
  if (res.code === 'success') {
154261
- _this14.onDeleteSuccessed(_this14, ids);
154262
- _this14.$message({
154287
+ _this15.onDeleteSuccessed(_this15, ids);
154288
+ _this15.$message({
154263
154289
  type: res.code,
154264
154290
  message: res.message,
154265
154291
  showClose: true
154266
154292
  });
154267
- _this14.loadListdata();
154293
+ _this15.loadListdata();
154268
154294
  } else {
154269
- _this14.$alert(res.message, _this14.$tx('common.operationTip', '操作提示'), {
154295
+ _this15.$alert(res.message, _this15.$tx('common.operationTip', '操作提示'), {
154270
154296
  type: 'error'
154271
154297
  });
154272
154298
  }
@@ -154281,7 +154307,7 @@ var PAGE_INFO = {
154281
154307
  }
154282
154308
  });
154283
154309
  } else {
154284
- _this14.$alert(_res.message, _this14.$tx('common.operationTip', '操作提示'), {
154310
+ _this15.$alert(_res.message, _this15.$tx('common.operationTip', '操作提示'), {
154285
154311
  type: 'error'
154286
154312
  });
154287
154313
  }
@@ -154320,7 +154346,7 @@ var PAGE_INFO = {
154320
154346
  return status;
154321
154347
  },
154322
154348
  setResPermission: function setResPermission(resEntityName, permissionCode, roleFilter) {
154323
- var _this15 = this;
154349
+ var _this16 = this;
154324
154350
  var ids = [];
154325
154351
  var errMsg = '';
154326
154352
  var orgCode = null;
@@ -154330,11 +154356,11 @@ var PAGE_INFO = {
154330
154356
  if (roleFilter === 'sysCode' || !row.orgCode) {
154331
154357
  sysCode = row.sysCode || row.systemCode;
154332
154358
  }
154333
- if (index > 0 && row.orgCode && _this15.selectedRows[0].orgCode !== row.orgCode) {
154334
- errMsg = _this15.$tx('ecwapp.DataTable.onlyOneOrg', '只能设置同属一个机构的数据访问权限。');
154359
+ if (index > 0 && row.orgCode && _this16.selectedRows[0].orgCode !== row.orgCode) {
154360
+ errMsg = _this16.$tx('ecwapp.DataTable.onlyOneOrg', '只能设置同属一个机构的数据访问权限。');
154335
154361
  }
154336
- if (index > 0 && row.sysCode && _this15.selectedRows[0].sysCode !== row.sysCode) {
154337
- errMsg = _this15.$tx('ecwapp.DataTable.onlyOneProduct', '只能设置同属一个产品的数据访问权限。');
154362
+ if (index > 0 && row.sysCode && _this16.selectedRows[0].sysCode !== row.sysCode) {
154363
+ errMsg = _this16.$tx('ecwapp.DataTable.onlyOneProduct', '只能设置同属一个产品的数据访问权限。');
154338
154364
  } else {
154339
154365
  ids.push(row.id + '*' + row.orgCode + '*' + (row.sysCode || row.systemCode) + '*' + (row.sysName || row.systemName));
154340
154366
  }
@@ -154355,7 +154381,7 @@ var PAGE_INFO = {
154355
154381
  var _this = this;
154356
154382
  this.$nextTick(function () {
154357
154383
  var visitType = 1;
154358
- if (_this15.selectedRows.length > 0) visitType = _this.selectedRows[0].visitType;
154384
+ if (_this16.selectedRows.length > 0) visitType = _this.selectedRows[0].visitType;
154359
154385
  _this.$bus.emit('openResPermissionForm', ids, visitType, resEntityName, permissionCode, orgCode, sysCode);
154360
154386
  });
154361
154387
  },
@@ -154363,7 +154389,7 @@ var PAGE_INFO = {
154363
154389
  * 批量导出数据项SQL脚本文件
154364
154390
  */
154365
154391
  exportData: function exportData(tbName) {
154366
- var _this16 = this;
154392
+ var _this17 = this;
154367
154393
  var ids = this.getSelectedRows();
154368
154394
  if (this.pageInfo.total === 0) {
154369
154395
  this.$alert(this.emptyText, this.$tx('common.operationTip', '操作提示'), {
@@ -154395,7 +154421,7 @@ var PAGE_INFO = {
154395
154421
  });
154396
154422
  this.$bus.emit('openListitemDialog', this.$tx('ecwapp.DataTable.targetDatabase', '目标数据库'), dialectList, function (rst) {
154397
154423
  if (rst.code === 'success') {
154398
- _this16.$http({
154424
+ _this17.$http({
154399
154425
  method: 'post',
154400
154426
  params: {
154401
154427
  ids: ids.join(),
@@ -154405,9 +154431,9 @@ var PAGE_INFO = {
154405
154431
  url: 'base/codeGenerate/exportDataItemDbSql'
154406
154432
  }).then(function (res) {
154407
154433
  if (res.code === 'success') {
154408
- _this16.loadListdata();
154434
+ _this17.loadListdata();
154409
154435
  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', '操作提示'), {
154436
+ _this17.$alert(res.message + downloadUrl, _this17.$tx('common.operationTip', '操作提示'), {
154411
154437
  type: 'success',
154412
154438
  dangerouslyUseHTMLString: true,
154413
154439
  callback: function callback(action) {
@@ -154417,7 +154443,7 @@ var PAGE_INFO = {
154417
154443
  }
154418
154444
  });
154419
154445
  } else {
154420
- _this16.$alert(res.message, _this16.$tx('common.operationTip', '操作提示'), {
154446
+ _this17.$alert(res.message, _this17.$tx('common.operationTip', '操作提示'), {
154421
154447
  type: 'error'
154422
154448
  });
154423
154449
  }
@@ -154429,21 +154455,21 @@ var PAGE_INFO = {
154429
154455
  * 批量导出流程表单EXCEL文件
154430
154456
  */
154431
154457
  exportWform: function exportWform(filename, exportAll) {
154432
- var _this17 = this;
154458
+ var _this18 = this;
154433
154459
  return DataTable_srcvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/DataTable_srcvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
154434
154460
  var ids;
154435
154461
  return DataTable_srcvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
154436
154462
  while (1) switch (_context5.prev = _context5.next) {
154437
154463
  case 0:
154438
- ids = _this17.getSelectedRows();
154464
+ ids = _this18.getSelectedRows();
154439
154465
  new Promise(function (resolve, reject) {
154440
- if (_this17.pageInfo.total === 0) {
154441
- _this17.$alert(_this17.emptyText, _this17.$tx('common.operationTip', '操作提示'), {
154466
+ if (_this18.pageInfo.total === 0) {
154467
+ _this18.$alert(_this18.emptyText, _this18.$tx('common.operationTip', '操作提示'), {
154442
154468
  type: 'warning'
154443
154469
  });
154444
- reject(_this17.emptyText);
154470
+ reject(_this18.emptyText);
154445
154471
  } else if (ids.length === 0) {
154446
- _this17.$confirm(_this17.$tx('ecwapp.DataTable.exportTipText', '您是否确认要导出当前列表的全部数据?<br/>如果仅需导出部分数据,请先选择或通过搜索筛选。'), _this17.$tx('common.confirmOperate', '确认操作'), {
154472
+ _this18.$confirm(_this18.$tx('ecwapp.DataTable.exportTipText', '您是否确认要导出当前列表的全部数据?<br/>如果仅需导出部分数据,请先选择或通过搜索筛选。'), _this18.$tx('common.confirmOperate', '确认操作'), {
154447
154473
  type: 'warning',
154448
154474
  dangerouslyUseHTMLString: true
154449
154475
  }).then(function (res) {
@@ -154467,27 +154493,27 @@ var PAGE_INFO = {
154467
154493
  pageSize: 65000,
154468
154494
  pageNum: 1
154469
154495
  };
154470
- orderBy = _this17.pageInfo.orderBy || _this17.moduleInfo.listDefaultOrderBy;
154471
- reqParams.listpageId = _this17.moduleInfo.listpageId;
154472
- reqParams.listpageViewUrl = _this17.moduleInfo.listpageViewUrl;
154496
+ orderBy = _this18.pageInfo.orderBy || _this18.moduleInfo.listDefaultOrderBy;
154497
+ reqParams.listpageId = _this18.moduleInfo.listpageId;
154498
+ reqParams.listpageViewUrl = _this18.moduleInfo.listpageViewUrl;
154473
154499
  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('&');
154500
+ reqParams.searchAndOr = _this18.searchAndOr;
154501
+ reqParams.searchMap = _this18.searchMap;
154502
+ if (_this18.mode === 'listpage' && _this18.$route.meta.params !== undefined && _this18.$route.meta.params !== null) {
154503
+ params = _this18.$route.meta.params.split('&');
154478
154504
  params.forEach(function (param) {
154479
154505
  reqParams[param.split('=')[0]] = param.split('=')[1];
154480
154506
  });
154481
154507
  }
154482
154508
  _context4.next = 10;
154483
- return _this17.onListDataBeforeLoad(_this17, reqParams);
154509
+ return _this18.onListDataBeforeLoad(_this18, reqParams);
154484
154510
  case 10:
154485
154511
  urlsearch = reqParams.urlsearch;
154486
154512
  delete reqParams.urlsearch;
154487
154513
  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;
154514
+ url = "/apigw" + '/' + _this18.moduleInfo.listDataUrl.replace('listdata', 'exportdata').replace('listWfInstance', 'exportWfInstance').replace('joinListdata', 'joinExportdata');
154515
+ if (_this18.moduleInfo.exportDataUrl) {
154516
+ url = _this18.moduleInfo.exportDataUrl;
154491
154517
  }
154492
154518
  if (url.indexOf('?') === -1) {
154493
154519
  url += '?' + reqParams;
@@ -154495,7 +154521,7 @@ var PAGE_INFO = {
154495
154521
  url += '&' + reqParams;
154496
154522
  }
154497
154523
  exportCols = ''; // 只导出显示列
154498
- _this17.tbColumns.forEach(function (col) {
154524
+ _this18.tbColumns.forEach(function (col) {
154499
154525
  if (col.enabled || exportAll === 'true' || exportAll === true) exportCols += col.field + ',';
154500
154526
  });
154501
154527
  fileName = filename;
@@ -154503,8 +154529,8 @@ var PAGE_INFO = {
154503
154529
  if (document.querySelector('#breadcrumb-container')) {
154504
154530
  fileName = document.querySelector('#breadcrumb-container').innerText.replace('\r\n', '-').replace('\r', '-').replace('\n', '-');
154505
154531
  }
154506
- if (_this17.$route.meta.level === 4) {
154507
- fileName += '-' + _this17.$route.meta.title;
154532
+ if (_this18.$route.meta.level === 4) {
154533
+ fileName += '-' + _this18.$route.meta.title;
154508
154534
  }
154509
154535
  if (!fileName) {
154510
154536
  fileName = document.title;
@@ -154512,7 +154538,7 @@ var PAGE_INFO = {
154512
154538
  }
154513
154539
  url += '&fileName=' + encodeURI(encodeURI(fileName)) + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&exportCols=' + exportCols;
154514
154540
  if (ids.length > 10) {
154515
- _this17.$http({
154541
+ _this18.$http({
154516
154542
  method: 'post',
154517
154543
  contentType: 'application/json',
154518
154544
  data: {
@@ -154559,7 +154585,7 @@ var PAGE_INFO = {
154559
154585
  }))();
154560
154586
  },
154561
154587
  batchSaveAllFiles: function batchSaveAllFiles() {
154562
- var _this18 = this;
154588
+ var _this19 = this;
154563
154589
  this.$bus.emit('showDoingDialog', null, false);
154564
154590
  var orderBy = this.pageInfo.orderBy || this.moduleInfo.listDefaultOrderBy;
154565
154591
  this.setPageInfo(this.searchMap, this.searchAndOr, null, orderBy);
@@ -154597,29 +154623,29 @@ var PAGE_INFO = {
154597
154623
  var busiDataId = res.body.ids[i++];
154598
154624
  var isLast = i === total;
154599
154625
  if (typeof tozip === 'undefined') tozip = true;
154600
- _this18.$http({
154626
+ _this19.$http({
154601
154627
  method: 'post',
154602
154628
  params: {
154603
- module: _this18.moduleInfo.listDataUrl.split('/')[1],
154629
+ module: _this19.moduleInfo.listDataUrl.split('/')[1],
154604
154630
  dataKey: res.body.dataKey,
154605
154631
  webTempPath: res.body.webTempPath,
154606
154632
  busiDataId: busiDataId,
154607
154633
  isLast: isLast,
154608
154634
  tozip: tozip
154609
154635
  },
154610
- url: _this18.moduleInfo.listDataUrl.split('/')[0] + '/webForm/downloadFileToLocal'
154636
+ url: _this19.moduleInfo.listDataUrl.split('/')[0] + '/webForm/downloadFileToLocal'
154611
154637
  }).then(function (res2) {
154612
154638
  downloading = false;
154613
154639
  if (res.code === 'success') {
154614
154640
  if (isLast) {
154615
154641
  clearInterval(eventid);
154616
- _this18.$bus.emit('closeDoingDialog');
154617
- _this18.loadListdata();
154642
+ _this19.$bus.emit('closeDoingDialog');
154643
+ _this19.loadListdata();
154618
154644
  var downloadUrl = '<br/>下载文件:<a href="' + "/apigw" + '/' + encodeURI(res2.body.zipurl) + '" target="_blank">' + res2.body.zipname + '</a>';
154619
154645
  if (!tozip) {
154620
154646
  downloadUrl = '<br/>服务端文件路径:' + res2.body.filepath;
154621
154647
  }
154622
- _this18.$alert(res.message + downloadUrl, _this18.$tx('common.operationTip', '操作提示'), {
154648
+ _this19.$alert(res.message + downloadUrl, _this19.$tx('common.operationTip', '操作提示'), {
154623
154649
  type: 'success',
154624
154650
  dangerouslyUseHTMLString: true,
154625
154651
  callback: function callback(action) {
@@ -154629,21 +154655,21 @@ var PAGE_INFO = {
154629
154655
  }
154630
154656
  });
154631
154657
  } else {
154632
- _this18.$bus.emit('showDoingDialog', '正在打包待下载文件,共' + res.body.count + '份,当前第' + i + '份', false);
154658
+ _this19.$bus.emit('showDoingDialog', '正在打包待下载文件,共' + res.body.count + '份,当前第' + i + '份', false);
154633
154659
  }
154634
154660
  }
154635
154661
  });
154636
154662
  }
154637
154663
  }, 500);
154638
154664
  } else {
154639
- _this18.$alert(res.message, _this18.$tx('common.operationTip', '操作提示'), {
154665
+ _this19.$alert(res.message, _this19.$tx('common.operationTip', '操作提示'), {
154640
154666
  type: 'error'
154641
154667
  });
154642
154668
  }
154643
154669
  });
154644
154670
  },
154645
154671
  batchSaveFiles: function batchSaveFiles() {
154646
- var _this19 = this;
154672
+ var _this20 = this;
154647
154673
  var ids = this.getSelectedRows();
154648
154674
  if (ids.length === 0) {
154649
154675
  this.$alert(this.$tx('ecwapp.DataTable.downloadRow', '请选择需要批量下载的数据。'), this.$tx('common.operationTip', '操作提示'), {
@@ -154661,11 +154687,11 @@ var PAGE_INFO = {
154661
154687
  },
154662
154688
  url: url
154663
154689
  }).then(function (res) {
154664
- _this19.$bus.emit('closeDoingDialog');
154690
+ _this20.$bus.emit('closeDoingDialog');
154665
154691
  if (res.code === 'success') {
154666
- _this19.loadListdata();
154692
+ _this20.loadListdata();
154667
154693
  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', '操作提示'), {
154694
+ _this20.$alert(res.message + downloadUrl, _this20.$tx('common.operationTip', '操作提示'), {
154669
154695
  type: 'success',
154670
154696
  dangerouslyUseHTMLString: true,
154671
154697
  callback: function callback(action) {
@@ -154675,19 +154701,19 @@ var PAGE_INFO = {
154675
154701
  }
154676
154702
  });
154677
154703
  } else {
154678
- _this19.$alert(res.message, _this19.$tx('common.operationTip', '操作提示'), {
154704
+ _this20.$alert(res.message, _this20.$tx('common.operationTip', '操作提示'), {
154679
154705
  type: 'error'
154680
154706
  });
154681
154707
  }
154682
154708
  });
154683
154709
  },
154684
154710
  decryptData: function decryptData(row, model) {
154685
- var _this20 = this;
154711
+ var _this21 = this;
154686
154712
  this.$app.decryptData(row[model]).then(function (res) {
154687
154713
  if (res.code === 'success') {
154688
- _this20.$set(row, model, res.body.data);
154714
+ _this21.$set(row, model, res.body.data);
154689
154715
  } else {
154690
- _this20.$alert(res.message, {
154716
+ _this21.$alert(res.message, {
154691
154717
  type: 'error'
154692
154718
  });
154693
154719
  }
@@ -154697,9 +154723,9 @@ var PAGE_INFO = {
154697
154723
  });
154698
154724
  ;// CONCATENATED MODULE: ./packages/ecwapp/DataTable/src/index.vue?vue&type=script&lang=js
154699
154725
  /* 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
154726
+ // 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=09d60004&prod&lang=scss&scoped=true
154727
+ var srcvue_type_style_index_0_id_09d60004_prod_lang_scss_scoped_true = __webpack_require__(44128);
154728
+ ;// CONCATENATED MODULE: ./packages/ecwapp/DataTable/src/index.vue?vue&type=style&index=0&id=09d60004&prod&lang=scss&scoped=true
154703
154729
 
154704
154730
  ;// CONCATENATED MODULE: ./packages/ecwapp/DataTable/src/index.vue
154705
154731
 
@@ -154712,11 +154738,11 @@ var srcvue_type_style_index_0_id_0669bd3e_prod_lang_scss_scoped_true = __webpack
154712
154738
 
154713
154739
  var DataTable_src_component = (0,componentNormalizer/* default */.A)(
154714
154740
  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,
154741
+ srcvue_type_template_id_09d60004_scoped_true_render,
154742
+ srcvue_type_template_id_09d60004_scoped_true_staticRenderFns,
154717
154743
  false,
154718
154744
  null,
154719
- "0669bd3e",
154745
+ "09d60004",
154720
154746
  null
154721
154747
 
154722
154748
  )
@@ -155066,17 +155092,14 @@ DoingDialog_src.install = function (Vue) {
155066
155092
  Vue.component(DoingDialog_src.name, DoingDialog_src);
155067
155093
  };
155068
155094
  /* 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() {
155095
+ ;// 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
155096
+ var srcvue_type_template_id_2297e85a_scoped_true_render = function render() {
155071
155097
  var _vm = this,
155072
155098
  _c = _vm._self._c;
155073
155099
  return _c('div', {
155074
155100
  staticClass: "inner-app-container"
155075
155101
  }, [_c('div', {
155076
- staticClass: "inner-listpage-container",
155077
- on: {
155078
- "mouseup": _vm.onMouseup
155079
- }
155102
+ staticClass: "inner-listpage-container"
155080
155103
  }, [_vm.moduleInfo !== null ? _c('data-table', {
155081
155104
  ref: "innerListTable",
155082
155105
  attrs: {
@@ -155121,7 +155144,7 @@ var srcvue_type_template_id_1cbbd470_scoped_true_render = function render() {
155121
155144
  }], null, false, 2019936513)
155122
155145
  }) : _vm._e()], 1);
155123
155146
  };
155124
- var srcvue_type_template_id_1cbbd470_scoped_true_staticRenderFns = [];
155147
+ var srcvue_type_template_id_2297e85a_scoped_true_staticRenderFns = [];
155125
155148
 
155126
155149
  ;// 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
155150
  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 +155258,6 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155235
155258
  },
155236
155259
  updated: function updated() {},
155237
155260
  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
155261
  insertPageList: function insertPageList(list) {
155249
155262
  this.$refs.innerListTable.insertList(list);
155250
155263
  },
@@ -155315,7 +155328,7 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155315
155328
  }
155316
155329
  },
155317
155330
  createInnerListpage: function createInnerListpage() {
155318
- var _this3 = this;
155331
+ var _this2 = this;
155319
155332
  var _this = this;
155320
155333
  if (_this.loading) {
155321
155334
  return;
@@ -155347,7 +155360,7 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155347
155360
  tbColumns.splice(i--, 1);
155348
155361
  }
155349
155362
  }
155350
- if (_this3.formCanEdit === 1 && _this3.excludeFields.indexOf('column_operate') === -1) {
155363
+ if (_this2.formCanEdit === 1 && _this2.excludeFields.indexOf('column_operate') === -1) {
155351
155364
  tbColumns[tbColumns.length] = {
155352
155365
  field: 'column_operate',
155353
155366
  title: '操作',
@@ -155356,7 +155369,7 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155356
155369
  valign: 'middle'
155357
155370
  };
155358
155371
  var toolbarBtns = JSON.parse(listpageInfo.listToolBtns);
155359
- var parentVue = _this3.$vnode.context;
155372
+ var parentVue = _this2.$vnode.context;
155360
155373
  var columnHeaderBtn = toolbarBtns.filter(function (btn) {
155361
155374
  if (btn.btnType === 'columnHeaderBtn') {
155362
155375
  btn.btnType = 'tbheader';
@@ -155364,16 +155377,16 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155364
155377
  }
155365
155378
  });
155366
155379
  for (var _i = 0; _i < toolbarBtns.length; _i++) {
155367
- if (!_this3.showToolbar) {
155380
+ if (!_this2.showToolbar) {
155368
155381
  // 不显示列表右上操作按钮,把“新增”按钮显示在“操作”列表头中
155369
- if (columnHeaderBtn.length === 0 && toolbarBtns[_i].btnType === 'toolbar' && toolbarBtns[_i].id === 'btn_add' && _this3.canAdd !== 0) {
155382
+ if (columnHeaderBtn.length === 0 && toolbarBtns[_i].btnType === 'toolbar' && toolbarBtns[_i].id === 'btn_add' && _this2.canAdd !== 0) {
155370
155383
  toolbarBtns[_i].btnType = 'tbheader';
155371
155384
  } else if (toolbarBtns[_i].btnType !== 'column' && toolbarBtns[_i].btnType !== 'tbheader') {
155372
155385
  toolbarBtns.splice(_i--, 1);
155373
155386
  if (_i < 0) _i = 0;
155374
155387
  } else if (toolbarBtns[_i].btnType === 'column') {
155375
155388
  // 操作列只显示新增、删除
155376
- if (!_this3.canEdit && toolbarBtns[_i].btnPermission === 'editObject' || !_this3.canDelete && toolbarBtns[_i].btnPermission === 'deleteIds') {
155389
+ if (!_this2.canEdit && toolbarBtns[_i].btnPermission === 'editObject' || !_this2.canDelete && toolbarBtns[_i].btnPermission === 'deleteIds') {
155377
155390
  toolbarBtns.splice(_i--, 1);
155378
155391
  if (_i < 0) _i = 0;
155379
155392
  }
@@ -155392,15 +155405,15 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155392
155405
  btnParams = btnParams.replace(/'/g, '').split(',');
155393
155406
  toolbarBtns[_i].btnParams = btnParams;
155394
155407
  }
155395
- toolbarBtns[_i].cloumHeaderBtnClick = _this3.onCloumHeaderBtnClick;
155408
+ toolbarBtns[_i].cloumHeaderBtnClick = _this2.onCloumHeaderBtnClick;
155396
155409
  }
155397
155410
  if (typeof parentVue[btnClick.split('(')[0]] === 'function') {
155398
155411
  toolbarBtns[_i].btnClick = parentVue[btnClick.split('(')[0]];
155399
155412
  }
155400
155413
  }
155401
- if (_this3.inLineEdit !== 0) {
155414
+ if (_this2.inLineEdit !== 0) {
155402
155415
  var btnArray = [];
155403
- if (_this3.canEdit === 1 || _this3.canEdit === true) {
155416
+ if (_this2.canEdit === 1 || _this2.canEdit === true) {
155404
155417
  btnArray.push({
155405
155418
  btnClick: 'innerSave(row)',
155406
155419
  btnIcon: '',
@@ -155411,7 +155424,7 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155411
155424
  btnI18nCode: 'save'
155412
155425
  });
155413
155426
  }
155414
- if (_this3.canDelete === 1 || _this3.canDelete === true) {
155427
+ if (_this2.canDelete === 1 || _this2.canDelete === true) {
155415
155428
  btnArray.push({
155416
155429
  btnClick: 'deleteIds(row.id);',
155417
155430
  btnIcon: '',
@@ -155482,7 +155495,6 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155482
155495
  return parentId;
155483
155496
  },
155484
155497
  onListDataBeforeLoad: function onListDataBeforeLoad($scope, qparams) {
155485
- var _this4 = this;
155486
155498
  //urrsearch指定子数据筛选条件
155487
155499
  var parentId = this.getChildDataParentId();
155488
155500
  if (parentId !== null && parentId !== undefined) {
@@ -155504,28 +155516,13 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155504
155516
  if (this.$vnode.context.onInnerTableListDataBeforeLoad) {
155505
155517
  this.$vnode.context.onInnerTableListDataBeforeLoad($scope, qparams);
155506
155518
  }
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
155519
  },
155515
155520
  onListDataLoaded: function onListDataLoaded($scope, pageInfo) {
155516
- var _this5 = this;
155517
155521
  if (false) {}
155518
155522
  this.$vnode.context.innerListData = pageInfo.list;
155519
155523
  if (this.$vnode.context.onInnerTableListDataLoaded) {
155520
155524
  this.$vnode.context.onInnerTableListDataLoaded($scope, pageInfo);
155521
155525
  }
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
155526
  },
155530
155527
  onCloumHeaderBtnClick: function onCloumHeaderBtnClick(btn) {
155531
155528
  if (btn.btnParams !== null) {
@@ -155535,12 +155532,12 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155535
155532
  }
155536
155533
  },
155537
155534
  onBasicFormBeforeOpen: function onBasicFormBeforeOpen($scope, vo, defer) {
155538
- var _this6 = this;
155535
+ var _this3 = this;
155539
155536
  this.setFormToolbarBtns($scope.canEdit);
155540
155537
  new Promise(function (resolve, reject) {
155541
- if (_this6.$vnode.context.onInnerFormBeforeOpen) {
155542
- $scope.innerModuleInfo = _this6.moduleInfo;
155543
- _this6.$vnode.context.onInnerFormBeforeOpen($scope, vo, {
155538
+ if (_this3.$vnode.context.onInnerFormBeforeOpen) {
155539
+ $scope.innerModuleInfo = _this3.moduleInfo;
155540
+ _this3.$vnode.context.onInnerFormBeforeOpen($scope, vo, {
155544
155541
  resolve: resolve,
155545
155542
  reject: reject
155546
155543
  });
@@ -155550,11 +155547,11 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155550
155547
  }).then(function (result) {
155551
155548
  if (result) {
155552
155549
  console.log($scope.moduleInfo.moduleCode + ' form before open');
155553
- if ($scope.moduleInfo.formTitle) _this6.formTitle = $scope.moduleInfo.formTitle;
155550
+ if ($scope.moduleInfo.formTitle) _this3.formTitle = $scope.moduleInfo.formTitle;
155554
155551
  // 新增子表 打开表单
155555
- var formurl = _this6.moduleInfo.formTemplate;
155552
+ var formurl = _this3.moduleInfo.formTemplate;
155556
155553
  if (formurl.indexOf('@/') === -1 || formurl.indexOf('dcontent') > -1) {
155557
- formurl = _this6.moduleInfo.formTemplate.split('url=')[1];
155554
+ formurl = _this3.moduleInfo.formTemplate.split('url=')[1];
155558
155555
  formurl = formurl.replace(/\//g, '.');
155559
155556
  formurl = '#/dcontent/vuebusiform/W/' + formurl.substring(1).replace('.html', '.vue');
155560
155557
  formurl += '?openMode=innerTable';
@@ -155566,20 +155563,20 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155566
155563
  formurl += '&sysCode=' + $scope.wfInstance.sysCode;
155567
155564
  }
155568
155565
  }
155569
- _this6.$options.components['BusiForm'] = _this6.$loadComponent(formurl);
155566
+ _this3.$options.components['BusiForm'] = _this3.$loadComponent(formurl);
155570
155567
  var parentId = null;
155571
- var parent = _this6.$vnode.context;
155568
+ var parent = _this3.$vnode.context;
155572
155569
  if (parent.vo) {
155573
155570
  parentId = parent.vo.id;
155574
155571
  }
155575
155572
  if (parentId !== null && parentId !== undefined) {
155576
- if (_this6.linkPropName === undefined || _this6.linkPropName === null) {
155573
+ if (_this3.linkPropName === undefined || _this3.linkPropName === null) {
155577
155574
  vo.parentId = parentId;
155578
155575
  } else {
155579
- vo[_this6.linkPropName] = parentId;
155576
+ vo[_this3.linkPropName] = parentId;
155580
155577
  }
155581
155578
  }
155582
- _this6.formVo = vo;
155579
+ _this3.formVo = vo;
155583
155580
  defer.resolve(true);
155584
155581
  } else {
155585
155582
  defer.resolve(false);
@@ -155592,10 +155589,10 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155592
155589
  this.setFormToolbarBtns($scope.canEdit);
155593
155590
  },
155594
155591
  onBasicFormBeforeSubmit: function onBasicFormBeforeSubmit($scope, vo, defer) {
155595
- var _this7 = this;
155592
+ var _this4 = this;
155596
155593
  new Promise(function (resolve, reject) {
155597
- if (_this7.$vnode.context.onInnerBasicFormBeforeSubmit) {
155598
- _this7.$vnode.context.onInnerBasicFormBeforeSubmit($scope, vo, {
155594
+ if (_this4.$vnode.context.onInnerBasicFormBeforeSubmit) {
155595
+ _this4.$vnode.context.onInnerBasicFormBeforeSubmit($scope, vo, {
155599
155596
  resolve: resolve,
155600
155597
  reject: reject
155601
155598
  });
@@ -155616,9 +155613,9 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155616
155613
  });
155617
155614
  ;// CONCATENATED MODULE: ./packages/ecwapp/InnerTable/src/index.vue?vue&type=script&lang=js
155618
155615
  /* 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
155616
+ // 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
155617
+ var srcvue_type_style_index_0_id_2297e85a_prod_scoped_true_lang_scss = __webpack_require__(23770);
155618
+ ;// CONCATENATED MODULE: ./packages/ecwapp/InnerTable/src/index.vue?vue&type=style&index=0&id=2297e85a&prod&scoped=true&lang=scss
155622
155619
 
155623
155620
  ;// CONCATENATED MODULE: ./packages/ecwapp/InnerTable/src/index.vue
155624
155621
 
@@ -155631,11 +155628,11 @@ var srcvue_type_style_index_0_id_1cbbd470_prod_scoped_true_lang_scss = __webpack
155631
155628
 
155632
155629
  var InnerTable_src_component = (0,componentNormalizer/* default */.A)(
155633
155630
  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,
155631
+ srcvue_type_template_id_2297e85a_scoped_true_render,
155632
+ srcvue_type_template_id_2297e85a_scoped_true_staticRenderFns,
155636
155633
  false,
155637
155634
  null,
155638
- "1cbbd470",
155635
+ "2297e85a",
155639
155636
  null
155640
155637
 
155641
155638
  )