qj-common 4.1.9 → 4.1.10
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
|
@@ -1090,6 +1090,7 @@ export default {
|
|
|
1090
1090
|
}
|
|
1091
1091
|
this.tableData = res.rows;
|
|
1092
1092
|
this.$emit('getData', res.rows);
|
|
1093
|
+
this.$emit('getTotal',res.total);
|
|
1093
1094
|
// 小计
|
|
1094
1095
|
if (res.rows.length > 0) {
|
|
1095
1096
|
if (this.subtotal && this.subtotal.length > 0) {
|
|
@@ -1121,6 +1122,7 @@ export default {
|
|
|
1121
1122
|
}
|
|
1122
1123
|
this.tableData = [];
|
|
1123
1124
|
this.$emit('getData', []);
|
|
1125
|
+
this.$emit('getTotal',0);
|
|
1124
1126
|
}
|
|
1125
1127
|
} else {
|
|
1126
1128
|
if (this.temPage !== false) {
|
|
@@ -1128,6 +1130,7 @@ export default {
|
|
|
1128
1130
|
}
|
|
1129
1131
|
this.tableData = [];
|
|
1130
1132
|
this.$emit('getData', []);
|
|
1133
|
+
this.$emit('getTotal',0);
|
|
1131
1134
|
}
|
|
1132
1135
|
});
|
|
1133
1136
|
}
|