centaline-data-driven 1.5.91 → 1.5.93
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/package.json +1 -1
- package/release-log.md +12 -2
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +13 -1
- package/src/centaline/dynamicSearchList/src/dynamicTableStats.vue +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js +21 -10
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/release-log.md
CHANGED
|
@@ -2151,13 +2151,25 @@ export default {
|
|
|
2151
2151
|
self.currentRow.children[i].classList.remove("select");
|
|
2152
2152
|
}
|
|
2153
2153
|
}
|
|
2154
|
+
if (!data.content.columns || data.content.columns.length < 1)
|
|
2155
|
+
{
|
|
2156
|
+
this.$message({
|
|
2157
|
+
message: "请配置展示列",
|
|
2158
|
+
type: 'error',
|
|
2159
|
+
showClose:true,
|
|
2160
|
+
});
|
|
2161
|
+
return ;
|
|
2162
|
+
}
|
|
2154
2163
|
if (typeof self.$refs.tableParent !== "undefined") {
|
|
2155
2164
|
self.$refs.tableParent.scrollTop = 0;
|
|
2156
2165
|
self.$refs.tableParent.scrollLeft = 0;
|
|
2157
2166
|
self.scrollTop = 0;
|
|
2158
2167
|
self.scrollLeft = 0;
|
|
2159
2168
|
}
|
|
2160
|
-
let searchStats =
|
|
2169
|
+
let searchStats = [];
|
|
2170
|
+
if(this.$refs.tableStats){
|
|
2171
|
+
searchStats = this.$refs.tableStats.getsearchStats();
|
|
2172
|
+
}
|
|
2161
2173
|
|
|
2162
2174
|
if (data) {
|
|
2163
2175
|
self.loaderObj.SearchTable(data, self.load, self.model.searchModel, true, false, null, self.api)
|
|
@@ -239,7 +239,7 @@ export default {
|
|
|
239
239
|
handleClick(ev, obj, flagRefreshTable, type, index) {
|
|
240
240
|
var self = this;
|
|
241
241
|
self.flagClick = true;
|
|
242
|
-
self.FlagStatistics = false;
|
|
242
|
+
//self.FlagStatistics = false;
|
|
243
243
|
self.selectStats = obj.key;
|
|
244
244
|
|
|
245
245
|
var model = this.getSearchFields(obj)
|
|
@@ -38321,7 +38321,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
38321
38321
|
"use strict";
|
|
38322
38322
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__ = __webpack_require__(302);
|
|
38323
38323
|
/* unused harmony namespace reexport */
|
|
38324
|
-
/* harmony import */ var
|
|
38324
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_7ce084fe_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__ = __webpack_require__(606);
|
|
38325
38325
|
function injectStyle (ssrContext) {
|
|
38326
38326
|
__webpack_require__(568)
|
|
38327
38327
|
}
|
|
@@ -38341,7 +38341,7 @@ var __vue_scopeId__ = null
|
|
|
38341
38341
|
var __vue_module_identifier__ = null
|
|
38342
38342
|
var Component = normalizeComponent(
|
|
38343
38343
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
38344
|
-
|
|
38344
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_7ce084fe_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
38345
38345
|
__vue_template_functional__,
|
|
38346
38346
|
__vue_styles__,
|
|
38347
38347
|
__vue_scopeId__,
|
|
@@ -40378,13 +40378,24 @@ var Component = normalizeComponent(
|
|
|
40378
40378
|
self.currentRow.children[i].classList.remove("select");
|
|
40379
40379
|
}
|
|
40380
40380
|
}
|
|
40381
|
+
if (!data.content.columns || data.content.columns.length < 1) {
|
|
40382
|
+
this.$message({
|
|
40383
|
+
message: "请配置展示列",
|
|
40384
|
+
type: 'error',
|
|
40385
|
+
showClose: true
|
|
40386
|
+
});
|
|
40387
|
+
return;
|
|
40388
|
+
}
|
|
40381
40389
|
if (typeof self.$refs.tableParent !== "undefined") {
|
|
40382
40390
|
self.$refs.tableParent.scrollTop = 0;
|
|
40383
40391
|
self.$refs.tableParent.scrollLeft = 0;
|
|
40384
40392
|
self.scrollTop = 0;
|
|
40385
40393
|
self.scrollLeft = 0;
|
|
40386
40394
|
}
|
|
40387
|
-
var searchStats =
|
|
40395
|
+
var searchStats = [];
|
|
40396
|
+
if (this.$refs.tableStats) {
|
|
40397
|
+
searchStats = this.$refs.tableStats.getsearchStats();
|
|
40398
|
+
}
|
|
40388
40399
|
|
|
40389
40400
|
if (data) {
|
|
40390
40401
|
self.loaderObj.SearchTable(data, self.load, self.model.searchModel, true, false, null, self.api);
|
|
@@ -40870,7 +40881,7 @@ module.exports = function (KEY, exec) {
|
|
|
40870
40881
|
handleClick: function handleClick(ev, obj, flagRefreshTable, type, index) {
|
|
40871
40882
|
var self = this;
|
|
40872
40883
|
self.flagClick = true;
|
|
40873
|
-
self.FlagStatistics = false;
|
|
40884
|
+
//self.FlagStatistics = false;
|
|
40874
40885
|
self.selectStats = obj.key;
|
|
40875
40886
|
|
|
40876
40887
|
var model = this.getSearchFields(obj);
|
|
@@ -72532,7 +72543,7 @@ var content = __webpack_require__(569);
|
|
|
72532
72543
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
72533
72544
|
if(content.locals) module.exports = content.locals;
|
|
72534
72545
|
// add the styles to the DOM
|
|
72535
|
-
var update = __webpack_require__(3)("
|
|
72546
|
+
var update = __webpack_require__(3)("42b39edc", content, true, {});
|
|
72536
72547
|
|
|
72537
72548
|
/***/ }),
|
|
72538
72549
|
/* 569 */
|
|
@@ -72739,7 +72750,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
|
72739
72750
|
"use strict";
|
|
72740
72751
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicTableStats_vue__ = __webpack_require__(306);
|
|
72741
72752
|
/* unused harmony namespace reexport */
|
|
72742
|
-
/* harmony import */ var
|
|
72753
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_55728fcb_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicTableStats_vue__ = __webpack_require__(589);
|
|
72743
72754
|
function injectStyle (ssrContext) {
|
|
72744
72755
|
__webpack_require__(583)
|
|
72745
72756
|
__webpack_require__(585)
|
|
@@ -72761,7 +72772,7 @@ var __vue_scopeId__ = null
|
|
|
72761
72772
|
var __vue_module_identifier__ = null
|
|
72762
72773
|
var Component = normalizeComponent(
|
|
72763
72774
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicTableStats_vue__["a" /* default */],
|
|
72764
|
-
|
|
72775
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_55728fcb_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicTableStats_vue__["a" /* default */],
|
|
72765
72776
|
__vue_template_functional__,
|
|
72766
72777
|
__vue_styles__,
|
|
72767
72778
|
__vue_scopeId__,
|
|
@@ -72782,7 +72793,7 @@ var content = __webpack_require__(584);
|
|
|
72782
72793
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
72783
72794
|
if(content.locals) module.exports = content.locals;
|
|
72784
72795
|
// add the styles to the DOM
|
|
72785
|
-
var update = __webpack_require__(3)("
|
|
72796
|
+
var update = __webpack_require__(3)("210e95f2", content, true, {});
|
|
72786
72797
|
|
|
72787
72798
|
/***/ }),
|
|
72788
72799
|
/* 584 */
|
|
@@ -72809,7 +72820,7 @@ var content = __webpack_require__(586);
|
|
|
72809
72820
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
72810
72821
|
if(content.locals) module.exports = content.locals;
|
|
72811
72822
|
// add the styles to the DOM
|
|
72812
|
-
var update = __webpack_require__(3)("
|
|
72823
|
+
var update = __webpack_require__(3)("0a165af3", content, true, {});
|
|
72813
72824
|
|
|
72814
72825
|
/***/ }),
|
|
72815
72826
|
/* 586 */
|
|
@@ -72836,7 +72847,7 @@ var content = __webpack_require__(588);
|
|
|
72836
72847
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
72837
72848
|
if(content.locals) module.exports = content.locals;
|
|
72838
72849
|
// add the styles to the DOM
|
|
72839
|
-
var update = __webpack_require__(3)("
|
|
72850
|
+
var update = __webpack_require__(3)("19c3c018", content, true, {});
|
|
72840
72851
|
|
|
72841
72852
|
/***/ }),
|
|
72842
72853
|
/* 588 */
|