This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user