@tongfun/tf-widget 0.1.65 → 0.1.68
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.
- package/lib/tf-widget.common.js +13 -84
- package/lib/tf-widget.umd.js +13 -84
- package/lib/tf-widget.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/tf-widget.common.js
CHANGED
|
@@ -77376,52 +77376,6 @@ if (module && module.exports) {
|
|
|
77376
77376
|
module.exports = {};
|
|
77377
77377
|
|
|
77378
77378
|
|
|
77379
|
-
/***/ }),
|
|
77380
|
-
|
|
77381
|
-
/***/ "8a79":
|
|
77382
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
77383
|
-
|
|
77384
|
-
"use strict";
|
|
77385
|
-
|
|
77386
|
-
var $ = __webpack_require__("23e7");
|
|
77387
|
-
var uncurryThis = __webpack_require__("e330");
|
|
77388
|
-
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
|
77389
|
-
var toLength = __webpack_require__("50c4");
|
|
77390
|
-
var toString = __webpack_require__("577e");
|
|
77391
|
-
var notARegExp = __webpack_require__("5a34");
|
|
77392
|
-
var requireObjectCoercible = __webpack_require__("1d80");
|
|
77393
|
-
var correctIsRegExpLogic = __webpack_require__("ab13");
|
|
77394
|
-
var IS_PURE = __webpack_require__("c430");
|
|
77395
|
-
|
|
77396
|
-
// eslint-disable-next-line es-x/no-string-prototype-endswith -- safe
|
|
77397
|
-
var un$EndsWith = uncurryThis(''.endsWith);
|
|
77398
|
-
var slice = uncurryThis(''.slice);
|
|
77399
|
-
var min = Math.min;
|
|
77400
|
-
|
|
77401
|
-
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
|
|
77402
|
-
// https://github.com/zloirock/core-js/pull/702
|
|
77403
|
-
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
|
|
77404
|
-
var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
|
|
77405
|
-
return descriptor && !descriptor.writable;
|
|
77406
|
-
}();
|
|
77407
|
-
|
|
77408
|
-
// `String.prototype.endsWith` method
|
|
77409
|
-
// https://tc39.es/ecma262/#sec-string.prototype.endswith
|
|
77410
|
-
$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
|
|
77411
|
-
endsWith: function endsWith(searchString /* , endPosition = @length */) {
|
|
77412
|
-
var that = toString(requireObjectCoercible(this));
|
|
77413
|
-
notARegExp(searchString);
|
|
77414
|
-
var endPosition = arguments.length > 1 ? arguments[1] : undefined;
|
|
77415
|
-
var len = that.length;
|
|
77416
|
-
var end = endPosition === undefined ? len : min(toLength(endPosition), len);
|
|
77417
|
-
var search = toString(searchString);
|
|
77418
|
-
return un$EndsWith
|
|
77419
|
-
? un$EndsWith(that, search, end)
|
|
77420
|
-
: slice(that, end - search.length, end) === search;
|
|
77421
|
-
}
|
|
77422
|
-
});
|
|
77423
|
-
|
|
77424
|
-
|
|
77425
77379
|
/***/ }),
|
|
77426
77380
|
|
|
77427
77381
|
/***/ "8aa5":
|
|
@@ -125138,15 +125092,12 @@ tf_icon_picker.install = function (Vue) {
|
|
|
125138
125092
|
};
|
|
125139
125093
|
|
|
125140
125094
|
/* harmony default export */ var package_tf_icon_picker = (tf_icon_picker);
|
|
125141
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a74d51c2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./package/form-body/index.vue?vue&type=template&id=
|
|
125142
|
-
var
|
|
125143
|
-
var
|
|
125095
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a74d51c2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./package/form-body/index.vue?vue&type=template&id=5d1e9a96&scoped=true&
|
|
125096
|
+
var form_bodyvue_type_template_id_5d1e9a96_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"form-body"},[_c('div',{staticClass:"form-body-control"},[(!_vm.disableButtons.includes('add'))?_c('el-button',{attrs:{"size":"mini","type":"text"},on:{"click":_vm.addRow}},[_vm._v("新增行")]):_vm._e(),(!_vm.disableButtons.includes('del'))?_c('el-button',{attrs:{"size":"mini","type":"text"},on:{"click":_vm.delRow}},[_vm._v("删除行")]):_vm._e(),_vm._t("buttons",null,{"currentRow":_vm.currentRow})],2),_c('div',{staticClass:"form-body-main"},[_c('ux-grid',{ref:"tableRef",attrs:{"data":_vm.data,"highlight-current-row":false,"edit-config":{ trigger: 'click', mode: 'cell', autoClear: false},"valid-config":{autoPos:true},"rules":_vm.rules,"show-summary":!_vm.disalbeSum,"summary-method":_vm.summary,"width-resize":true},on:{"row-click":_vm.handleRowClick,"selection-change":function($event){_vm.selectedRows = $event}}},[_c('ux-table-column',{attrs:{"visible":!_vm.disableChecked,"type":"checkbox","width":"50","fixed":"left"}}),_c('ux-table-column',{attrs:{"type":"index","width":"50","fixed":"left"}}),_vm._t("default")],2)],1)])}
|
|
125097
|
+
var form_bodyvue_type_template_id_5d1e9a96_scoped_true_staticRenderFns = []
|
|
125144
125098
|
|
|
125145
125099
|
|
|
125146
|
-
// CONCATENATED MODULE: ./package/form-body/index.vue?vue&type=template&id=
|
|
125147
|
-
|
|
125148
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
125149
|
-
var es_string_ends_with = __webpack_require__("8a79");
|
|
125100
|
+
// CONCATENATED MODULE: ./package/form-body/index.vue?vue&type=template&id=5d1e9a96&scoped=true&
|
|
125150
125101
|
|
|
125151
125102
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.match.js
|
|
125152
125103
|
var es_string_match = __webpack_require__("466d");
|
|
@@ -184639,7 +184590,6 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
184639
184590
|
|
|
184640
184591
|
|
|
184641
184592
|
|
|
184642
|
-
|
|
184643
184593
|
//
|
|
184644
184594
|
//
|
|
184645
184595
|
//
|
|
@@ -184686,10 +184636,6 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
184686
184636
|
return [];
|
|
184687
184637
|
}
|
|
184688
184638
|
},
|
|
184689
|
-
height: {
|
|
184690
|
-
type: String,
|
|
184691
|
-
default: '500'
|
|
184692
|
-
},
|
|
184693
184639
|
disableChecked: {
|
|
184694
184640
|
type: Boolean,
|
|
184695
184641
|
default: false
|
|
@@ -184769,7 +184715,7 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
184769
184715
|
data: function data() {
|
|
184770
184716
|
return {
|
|
184771
184717
|
// 删除行的操作删除的数据中,包含的已经保存到后端数据库中的数据的ID
|
|
184772
|
-
|
|
184718
|
+
deleteIds: [],
|
|
184773
184719
|
// 勾选中的行数据对象
|
|
184774
184720
|
selectedRows: [],
|
|
184775
184721
|
// 数据模型
|
|
@@ -184777,10 +184723,7 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
184777
184723
|
// 参与合计的列的字段
|
|
184778
184724
|
summaryFields: [],
|
|
184779
184725
|
// 当前选择的行
|
|
184780
|
-
currentRow: null
|
|
184781
|
-
// 当设置为vh表格高度的时候,通过计算得到一个接近vh的值(百分比)
|
|
184782
|
-
bodyHeight: 0,
|
|
184783
|
-
tableHeightObserver: null
|
|
184726
|
+
currentRow: null
|
|
184784
184727
|
};
|
|
184785
184728
|
},
|
|
184786
184729
|
computed: {
|
|
@@ -184831,13 +184774,6 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
184831
184774
|
var calculateFields = getFieldsFromExpression(allCalculationFieldsStr);
|
|
184832
184775
|
var resultKeys = Object.keys(this.calculations);
|
|
184833
184776
|
return resultKeys.concat(calculateFields);
|
|
184834
|
-
},
|
|
184835
|
-
tableHeight: function tableHeight() {
|
|
184836
|
-
if (this.height.endsWith('vh')) {
|
|
184837
|
-
return this.bodyHeight * (this.height.replace('vh', '') / 100);
|
|
184838
|
-
}
|
|
184839
|
-
|
|
184840
|
-
return this.height;
|
|
184841
184777
|
}
|
|
184842
184778
|
},
|
|
184843
184779
|
provide: function provide() {
|
|
@@ -184853,18 +184789,7 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
184853
184789
|
|
|
184854
184790
|
this.$nextTick(function () {
|
|
184855
184791
|
_this2.validateFieldExist();
|
|
184856
|
-
}); // 给的属性是vh的情况下,监听整个页面的高度(边界),并在 变化后!! 进行表格高度计算
|
|
184857
|
-
// 可能是响应式的原因,重绘很频繁,这个导致这个api触发的次数比预期多
|
|
184858
|
-
// todo: 当页面被销毁后,这个监听是否仍然存在于系统中,百度,如果存在,则在destroy周期中进行销毁
|
|
184859
|
-
|
|
184860
|
-
if (!this.height.endsWith('vh')) {
|
|
184861
|
-
return;
|
|
184862
|
-
}
|
|
184863
|
-
|
|
184864
|
-
this.tableHeightObserver = new ResizeObserver(function (entryList) {
|
|
184865
|
-
_this2.bodyHeight = entryList[0].contentRect.height;
|
|
184866
184792
|
});
|
|
184867
|
-
this.tableHeightObserver.observe(document.body);
|
|
184868
184793
|
},
|
|
184869
184794
|
methods: {
|
|
184870
184795
|
/**
|
|
@@ -185021,6 +184946,10 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
185021
184946
|
_iterator2.f();
|
|
185022
184947
|
}
|
|
185023
184948
|
},
|
|
184949
|
+
// 清空已删除的id数组,保存之后,数据已经同步到后端,继续保留影响下次修改
|
|
184950
|
+
emptyDeleteIds: function emptyDeleteIds() {
|
|
184951
|
+
this.deleteIds = [];
|
|
184952
|
+
},
|
|
185024
184953
|
|
|
185025
184954
|
/**
|
|
185026
184955
|
当点击保存后,对表格数据进行格式化处理,将格式化的结果返回,主要是,将{name:'xx',id:'xx'}格式化为id:xx
|
|
@@ -185095,11 +185024,11 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
185095
185024
|
|
|
185096
185025
|
var form_body_component = Object(componentNormalizer["a" /* default */])(
|
|
185097
185026
|
package_form_bodyvue_type_script_lang_js_,
|
|
185098
|
-
|
|
185099
|
-
|
|
185027
|
+
form_bodyvue_type_template_id_5d1e9a96_scoped_true_render,
|
|
185028
|
+
form_bodyvue_type_template_id_5d1e9a96_scoped_true_staticRenderFns,
|
|
185100
185029
|
false,
|
|
185101
185030
|
null,
|
|
185102
|
-
"
|
|
185031
|
+
"5d1e9a96",
|
|
185103
185032
|
null
|
|
185104
185033
|
|
|
185105
185034
|
)
|
package/lib/tf-widget.umd.js
CHANGED
|
@@ -77385,52 +77385,6 @@ if (module && module.exports) {
|
|
|
77385
77385
|
module.exports = {};
|
|
77386
77386
|
|
|
77387
77387
|
|
|
77388
|
-
/***/ }),
|
|
77389
|
-
|
|
77390
|
-
/***/ "8a79":
|
|
77391
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
77392
|
-
|
|
77393
|
-
"use strict";
|
|
77394
|
-
|
|
77395
|
-
var $ = __webpack_require__("23e7");
|
|
77396
|
-
var uncurryThis = __webpack_require__("e330");
|
|
77397
|
-
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
|
77398
|
-
var toLength = __webpack_require__("50c4");
|
|
77399
|
-
var toString = __webpack_require__("577e");
|
|
77400
|
-
var notARegExp = __webpack_require__("5a34");
|
|
77401
|
-
var requireObjectCoercible = __webpack_require__("1d80");
|
|
77402
|
-
var correctIsRegExpLogic = __webpack_require__("ab13");
|
|
77403
|
-
var IS_PURE = __webpack_require__("c430");
|
|
77404
|
-
|
|
77405
|
-
// eslint-disable-next-line es-x/no-string-prototype-endswith -- safe
|
|
77406
|
-
var un$EndsWith = uncurryThis(''.endsWith);
|
|
77407
|
-
var slice = uncurryThis(''.slice);
|
|
77408
|
-
var min = Math.min;
|
|
77409
|
-
|
|
77410
|
-
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
|
|
77411
|
-
// https://github.com/zloirock/core-js/pull/702
|
|
77412
|
-
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
|
|
77413
|
-
var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
|
|
77414
|
-
return descriptor && !descriptor.writable;
|
|
77415
|
-
}();
|
|
77416
|
-
|
|
77417
|
-
// `String.prototype.endsWith` method
|
|
77418
|
-
// https://tc39.es/ecma262/#sec-string.prototype.endswith
|
|
77419
|
-
$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
|
|
77420
|
-
endsWith: function endsWith(searchString /* , endPosition = @length */) {
|
|
77421
|
-
var that = toString(requireObjectCoercible(this));
|
|
77422
|
-
notARegExp(searchString);
|
|
77423
|
-
var endPosition = arguments.length > 1 ? arguments[1] : undefined;
|
|
77424
|
-
var len = that.length;
|
|
77425
|
-
var end = endPosition === undefined ? len : min(toLength(endPosition), len);
|
|
77426
|
-
var search = toString(searchString);
|
|
77427
|
-
return un$EndsWith
|
|
77428
|
-
? un$EndsWith(that, search, end)
|
|
77429
|
-
: slice(that, end - search.length, end) === search;
|
|
77430
|
-
}
|
|
77431
|
-
});
|
|
77432
|
-
|
|
77433
|
-
|
|
77434
77388
|
/***/ }),
|
|
77435
77389
|
|
|
77436
77390
|
/***/ "8aa5":
|
|
@@ -125147,15 +125101,12 @@ tf_icon_picker.install = function (Vue) {
|
|
|
125147
125101
|
};
|
|
125148
125102
|
|
|
125149
125103
|
/* harmony default export */ var package_tf_icon_picker = (tf_icon_picker);
|
|
125150
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a74d51c2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./package/form-body/index.vue?vue&type=template&id=
|
|
125151
|
-
var
|
|
125152
|
-
var
|
|
125104
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a74d51c2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./package/form-body/index.vue?vue&type=template&id=5d1e9a96&scoped=true&
|
|
125105
|
+
var form_bodyvue_type_template_id_5d1e9a96_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"form-body"},[_c('div',{staticClass:"form-body-control"},[(!_vm.disableButtons.includes('add'))?_c('el-button',{attrs:{"size":"mini","type":"text"},on:{"click":_vm.addRow}},[_vm._v("新增行")]):_vm._e(),(!_vm.disableButtons.includes('del'))?_c('el-button',{attrs:{"size":"mini","type":"text"},on:{"click":_vm.delRow}},[_vm._v("删除行")]):_vm._e(),_vm._t("buttons",null,{"currentRow":_vm.currentRow})],2),_c('div',{staticClass:"form-body-main"},[_c('ux-grid',{ref:"tableRef",attrs:{"data":_vm.data,"highlight-current-row":false,"edit-config":{ trigger: 'click', mode: 'cell', autoClear: false},"valid-config":{autoPos:true},"rules":_vm.rules,"show-summary":!_vm.disalbeSum,"summary-method":_vm.summary,"width-resize":true},on:{"row-click":_vm.handleRowClick,"selection-change":function($event){_vm.selectedRows = $event}}},[_c('ux-table-column',{attrs:{"visible":!_vm.disableChecked,"type":"checkbox","width":"50","fixed":"left"}}),_c('ux-table-column',{attrs:{"type":"index","width":"50","fixed":"left"}}),_vm._t("default")],2)],1)])}
|
|
125106
|
+
var form_bodyvue_type_template_id_5d1e9a96_scoped_true_staticRenderFns = []
|
|
125153
125107
|
|
|
125154
125108
|
|
|
125155
|
-
// CONCATENATED MODULE: ./package/form-body/index.vue?vue&type=template&id=
|
|
125156
|
-
|
|
125157
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
125158
|
-
var es_string_ends_with = __webpack_require__("8a79");
|
|
125109
|
+
// CONCATENATED MODULE: ./package/form-body/index.vue?vue&type=template&id=5d1e9a96&scoped=true&
|
|
125159
125110
|
|
|
125160
125111
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.match.js
|
|
125161
125112
|
var es_string_match = __webpack_require__("466d");
|
|
@@ -184648,7 +184599,6 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
184648
184599
|
|
|
184649
184600
|
|
|
184650
184601
|
|
|
184651
|
-
|
|
184652
184602
|
//
|
|
184653
184603
|
//
|
|
184654
184604
|
//
|
|
@@ -184695,10 +184645,6 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
184695
184645
|
return [];
|
|
184696
184646
|
}
|
|
184697
184647
|
},
|
|
184698
|
-
height: {
|
|
184699
|
-
type: String,
|
|
184700
|
-
default: '500'
|
|
184701
|
-
},
|
|
184702
184648
|
disableChecked: {
|
|
184703
184649
|
type: Boolean,
|
|
184704
184650
|
default: false
|
|
@@ -184778,7 +184724,7 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
184778
184724
|
data: function data() {
|
|
184779
184725
|
return {
|
|
184780
184726
|
// 删除行的操作删除的数据中,包含的已经保存到后端数据库中的数据的ID
|
|
184781
|
-
|
|
184727
|
+
deleteIds: [],
|
|
184782
184728
|
// 勾选中的行数据对象
|
|
184783
184729
|
selectedRows: [],
|
|
184784
184730
|
// 数据模型
|
|
@@ -184786,10 +184732,7 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
184786
184732
|
// 参与合计的列的字段
|
|
184787
184733
|
summaryFields: [],
|
|
184788
184734
|
// 当前选择的行
|
|
184789
|
-
currentRow: null
|
|
184790
|
-
// 当设置为vh表格高度的时候,通过计算得到一个接近vh的值(百分比)
|
|
184791
|
-
bodyHeight: 0,
|
|
184792
|
-
tableHeightObserver: null
|
|
184735
|
+
currentRow: null
|
|
184793
184736
|
};
|
|
184794
184737
|
},
|
|
184795
184738
|
computed: {
|
|
@@ -184840,13 +184783,6 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
184840
184783
|
var calculateFields = getFieldsFromExpression(allCalculationFieldsStr);
|
|
184841
184784
|
var resultKeys = Object.keys(this.calculations);
|
|
184842
184785
|
return resultKeys.concat(calculateFields);
|
|
184843
|
-
},
|
|
184844
|
-
tableHeight: function tableHeight() {
|
|
184845
|
-
if (this.height.endsWith('vh')) {
|
|
184846
|
-
return this.bodyHeight * (this.height.replace('vh', '') / 100);
|
|
184847
|
-
}
|
|
184848
|
-
|
|
184849
|
-
return this.height;
|
|
184850
184786
|
}
|
|
184851
184787
|
},
|
|
184852
184788
|
provide: function provide() {
|
|
@@ -184862,18 +184798,7 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
184862
184798
|
|
|
184863
184799
|
this.$nextTick(function () {
|
|
184864
184800
|
_this2.validateFieldExist();
|
|
184865
|
-
}); // 给的属性是vh的情况下,监听整个页面的高度(边界),并在 变化后!! 进行表格高度计算
|
|
184866
|
-
// 可能是响应式的原因,重绘很频繁,这个导致这个api触发的次数比预期多
|
|
184867
|
-
// todo: 当页面被销毁后,这个监听是否仍然存在于系统中,百度,如果存在,则在destroy周期中进行销毁
|
|
184868
|
-
|
|
184869
|
-
if (!this.height.endsWith('vh')) {
|
|
184870
|
-
return;
|
|
184871
|
-
}
|
|
184872
|
-
|
|
184873
|
-
this.tableHeightObserver = new ResizeObserver(function (entryList) {
|
|
184874
|
-
_this2.bodyHeight = entryList[0].contentRect.height;
|
|
184875
184801
|
});
|
|
184876
|
-
this.tableHeightObserver.observe(document.body);
|
|
184877
184802
|
},
|
|
184878
184803
|
methods: {
|
|
184879
184804
|
/**
|
|
@@ -185030,6 +184955,10 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
185030
184955
|
_iterator2.f();
|
|
185031
184956
|
}
|
|
185032
184957
|
},
|
|
184958
|
+
// 清空已删除的id数组,保存之后,数据已经同步到后端,继续保留影响下次修改
|
|
184959
|
+
emptyDeleteIds: function emptyDeleteIds() {
|
|
184960
|
+
this.deleteIds = [];
|
|
184961
|
+
},
|
|
185033
184962
|
|
|
185034
184963
|
/**
|
|
185035
184964
|
当点击保存后,对表格数据进行格式化处理,将格式化的结果返回,主要是,将{name:'xx',id:'xx'}格式化为id:xx
|
|
@@ -185104,11 +185033,11 @@ impureFunctionsAny_generated_Chain.createProxy(impureFunctionsAny_generated_math
|
|
|
185104
185033
|
|
|
185105
185034
|
var form_body_component = Object(componentNormalizer["a" /* default */])(
|
|
185106
185035
|
package_form_bodyvue_type_script_lang_js_,
|
|
185107
|
-
|
|
185108
|
-
|
|
185036
|
+
form_bodyvue_type_template_id_5d1e9a96_scoped_true_render,
|
|
185037
|
+
form_bodyvue_type_template_id_5d1e9a96_scoped_true_staticRenderFns,
|
|
185109
185038
|
false,
|
|
185110
185039
|
null,
|
|
185111
|
-
"
|
|
185040
|
+
"5d1e9a96",
|
|
185112
185041
|
null
|
|
185113
185042
|
|
|
185114
185043
|
)
|