ocpview-pro 0.1.15 → 0.1.17
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
CHANGED
|
@@ -253,7 +253,8 @@ export default {
|
|
|
253
253
|
},
|
|
254
254
|
watch: {
|
|
255
255
|
/**
|
|
256
|
-
*
|
|
256
|
+
* summaryColumn 一被 basegrid 填充,立即清空
|
|
257
|
+
* 防止 viewgridbase.getSearchParam 据此拼出 summary_fld 发给后端
|
|
257
258
|
*/
|
|
258
259
|
summaryColumn(val) {
|
|
259
260
|
if (val && val.length > 0) {
|
|
@@ -361,11 +362,11 @@ export default {
|
|
|
361
362
|
};
|
|
362
363
|
},
|
|
363
364
|
/**
|
|
364
|
-
*
|
|
365
|
+
* 需要合计的字段列表(searchConfig 用 sum: true,非 summary)
|
|
365
366
|
*/
|
|
366
367
|
sumFields() {
|
|
367
368
|
return this.tableColumns
|
|
368
|
-
.filter((item) => item.
|
|
369
|
+
.filter((item) => item.sum)
|
|
369
370
|
.map((item) => item.name);
|
|
370
371
|
},
|
|
371
372
|
},
|