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.
@@ -9054,6 +9054,12 @@ function generateTitle(meta, $scope, moduleCode, i18npkg, variables) {
9054
9054
  // debugger
9055
9055
  }
9056
9056
  $scope = $scope || this;
9057
+ if ($scope.$i18n && $scope.$i18n.locale === 'zhCN') {
9058
+ //中文,按钮,忽略语言包
9059
+ if (meta.btnName) {
9060
+ return meta.btnName;
9061
+ }
9062
+ }
9057
9063
  if (meta.i18nCode && $scope.$te(meta.i18nCode)) {
9058
9064
  return $scope.$t(meta.i18nCode, variables);
9059
9065
  }
@@ -41896,7 +41902,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".list-border .more-btn-drop{padding:10
41896
41902
 
41897
41903
  /***/ }),
41898
41904
 
41899
- /***/ 8198:
41905
+ /***/ 99782:
41900
41906
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
41901
41907
 
41902
41908
  "use strict";
@@ -41910,7 +41916,7 @@ __webpack_require__.r(__webpack_exports__);
41910
41916
 
41911
41917
  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()));
41912
41918
  // Module
41913
- ___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}", ""]);
41919
+ ___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}", ""]);
41914
41920
  // Exports
41915
41921
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
41916
41922
 
@@ -41938,7 +41944,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-45d3134b] .el-dialog__headerbt
41938
41944
 
41939
41945
  /***/ }),
41940
41946
 
41941
- /***/ 54500:
41947
+ /***/ 8264:
41942
41948
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
41943
41949
 
41944
41950
  "use strict";
@@ -41952,7 +41958,7 @@ __webpack_require__.r(__webpack_exports__);
41952
41958
 
41953
41959
  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()));
41954
41960
  // Module
41955
- ___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}", ""]);
41961
+ ___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}", ""]);
41956
41962
  // Exports
41957
41963
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
41958
41964
 
@@ -134654,19 +134660,19 @@ var update = add("70a31239", content, true, {"sourceMap":false,"shadowMode":fals
134654
134660
 
134655
134661
  /***/ }),
134656
134662
 
134657
- /***/ 77226:
134663
+ /***/ 19762:
134658
134664
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
134659
134665
 
134660
134666
  // style-loader: Adds some css to the DOM by adding a <style> tag
134661
134667
 
134662
134668
  // load the styles
134663
- var content = __webpack_require__(8198);
134669
+ var content = __webpack_require__(99782);
134664
134670
  if(content.__esModule) content = content.default;
134665
134671
  if(typeof content === 'string') content = [[module.id, content, '']];
134666
134672
  if(content.locals) module.exports = content.locals;
134667
134673
  // add the styles to the DOM
134668
134674
  var add = (__webpack_require__(99548)/* ["default"] */ .A)
134669
- var update = add("095a7dce", content, true, {"sourceMap":false,"shadowMode":false});
134675
+ var update = add("53cd89d7", content, true, {"sourceMap":false,"shadowMode":false});
134670
134676
 
134671
134677
  /***/ }),
134672
134678
 
@@ -134686,19 +134692,19 @@ var update = add("29461791", content, true, {"sourceMap":false,"shadowMode":fals
134686
134692
 
134687
134693
  /***/ }),
134688
134694
 
134689
- /***/ 58592:
134695
+ /***/ 66756:
134690
134696
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
134691
134697
 
134692
134698
  // style-loader: Adds some css to the DOM by adding a <style> tag
134693
134699
 
134694
134700
  // load the styles
134695
- var content = __webpack_require__(54500);
134701
+ var content = __webpack_require__(8264);
134696
134702
  if(content.__esModule) content = content.default;
134697
134703
  if(typeof content === 'string') content = [[module.id, content, '']];
134698
134704
  if(content.locals) module.exports = content.locals;
134699
134705
  // add the styles to the DOM
134700
134706
  var add = (__webpack_require__(99548)/* ["default"] */ .A)
134701
- var update = add("33efa2a1", content, true, {"sourceMap":false,"shadowMode":false});
134707
+ var update = add("27f164c3", content, true, {"sourceMap":false,"shadowMode":false});
134702
134708
 
134703
134709
  /***/ }),
134704
134710
 
@@ -150480,8 +150486,8 @@ TaskItemTypeTree.install = function (Vue) {
150480
150486
  };
150481
150487
  var BatchProcessing = BatchProcessing_src;
150482
150488
  var BatchProcessing_TaskItemTypeTree = TaskItemTypeTree;
150483
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
150484
- var srcvue_type_template_id_0669bd3e_scoped_true_render = function render() {
150489
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
150490
+ var srcvue_type_template_id_09d60004_scoped_true_render = function render() {
150485
150491
  var _vm = this,
150486
150492
  _c = _vm._self._c;
150487
150493
  return _c('div', {
@@ -150808,7 +150814,7 @@ var srcvue_type_template_id_0669bd3e_scoped_true_render = function render() {
150808
150814
  }
150809
150815
  })], 1) : _vm._e(), _vm.showResPermission ? _c('ResPermission') : _vm._e(), _vm._t("default"), _c('DoingDialog')], 2);
150810
150816
  };
150811
- var srcvue_type_template_id_0669bd3e_scoped_true_staticRenderFns = [];
150817
+ var srcvue_type_template_id_09d60004_scoped_true_staticRenderFns = [];
150812
150818
 
150813
150819
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
150814
150820
  var TableColumnvue_type_template_id_91f5eb56_scoped_true_render = function render() {
@@ -153194,6 +153200,7 @@ var PAGE_INFO = {
153194
153200
  },
153195
153201
  beforeDestroy: function beforeDestroy() {
153196
153202
  this.$bus.off('refreshListData', this.refreshListData);
153203
+ window.removeEventListener('resize', this.setOperateColumn);
153197
153204
  },
153198
153205
  mounted: function mounted() {
153199
153206
  var _this2 = this;
@@ -153231,9 +153238,44 @@ var PAGE_INFO = {
153231
153238
  }
153232
153239
  }
153233
153240
  this.loadListdata();
153241
+ window.addEventListener('resize', this.setOperateColumn);
153234
153242
  },
153235
153243
  updated: function updated() {},
153236
153244
  methods: {
153245
+ setOperateColumn: function setOperateColumn() {
153246
+ var _this3 = this;
153247
+ if (this.tableStyle !== 1) return;
153248
+ var wapper = this.$el.querySelector('.el-table__body-wrapper');
153249
+ var tbBody = this.$el.querySelector('.el-table__body');
153250
+ if (wapper) {
153251
+ var operateCols = this.tbColumns.filter(function (col, index) {
153252
+ if (col.field === 'column_operate') {
153253
+ col.index = index;
153254
+ return true;
153255
+ }
153256
+ });
153257
+ if (operateCols.length > 0) {
153258
+ if (wapper.clientWidth < tbBody.clientWidth) {
153259
+ if (operateCols[0].fixed === undefined || operateCols[0].fixed === null) {
153260
+ operateCols[0].fixed = 'right';
153261
+ if ((operateCols[0].className || '').indexOf(' is-fixed') === -1) {
153262
+ operateCols[0].className = (operateCols[0].className || '') + ' is-fixed';
153263
+ }
153264
+ }
153265
+ } else {
153266
+ operateCols[0].fixed = null;
153267
+ operateCols[0].className = (operateCols[0].className || '').replace(' is-fixed', '');
153268
+ }
153269
+ this.tbColumns.splice(operateCols[0].index, 1, operateCols[0]);
153270
+ setTimeout(function () {
153271
+ var fixedRight = _this3.$el.querySelector('.el-table__fixed-right');
153272
+ if (fixedRight) {
153273
+ fixedRight.style.minHeight = _this3.$el.querySelector('.el-table__header').clientHeight + _this3.$el.querySelector('.el-table__body').clientHeight - 0.5 + 'px';
153274
+ }
153275
+ }, 100);
153276
+ }
153277
+ }
153278
+ },
153237
153279
  tableRowClassName: function tableRowClassName(_ref) {
153238
153280
  var row = _ref.row,
153239
153281
  rowIndex = _ref.rowIndex;
@@ -153299,10 +153341,10 @@ var PAGE_INFO = {
153299
153341
  this.tableStyle = tableStyle;
153300
153342
  },
153301
153343
  customComponent: function customComponent(list) {
153302
- var _this3 = this;
153344
+ var _this4 = this;
153303
153345
  list.forEach(function (item) {
153304
153346
  if (item.components.indexOf('component:') > -1) {
153305
- _this3.$options.components['card_' + item.value] = _this3.$loadComponent(item.components.split('component:')[1]);
153347
+ _this4.$options.components['card_' + item.value] = _this4.$loadComponent(item.components.split('component:')[1]);
153306
153348
  item.widget = 'card_' + item.value;
153307
153349
  }
153308
153350
  });
@@ -153346,44 +153388,44 @@ var PAGE_INFO = {
153346
153388
  }
153347
153389
  },
153348
153390
  cardCellClick: function cardCellClick(row) {
153349
- var _this4 = this;
153391
+ var _this5 = this;
153350
153392
  new Promise(function (resolve, reject) {
153351
- if (_this4.onCellDblclick) {
153352
- if (_this4.clickTime) {
153353
- clearTimeout(_this4.clickTime);
153393
+ if (_this5.onCellDblclick) {
153394
+ if (_this5.clickTime) {
153395
+ clearTimeout(_this5.clickTime);
153354
153396
  }
153355
- _this4.clickTime = setTimeout(function () {
153397
+ _this5.clickTime = setTimeout(function () {
153356
153398
  resolve(true);
153357
153399
  }, 300);
153358
153400
  } else {
153359
153401
  resolve(true);
153360
153402
  }
153361
153403
  }).then(function (result) {
153362
- if (_this4.onCellClick !== null) {
153363
- _this4.onCellClick(row);
153404
+ if (_this5.onCellClick !== null) {
153405
+ _this5.onCellClick(row);
153364
153406
  } else {
153365
- if (_this4.moduleInfo.openViewType === '1') {
153366
- var moduleInfo = _this4.moduleInfo;
153407
+ if (_this5.moduleInfo.openViewType === '1') {
153408
+ var moduleInfo = _this5.moduleInfo;
153367
153409
  moduleInfo.addNew = false;
153368
- var formUrl = _this4.moduleInfo.busiFormTemplate ? _this4.moduleInfo.busiFormTemplate : '';
153369
- var innerUrl = _this4.moduleInfo.busiTabFormTabTemplate ? _this4.moduleInfo.busiTabFormTabTemplate : '';
153410
+ var formUrl = _this5.moduleInfo.busiFormTemplate ? _this5.moduleInfo.busiFormTemplate : '';
153411
+ var innerUrl = _this5.moduleInfo.busiTabFormTabTemplate ? _this5.moduleInfo.busiTabFormTabTemplate : '';
153370
153412
  var edit = true;
153371
- if (_this4.operateColumnBtns.length > 0) {
153372
- edit = !_this4.operateColumnBtns.some(function (item) {
153413
+ if (_this5.operateColumnBtns.length > 0) {
153414
+ edit = !_this5.operateColumnBtns.some(function (item) {
153373
153415
  return item.id.indexOf('btn_edit') > -1;
153374
153416
  });
153375
153417
  }
153376
153418
  var title = localStorage.getItem('setSysMenuName');
153377
- var busiInfo = _this4.$vnode.context.formTitle;
153378
- 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 || ''));
153419
+ var busiInfo = _this5.$vnode.context.formTitle;
153420
+ 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 || ''));
153379
153421
  } else {
153380
- _this4.$bus.emit('openBusiform', _this4.moduleInfo, row, 0);
153422
+ _this5.$bus.emit('openBusiform', _this5.moduleInfo, row, 0);
153381
153423
  }
153382
153424
  }
153383
153425
  });
153384
153426
  },
153385
153427
  checkBtnPermission: function checkBtnPermission() {
153386
- var _this5 = this;
153428
+ var _this6 = this;
153387
153429
  var _this = this;
153388
153430
  var checkedPermission = {};
153389
153431
  this.toolbarBtns.forEach( /*#__PURE__*/function () {
@@ -153397,7 +153439,7 @@ var PAGE_INFO = {
153397
153439
  } else {
153398
153440
  btn.btnI18nCode = btn.btnI18nCode || (btn.btnPermission || btn.id || btn.btnIcon || btn.btnName).replace('btn_', '').replace('Ids', '').replace('Object', '');
153399
153441
  }
153400
- btn.btnName = _this5.$i18n.generateTitle(btn, _this5.$vnode.context);
153442
+ btn.btnName = _this6.$i18n.generateTitle(btn, _this6.$vnode.context);
153401
153443
  if (!(_this.mode === 'design')) {
153402
153444
  _context.next = 6;
153403
153445
  break;
@@ -153425,7 +153467,7 @@ var PAGE_INFO = {
153425
153467
  break;
153426
153468
  case 13:
153427
153469
  _context.next = 15;
153428
- return _this5.$store.dispatch('user/hasPermission', {
153470
+ return _this6.$store.dispatch('user/hasPermission', {
153429
153471
  href: _this.$route.meta.href,
153430
153472
  pcode: pcode
153431
153473
  });
@@ -153474,7 +153516,7 @@ var PAGE_INFO = {
153474
153516
  }
153475
153517
  },
153476
153518
  initTbColumns: function initTbColumns() {
153477
- var _this6 = this;
153519
+ var _this7 = this;
153478
153520
  var _this = this;
153479
153521
  this.listEdit = this.$vnode.context.formCanEdit;
153480
153522
  var mergeColumns = [];
@@ -153497,24 +153539,26 @@ var PAGE_INFO = {
153497
153539
  } else {
153498
153540
  column.propFormatter = '';
153499
153541
  }
153500
- if (!_this6.showOverflowTooltip) {
153542
+ if (!_this7.showOverflowTooltip) {
153501
153543
  column.className = (column.className || '') + ' close-tooltip';
153502
153544
  }
153503
153545
  if (column.fixed === 'right' || column.fixed === 'left') {
153504
- column.className = (column.className || '') + ' is-fixed';
153546
+ if ((column.className || '').indexOf(' is-fixed') === -1) {
153547
+ column.className = (column.className || '') + ' is-fixed';
153548
+ }
153505
153549
  } else if (column.field === 'column_operate' && (column.fixed === undefined || column.fixed === null)) {
153506
153550
  //column.fixed = 'right'
153507
153551
  //column.className = (column.className || '') + ' is-fixed'
153508
153552
  } else {
153509
153553
  column.fixed = false;
153510
153554
  }
153511
- column.title = (_this6.$i18n.generateTitle(column, _this6) || '').trim();
153555
+ column.title = (_this7.$i18n.generateTitle(column, _this7) || '').trim();
153512
153556
  var colFormater = column.propFormatter || column.elementFormatter;
153513
153557
  if (!colFormater) colFormater = column.elementFormatter || '';
153514
153558
  if (column.field === 'state' && column.title === '') {
153515
153559
  column.width = '45px';
153516
153560
  } else if (column.field === 'index') {
153517
- if (_this6.lazyLoadRowChildren) {
153561
+ if (_this7.lazyLoadRowChildren) {
153518
153562
  column.width = '60px';
153519
153563
  } else {
153520
153564
  column.width = '50px';
@@ -153536,20 +153580,20 @@ var PAGE_INFO = {
153536
153580
  if (!colFormater) colFormater = 'yyyy-MM-dd HH:mm:ss'; // Date类型未设置formatter,默认格式
153537
153581
  if (colFormater.indexOf('yyyy') !== -1 && colFormater.indexOf('HH') === -1 && colFormater.indexOf('mm') === -1) {
153538
153582
  // 包含年月日,不包含时分秒
153539
- if (column.sortable && colFormater.indexOf('yyyy年') !== -1 && parseInt(column.width) < _this6.calculateNewWidth(150, uiFontSize, 'judge')) {
153540
- column.width = _this6.calculateNewWidth(150, uiFontSize);
153541
- } else if (column.sortable && parseInt(column.width) < _this6.calculateNewWidth(120, uiFontSize, 'judge')) {
153542
- column.width = _this6.calculateNewWidth(120, uiFontSize);
153583
+ if (column.sortable && colFormater.indexOf('yyyy年') !== -1 && parseInt(column.width) < _this7.calculateNewWidth(150, uiFontSize, 'judge')) {
153584
+ column.width = _this7.calculateNewWidth(150, uiFontSize);
153585
+ } else if (column.sortable && parseInt(column.width) < _this7.calculateNewWidth(120, uiFontSize, 'judge')) {
153586
+ column.width = _this7.calculateNewWidth(120, uiFontSize);
153543
153587
  }
153544
153588
  } else if (colFormater.indexOf('yyyy') !== -1 && colFormater.indexOf('HH') !== -1 && colFormater.indexOf('ss') !== -1) {
153545
153589
  // 包含年月日,时分秒
153546
- if (column.sortable && parseInt(column.width) < _this6.calculateNewWidth(180, uiFontSize, 'judge')) {
153547
- column.width = _this6.calculateNewWidth(180, uiFontSize);
153590
+ if (column.sortable && parseInt(column.width) < _this7.calculateNewWidth(180, uiFontSize, 'judge')) {
153591
+ column.width = _this7.calculateNewWidth(180, uiFontSize);
153548
153592
  }
153549
153593
  } else if (colFormater.indexOf('yyyy') !== -1 && colFormater.indexOf('HH') !== -1 && colFormater.indexOf('mm') !== -1) {
153550
153594
  // 包含年月日,时分秒
153551
- if (column.sortable && parseInt(column.width) < _this6.calculateNewWidth(150, uiFontSize, 'judge')) {
153552
- column.width = _this6.calculateNewWidth(150, uiFontSize);
153595
+ if (column.sortable && parseInt(column.width) < _this7.calculateNewWidth(150, uiFontSize, 'judge')) {
153596
+ column.width = _this7.calculateNewWidth(150, uiFontSize);
153553
153597
  }
153554
153598
  }
153555
153599
  } else if (/^[\u4e00-\u9fff]+$/.test(column.title)) {
@@ -153559,7 +153603,7 @@ var PAGE_INFO = {
153559
153603
  column.width = '90px';
153560
153604
  }
153561
153605
  }
153562
- if (_this6.isInlineEdit !== 0) {
153606
+ if (_this7.isInlineEdit !== 0) {
153563
153607
  if (column.listAdvSearchElement === 'staffDlg') {
153564
153608
  column.staffDlg = true;
153565
153609
  } else if (column.listAdvSearchElement === 'suborg2Dlg') {
@@ -153628,7 +153672,7 @@ var PAGE_INFO = {
153628
153672
  mergeColumns.forEach(function (mergeCol) {
153629
153673
  var subColumns = mergeCol.propFormatter.split(':')[1].split(',');
153630
153674
  mergeCol.children = [];
153631
- _this6.tbColumns.forEach(function (col) {
153675
+ _this7.tbColumns.forEach(function (col) {
153632
153676
  if (subColumns.indexOf(col.field) !== -1) {
153633
153677
  mergeCol.children.push(col);
153634
153678
  col.isChild = 1;
@@ -153660,7 +153704,7 @@ var PAGE_INFO = {
153660
153704
  this.loadListdata(searchMap, searchAndOr, customBtnVal);
153661
153705
  },
153662
153706
  loadListdata: function loadListdata(searchMap, searchAndOr, customBtnVal, moduleCode) {
153663
- var _this7 = this;
153707
+ var _this8 = this;
153664
153708
  if (moduleCode && this.moduleInfo.moduleCode !== moduleCode) return;
153665
153709
  var _this = this;
153666
153710
  this.emptyText = '';
@@ -153704,51 +153748,51 @@ var PAGE_INFO = {
153704
153748
  _this.setPageInfo(searchMap, searchAndOr, customBtnVal, orderBy);
153705
153749
  _this.$app.listdata(this.moduleInfo.listDataUrl, _this.pageInfo).then(function (res) {
153706
153750
  if (res.code === 'success') {
153707
- _this7.pageInfo.list = [];
153708
- _this7.$nextTick(function () {
153751
+ _this8.pageInfo.list = [];
153752
+ _this8.$nextTick(function () {
153709
153753
  var pageInfo = res.body.pageInfo;
153710
153754
  pageInfo.orderBy = orderBy;
153711
153755
  pageInfo.passenger = res.body.passenger;
153712
- _this7.onListDataLoaded(_this7, pageInfo);
153713
- _this7.pageInfo = pageInfo;
153714
- _this7.emptyText = _this7.$tx('common.noData', '暂无数据');
153715
- _this7.loadingMast.close();
153716
- _this7.loading = false;
153717
- if (_this7.$route.meta && !_this7.moduleInfo.disableCache) {
153756
+ _this8.onListDataLoaded(_this8, pageInfo);
153757
+ _this8.pageInfo = pageInfo;
153758
+ _this8.emptyText = _this8.$tx('common.noData', '暂无数据');
153759
+ _this8.loadingMast.close();
153760
+ _this8.loading = false;
153761
+ if (_this8.$route.meta && !_this8.moduleInfo.disableCache) {
153718
153762
  var view = {
153719
- fullPath: _this7.$route.fullPath,
153720
- pageInfo: _this7.pageInfo,
153721
- listDataUrl: _this7.moduleInfo.listDataUrl
153763
+ fullPath: _this8.$route.fullPath,
153764
+ pageInfo: _this8.pageInfo,
153765
+ listDataUrl: _this8.moduleInfo.listDataUrl
153722
153766
  };
153723
- _this7.$store.dispatch('tagsView/updateVisitedView', view);
153767
+ _this8.$store.dispatch('tagsView/updateVisitedView', view);
153724
153768
  }
153725
- _this7.$bus.emit('setTabFileCount');
153726
- _this7.$nextTick(function () {
153727
- _this7.setScrollPosition();
153728
- _this7.setStyleSelectAll();
153729
- for (var key in _this7.selectedAllRows) {
153730
- _this7.selectedAllRows[key].forEach(function (data) {
153731
- var item = _this7.$refs.listpageDataTable.data.filter(function (dataitem) {
153769
+ _this8.$bus.emit('setTabFileCount');
153770
+ _this8.$nextTick(function () {
153771
+ _this8.setScrollPosition();
153772
+ _this8.setStyleSelectAll();
153773
+ for (var key in _this8.selectedAllRows) {
153774
+ _this8.selectedAllRows[key].forEach(function (data) {
153775
+ var item = _this8.$refs.listpageDataTable.data.filter(function (dataitem) {
153732
153776
  return dataitem.id === data.id;
153733
153777
  });
153734
153778
  if (item.length > 0) {
153735
- _this7.$refs.listpageDataTable.toggleRowSelection(item[0]);
153779
+ _this8.$refs.listpageDataTable.toggleRowSelection(item[0]);
153736
153780
  }
153737
153781
  });
153738
153782
  }
153739
- if (_this7.mode === 'innerTable') {
153740
- _this7.$bus.emit('setSubmitSidebarHeight');
153783
+ if (_this8.mode === 'innerTable') {
153784
+ _this8.$bus.emit('setSubmitSidebarHeight');
153741
153785
  }
153742
- _this7.setOperateColumn();
153786
+ _this8.setOperateColumn();
153743
153787
  });
153744
153788
  });
153745
153789
  } else {
153746
- _this7.$alert(res.message, _this7.$tx('common.operationTip', '操作提示'), {
153790
+ _this8.$alert(res.message, _this8.$tx('common.operationTip', '操作提示'), {
153747
153791
  type: 'error'
153748
153792
  });
153749
- _this7.emptyText = _this7.$tx('common.noData', '暂无数据');
153750
- _this7.loadingMast.close();
153751
- _this7.loading = false;
153793
+ _this8.emptyText = _this8.$tx('common.noData', '暂无数据');
153794
+ _this8.loadingMast.close();
153795
+ _this8.loading = false;
153752
153796
  }
153753
153797
  });
153754
153798
  },
@@ -153813,24 +153857,6 @@ var PAGE_INFO = {
153813
153857
  }
153814
153858
  }
153815
153859
  },
153816
- setOperateColumn: function setOperateColumn() {
153817
- if (this.tableStyle === 1) {
153818
- var operateCol = this.tbColumns.filter(function (column) {
153819
- return column.field === 'column_operate' && column.enabled;
153820
- });
153821
- if (operateCol && operateCol.length > 0) {
153822
- var scrollnone = this.$el.querySelector('.is-scrolling-none');
153823
- if (!scrollnone) {
153824
- //出现了滚动条,将操作列设置为固定右侧
153825
- operateCol[0].fixed = 'right';
153826
- operateCol[0].className = (operateCol[0].className || '') + ' is-fixed';
153827
- } else {
153828
- operateCol[0].fixed = false;
153829
- operateCol[0].className = (operateCol[0].className || '').replace(' is-fixed', '');
153830
- }
153831
- }
153832
- }
153833
- },
153834
153860
  getParentClassNode: function getParentClassNode(element, className) {
153835
153861
  var pNode = element.parentNode;
153836
153862
  if (!pNode) return null;
@@ -153932,14 +153958,14 @@ var PAGE_INFO = {
153932
153958
  _this.selectedRowCount = _this.selectedRows.length;
153933
153959
  },
153934
153960
  handleCellClick: function handleCellClick(row, column, cell, event) {
153935
- var _this8 = this;
153961
+ var _this9 = this;
153936
153962
  if (!this.isInlineEdit) {
153937
153963
  new Promise(function (resolve, reject) {
153938
- if (_this8.onCellDblclick) {
153939
- if (_this8.clickTime) {
153940
- clearTimeout(_this8.clickTime);
153964
+ if (_this9.onCellDblclick) {
153965
+ if (_this9.clickTime) {
153966
+ clearTimeout(_this9.clickTime);
153941
153967
  }
153942
- _this8.clickTime = setTimeout(function () {
153968
+ _this9.clickTime = setTimeout(function () {
153943
153969
  resolve(true);
153944
153970
  }, 300);
153945
153971
  } else {
@@ -153947,25 +153973,25 @@ var PAGE_INFO = {
153947
153973
  }
153948
153974
  }).then(function (result) {
153949
153975
  if (cell.className.indexOf('content-column') !== -1) {
153950
- if (_this8.onCellClick !== null) {
153951
- _this8.onCellClick(row, column, cell.innerText, cell.cellIndex);
153976
+ if (_this9.onCellClick !== null) {
153977
+ _this9.onCellClick(row, column, cell.innerText, cell.cellIndex);
153952
153978
  } else {
153953
- if (_this8.moduleInfo.openViewType === '1') {
153954
- var moduleInfo = _this8.moduleInfo;
153979
+ if (_this9.moduleInfo.openViewType === '1') {
153980
+ var moduleInfo = _this9.moduleInfo;
153955
153981
  moduleInfo.addNew = false;
153956
- var formUrl = _this8.moduleInfo.busiFormTemplate ? _this8.moduleInfo.busiFormTemplate : '';
153957
- var innerUrl = _this8.moduleInfo.busiTabFormTabTemplate ? _this8.moduleInfo.busiTabFormTabTemplate : '';
153982
+ var formUrl = _this9.moduleInfo.busiFormTemplate ? _this9.moduleInfo.busiFormTemplate : '';
153983
+ var innerUrl = _this9.moduleInfo.busiTabFormTabTemplate ? _this9.moduleInfo.busiTabFormTabTemplate : '';
153958
153984
  var edit = true;
153959
- if (_this8.operateColumnBtns.length > 0) {
153960
- edit = !_this8.operateColumnBtns.some(function (item) {
153985
+ if (_this9.operateColumnBtns.length > 0) {
153986
+ edit = !_this9.operateColumnBtns.some(function (item) {
153961
153987
  return item.id.indexOf('btn_edit') > -1;
153962
153988
  });
153963
153989
  }
153964
153990
  var title = localStorage.getItem('setSysMenuName');
153965
- var busiInfo = _this8.$vnode.context.formTitle;
153966
- 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 || ''));
153991
+ var busiInfo = _this9.$vnode.context.formTitle;
153992
+ 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 || ''));
153967
153993
  } else {
153968
- _this8.$bus.emit('openBusiform', _this8.moduleInfo, row, 0);
153994
+ _this9.$bus.emit('openBusiform', _this9.moduleInfo, row, 0);
153969
153995
  }
153970
153996
  }
153971
153997
  }
@@ -153996,7 +154022,7 @@ var PAGE_INFO = {
153996
154022
  }
153997
154023
  },
153998
154024
  setColumnEnabled: function setColumnEnabled(val) {
153999
- var _this9 = this;
154025
+ var _this10 = this;
154000
154026
  var enabledColums = val.join(',') + ',';
154001
154027
  var tbColumns = JSON.parse(JSON.stringify(this.tbColumns));
154002
154028
  tbColumns.forEach(function (column) {
@@ -154013,8 +154039,8 @@ var PAGE_INFO = {
154013
154039
  }
154014
154040
  }
154015
154041
  this.$nextTick(function () {
154016
- _this9.tbColumns = tbColumns;
154017
- _this9.setLastColumnWidth();
154042
+ _this10.tbColumns = tbColumns;
154043
+ _this10.setLastColumnWidth();
154018
154044
  });
154019
154045
  },
154020
154046
  // 自定义按钮点击回调事件
@@ -154027,7 +154053,7 @@ var PAGE_INFO = {
154027
154053
  }
154028
154054
  },
154029
154055
  innerListAdd: function innerListAdd() {
154030
- var _this10 = this;
154056
+ var _this11 = this;
154031
154057
  var _this = this;
154032
154058
  if (_this.$vnode.context.$vnode.context.innerAddObject) {
154033
154059
  _this.$vnode.context.$vnode.context.innerAddObject(_this.moduleInfo);
@@ -154040,7 +154066,7 @@ var PAGE_INFO = {
154040
154066
  res.body.vo.isnew = true;
154041
154067
  _this.pageInfo.list.push(res.body.vo);
154042
154068
  } else {
154043
- _this.$alert(res.message, _this10.$tx('common.operationTip', '操作提示'), {
154069
+ _this.$alert(res.message, _this11.$tx('common.operationTip', '操作提示'), {
154044
154070
  type: 'error'
154045
154071
  });
154046
154072
  }
@@ -154051,10 +154077,10 @@ var PAGE_INFO = {
154051
154077
  }
154052
154078
  },
154053
154079
  insertList: function insertList(list) {
154054
- var _this11 = this;
154080
+ var _this12 = this;
154055
154081
  if (list.length > 0) {
154056
154082
  list.forEach(function (item) {
154057
- _this11.pageInfo.list.push(item);
154083
+ _this12.pageInfo.list.push(item);
154058
154084
  });
154059
154085
  this.$vnode.context.$vnode.context.innerListData = this.pageInfo.list;
154060
154086
  } else {
@@ -154067,18 +154093,18 @@ var PAGE_INFO = {
154067
154093
  this.$vnode.context.$vnode.context.innerListData = this.pageInfo.list;
154068
154094
  },
154069
154095
  addObject: function addObject() {
154070
- var _this12 = this;
154096
+ var _this13 = this;
154071
154097
  this.innerTableBtnDisabled = true;
154072
154098
  if (this.mode === 'inner' && this.$vnode.context.$vnode.context.vo.isnew) {
154073
154099
  this.$bus.emit('submitBusiform', this.$vnode.context.$vnode.context.moduleInfo, function (callBack) {
154074
- _this12.$nextTick(function () {
154075
- _this12.innerTableBtnDisabled = false;
154100
+ _this13.$nextTick(function () {
154101
+ _this13.innerTableBtnDisabled = false;
154076
154102
  });
154077
154103
  if (callBack) {
154078
- if (_this12.isInlineEdit !== 0) {
154079
- _this12.innerListAdd();
154104
+ if (_this13.isInlineEdit !== 0) {
154105
+ _this13.innerListAdd();
154080
154106
  } else {
154081
- _this12.$bus.emit('openBusiform', _this12.moduleInfo, null, 1);
154107
+ _this13.$bus.emit('openBusiform', _this13.moduleInfo, null, 1);
154082
154108
  }
154083
154109
  }
154084
154110
  }, 'InnerTableSave');
@@ -154088,20 +154114,20 @@ var PAGE_INFO = {
154088
154114
  btnSubmitClick = this.$vnode.context.$vnode.context.$vnode.context.btnSubmitClick;
154089
154115
  }
154090
154116
  btnSubmitClick('AutoSave', function (saveRst) {
154091
- _this12.$nextTick(function () {
154092
- _this12.innerTableBtnDisabled = false;
154117
+ _this13.$nextTick(function () {
154118
+ _this13.innerTableBtnDisabled = false;
154093
154119
  });
154094
154120
  if (saveRst) {
154095
- if (_this12.isInlineEdit !== 0) {
154096
- _this12.innerListAdd();
154121
+ if (_this13.isInlineEdit !== 0) {
154122
+ _this13.innerListAdd();
154097
154123
  } else {
154098
- _this12.$bus.emit('openBusiform', _this12.moduleInfo, null, 1);
154124
+ _this13.$bus.emit('openBusiform', _this13.moduleInfo, null, 1);
154099
154125
  }
154100
154126
  }
154101
154127
  }, 'InnerTableSave');
154102
154128
  } else {
154103
154129
  this.$nextTick(function () {
154104
- _this12.innerTableBtnDisabled = false;
154130
+ _this13.innerTableBtnDisabled = false;
154105
154131
  });
154106
154132
  if (this.moduleInfo.openViewType === '1') {
154107
154133
  var formUrl = this.moduleInfo.busiFormTemplate ? this.moduleInfo.busiFormTemplate : '';
@@ -154121,7 +154147,7 @@ var PAGE_INFO = {
154121
154147
  }
154122
154148
  },
154123
154149
  innerSave: function innerSave(row, column) {
154124
- var _this13 = this;
154150
+ var _this14 = this;
154125
154151
  var requiredFiled = this.tbColumns.filter(function (item) {
154126
154152
  return item.listTdEdit == 1 && item.listTdRequired == 1;
154127
154153
  });
@@ -154148,9 +154174,9 @@ var PAGE_INFO = {
154148
154174
  this.$app.insert(this.moduleInfo.insertUrl, row).then(function (res) {
154149
154175
  if (res.code === 'success') {
154150
154176
  row.isnew = false;
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
  }
@@ -154158,9 +154184,9 @@ var PAGE_INFO = {
154158
154184
  } else {
154159
154185
  this.$app.update(this.moduleInfo.updateUrl, row).then(function (res) {
154160
154186
  if (res.code === 'success') {
154161
- _this13.$message.success(res.message);
154187
+ _this14.$message.success(res.message);
154162
154188
  } else {
154163
- _this13.$alert(res.message, _this13.$tx('common.operationTip', '操作提示'), {
154189
+ _this14.$alert(res.message, _this14.$tx('common.operationTip', '操作提示'), {
154164
154190
  type: 'error'
154165
154191
  });
154166
154192
  }
@@ -154183,7 +154209,7 @@ var PAGE_INFO = {
154183
154209
  }
154184
154210
  },
154185
154211
  deleteIds: function deleteIds(row, column, value, index, rowIndex) {
154186
- var _this14 = this;
154212
+ var _this15 = this;
154187
154213
  var ids = this.getSelectedRows(row, column, value, index);
154188
154214
  if (ids.length === 0) {
154189
154215
  this.$alert(this.$tx('ecwapp.DataTable.needDeleterRow', '请选择需要删除的数据。'), this.$tx('common.operationTip', '操作提示'), {
@@ -154198,15 +154224,15 @@ var PAGE_INFO = {
154198
154224
  return DataTable_srcvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
154199
154225
  while (1) switch (_context3.prev = _context3.next) {
154200
154226
  case 0:
154201
- if (!(_this14.isInlineEdit !== 0)) {
154227
+ if (!(_this15.isInlineEdit !== 0)) {
154202
154228
  _context3.next = 17;
154203
154229
  break;
154204
154230
  }
154205
- if (!_this14.$vnode.context.$vnode.context.deleteId) {
154231
+ if (!_this15.$vnode.context.$vnode.context.deleteId) {
154206
154232
  _context3.next = 5;
154207
154233
  break;
154208
154234
  }
154209
- _this14.$vnode.context.$vnode.context.deleteId(row, rowIndex);
154235
+ _this15.$vnode.context.$vnode.context.deleteId(row, rowIndex);
154210
154236
  _context3.next = 15;
154211
154237
  break;
154212
154238
  case 5:
@@ -154214,28 +154240,28 @@ var PAGE_INFO = {
154214
154240
  _context3.next = 11;
154215
154241
  break;
154216
154242
  }
154217
- _this14.pageInfo.list = _this14.pageInfo.list.filter(function (item) {
154243
+ _this15.pageInfo.list = _this15.pageInfo.list.filter(function (item) {
154218
154244
  return item.id !== row.id;
154219
154245
  });
154220
- _this14.$vnode.context.$vnode.context.innerListData = _this14.pageInfo.list;
154221
- _this14.$message.success(_this14.$tx('ecwapp.Common.delSuccess', '删除成功'));
154246
+ _this15.$vnode.context.$vnode.context.innerListData = _this15.pageInfo.list;
154247
+ _this15.$message.success(_this15.$tx('ecwapp.Common.delSuccess', '删除成功'));
154222
154248
  _context3.next = 15;
154223
154249
  break;
154224
154250
  case 11:
154225
154251
  _context3.next = 13;
154226
- return _this14.$app.deleteByIds(_this14.moduleInfo.delUrl, ids);
154252
+ return _this15.$app.deleteByIds(_this15.moduleInfo.delUrl, ids);
154227
154253
  case 13:
154228
154254
  res = _context3.sent;
154229
154255
  if (res.code === 'success') {
154230
- _this14.onDeleteSuccessed(_this14, ids);
154231
- _this14.$message({
154256
+ _this15.onDeleteSuccessed(_this15, ids);
154257
+ _this15.$message({
154232
154258
  type: res.code,
154233
154259
  message: res.message,
154234
154260
  showClose: true
154235
154261
  });
154236
- _this14.loadListdata();
154262
+ _this15.loadListdata();
154237
154263
  } else {
154238
- _this14.$alert(res.message, _this14.$tx('common.operationTip', '操作提示'), {
154264
+ _this15.$alert(res.message, _this15.$tx('common.operationTip', '操作提示'), {
154239
154265
  type: 'error'
154240
154266
  });
154241
154267
  }
@@ -154244,19 +154270,19 @@ var PAGE_INFO = {
154244
154270
  break;
154245
154271
  case 17:
154246
154272
  _context3.next = 19;
154247
- return _this14.$app.deleteByIds(_this14.moduleInfo.delUrl, ids);
154273
+ return _this15.$app.deleteByIds(_this15.moduleInfo.delUrl, ids);
154248
154274
  case 19:
154249
154275
  _res = _context3.sent;
154250
154276
  if (_res.code === 'success') {
154251
- _this14.onDeleteSuccessed(_this14, ids);
154252
- _this14.$message({
154277
+ _this15.onDeleteSuccessed(_this15, ids);
154278
+ _this15.$message({
154253
154279
  type: _res.code,
154254
154280
  message: _res.message,
154255
154281
  showClose: true
154256
154282
  });
154257
- _this14.loadListdata();
154283
+ _this15.loadListdata();
154258
154284
  } else if (_res.code === 'confirm') {
154259
- _this14.$confirm(_res.message, _this14.$tx('common.confirmOperate', '确认操作'), {
154285
+ _this15.$confirm(_res.message, _this15.$tx('common.confirmOperate', '确认操作'), {
154260
154286
  type: 'warning'
154261
154287
  }).then( /*#__PURE__*/DataTable_srcvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/DataTable_srcvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
154262
154288
  var res;
@@ -154264,19 +154290,19 @@ var PAGE_INFO = {
154264
154290
  while (1) switch (_context2.prev = _context2.next) {
154265
154291
  case 0:
154266
154292
  _context2.next = 2;
154267
- return _this14.$app.deleteByIds(_this14.moduleInfo.delUrl, ids, true);
154293
+ return _this15.$app.deleteByIds(_this15.moduleInfo.delUrl, ids, true);
154268
154294
  case 2:
154269
154295
  res = _context2.sent;
154270
154296
  if (res.code === 'success') {
154271
- _this14.onDeleteSuccessed(_this14, ids);
154272
- _this14.$message({
154297
+ _this15.onDeleteSuccessed(_this15, ids);
154298
+ _this15.$message({
154273
154299
  type: res.code,
154274
154300
  message: res.message,
154275
154301
  showClose: true
154276
154302
  });
154277
- _this14.loadListdata();
154303
+ _this15.loadListdata();
154278
154304
  } else {
154279
- _this14.$alert(res.message, _this14.$tx('common.operationTip', '操作提示'), {
154305
+ _this15.$alert(res.message, _this15.$tx('common.operationTip', '操作提示'), {
154280
154306
  type: 'error'
154281
154307
  });
154282
154308
  }
@@ -154291,7 +154317,7 @@ var PAGE_INFO = {
154291
154317
  }
154292
154318
  });
154293
154319
  } else {
154294
- _this14.$alert(_res.message, _this14.$tx('common.operationTip', '操作提示'), {
154320
+ _this15.$alert(_res.message, _this15.$tx('common.operationTip', '操作提示'), {
154295
154321
  type: 'error'
154296
154322
  });
154297
154323
  }
@@ -154330,7 +154356,7 @@ var PAGE_INFO = {
154330
154356
  return status;
154331
154357
  },
154332
154358
  setResPermission: function setResPermission(resEntityName, permissionCode, roleFilter) {
154333
- var _this15 = this;
154359
+ var _this16 = this;
154334
154360
  var ids = [];
154335
154361
  var errMsg = '';
154336
154362
  var orgCode = null;
@@ -154340,11 +154366,11 @@ var PAGE_INFO = {
154340
154366
  if (roleFilter === 'sysCode' || !row.orgCode) {
154341
154367
  sysCode = row.sysCode || row.systemCode;
154342
154368
  }
154343
- if (index > 0 && row.orgCode && _this15.selectedRows[0].orgCode !== row.orgCode) {
154344
- errMsg = _this15.$tx('ecwapp.DataTable.onlyOneOrg', '只能设置同属一个机构的数据访问权限。');
154369
+ if (index > 0 && row.orgCode && _this16.selectedRows[0].orgCode !== row.orgCode) {
154370
+ errMsg = _this16.$tx('ecwapp.DataTable.onlyOneOrg', '只能设置同属一个机构的数据访问权限。');
154345
154371
  }
154346
- if (index > 0 && row.sysCode && _this15.selectedRows[0].sysCode !== row.sysCode) {
154347
- errMsg = _this15.$tx('ecwapp.DataTable.onlyOneProduct', '只能设置同属一个产品的数据访问权限。');
154372
+ if (index > 0 && row.sysCode && _this16.selectedRows[0].sysCode !== row.sysCode) {
154373
+ errMsg = _this16.$tx('ecwapp.DataTable.onlyOneProduct', '只能设置同属一个产品的数据访问权限。');
154348
154374
  } else {
154349
154375
  ids.push(row.id + '*' + row.orgCode + '*' + (row.sysCode || row.systemCode) + '*' + (row.sysName || row.systemName));
154350
154376
  }
@@ -154365,7 +154391,7 @@ var PAGE_INFO = {
154365
154391
  var _this = this;
154366
154392
  this.$nextTick(function () {
154367
154393
  var visitType = 1;
154368
- if (_this15.selectedRows.length > 0) visitType = _this.selectedRows[0].visitType;
154394
+ if (_this16.selectedRows.length > 0) visitType = _this.selectedRows[0].visitType;
154369
154395
  _this.$bus.emit('openResPermissionForm', ids, visitType, resEntityName, permissionCode, orgCode, sysCode);
154370
154396
  });
154371
154397
  },
@@ -154373,7 +154399,7 @@ var PAGE_INFO = {
154373
154399
  * 批量导出数据项SQL脚本文件
154374
154400
  */
154375
154401
  exportData: function exportData(tbName) {
154376
- var _this16 = this;
154402
+ var _this17 = this;
154377
154403
  var ids = this.getSelectedRows();
154378
154404
  if (this.pageInfo.total === 0) {
154379
154405
  this.$alert(this.emptyText, this.$tx('common.operationTip', '操作提示'), {
@@ -154405,7 +154431,7 @@ var PAGE_INFO = {
154405
154431
  });
154406
154432
  this.$bus.emit('openListitemDialog', this.$tx('ecwapp.DataTable.targetDatabase', '目标数据库'), dialectList, function (rst) {
154407
154433
  if (rst.code === 'success') {
154408
- _this16.$http({
154434
+ _this17.$http({
154409
154435
  method: 'post',
154410
154436
  params: {
154411
154437
  ids: ids.join(),
@@ -154415,9 +154441,9 @@ var PAGE_INFO = {
154415
154441
  url: 'base/codeGenerate/exportDataItemDbSql'
154416
154442
  }).then(function (res) {
154417
154443
  if (res.code === 'success') {
154418
- _this16.loadListdata();
154444
+ _this17.loadListdata();
154419
154445
  var downloadUrl = '<br/>下载代码:<a href="' + "/apigw" + '/' + encodeURI(res.body.zipurl) + '" target="_blank">' + res.body.zipname + '</a>';
154420
- _this16.$alert(res.message + downloadUrl, _this16.$tx('common.operationTip', '操作提示'), {
154446
+ _this17.$alert(res.message + downloadUrl, _this17.$tx('common.operationTip', '操作提示'), {
154421
154447
  type: 'success',
154422
154448
  dangerouslyUseHTMLString: true,
154423
154449
  callback: function callback(action) {
@@ -154427,7 +154453,7 @@ var PAGE_INFO = {
154427
154453
  }
154428
154454
  });
154429
154455
  } else {
154430
- _this16.$alert(res.message, _this16.$tx('common.operationTip', '操作提示'), {
154456
+ _this17.$alert(res.message, _this17.$tx('common.operationTip', '操作提示'), {
154431
154457
  type: 'error'
154432
154458
  });
154433
154459
  }
@@ -154439,21 +154465,21 @@ var PAGE_INFO = {
154439
154465
  * 批量导出流程表单EXCEL文件
154440
154466
  */
154441
154467
  exportWform: function exportWform(filename, exportAll) {
154442
- var _this17 = this;
154468
+ var _this18 = this;
154443
154469
  return DataTable_srcvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/DataTable_srcvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
154444
154470
  var ids;
154445
154471
  return DataTable_srcvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
154446
154472
  while (1) switch (_context5.prev = _context5.next) {
154447
154473
  case 0:
154448
- ids = _this17.getSelectedRows();
154474
+ ids = _this18.getSelectedRows();
154449
154475
  new Promise(function (resolve, reject) {
154450
- if (_this17.pageInfo.total === 0) {
154451
- _this17.$alert(_this17.emptyText, _this17.$tx('common.operationTip', '操作提示'), {
154476
+ if (_this18.pageInfo.total === 0) {
154477
+ _this18.$alert(_this18.emptyText, _this18.$tx('common.operationTip', '操作提示'), {
154452
154478
  type: 'warning'
154453
154479
  });
154454
- reject(_this17.emptyText);
154480
+ reject(_this18.emptyText);
154455
154481
  } else if (ids.length === 0) {
154456
- _this17.$confirm(_this17.$tx('ecwapp.DataTable.exportTipText', '您是否确认要导出当前列表的全部数据?<br/>如果仅需导出部分数据,请先选择或通过搜索筛选。'), _this17.$tx('common.confirmOperate', '确认操作'), {
154482
+ _this18.$confirm(_this18.$tx('ecwapp.DataTable.exportTipText', '您是否确认要导出当前列表的全部数据?<br/>如果仅需导出部分数据,请先选择或通过搜索筛选。'), _this18.$tx('common.confirmOperate', '确认操作'), {
154457
154483
  type: 'warning',
154458
154484
  dangerouslyUseHTMLString: true
154459
154485
  }).then(function (res) {
@@ -154477,27 +154503,27 @@ var PAGE_INFO = {
154477
154503
  pageSize: 65000,
154478
154504
  pageNum: 1
154479
154505
  };
154480
- orderBy = _this17.pageInfo.orderBy || _this17.moduleInfo.listDefaultOrderBy;
154481
- reqParams.listpageId = _this17.moduleInfo.listpageId;
154482
- reqParams.listpageViewUrl = _this17.moduleInfo.listpageViewUrl;
154506
+ orderBy = _this18.pageInfo.orderBy || _this18.moduleInfo.listDefaultOrderBy;
154507
+ reqParams.listpageId = _this18.moduleInfo.listpageId;
154508
+ reqParams.listpageViewUrl = _this18.moduleInfo.listpageViewUrl;
154483
154509
  reqParams.orderBy = orderBy;
154484
- reqParams.searchAndOr = _this17.searchAndOr;
154485
- reqParams.searchMap = _this17.searchMap;
154486
- if (_this17.mode === 'listpage' && _this17.$route.meta.params !== undefined && _this17.$route.meta.params !== null) {
154487
- params = _this17.$route.meta.params.split('&');
154510
+ reqParams.searchAndOr = _this18.searchAndOr;
154511
+ reqParams.searchMap = _this18.searchMap;
154512
+ if (_this18.mode === 'listpage' && _this18.$route.meta.params !== undefined && _this18.$route.meta.params !== null) {
154513
+ params = _this18.$route.meta.params.split('&');
154488
154514
  params.forEach(function (param) {
154489
154515
  reqParams[param.split('=')[0]] = param.split('=')[1];
154490
154516
  });
154491
154517
  }
154492
154518
  _context4.next = 10;
154493
- return _this17.onListDataBeforeLoad(_this17, reqParams);
154519
+ return _this18.onListDataBeforeLoad(_this18, reqParams);
154494
154520
  case 10:
154495
154521
  urlsearch = reqParams.urlsearch;
154496
154522
  delete reqParams.urlsearch;
154497
154523
  reqParams = lib_default().stringify(reqParams);
154498
- url = "/apigw" + '/' + _this17.moduleInfo.listDataUrl.replace('listdata', 'exportdata').replace('listWfInstance', 'exportWfInstance').replace('joinListdata', 'joinExportdata');
154499
- if (_this17.moduleInfo.exportDataUrl) {
154500
- url = _this17.moduleInfo.exportDataUrl;
154524
+ url = "/apigw" + '/' + _this18.moduleInfo.listDataUrl.replace('listdata', 'exportdata').replace('listWfInstance', 'exportWfInstance').replace('joinListdata', 'joinExportdata');
154525
+ if (_this18.moduleInfo.exportDataUrl) {
154526
+ url = _this18.moduleInfo.exportDataUrl;
154501
154527
  }
154502
154528
  if (url.indexOf('?') === -1) {
154503
154529
  url += '?' + reqParams;
@@ -154505,7 +154531,7 @@ var PAGE_INFO = {
154505
154531
  url += '&' + reqParams;
154506
154532
  }
154507
154533
  exportCols = ''; // 只导出显示列
154508
- _this17.tbColumns.forEach(function (col) {
154534
+ _this18.tbColumns.forEach(function (col) {
154509
154535
  if (col.enabled || exportAll === 'true' || exportAll === true) exportCols += col.field + ',';
154510
154536
  });
154511
154537
  fileName = filename;
@@ -154513,8 +154539,8 @@ var PAGE_INFO = {
154513
154539
  if (document.querySelector('#breadcrumb-container')) {
154514
154540
  fileName = document.querySelector('#breadcrumb-container').innerText.replace('\r\n', '-').replace('\r', '-').replace('\n', '-');
154515
154541
  }
154516
- if (_this17.$route.meta.level === 4) {
154517
- fileName += '-' + _this17.$route.meta.title;
154542
+ if (_this18.$route.meta.level === 4) {
154543
+ fileName += '-' + _this18.$route.meta.title;
154518
154544
  }
154519
154545
  if (!fileName) {
154520
154546
  fileName = document.title;
@@ -154522,7 +154548,7 @@ var PAGE_INFO = {
154522
154548
  }
154523
154549
  url += '&fileName=' + encodeURI(encodeURI(fileName)) + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&exportCols=' + exportCols;
154524
154550
  if (ids.length > 10) {
154525
- _this17.$http({
154551
+ _this18.$http({
154526
154552
  method: 'post',
154527
154553
  contentType: 'application/json',
154528
154554
  data: {
@@ -154569,7 +154595,7 @@ var PAGE_INFO = {
154569
154595
  }))();
154570
154596
  },
154571
154597
  batchSaveAllFiles: function batchSaveAllFiles() {
154572
- var _this18 = this;
154598
+ var _this19 = this;
154573
154599
  this.$bus.emit('showDoingDialog', null, false);
154574
154600
  var orderBy = this.pageInfo.orderBy || this.moduleInfo.listDefaultOrderBy;
154575
154601
  this.setPageInfo(this.searchMap, this.searchAndOr, null, orderBy);
@@ -154607,29 +154633,29 @@ var PAGE_INFO = {
154607
154633
  var busiDataId = res.body.ids[i++];
154608
154634
  var isLast = i === total;
154609
154635
  if (typeof tozip === 'undefined') tozip = true;
154610
- _this18.$http({
154636
+ _this19.$http({
154611
154637
  method: 'post',
154612
154638
  params: {
154613
- module: _this18.moduleInfo.listDataUrl.split('/')[1],
154639
+ module: _this19.moduleInfo.listDataUrl.split('/')[1],
154614
154640
  dataKey: res.body.dataKey,
154615
154641
  webTempPath: res.body.webTempPath,
154616
154642
  busiDataId: busiDataId,
154617
154643
  isLast: isLast,
154618
154644
  tozip: tozip
154619
154645
  },
154620
- url: _this18.moduleInfo.listDataUrl.split('/')[0] + '/webForm/downloadFileToLocal'
154646
+ url: _this19.moduleInfo.listDataUrl.split('/')[0] + '/webForm/downloadFileToLocal'
154621
154647
  }).then(function (res2) {
154622
154648
  downloading = false;
154623
154649
  if (res.code === 'success') {
154624
154650
  if (isLast) {
154625
154651
  clearInterval(eventid);
154626
- _this18.$bus.emit('closeDoingDialog');
154627
- _this18.loadListdata();
154652
+ _this19.$bus.emit('closeDoingDialog');
154653
+ _this19.loadListdata();
154628
154654
  var downloadUrl = '<br/>下载文件:<a href="' + "/apigw" + '/' + encodeURI(res2.body.zipurl) + '" target="_blank">' + res2.body.zipname + '</a>';
154629
154655
  if (!tozip) {
154630
154656
  downloadUrl = '<br/>服务端文件路径:' + res2.body.filepath;
154631
154657
  }
154632
- _this18.$alert(res.message + downloadUrl, _this18.$tx('common.operationTip', '操作提示'), {
154658
+ _this19.$alert(res.message + downloadUrl, _this19.$tx('common.operationTip', '操作提示'), {
154633
154659
  type: 'success',
154634
154660
  dangerouslyUseHTMLString: true,
154635
154661
  callback: function callback(action) {
@@ -154639,21 +154665,21 @@ var PAGE_INFO = {
154639
154665
  }
154640
154666
  });
154641
154667
  } else {
154642
- _this18.$bus.emit('showDoingDialog', '正在打包待下载文件,共' + res.body.count + '份,当前第' + i + '份', false);
154668
+ _this19.$bus.emit('showDoingDialog', '正在打包待下载文件,共' + res.body.count + '份,当前第' + i + '份', false);
154643
154669
  }
154644
154670
  }
154645
154671
  });
154646
154672
  }
154647
154673
  }, 500);
154648
154674
  } else {
154649
- _this18.$alert(res.message, _this18.$tx('common.operationTip', '操作提示'), {
154675
+ _this19.$alert(res.message, _this19.$tx('common.operationTip', '操作提示'), {
154650
154676
  type: 'error'
154651
154677
  });
154652
154678
  }
154653
154679
  });
154654
154680
  },
154655
154681
  batchSaveFiles: function batchSaveFiles() {
154656
- var _this19 = this;
154682
+ var _this20 = this;
154657
154683
  var ids = this.getSelectedRows();
154658
154684
  if (ids.length === 0) {
154659
154685
  this.$alert(this.$tx('ecwapp.DataTable.downloadRow', '请选择需要批量下载的数据。'), this.$tx('common.operationTip', '操作提示'), {
@@ -154671,11 +154697,11 @@ var PAGE_INFO = {
154671
154697
  },
154672
154698
  url: url
154673
154699
  }).then(function (res) {
154674
- _this19.$bus.emit('closeDoingDialog');
154700
+ _this20.$bus.emit('closeDoingDialog');
154675
154701
  if (res.code === 'success') {
154676
- _this19.loadListdata();
154702
+ _this20.loadListdata();
154677
154703
  var downloadUrl = '<br/>下载文件:<a href="' + "/apigw" + '/' + encodeURI(res.body.zipurl) + '" target="_blank">' + res.body.zipname + '</a>';
154678
- _this19.$alert(res.message + downloadUrl, _this19.$tx('common.operationTip', '操作提示'), {
154704
+ _this20.$alert(res.message + downloadUrl, _this20.$tx('common.operationTip', '操作提示'), {
154679
154705
  type: 'success',
154680
154706
  dangerouslyUseHTMLString: true,
154681
154707
  callback: function callback(action) {
@@ -154685,19 +154711,19 @@ var PAGE_INFO = {
154685
154711
  }
154686
154712
  });
154687
154713
  } else {
154688
- _this19.$alert(res.message, _this19.$tx('common.operationTip', '操作提示'), {
154714
+ _this20.$alert(res.message, _this20.$tx('common.operationTip', '操作提示'), {
154689
154715
  type: 'error'
154690
154716
  });
154691
154717
  }
154692
154718
  });
154693
154719
  },
154694
154720
  decryptData: function decryptData(row, model) {
154695
- var _this20 = this;
154721
+ var _this21 = this;
154696
154722
  this.$app.decryptData(row[model]).then(function (res) {
154697
154723
  if (res.code === 'success') {
154698
- _this20.$set(row, model, res.body.data);
154724
+ _this21.$set(row, model, res.body.data);
154699
154725
  } else {
154700
- _this20.$alert(res.message, {
154726
+ _this21.$alert(res.message, {
154701
154727
  type: 'error'
154702
154728
  });
154703
154729
  }
@@ -154707,9 +154733,9 @@ var PAGE_INFO = {
154707
154733
  });
154708
154734
  ;// CONCATENATED MODULE: ./packages/ecwapp/DataTable/src/index.vue?vue&type=script&lang=js
154709
154735
  /* harmony default export */ var ecwapp_DataTable_srcvue_type_script_lang_js = (DataTable_srcvue_type_script_lang_js);
154710
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
154711
- var srcvue_type_style_index_0_id_0669bd3e_prod_lang_scss_scoped_true = __webpack_require__(77226);
154712
- ;// CONCATENATED MODULE: ./packages/ecwapp/DataTable/src/index.vue?vue&type=style&index=0&id=0669bd3e&prod&lang=scss&scoped=true
154736
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
154737
+ var srcvue_type_style_index_0_id_09d60004_prod_lang_scss_scoped_true = __webpack_require__(19762);
154738
+ ;// CONCATENATED MODULE: ./packages/ecwapp/DataTable/src/index.vue?vue&type=style&index=0&id=09d60004&prod&lang=scss&scoped=true
154713
154739
 
154714
154740
  ;// CONCATENATED MODULE: ./packages/ecwapp/DataTable/src/index.vue
154715
154741
 
@@ -154722,11 +154748,11 @@ var srcvue_type_style_index_0_id_0669bd3e_prod_lang_scss_scoped_true = __webpack
154722
154748
 
154723
154749
  var DataTable_src_component = (0,componentNormalizer/* default */.A)(
154724
154750
  ecwapp_DataTable_srcvue_type_script_lang_js,
154725
- srcvue_type_template_id_0669bd3e_scoped_true_render,
154726
- srcvue_type_template_id_0669bd3e_scoped_true_staticRenderFns,
154751
+ srcvue_type_template_id_09d60004_scoped_true_render,
154752
+ srcvue_type_template_id_09d60004_scoped_true_staticRenderFns,
154727
154753
  false,
154728
154754
  null,
154729
- "0669bd3e",
154755
+ "09d60004",
154730
154756
  null
154731
154757
 
154732
154758
  )
@@ -155076,17 +155102,14 @@ DoingDialog_src.install = function (Vue) {
155076
155102
  Vue.component(DoingDialog_src.name, DoingDialog_src);
155077
155103
  };
155078
155104
  /* harmony default export */ var DoingDialog = (DoingDialog_src);
155079
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
155080
- var srcvue_type_template_id_1cbbd470_scoped_true_render = function render() {
155105
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
155106
+ var srcvue_type_template_id_2297e85a_scoped_true_render = function render() {
155081
155107
  var _vm = this,
155082
155108
  _c = _vm._self._c;
155083
155109
  return _c('div', {
155084
155110
  staticClass: "inner-app-container"
155085
155111
  }, [_c('div', {
155086
- staticClass: "inner-listpage-container",
155087
- on: {
155088
- "mouseup": _vm.onMouseup
155089
- }
155112
+ staticClass: "inner-listpage-container"
155090
155113
  }, [_vm.moduleInfo !== null ? _c('data-table', {
155091
155114
  ref: "innerListTable",
155092
155115
  attrs: {
@@ -155131,7 +155154,7 @@ var srcvue_type_template_id_1cbbd470_scoped_true_render = function render() {
155131
155154
  }], null, false, 2019936513)
155132
155155
  }) : _vm._e()], 1);
155133
155156
  };
155134
- var srcvue_type_template_id_1cbbd470_scoped_true_staticRenderFns = [];
155157
+ var srcvue_type_template_id_2297e85a_scoped_true_staticRenderFns = [];
155135
155158
 
155136
155159
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
155137
155160
  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); }
@@ -155245,16 +155268,6 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155245
155268
  },
155246
155269
  updated: function updated() {},
155247
155270
  methods: {
155248
- onMouseup: function onMouseup() {
155249
- var _this2 = this;
155250
- setTimeout(function () {
155251
- var fixCol = _this2.$el.querySelector('.el-table__fixed-right');
155252
- if (fixCol) {
155253
- fixCol.style.width = parseInt(fixCol.style.width) - 1 + 'px';
155254
- fixCol.style.height = parseInt(fixCol.style.height) - 2 + 'px';
155255
- }
155256
- }, 0);
155257
- },
155258
155271
  insertPageList: function insertPageList(list) {
155259
155272
  this.$refs.innerListTable.insertList(list);
155260
155273
  },
@@ -155325,7 +155338,7 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155325
155338
  }
155326
155339
  },
155327
155340
  createInnerListpage: function createInnerListpage() {
155328
- var _this3 = this;
155341
+ var _this2 = this;
155329
155342
  var _this = this;
155330
155343
  if (_this.loading) {
155331
155344
  return;
@@ -155357,7 +155370,7 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155357
155370
  tbColumns.splice(i--, 1);
155358
155371
  }
155359
155372
  }
155360
- if (_this3.formCanEdit === 1 && _this3.excludeFields.indexOf('column_operate') === -1) {
155373
+ if (_this2.formCanEdit === 1 && _this2.excludeFields.indexOf('column_operate') === -1) {
155361
155374
  tbColumns[tbColumns.length] = {
155362
155375
  field: 'column_operate',
155363
155376
  title: '操作',
@@ -155366,7 +155379,7 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155366
155379
  valign: 'middle'
155367
155380
  };
155368
155381
  var toolbarBtns = JSON.parse(listpageInfo.listToolBtns);
155369
- var parentVue = _this3.$vnode.context;
155382
+ var parentVue = _this2.$vnode.context;
155370
155383
  var columnHeaderBtn = toolbarBtns.filter(function (btn) {
155371
155384
  if (btn.btnType === 'columnHeaderBtn') {
155372
155385
  btn.btnType = 'tbheader';
@@ -155374,16 +155387,16 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155374
155387
  }
155375
155388
  });
155376
155389
  for (var _i = 0; _i < toolbarBtns.length; _i++) {
155377
- if (!_this3.showToolbar) {
155390
+ if (!_this2.showToolbar) {
155378
155391
  // 不显示列表右上操作按钮,把“新增”按钮显示在“操作”列表头中
155379
- if (columnHeaderBtn.length === 0 && toolbarBtns[_i].btnType === 'toolbar' && toolbarBtns[_i].id === 'btn_add' && _this3.canAdd !== 0) {
155392
+ if (columnHeaderBtn.length === 0 && toolbarBtns[_i].btnType === 'toolbar' && toolbarBtns[_i].id === 'btn_add' && _this2.canAdd !== 0) {
155380
155393
  toolbarBtns[_i].btnType = 'tbheader';
155381
155394
  } else if (toolbarBtns[_i].btnType !== 'column' && toolbarBtns[_i].btnType !== 'tbheader') {
155382
155395
  toolbarBtns.splice(_i--, 1);
155383
155396
  if (_i < 0) _i = 0;
155384
155397
  } else if (toolbarBtns[_i].btnType === 'column') {
155385
155398
  // 操作列只显示新增、删除
155386
- if (!_this3.canEdit && toolbarBtns[_i].btnPermission === 'editObject' || !_this3.canDelete && toolbarBtns[_i].btnPermission === 'deleteIds') {
155399
+ if (!_this2.canEdit && toolbarBtns[_i].btnPermission === 'editObject' || !_this2.canDelete && toolbarBtns[_i].btnPermission === 'deleteIds') {
155387
155400
  toolbarBtns.splice(_i--, 1);
155388
155401
  if (_i < 0) _i = 0;
155389
155402
  }
@@ -155402,15 +155415,15 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155402
155415
  btnParams = btnParams.replace(/'/g, '').split(',');
155403
155416
  toolbarBtns[_i].btnParams = btnParams;
155404
155417
  }
155405
- toolbarBtns[_i].cloumHeaderBtnClick = _this3.onCloumHeaderBtnClick;
155418
+ toolbarBtns[_i].cloumHeaderBtnClick = _this2.onCloumHeaderBtnClick;
155406
155419
  }
155407
155420
  if (typeof parentVue[btnClick.split('(')[0]] === 'function') {
155408
155421
  toolbarBtns[_i].btnClick = parentVue[btnClick.split('(')[0]];
155409
155422
  }
155410
155423
  }
155411
- if (_this3.inLineEdit !== 0) {
155424
+ if (_this2.inLineEdit !== 0) {
155412
155425
  var btnArray = [];
155413
- if (_this3.canEdit === 1 || _this3.canEdit === true) {
155426
+ if (_this2.canEdit === 1 || _this2.canEdit === true) {
155414
155427
  btnArray.push({
155415
155428
  btnClick: 'innerSave(row)',
155416
155429
  btnIcon: '',
@@ -155421,7 +155434,7 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155421
155434
  btnI18nCode: 'save'
155422
155435
  });
155423
155436
  }
155424
- if (_this3.canDelete === 1 || _this3.canDelete === true) {
155437
+ if (_this2.canDelete === 1 || _this2.canDelete === true) {
155425
155438
  btnArray.push({
155426
155439
  btnClick: 'deleteIds(row.id);',
155427
155440
  btnIcon: '',
@@ -155492,7 +155505,6 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155492
155505
  return parentId;
155493
155506
  },
155494
155507
  onListDataBeforeLoad: function onListDataBeforeLoad($scope, qparams) {
155495
- var _this4 = this;
155496
155508
  //urrsearch指定子数据筛选条件
155497
155509
  var parentId = this.getChildDataParentId();
155498
155510
  if (parentId !== null && parentId !== undefined) {
@@ -155514,28 +155526,13 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155514
155526
  if (this.$vnode.context.onInnerTableListDataBeforeLoad) {
155515
155527
  this.$vnode.context.onInnerTableListDataBeforeLoad($scope, qparams);
155516
155528
  }
155517
- setTimeout(function () {
155518
- var fixCol = _this4.$el.querySelector('.el-table__fixed-right');
155519
- if (fixCol) {
155520
- fixCol.style.width = parseInt(fixCol.style.width) - 1 + 'px';
155521
- fixCol.style.height = parseInt(fixCol.style.height) - 2 + 'px';
155522
- }
155523
- }, 0);
155524
155529
  },
155525
155530
  onListDataLoaded: function onListDataLoaded($scope, pageInfo) {
155526
- var _this5 = this;
155527
155531
  if (false) {}
155528
155532
  this.$vnode.context.innerListData = pageInfo.list;
155529
155533
  if (this.$vnode.context.onInnerTableListDataLoaded) {
155530
155534
  this.$vnode.context.onInnerTableListDataLoaded($scope, pageInfo);
155531
155535
  }
155532
- setTimeout(function () {
155533
- var fixCol = _this5.$el.querySelector('.el-table__fixed-right');
155534
- if (fixCol) {
155535
- fixCol.style.width = parseInt(fixCol.style.width) - 1 + 'px';
155536
- fixCol.style.height = parseInt(fixCol.style.height) - 2 + 'px';
155537
- }
155538
- }, 0);
155539
155536
  },
155540
155537
  onCloumHeaderBtnClick: function onCloumHeaderBtnClick(btn) {
155541
155538
  if (btn.btnParams !== null) {
@@ -155545,12 +155542,12 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155545
155542
  }
155546
155543
  },
155547
155544
  onBasicFormBeforeOpen: function onBasicFormBeforeOpen($scope, vo, defer) {
155548
- var _this6 = this;
155545
+ var _this3 = this;
155549
155546
  this.setFormToolbarBtns($scope.canEdit);
155550
155547
  new Promise(function (resolve, reject) {
155551
- if (_this6.$vnode.context.onInnerFormBeforeOpen) {
155552
- $scope.innerModuleInfo = _this6.moduleInfo;
155553
- _this6.$vnode.context.onInnerFormBeforeOpen($scope, vo, {
155548
+ if (_this3.$vnode.context.onInnerFormBeforeOpen) {
155549
+ $scope.innerModuleInfo = _this3.moduleInfo;
155550
+ _this3.$vnode.context.onInnerFormBeforeOpen($scope, vo, {
155554
155551
  resolve: resolve,
155555
155552
  reject: reject
155556
155553
  });
@@ -155560,11 +155557,11 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155560
155557
  }).then(function (result) {
155561
155558
  if (result) {
155562
155559
  console.log($scope.moduleInfo.moduleCode + ' form before open');
155563
- if ($scope.moduleInfo.formTitle) _this6.formTitle = $scope.moduleInfo.formTitle;
155560
+ if ($scope.moduleInfo.formTitle) _this3.formTitle = $scope.moduleInfo.formTitle;
155564
155561
  // 新增子表 打开表单
155565
- var formurl = _this6.moduleInfo.formTemplate;
155562
+ var formurl = _this3.moduleInfo.formTemplate;
155566
155563
  if (formurl.indexOf('@/') === -1 || formurl.indexOf('dcontent') > -1) {
155567
- formurl = _this6.moduleInfo.formTemplate.split('url=')[1];
155564
+ formurl = _this3.moduleInfo.formTemplate.split('url=')[1];
155568
155565
  formurl = formurl.replace(/\//g, '.');
155569
155566
  formurl = '#/dcontent/vuebusiform/W/' + formurl.substring(1).replace('.html', '.vue');
155570
155567
  formurl += '?openMode=innerTable';
@@ -155576,20 +155573,20 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155576
155573
  formurl += '&sysCode=' + $scope.wfInstance.sysCode;
155577
155574
  }
155578
155575
  }
155579
- _this6.$options.components['BusiForm'] = _this6.$loadComponent(formurl);
155576
+ _this3.$options.components['BusiForm'] = _this3.$loadComponent(formurl);
155580
155577
  var parentId = null;
155581
- var parent = _this6.$vnode.context;
155578
+ var parent = _this3.$vnode.context;
155582
155579
  if (parent.vo) {
155583
155580
  parentId = parent.vo.id;
155584
155581
  }
155585
155582
  if (parentId !== null && parentId !== undefined) {
155586
- if (_this6.linkPropName === undefined || _this6.linkPropName === null) {
155583
+ if (_this3.linkPropName === undefined || _this3.linkPropName === null) {
155587
155584
  vo.parentId = parentId;
155588
155585
  } else {
155589
- vo[_this6.linkPropName] = parentId;
155586
+ vo[_this3.linkPropName] = parentId;
155590
155587
  }
155591
155588
  }
155592
- _this6.formVo = vo;
155589
+ _this3.formVo = vo;
155593
155590
  defer.resolve(true);
155594
155591
  } else {
155595
155592
  defer.resolve(false);
@@ -155602,10 +155599,10 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155602
155599
  this.setFormToolbarBtns($scope.canEdit);
155603
155600
  },
155604
155601
  onBasicFormBeforeSubmit: function onBasicFormBeforeSubmit($scope, vo, defer) {
155605
- var _this7 = this;
155602
+ var _this4 = this;
155606
155603
  new Promise(function (resolve, reject) {
155607
- if (_this7.$vnode.context.onInnerBasicFormBeforeSubmit) {
155608
- _this7.$vnode.context.onInnerBasicFormBeforeSubmit($scope, vo, {
155604
+ if (_this4.$vnode.context.onInnerBasicFormBeforeSubmit) {
155605
+ _this4.$vnode.context.onInnerBasicFormBeforeSubmit($scope, vo, {
155609
155606
  resolve: resolve,
155610
155607
  reject: reject
155611
155608
  });
@@ -155626,9 +155623,9 @@ function InnerTable_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
155626
155623
  });
155627
155624
  ;// CONCATENATED MODULE: ./packages/ecwapp/InnerTable/src/index.vue?vue&type=script&lang=js
155628
155625
  /* harmony default export */ var ecwapp_InnerTable_srcvue_type_script_lang_js = (InnerTable_srcvue_type_script_lang_js);
155629
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
155630
- var srcvue_type_style_index_0_id_1cbbd470_prod_scoped_true_lang_scss = __webpack_require__(58592);
155631
- ;// CONCATENATED MODULE: ./packages/ecwapp/InnerTable/src/index.vue?vue&type=style&index=0&id=1cbbd470&prod&scoped=true&lang=scss
155626
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
155627
+ var srcvue_type_style_index_0_id_2297e85a_prod_scoped_true_lang_scss = __webpack_require__(66756);
155628
+ ;// CONCATENATED MODULE: ./packages/ecwapp/InnerTable/src/index.vue?vue&type=style&index=0&id=2297e85a&prod&scoped=true&lang=scss
155632
155629
 
155633
155630
  ;// CONCATENATED MODULE: ./packages/ecwapp/InnerTable/src/index.vue
155634
155631
 
@@ -155641,11 +155638,11 @@ var srcvue_type_style_index_0_id_1cbbd470_prod_scoped_true_lang_scss = __webpack
155641
155638
 
155642
155639
  var InnerTable_src_component = (0,componentNormalizer/* default */.A)(
155643
155640
  ecwapp_InnerTable_srcvue_type_script_lang_js,
155644
- srcvue_type_template_id_1cbbd470_scoped_true_render,
155645
- srcvue_type_template_id_1cbbd470_scoped_true_staticRenderFns,
155641
+ srcvue_type_template_id_2297e85a_scoped_true_render,
155642
+ srcvue_type_template_id_2297e85a_scoped_true_staticRenderFns,
155646
155643
  false,
155647
155644
  null,
155648
- "1cbbd470",
155645
+ "2297e85a",
155649
155646
  null
155650
155647
 
155651
155648
  )