This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
<gz-data-table
|
<gz-data-table
|
||||||
ref="gzdatatable"
|
ref="gzdatatable"
|
||||||
form-key="meter-reading-list"
|
form-key="meter-reading-list"
|
||||||
data-list-key="MeterReadingDataList"
|
data-list-key="UnitMeterReadingDataList"
|
||||||
show-select="false"
|
:show-select="false"
|
||||||
:reload="reload"
|
:reload="reload"
|
||||||
:client-criteria="clientCriteria"
|
:client-criteria="clientCriteria"
|
||||||
data-cy="MeterReadingsTable"
|
data-cy="MeterReadingsTable"
|
||||||
@@ -31,7 +31,7 @@ export default {
|
|||||||
this.preFilterMode = {
|
this.preFilterMode = {
|
||||||
icon: "$ayiFan",
|
icon: "$ayiFan",
|
||||||
id: window.$gz.util.stringToIntOrNull(this.$route.params.unitid),
|
id: window.$gz.util.stringToIntOrNull(this.$route.params.unitid),
|
||||||
ayatype: window.$gz.type.MeterReading,
|
ayatype: window.$gz.type.Unit,
|
||||||
viz: this.$route.params.unitname,
|
viz: this.$route.params.unitname,
|
||||||
clearable: false
|
clearable: false
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -982,7 +982,7 @@ export default {
|
|||||||
if (this.canOpenMeter()) {
|
if (this.canOpenMeter()) {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: "meter-readings",
|
name: "meter-readings",
|
||||||
params: { unitid: this.obj.id }
|
params: { unitid: this.obj.id, unitname: this.obj.serial }
|
||||||
});
|
});
|
||||||
|
|
||||||
// this.$router.push({
|
// this.$router.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user