This commit is contained in:
2021-08-19 23:18:26 +00:00
parent 0eea7f069b
commit 1f0b0b8318
2 changed files with 4 additions and 4 deletions

View File

@@ -5,8 +5,8 @@
<gz-data-table
ref="gzdatatable"
form-key="meter-reading-list"
data-list-key="MeterReadingDataList"
show-select="false"
data-list-key="UnitMeterReadingDataList"
:show-select="false"
:reload="reload"
:client-criteria="clientCriteria"
data-cy="MeterReadingsTable"
@@ -31,7 +31,7 @@ export default {
this.preFilterMode = {
icon: "$ayiFan",
id: window.$gz.util.stringToIntOrNull(this.$route.params.unitid),
ayatype: window.$gz.type.MeterReading,
ayatype: window.$gz.type.Unit,
viz: this.$route.params.unitname,
clearable: false
};

View File

@@ -982,7 +982,7 @@ export default {
if (this.canOpenMeter()) {
this.$router.push({
name: "meter-readings",
params: { unitid: this.obj.id }
params: { unitid: this.obj.id, unitname: this.obj.serial }
});
// this.$router.push({